Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f2ef55c6af0710ebcf317647d1504c436684c74 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-ssh9306150931463741258.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-ssh2593935873902453841.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-ssh16578688730175750735.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-ssh12136407683603612659.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-ssh6385860579050704528.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14910 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 5f2ef55c6af0710ebcf317647d1504c436684c74 (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#305)" > 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 5f2ef55c6af0710ebcf317647d1504c436684c74 # timeout=10 > git rev-list --no-walk 2c7d09f47ef91aa804aada2f58e507595b834e57 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-10T15:49:26.816Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T15:49:26.868Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T15:49:26.882Z] ========================================================= [2023-05-10T15:49:26.882Z] EdgeX Global Pipelines Version Info [2023-05-10T15:49:26.882Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T15:49:27.594Z] ------------------- [2023-05-10T15:49:27.594Z] stable info: [2023-05-10T15:49:27.594Z] ------------------- [2023-05-10T15:49:27.594Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T15:49:27.594Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T15:49:27.594Z] Message: update stable to v1.0.249 [2023-05-10T15:49:28.165Z] ------------------- [2023-05-10T15:49:28.165Z] experimental info: [2023-05-10T15:49:28.165Z] ------------------- [2023-05-10T15:49:28.165Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T15:49:28.165Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T15:49:28.165Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T15:49:28.324Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-10T15:49:28.338Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-10T15:49:28.349Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T15:49:28.360Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T15:49:28.371Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T15:49:28.382Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T15:49:28.398Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T15:49:28.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T15:49:28.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T15:49:28.443Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T15:49:28.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T15:49:28.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-10T15:49:28.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T15:49:28.494Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T15:49:28.505Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T15:49:28.519Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T15:49:28.532Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T15:49:28.546Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T15:49:28.567Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T15:49:28.587Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T15:49:28.609Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T15:49:28.625Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T15:49:28.646Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T15:49:28.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T15:49:28.683Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T15:49:28.695Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T15:49:28.711Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T15:49:28.729Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-10T15:49:28.744Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-10T15:49:28.756Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-10T15:49:28.774Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f2ef55c6af0710ebcf317647d1504c436684c74 [Pipeline] echo [2023-05-10T15:49:28.794Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f2ef55 [Pipeline] echo [2023-05-10T15:49:28.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T15:49:28.860Z] provisioning config files... [2023-05-10T15:49:28.877Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config14350462631958109677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T15:49:29.183Z] ---> docker-login.sh [2023-05-10T15:49:29.183Z] nexus3.edgexfoundry.org:10001 [2023-05-10T15:49:29.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:29.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:29.443Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:29.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:29.443Z] [2023-05-10T15:49:29.443Z] Login Succeeded [2023-05-10T15:49:29.702Z] nexus3.edgexfoundry.org:10002 [2023-05-10T15:49:29.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:29.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:29.702Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:29.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:29.702Z] [2023-05-10T15:49:29.702Z] Login Succeeded [2023-05-10T15:49:29.702Z] nexus3.edgexfoundry.org:10003 [2023-05-10T15:49:29.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:29.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:29.702Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:29.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:29.702Z] [2023-05-10T15:49:29.702Z] Login Succeeded [2023-05-10T15:49:29.702Z] nexus3.edgexfoundry.org:10004 [2023-05-10T15:49:29.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:29.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:29.963Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:29.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:29.963Z] [2023-05-10T15:49:29.963Z] Login Succeeded [2023-05-10T15:49:29.963Z] docker.io [2023-05-10T15:49:29.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:30.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:30.223Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:30.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:30.223Z] [2023-05-10T15:49:30.223Z] Login Succeeded [2023-05-10T15:49:30.223Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T15:49:30.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T15:49:30.660Z] + git rev-list -1 --merges 5f2ef55c6af0710ebcf317647d1504c436684c74~1..5f2ef55c6af0710ebcf317647d1504c436684c74 [Pipeline] echo [2023-05-10T15:49:30.712Z] -----------> git rev-list -1 --merges 5f2ef55c6af0710ebcf317647d1504c436684c74~1..5f2ef55c6af0710ebcf317647d1504c436684c74 5f2ef55c6af0710ebcf317647d1504c436684c74 [false] [Pipeline] sh [2023-05-10T15:49:31.003Z] + git log --format=format:%s -1 5f2ef55c6af0710ebcf317647d1504c436684c74 [Pipeline] echo [2023-05-10T15:49:31.019Z] ========================================================= [2023-05-10T15:49:31.019Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T15:49:31.019Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T15:49:31.355Z] + git log --format=format:%s -1 5f2ef55c6af0710ebcf317647d1504c436684c74 [Pipeline] echo [2023-05-10T15:49:31.367Z] [semverPrep] GIT_COMMIT: 5f2ef55c6af0710ebcf317647d1504c436684c74, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#305) [Pipeline] echo [2023-05-10T15:49:31.378Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T15:49:31.757Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T15:49:31.757Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T15:49:31.757Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T15:49:31.757Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T15:49:31.757Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T15:49:31.757Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T15:49:31.757Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:49:32.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T15:49:32.173Z] [2023-05-10T15:49:32.174Z] 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-10T15:49:32.473Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T15:49:32.474Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T15:49:32.474Z] b85a868b505f: Pulling fs layer [2023-05-10T15:49:32.474Z] e2be974225ed: Pulling fs layer [2023-05-10T15:49:32.474Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T15:49:32.474Z] 988bab9f4d93: Pulling fs layer [2023-05-10T15:49:32.474Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T15:49:32.474Z] eaf3925da568: Pulling fs layer [2023-05-10T15:49:32.474Z] bab4dde63d76: Pulling fs layer [2023-05-10T15:49:32.474Z] bde34c3a00c8: Pulling fs layer [2023-05-10T15:49:32.474Z] b352a97aabf1: Pulling fs layer [2023-05-10T15:49:32.474Z] 4872d77fe225: Pulling fs layer [2023-05-10T15:49:32.474Z] 5851b861e8e6: Pulling fs layer [2023-05-10T15:49:32.474Z] eaf3925da568: Waiting [2023-05-10T15:49:32.474Z] bab4dde63d76: Waiting [2023-05-10T15:49:32.474Z] 1469e6f7b9e6: Waiting [2023-05-10T15:49:32.474Z] bde34c3a00c8: Waiting [2023-05-10T15:49:32.474Z] b352a97aabf1: Waiting [2023-05-10T15:49:32.474Z] 5851b861e8e6: Waiting [2023-05-10T15:49:32.474Z] 4872d77fe225: Waiting [2023-05-10T15:49:32.474Z] 988bab9f4d93: Waiting [2023-05-10T15:49:32.474Z] e2be974225ed: Verifying Checksum [2023-05-10T15:49:32.474Z] e2be974225ed: Download complete [2023-05-10T15:49:32.474Z] 988bab9f4d93: Verifying Checksum [2023-05-10T15:49:32.474Z] 988bab9f4d93: Download complete [2023-05-10T15:49:32.474Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T15:49:32.474Z] 1469e6f7b9e6: Download complete [2023-05-10T15:49:32.733Z] eaf3925da568: Verifying Checksum [2023-05-10T15:49:32.733Z] eaf3925da568: Download complete [2023-05-10T15:49:32.733Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T15:49:32.733Z] 339a4e72a1f5: Download complete [2023-05-10T15:49:32.733Z] bde34c3a00c8: Verifying Checksum [2023-05-10T15:49:32.733Z] bde34c3a00c8: Download complete [2023-05-10T15:49:32.733Z] b352a97aabf1: Verifying Checksum [2023-05-10T15:49:32.733Z] b352a97aabf1: Download complete [2023-05-10T15:49:32.733Z] 4872d77fe225: Verifying Checksum [2023-05-10T15:49:32.733Z] 4872d77fe225: Download complete [2023-05-10T15:49:32.733Z] 5851b861e8e6: Verifying Checksum [2023-05-10T15:49:32.733Z] 5851b861e8e6: Download complete [2023-05-10T15:49:32.733Z] b85a868b505f: Verifying Checksum [2023-05-10T15:49:32.733Z] b85a868b505f: Download complete [2023-05-10T15:49:32.992Z] bab4dde63d76: Verifying Checksum [2023-05-10T15:49:32.992Z] bab4dde63d76: Download complete [2023-05-10T15:49:33.926Z] b85a868b505f: Pull complete [2023-05-10T15:49:33.926Z] e2be974225ed: Pull complete [2023-05-10T15:49:34.185Z] 339a4e72a1f5: Pull complete [2023-05-10T15:49:34.444Z] 988bab9f4d93: Pull complete [2023-05-10T15:49:34.703Z] 1469e6f7b9e6: Pull complete [2023-05-10T15:49:34.703Z] eaf3925da568: Pull complete [2023-05-10T15:49:36.080Z] bab4dde63d76: Pull complete [2023-05-10T15:49:36.080Z] bde34c3a00c8: Pull complete [2023-05-10T15:49:36.340Z] b352a97aabf1: Pull complete [2023-05-10T15:49:36.341Z] 4872d77fe225: Pull complete [2023-05-10T15:49:36.601Z] 5851b861e8e6: Pull complete [2023-05-10T15:49:36.601Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T15:49:36.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T15:49:36.601Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T15:49:36.702Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T15:49:36.729Z] $ 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-10T15:49:38.664Z] $ docker top 1ac26ac6c86cd25d5c7c60636b5301af356d3f1d16a31a08eac6b3427aea3a14 -eo pid,comm [2023-05-10T15:49:38.725Z] 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-10T15:49:38.725Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T15:49:38.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T15:49:38.762Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T15:49:38.867Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T15:49:38.865Z] $ docker exec 1ac26ac6c86cd25d5c7c60636b5301af356d3f1d16a31a08eac6b3427aea3a14 ssh-agent [2023-05-10T15:49:38.970Z] SSH_AUTH_SOCK=/tmp/ssh-LAdFzuhKSO6f/agent.32 [2023-05-10T15:49:38.970Z] SSH_AGENT_PID=38 [2023-05-10T15:49:38.976Z] Running ssh-add (command line suppressed) [2023-05-10T15:49:39.074Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6353782824526629206.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6353782824526629206.key) [2023-05-10T15:49:39.093Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T15:49:39.379Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T15:49:39.386Z] $ docker exec --env ******** --env ******** 1ac26ac6c86cd25d5c7c60636b5301af356d3f1d16a31a08eac6b3427aea3a14 ssh-agent -k [2023-05-10T15:49:39.485Z] unset SSH_AUTH_SOCK; [2023-05-10T15:49:39.486Z] unset SSH_AGENT_PID; [2023-05-10T15:49:39.487Z] echo Agent pid 38 killed; [2023-05-10T15:49:39.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T15:49:39.524Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T15:49:39.524Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T15:49:39.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T15:49:39.627Z] $ docker exec 1ac26ac6c86cd25d5c7c60636b5301af356d3f1d16a31a08eac6b3427aea3a14 ssh-agent [2023-05-10T15:49:39.747Z] SSH_AUTH_SOCK=/tmp/ssh-tIAG3b9snYQZ/agent.71 [2023-05-10T15:49:39.747Z] SSH_AGENT_PID=77 [2023-05-10T15:49:39.752Z] Running ssh-add (command line suppressed) [2023-05-10T15:49:39.848Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6347712950350898788.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6347712950350898788.key) [2023-05-10T15:49:39.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T15:49:40.164Z] + git semver init [2023-05-10T15:49:40.424Z] 2023-05-10 15:49:40,318 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T15:49:40.424Z] 2023-05-10 15:49:40,319 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-10T15:49:40.424Z] 2023-05-10 15:49:40,319 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-10T15:49:40.424Z] 2023-05-10 15:49:40,320 [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-10T15:49:41.364Z] 2023-05-10 15:49:41,092 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-05-10T15:49:41.364Z] 2023-05-10 15:49:41,093 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-05-10T15:49:41.364Z] 2023-05-10 15:49:41,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-10T15:49:41.364Z] 2023-05-10 15:49:41,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-10T15:49:41.364Z] 3.0.0-dev.21 [Pipeline] } [2023-05-10T15:49:41.368Z] $ docker exec --env ******** --env ******** 1ac26ac6c86cd25d5c7c60636b5301af356d3f1d16a31a08eac6b3427aea3a14 ssh-agent -k [2023-05-10T15:49:41.453Z] unset SSH_AUTH_SOCK; [2023-05-10T15:49:41.453Z] unset SSH_AGENT_PID; [2023-05-10T15:49:41.454Z] echo Agent pid 77 killed; [2023-05-10T15:49:41.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T15:49:41.766Z] + git semver [Pipeline] } [2023-05-10T15:49:42.033Z] $ docker stop --time=1 1ac26ac6c86cd25d5c7c60636b5301af356d3f1d16a31a08eac6b3427aea3a14 [2023-05-10T15:49:43.313Z] $ docker rm -f --volumes 1ac26ac6c86cd25d5c7c60636b5301af356d3f1d16a31a08eac6b3427aea3a14 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T15:49:43.654Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T15:49:43.847Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T15:49:43.850Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [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-10T15:49:44.007Z] provisioning config files... [2023-05-10T15:49:44.016Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2214350322713190579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T15:49:44.308Z] ---> docker-login.sh [2023-05-10T15:49:44.308Z] nexus3.edgexfoundry.org:10001 [2023-05-10T15:49:44.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:44.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:44.308Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:44.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:44.308Z] [2023-05-10T15:49:44.308Z] Login Succeeded [2023-05-10T15:49:44.308Z] nexus3.edgexfoundry.org:10002 [2023-05-10T15:49:44.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:44.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:44.308Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:44.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:44.308Z] [2023-05-10T15:49:44.308Z] Login Succeeded [2023-05-10T15:49:44.308Z] nexus3.edgexfoundry.org:10003 [2023-05-10T15:49:44.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:44.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:44.567Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:44.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:44.567Z] [2023-05-10T15:49:44.567Z] Login Succeeded [2023-05-10T15:49:44.567Z] nexus3.edgexfoundry.org:10004 [2023-05-10T15:49:44.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:44.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:44.567Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:44.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:44.567Z] [2023-05-10T15:49:44.567Z] Login Succeeded [2023-05-10T15:49:44.567Z] docker.io [2023-05-10T15:49:44.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:49:44.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:49:44.826Z] Configure a credential helper to remove this warning. See [2023-05-10T15:49:44.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:49:44.826Z] [2023-05-10T15:49:44.826Z] Login Succeeded [2023-05-10T15:49:44.826Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T15:49:44.832Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T15:49:44.894Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T15:49:44.911Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T15:49:44.921Z] ========================================================= [2023-05-10T15:49:44.921Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T15:49:44.921Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:49:45.230Z] + 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-10T15:49:45.230Z] Sending build context to Docker daemon 5.812MB [2023-05-10T15:49:45.230Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T15:49:45.230Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T15:49:45.230Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T15:49:45.230Z] f56be85fc22e: Pulling fs layer [2023-05-10T15:49:45.230Z] 85791d961cd3: Pulling fs layer [2023-05-10T15:49:45.230Z] d694b5ae8c79: Pulling fs layer [2023-05-10T15:49:45.230Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T15:49:45.230Z] 4d19c01a9841: Pulling fs layer [2023-05-10T15:49:45.230Z] 9325e15d5711: Pulling fs layer [2023-05-10T15:49:45.230Z] 556b6ee489ea: Pulling fs layer [2023-05-10T15:49:45.230Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T15:49:45.230Z] 4d19c01a9841: Waiting [2023-05-10T15:49:45.230Z] 556b6ee489ea: Waiting [2023-05-10T15:49:45.230Z] 9325e15d5711: Waiting [2023-05-10T15:49:45.230Z] c5a4b2cf53e6: Waiting [2023-05-10T15:49:45.230Z] 9f32a84ed3da: Waiting [2023-05-10T15:49:45.230Z] 85791d961cd3: Verifying Checksum [2023-05-10T15:49:45.230Z] 85791d961cd3: Download complete [2023-05-10T15:49:45.230Z] 9f32a84ed3da: Download complete [2023-05-10T15:49:45.230Z] 4d19c01a9841: Download complete [2023-05-10T15:49:45.230Z] f56be85fc22e: Verifying Checksum [2023-05-10T15:49:45.230Z] f56be85fc22e: Download complete [2023-05-10T15:49:45.488Z] 9325e15d5711: Verifying Checksum [2023-05-10T15:49:45.488Z] 9325e15d5711: Download complete [2023-05-10T15:49:45.488Z] f56be85fc22e: Pull complete [2023-05-10T15:49:45.753Z] 85791d961cd3: Pull complete [2023-05-10T15:49:46.011Z] c5a4b2cf53e6: Verifying Checksum [2023-05-10T15:49:46.011Z] c5a4b2cf53e6: Download complete [2023-05-10T15:49:46.011Z] d694b5ae8c79: Verifying Checksum [2023-05-10T15:49:46.011Z] d694b5ae8c79: Download complete [2023-05-10T15:49:46.269Z] 556b6ee489ea: Verifying Checksum [2023-05-10T15:49:46.269Z] 556b6ee489ea: Download complete [2023-05-10T15:49:48.796Z] d694b5ae8c79: Pull complete [2023-05-10T15:49:49.056Z] 9f32a84ed3da: Pull complete [2023-05-10T15:49:49.056Z] 4d19c01a9841: Pull complete [2023-05-10T15:49:49.056Z] 9325e15d5711: Pull complete [2023-05-10T15:49:51.581Z] 556b6ee489ea: Pull complete [2023-05-10T15:49:52.146Z] c5a4b2cf53e6: Pull complete [2023-05-10T15:49:52.147Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T15:49:52.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T15:49:52.147Z] ---> c4be618373d6 [2023-05-10T15:49:52.147Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T15:49:54.688Z] ---> Running in 569198b2e630 [2023-05-10T15:49:54.947Z] Removing intermediate container 569198b2e630 [2023-05-10T15:49:54.947Z] ---> 0c9ef05d7371 [2023-05-10T15:49:54.947Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T15:49:54.947Z] ---> Running in e8336b4f6b6b [2023-05-10T15:49:54.947Z] Removing intermediate container e8336b4f6b6b [2023-05-10T15:49:54.947Z] ---> c06183664662 [2023-05-10T15:49:54.947Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T15:49:54.947Z] ---> Running in ed78d0b50143 [2023-05-10T15:49:54.947Z] Removing intermediate container ed78d0b50143 [2023-05-10T15:49:54.947Z] ---> 5961b0836e56 [2023-05-10T15:49:54.947Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T15:49:55.207Z] ---> Running in 775eb5b69d3e [2023-05-10T15:49:55.207Z] Removing intermediate container 775eb5b69d3e [2023-05-10T15:49:55.207Z] ---> 1ab97d8b11ad [2023-05-10T15:49:55.207Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T15:49:55.207Z] ---> Running in 7e99c8fe62d5 [2023-05-10T15:49:55.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T15:49:55.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T15:49:55.726Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T15:49:55.726Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T15:49:55.726Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T15:49:55.726Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T15:49:55.726Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T15:49:55.726Z] OK: 269 MiB in 57 packages [2023-05-10T15:49:56.295Z] Removing intermediate container 7e99c8fe62d5 [2023-05-10T15:49:56.295Z] ---> 9438d5aceaf9 [2023-05-10T15:49:56.295Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-10T15:49:56.295Z] ---> Running in 8ee64a5991c3 [2023-05-10T15:49:56.295Z] Removing intermediate container 8ee64a5991c3 [2023-05-10T15:49:56.295Z] ---> 0a9f1f0f627a [2023-05-10T15:49:56.295Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-10T15:49:56.554Z] ---> 4aa47734c799 [2023-05-10T15:49:56.554Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T15:49:56.554Z] ---> Running in f6e0b8cc61dc [2023-05-10T15:49:58.962Z] Still waiting to schedule task [2023-05-10T15:49:58.963Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-10T15:50:35.281Z] Removing intermediate container f6e0b8cc61dc [2023-05-10T15:50:35.281Z] ---> cb3b5779b3bb [2023-05-10T15:50:35.281Z] Step 11/12 : COPY . . [2023-05-10T15:50:35.281Z] ---> 876104f1c9e6 [2023-05-10T15:50:35.281Z] Step 12/12 : RUN ${MAKE} [2023-05-10T15:50:35.281Z] ---> Running in f89eeb57c58f [2023-05-10T15:50:35.281Z] noop [2023-05-10T15:50:35.281Z] Removing intermediate container f89eeb57c58f [2023-05-10T15:50:35.281Z] ---> 00ff7f119916 [2023-05-10T15:50:35.281Z] Successfully built 00ff7f119916 [2023-05-10T15:50:35.282Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:50:35.586Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T15:50:35.586Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T15:50:35.655Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T15:50:35.678Z] $ 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-10T15:50:35.996Z] $ docker top 1b47a45ca09b9c0548bfa42a92224ab94019622d7ba824da8d250a23ef39e759 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T15:50:36.343Z] + go version [2023-05-10T15:50:36.343Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T15:50:36.348Z] $ docker stop --time=1 1b47a45ca09b9c0548bfa42a92224ab94019622d7ba824da8d250a23ef39e759 [2023-05-10T15:50:37.628Z] $ docker rm -f --volumes 1b47a45ca09b9c0548bfa42a92224ab94019622d7ba824da8d250a23ef39e759 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:50:38.049Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T15:50:38.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T15:50:38.120Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T15:50:38.144Z] $ 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-10T15:50:38.465Z] $ docker top b71cc938127ae9c657fcbb68a387c76e2481e58c51d6586e9b6662c058018c63 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T15:50:38.808Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-10T15:50:39.107Z] + make test [2023-05-10T15:50:39.107Z] go test ./... -coverprofile=coverage.out [2023-05-10T15:50:44.373Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-10T15:50:52.482Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-10T15:50:52.482Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-05-10T15:50:57.744Z] go vet ./... [2023-05-10T15:51:01.022Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T15:51:01.022Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T15:51:01.022Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T15:51:01.034Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T15:51:01.038Z] $ docker stop --time=1 b71cc938127ae9c657fcbb68a387c76e2481e58c51d6586e9b6662c058018c63 [2023-05-10T15:51:03.524Z] $ docker rm -f --volumes b71cc938127ae9c657fcbb68a387c76e2481e58c51d6586e9b6662c058018c63 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T15:51:03.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T15:51:04.001Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T15:51:04.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T15:51:04.815Z] + ls -al . [2023-05-10T15:51:04.815Z] total 172 [2023-05-10T15:51:04.815Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 15:50 . [2023-05-10T15:51:04.815Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:49 .. [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 6 May 10 15:49 .dockerignore [2023-05-10T15:51:04.815Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 15:49 .git [2023-05-10T15:51:04.815Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:49 .github [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 328 May 10 15:49 .gitignore [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 15:49 .golangci.yml [2023-05-10T15:51:04.815Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 15:49 .semver [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 10 15:49 Attribution.txt [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 10 15:49 CHANGELOG.md [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 10 15:49 Dockerfile [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 15:49 GOVERNANCE.md [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 656 May 10 15:49 Jenkinsfile [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 15:49 LICENSE [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 10 15:49 Makefile [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 15:49 OWNERS.md [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 10 15:49 README.md [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 15:49 VERSION [2023-05-10T15:51:04.815Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:49 bin [2023-05-10T15:51:04.815Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:49 cmd [2023-05-10T15:51:04.815Z] -rw-r--r-- 1 jenkins jenkins 8837 May 10 15:50 coverage.out [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 10 15:49 go.mod [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 10 15:49 go.sum [2023-05-10T15:51:04.815Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:49 internal [2023-05-10T15:51:04.815Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:49 snap [2023-05-10T15:51:04.815Z] -rw-rw-r-- 1 jenkins jenkins 228 May 10 15:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:05.125Z] + 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=5f2ef55c6af0710ebcf317647d1504c436684c74 --label arch=amd64 --label version=3.0.0-dev.21 . [2023-05-10T15:51:05.125Z] Sending build context to Docker daemon 5.822MB [2023-05-10T15:51:05.126Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T15:51:05.126Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-10T15:51:05.126Z] ---> 00ff7f119916 [2023-05-10T15:51:05.126Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-10T15:51:05.386Z] ---> Running in 07dcfd144a5e [2023-05-10T15:51:05.386Z] Removing intermediate container 07dcfd144a5e [2023-05-10T15:51:05.386Z] ---> 052f30188793 [2023-05-10T15:51:05.386Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T15:51:05.386Z] ---> Running in 9d4a217e439b [2023-05-10T15:51:05.386Z] Removing intermediate container 9d4a217e439b [2023-05-10T15:51:05.387Z] ---> e4637a950533 [2023-05-10T15:51:05.387Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T15:51:05.387Z] ---> Running in 2c8f783fed78 [2023-05-10T15:51:05.648Z] Removing intermediate container 2c8f783fed78 [2023-05-10T15:51:05.648Z] ---> cc41f73fb9a6 [2023-05-10T15:51:05.648Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T15:51:05.648Z] ---> Running in 968169c53c63 [2023-05-10T15:51:05.648Z] Removing intermediate container 968169c53c63 [2023-05-10T15:51:05.648Z] ---> ea8ff26f289f [2023-05-10T15:51:05.648Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T15:51:05.648Z] ---> Running in 07d80a375b7d [2023-05-10T15:51:05.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T15:51:06.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T15:51:06.425Z] OK: 269 MiB in 57 packages [2023-05-10T15:51:06.685Z] Removing intermediate container 07d80a375b7d [2023-05-10T15:51:06.686Z] ---> be6ca673291b [2023-05-10T15:51:06.686Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-10T15:51:06.686Z] ---> Running in 1150c3324235 [2023-05-10T15:51:06.686Z] Removing intermediate container 1150c3324235 [2023-05-10T15:51:06.686Z] ---> 940c16c11e4b [2023-05-10T15:51:06.686Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-10T15:51:07.550Z] ---> 9e21599550d5 [2023-05-10T15:51:07.550Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T15:51:07.550Z] ---> Running in 2c1f7ccb6374 [2023-05-10T15:51:07.810Z] Removing intermediate container 2c1f7ccb6374 [2023-05-10T15:51:07.810Z] ---> cdb0da5e1b4c [2023-05-10T15:51:07.810Z] Step 11/24 : COPY . . [2023-05-10T15:51:07.810Z] ---> a412e0ce1afd [2023-05-10T15:51:07.810Z] Step 12/24 : RUN ${MAKE} [2023-05-10T15:51:07.810Z] ---> Running in b6bade1813c5 [2023-05-10T15:51:08.070Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-10T15:51:27.224Z] Removing intermediate container b6bade1813c5 [2023-05-10T15:51:27.224Z] ---> 86669af0e77b [2023-05-10T15:51:27.224Z] Step 13/24 : FROM alpine:3.17 [2023-05-10T15:51:27.224Z] 3.17: Pulling from library/alpine [2023-05-10T15:51:27.224Z] f56be85fc22e: Already exists [2023-05-10T15:51:27.224Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T15:51:27.224Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T15:51:27.224Z] ---> 9ed4aefc74f6 [2023-05-10T15:51:27.224Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-10T15:51:27.224Z] ---> Running in e7f93e1ddfb9 [2023-05-10T15:51:27.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T15:51:27.224Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T15:51:27.224Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T15:51:27.224Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T15:51:27.224Z] OK: 7 MiB in 16 packages [2023-05-10T15:51:27.224Z] Removing intermediate container e7f93e1ddfb9 [2023-05-10T15:51:27.224Z] ---> d3657b05a2d6 [2023-05-10T15:51:27.224Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-10T15:51:27.224Z] ---> 4d7208941c25 [2023-05-10T15:51:27.224Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-10T15:51:27.224Z] ---> 8f5699072b40 [2023-05-10T15:51:27.224Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-10T15:51:27.224Z] ---> 5a8447c4a2bf [2023-05-10T15:51:27.224Z] Step 18/24 : EXPOSE 59993 [2023-05-10T15:51:27.224Z] ---> Running in e1da694261d3 [2023-05-10T15:51:27.224Z] Removing intermediate container e1da694261d3 [2023-05-10T15:51:27.224Z] ---> 19df602f7166 [2023-05-10T15:51:27.224Z] Step 19/24 : EXPOSE 161 [2023-05-10T15:51:27.224Z] ---> Running in 3664295564f0 [2023-05-10T15:51:27.224Z] Removing intermediate container 3664295564f0 [2023-05-10T15:51:27.224Z] ---> 9ad770f3354b [2023-05-10T15:51:27.224Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-10T15:51:27.224Z] ---> Running in cda3a40aa5f0 [2023-05-10T15:51:27.224Z] Removing intermediate container cda3a40aa5f0 [2023-05-10T15:51:27.224Z] ---> 790724eff614 [2023-05-10T15:51:27.224Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-10T15:51:27.224Z] ---> Running in 6d52a73e4b82 [2023-05-10T15:51:27.224Z] Removing intermediate container 6d52a73e4b82 [2023-05-10T15:51:27.224Z] ---> 8dac77dd4403 [2023-05-10T15:51:27.224Z] Step 22/24 : LABEL arch=amd64 [2023-05-10T15:51:27.224Z] ---> Running in 5dc03d7ded6c [2023-05-10T15:51:27.224Z] Removing intermediate container 5dc03d7ded6c [2023-05-10T15:51:27.224Z] ---> e39a331e55e2 [2023-05-10T15:51:27.225Z] Step 23/24 : LABEL git_sha=5f2ef55c6af0710ebcf317647d1504c436684c74 [2023-05-10T15:51:27.225Z] ---> Running in b51bcd149bf2 [2023-05-10T15:51:27.225Z] Removing intermediate container b51bcd149bf2 [2023-05-10T15:51:27.225Z] ---> dff0d68af554 [2023-05-10T15:51:27.225Z] Step 24/24 : LABEL version=3.0.0-dev.21 [2023-05-10T15:51:27.225Z] ---> Running in 82a2776b59ec [2023-05-10T15:51:27.225Z] Removing intermediate container 82a2776b59ec [2023-05-10T15:51:27.225Z] ---> d3eed4f89c36 [2023-05-10T15:51:27.225Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T15:51:27.225Z] Successfully built d3eed4f89c36 [2023-05-10T15:51:27.225Z] 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-10T15:51:27.338Z] provisioning config files... [2023-05-10T15:51:27.348Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config10068260130584929406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T15:51:27.743Z] ---> docker-login.sh [2023-05-10T15:51:27.743Z] nexus3.edgexfoundry.org:10001 [2023-05-10T15:51:27.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:51:27.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:51:27.743Z] Configure a credential helper to remove this warning. See [2023-05-10T15:51:27.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:51:27.743Z] [2023-05-10T15:51:27.743Z] Login Succeeded [2023-05-10T15:51:27.743Z] nexus3.edgexfoundry.org:10002 [2023-05-10T15:51:27.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:51:27.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:51:27.743Z] Configure a credential helper to remove this warning. See [2023-05-10T15:51:27.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:51:27.743Z] [2023-05-10T15:51:27.743Z] Login Succeeded [2023-05-10T15:51:27.743Z] nexus3.edgexfoundry.org:10003 [2023-05-10T15:51:27.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:51:28.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:51:28.043Z] Configure a credential helper to remove this warning. See [2023-05-10T15:51:28.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:51:28.043Z] [2023-05-10T15:51:28.043Z] Login Succeeded [2023-05-10T15:51:28.043Z] nexus3.edgexfoundry.org:10004 [2023-05-10T15:51:28.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:51:28.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:51:28.043Z] Configure a credential helper to remove this warning. See [2023-05-10T15:51:28.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:51:28.043Z] [2023-05-10T15:51:28.043Z] Login Succeeded [2023-05-10T15:51:28.043Z] docker.io [2023-05-10T15:51:28.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:51:28.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:51:28.334Z] Configure a credential helper to remove this warning. See [2023-05-10T15:51:28.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:51:28.334Z] [2023-05-10T15:51:28.334Z] Login Succeeded [2023-05-10T15:51:28.334Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T15:51:28.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T15:51:28.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T15:51:28.383Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-05-10T15:51:28.383Z] 5f2ef55c6af0710ebcf317647d1504c436684c74 [2023-05-10T15:51:28.383Z] latest [2023-05-10T15:51:28.383Z] 3.0.0-dev.21 [2023-05-10T15:51:28.383Z] 5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21 [2023-05-10T15:51:28.383Z] main [2023-05-10T15:51:28.383Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:28.696Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:5f2ef55c6af0710ebcf317647d1504c436684c74 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:29.150Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:5f2ef55c6af0710ebcf317647d1504c436684c74 [2023-05-10T15:51:29.150Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-10T15:51:29.150Z] 31f641e06282: Preparing [2023-05-10T15:51:29.150Z] 913bbd3c5a4f: Preparing [2023-05-10T15:51:29.150Z] b4b1f103be50: Preparing [2023-05-10T15:51:29.150Z] 655e8f49cde9: Preparing [2023-05-10T15:51:29.150Z] f1417ff83b31: Preparing [2023-05-10T15:51:29.150Z] f1417ff83b31: Layer already exists [2023-05-10T15:51:29.150Z] 31f641e06282: Pushed [2023-05-10T15:51:29.150Z] 913bbd3c5a4f: Pushed [2023-05-10T15:51:29.150Z] 655e8f49cde9: Pushed [2023-05-10T15:51:31.686Z] b4b1f103be50: Pushed [2023-05-10T15:51:31.686Z] 5f2ef55c6af0710ebcf317647d1504c436684c74: digest: sha256:ba3ce2c4ec99987bbc2d5b8dc545812930c9cb76bdcf49aae63aa83004aaacd5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:32.005Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:32.328Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-10T15:51:32.328Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-10T15:51:32.328Z] 31f641e06282: Preparing [2023-05-10T15:51:32.328Z] 913bbd3c5a4f: Preparing [2023-05-10T15:51:32.328Z] b4b1f103be50: Preparing [2023-05-10T15:51:32.328Z] 655e8f49cde9: Preparing [2023-05-10T15:51:32.329Z] f1417ff83b31: Preparing [2023-05-10T15:51:32.329Z] 31f641e06282: Layer already exists [2023-05-10T15:51:32.329Z] f1417ff83b31: Layer already exists [2023-05-10T15:51:32.329Z] 913bbd3c5a4f: Layer already exists [2023-05-10T15:51:32.329Z] 655e8f49cde9: Layer already exists [2023-05-10T15:51:32.329Z] b4b1f103be50: Layer already exists [2023-05-10T15:51:32.329Z] latest: digest: sha256:ba3ce2c4ec99987bbc2d5b8dc545812930c9cb76bdcf49aae63aa83004aaacd5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:32.649Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:32.956Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.21 [2023-05-10T15:51:32.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-10T15:51:32.956Z] 31f641e06282: Preparing [2023-05-10T15:51:32.956Z] 913bbd3c5a4f: Preparing [2023-05-10T15:51:32.956Z] b4b1f103be50: Preparing [2023-05-10T15:51:32.956Z] 655e8f49cde9: Preparing [2023-05-10T15:51:32.956Z] f1417ff83b31: Preparing [2023-05-10T15:51:32.956Z] 31f641e06282: Layer already exists [2023-05-10T15:51:32.956Z] b4b1f103be50: Layer already exists [2023-05-10T15:51:32.956Z] f1417ff83b31: Layer already exists [2023-05-10T15:51:32.956Z] 913bbd3c5a4f: Layer already exists [2023-05-10T15:51:32.956Z] 655e8f49cde9: Layer already exists [2023-05-10T15:51:32.956Z] 3.0.0-dev.21: digest: sha256:ba3ce2c4ec99987bbc2d5b8dc545812930c9cb76bdcf49aae63aa83004aaacd5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:33.267Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:33.572Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21 [2023-05-10T15:51:33.572Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-10T15:51:33.572Z] 31f641e06282: Preparing [2023-05-10T15:51:33.572Z] 913bbd3c5a4f: Preparing [2023-05-10T15:51:33.572Z] b4b1f103be50: Preparing [2023-05-10T15:51:33.572Z] 655e8f49cde9: Preparing [2023-05-10T15:51:33.572Z] f1417ff83b31: Preparing [2023-05-10T15:51:33.572Z] f1417ff83b31: Layer already exists [2023-05-10T15:51:33.572Z] 913bbd3c5a4f: Layer already exists [2023-05-10T15:51:33.572Z] 31f641e06282: Layer already exists [2023-05-10T15:51:33.572Z] b4b1f103be50: Layer already exists [2023-05-10T15:51:33.572Z] 655e8f49cde9: Layer already exists [2023-05-10T15:51:33.572Z] 5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21: digest: sha256:ba3ce2c4ec99987bbc2d5b8dc545812930c9cb76bdcf49aae63aa83004aaacd5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:33.883Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:34.202Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-05-10T15:51:34.202Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-10T15:51:34.202Z] 31f641e06282: Preparing [2023-05-10T15:51:34.202Z] 913bbd3c5a4f: Preparing [2023-05-10T15:51:34.202Z] b4b1f103be50: Preparing [2023-05-10T15:51:34.202Z] 655e8f49cde9: Preparing [2023-05-10T15:51:34.202Z] f1417ff83b31: Preparing [2023-05-10T15:51:34.202Z] b4b1f103be50: Layer already exists [2023-05-10T15:51:34.202Z] f1417ff83b31: Layer already exists [2023-05-10T15:51:34.202Z] 31f641e06282: Layer already exists [2023-05-10T15:51:34.202Z] 913bbd3c5a4f: Layer already exists [2023-05-10T15:51:34.202Z] 655e8f49cde9: Layer already exists [2023-05-10T15:51:34.202Z] main: digest: sha256:ba3ce2c4ec99987bbc2d5b8dc545812930c9cb76bdcf49aae63aa83004aaacd5 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T15:51:34.262Z] ===================================================== [Pipeline] echo [2023-05-10T15:51:34.269Z] taggedImages: [2023-05-10T15:51:34.269Z] - nexus3.edgexfoundry.org:10004/device-snmp:5f2ef55c6af0710ebcf317647d1504c436684c74 [2023-05-10T15:51:34.269Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-10T15:51:34.269Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.21 [2023-05-10T15:51:34.269Z] - nexus3.edgexfoundry.org:10004/device-snmp:5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21 [2023-05-10T15:51:34.269Z] - 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-10T15:51:34.645Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T15:51:34.646Z] [2023-05-10T15:51:34.646Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:51:34.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T15:51:34.945Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T15:51:34.945Z] 5eb5b503b376: Pulling fs layer [2023-05-10T15:51:34.945Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T15:51:34.945Z] ec43610c2a17: Pulling fs layer [2023-05-10T15:51:34.945Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T15:51:34.945Z] 33b1e0a273af: Pulling fs layer [2023-05-10T15:51:34.945Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T15:51:34.945Z] 2f39f015ded8: Pulling fs layer [2023-05-10T15:51:34.945Z] 33b1e0a273af: Waiting [2023-05-10T15:51:34.945Z] 3a2ae6a8a46f: Waiting [2023-05-10T15:51:34.945Z] 5d3b04190fa2: Waiting [2023-05-10T15:51:34.945Z] 2f39f015ded8: Waiting [2023-05-10T15:51:34.945Z] 5c69ac0246d0: Verifying Checksum [2023-05-10T15:51:34.945Z] 5c69ac0246d0: Download complete [2023-05-10T15:51:34.945Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-10T15:51:34.945Z] 3a2ae6a8a46f: Download complete [2023-05-10T15:51:34.945Z] 33b1e0a273af: Verifying Checksum [2023-05-10T15:51:34.945Z] 33b1e0a273af: Download complete [2023-05-10T15:51:34.945Z] ec43610c2a17: Verifying Checksum [2023-05-10T15:51:34.945Z] 5d3b04190fa2: Verifying Checksum [2023-05-10T15:51:34.945Z] 5d3b04190fa2: Download complete [2023-05-10T15:51:35.202Z] 5eb5b503b376: Verifying Checksum [2023-05-10T15:51:35.202Z] 5eb5b503b376: Download complete [2023-05-10T15:51:35.773Z] 2f39f015ded8: Download complete [2023-05-10T15:51:36.340Z] 5eb5b503b376: Pull complete [2023-05-10T15:51:36.340Z] 5c69ac0246d0: Pull complete [2023-05-10T15:51:36.905Z] ec43610c2a17: Pull complete [2023-05-10T15:51:36.905Z] 3a2ae6a8a46f: Pull complete [2023-05-10T15:51:36.905Z] 33b1e0a273af: Pull complete [2023-05-10T15:51:37.164Z] 5d3b04190fa2: Pull complete [2023-05-10T15:51:38.968Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14911 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-05-10T15:51:38.982Z] Running in /w/workspace/device-snmp-go/78 [Pipeline] { [Pipeline] checkout [2023-05-10T15:51:39.025Z] Selected Git installation does not exist. Using Default [2023-05-10T15:51:39.025Z] The recommended git tool is: NONE [2023-05-10T15:51:41.351Z] 2f39f015ded8: Pull complete [2023-05-10T15:51:41.351Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T15:51:41.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T15:51:41.351Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T15:51:41.426Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T15:51:41.451Z] $ 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-10T15:51:43.747Z] $ docker top 185f2e02ab8c9363665416a5161d7b999e00fc7f7c5df74bd8253b642007f614 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T15:51:44.158Z] ---> job-cost.sh [2023-05-10T15:51:44.158Z] lf-activate-venv: SKIPPING [2023-05-10T15:51:44.158Z] INFO: No Stack... [2023-05-10T15:51:44.417Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T15:51:44.989Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T15:51:45.288Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-05-10T15:51:45.288Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T15:51:45.304Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-78-stack-cost] [2023-05-10T15:51:45.312Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-78-stack-cost] did not exist. Created. [2023-05-10T15:51:45.312Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T15:51:45.618Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T15:51:45.646Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T15:51:45.656Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T15:51:45.673Z] $ docker stop --time=1 185f2e02ab8c9363665416a5161d7b999e00fc7f7c5df74bd8253b642007f614 [2023-05-10T15:51:45.816Z] using credential edgex-jenkins-ssh [2023-05-10T15:51:45.838Z] Cloning the remote Git repository [2023-05-10T15:51:45.899Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-10T15:51:46.016Z] > git init /w/workspace/device-snmp-go/78 # timeout=10 [2023-05-10T15:51:46.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-10T15:51:46.198Z] > git --version # timeout=10 [2023-05-10T15:51:46.219Z] > git --version # 'git version 2.25.1' [2023-05-10T15:51:46.222Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T15:51:46.393Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T15:51:46.885Z] $ docker rm -f --volumes 185f2e02ab8c9363665416a5161d7b999e00fc7f7c5df74bd8253b642007f614 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T15:51:49.242Z] Avoid second fetch [2023-05-10T15:51:49.243Z] Checking out Revision 5f2ef55c6af0710ebcf317647d1504c436684c74 (main) [2023-05-10T15:51:48.203Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-10T15:51:48.227Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T15:51:49.261Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T15:51:49.341Z] > git checkout -f 5f2ef55c6af0710ebcf317647d1504c436684c74 # timeout=10 [2023-05-10T15:51:49.942Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#305)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T15:51:50.865Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T15:51:50.866Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T15:51:50.866Z] Dload Upload Total Spent Left Speed [2023-05-10T15:51:50.866Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-05-10T15:51:51.504Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T15:51:51.852Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-10T15:51:51.852Z] + sudo tee /etc/docker/daemon.new [2023-05-10T15:51:51.852Z] { [2023-05-10T15:51:51.852Z] "registry-mirrors": [ [2023-05-10T15:51:51.852Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T15:51:51.852Z] ], [2023-05-10T15:51:51.852Z] "bip": "10.250.0.254/24", [2023-05-10T15:51:51.852Z] "hosts": [ [2023-05-10T15:51:51.852Z] "tcp://0.0.0.0:5555", [2023-05-10T15:51:51.852Z] "unix:///var/run/docker.sock" [2023-05-10T15:51:51.852Z] ], [2023-05-10T15:51:51.852Z] "mtu": 1458, [2023-05-10T15:51:51.852Z] "selinux-enabled": true, [2023-05-10T15:51:51.852Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T15:51:51.852Z] } [Pipeline] sh [2023-05-10T15:51:52.195Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T15:51:52.542Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T15:52:10.829Z] provisioning config files... [2023-05-10T15:52:10.856Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/78@tmp/config16165510681479170080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T15:52:11.221Z] ---> docker-login.sh [2023-05-10T15:52:11.221Z] nexus3.edgexfoundry.org:10001 [2023-05-10T15:52:11.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:52:11.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:52:11.761Z] Configure a credential helper to remove this warning. See [2023-05-10T15:52:11.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:52:11.761Z] [2023-05-10T15:52:11.761Z] Login Succeeded [2023-05-10T15:52:11.761Z] nexus3.edgexfoundry.org:10002 [2023-05-10T15:52:12.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:52:12.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:52:12.313Z] Configure a credential helper to remove this warning. See [2023-05-10T15:52:12.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:52:12.313Z] [2023-05-10T15:52:12.313Z] Login Succeeded [2023-05-10T15:52:12.313Z] nexus3.edgexfoundry.org:10003 [2023-05-10T15:52:12.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:52:12.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:52:12.965Z] Configure a credential helper to remove this warning. See [2023-05-10T15:52:12.965Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:52:12.965Z] [2023-05-10T15:52:12.965Z] Login Succeeded [2023-05-10T15:52:12.965Z] nexus3.edgexfoundry.org:10004 [2023-05-10T15:52:12.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:52:13.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:52:13.237Z] Configure a credential helper to remove this warning. See [2023-05-10T15:52:13.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:52:13.237Z] [2023-05-10T15:52:13.237Z] Login Succeeded [2023-05-10T15:52:13.237Z] docker.io [2023-05-10T15:52:13.506Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T15:52:15.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T15:52:15.460Z] Configure a credential helper to remove this warning. See [2023-05-10T15:52:15.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T15:52:15.460Z] [2023-05-10T15:52:15.460Z] Login Succeeded [2023-05-10T15:52:15.460Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T15:52:15.473Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T15:52:15.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T15:52:15.763Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T15:52:15.774Z] ========================================================= [2023-05-10T15:52:15.774Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T15:52:15.774Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:52:16.134Z] + 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-10T15:52:16.405Z] Sending build context to Docker daemon 3.012MB [2023-05-10T15:52:16.405Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T15:52:16.405Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T15:52:16.677Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T15:52:16.677Z] c41833b44d91: Pulling fs layer [2023-05-10T15:52:16.677Z] ed15518f5707: Pulling fs layer [2023-05-10T15:52:16.677Z] feae8fd75edb: Pulling fs layer [2023-05-10T15:52:16.677Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T15:52:16.677Z] 3cdef696dda3: Pulling fs layer [2023-05-10T15:52:16.677Z] 2ced38df9373: Pulling fs layer [2023-05-10T15:52:16.677Z] 58f1dce35555: Pulling fs layer [2023-05-10T15:52:16.677Z] 3cdef696dda3: Waiting [2023-05-10T15:52:16.677Z] 2ced38df9373: Waiting [2023-05-10T15:52:16.677Z] 242c74f7c9fa: Waiting [2023-05-10T15:52:16.677Z] 58f1dce35555: Waiting [2023-05-10T15:52:16.677Z] ed15518f5707: Download complete [2023-05-10T15:52:16.677Z] 242c74f7c9fa: Verifying Checksum [2023-05-10T15:52:16.677Z] 242c74f7c9fa: Download complete [2023-05-10T15:52:16.677Z] 3cdef696dda3: Verifying Checksum [2023-05-10T15:52:16.677Z] 3cdef696dda3: Download complete [2023-05-10T15:52:16.677Z] c41833b44d91: Verifying Checksum [2023-05-10T15:52:17.651Z] c41833b44d91: Pull complete [2023-05-10T15:52:17.924Z] 58f1dce35555: Verifying Checksum [2023-05-10T15:52:17.924Z] 58f1dce35555: Download complete [2023-05-10T15:52:18.198Z] ed15518f5707: Pull complete [2023-05-10T15:52:19.172Z] feae8fd75edb: Download complete [2023-05-10T15:52:19.172Z] 2ced38df9373: Verifying Checksum [2023-05-10T15:52:19.172Z] 2ced38df9373: Download complete [2023-05-10T15:52:29.286Z] feae8fd75edb: Pull complete [2023-05-10T15:52:29.286Z] 242c74f7c9fa: Pull complete [2023-05-10T15:52:29.555Z] 3cdef696dda3: Pull complete [2023-05-10T15:52:36.249Z] 2ced38df9373: Pull complete [2023-05-10T15:52:37.667Z] 58f1dce35555: Pull complete [2023-05-10T15:52:37.667Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T15:52:37.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T15:52:37.667Z] ---> fadd8f120f05 [2023-05-10T15:52:37.667Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T15:52:39.629Z] ---> Running in 8c094c59b304 [2023-05-10T15:52:39.898Z] Removing intermediate container 8c094c59b304 [2023-05-10T15:52:39.898Z] ---> 841bdebafe19 [2023-05-10T15:52:39.898Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T15:52:39.898Z] ---> Running in a9a5bff41944 [2023-05-10T15:52:40.166Z] Removing intermediate container a9a5bff41944 [2023-05-10T15:52:40.166Z] ---> 66863d8674b7 [2023-05-10T15:52:40.166Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T15:52:40.436Z] ---> Running in 6a98f8a71fe4 [2023-05-10T15:52:40.705Z] Removing intermediate container 6a98f8a71fe4 [2023-05-10T15:52:40.705Z] ---> 377aff768be3 [2023-05-10T15:52:40.705Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T15:52:40.705Z] ---> Running in f8186d472503 [2023-05-10T15:52:40.976Z] Removing intermediate container f8186d472503 [2023-05-10T15:52:40.976Z] ---> 71df4a49628c [2023-05-10T15:52:40.976Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T15:52:41.243Z] ---> Running in f7241514606f [2023-05-10T15:52:42.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T15:52:42.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T15:52:44.240Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T15:52:44.240Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T15:52:44.240Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T15:52:44.240Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T15:52:44.240Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T15:52:44.240Z] OK: 268 MiB in 57 packages [2023-05-10T15:52:45.203Z] Removing intermediate container f7241514606f [2023-05-10T15:52:45.203Z] ---> 7c4ed78f2cf5 [2023-05-10T15:52:45.203Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-10T15:52:45.203Z] ---> Running in ddea894b3a19 [2023-05-10T15:52:45.790Z] Removing intermediate container ddea894b3a19 [2023-05-10T15:52:45.790Z] ---> cc58f21f15bd [2023-05-10T15:52:45.790Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-10T15:52:46.062Z] ---> 0b6d95b8729e [2023-05-10T15:52:46.062Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T15:52:46.356Z] ---> Running in d91a69dbc3e2 [2023-05-10T15:53:54.265Z] Removing intermediate container d91a69dbc3e2 [2023-05-10T15:53:54.265Z] ---> 281b8d4c4474 [2023-05-10T15:53:54.265Z] Step 11/12 : COPY . . [2023-05-10T15:53:54.265Z] ---> 2b372363b6cc [2023-05-10T15:53:54.265Z] Step 12/12 : RUN ${MAKE} [2023-05-10T15:53:54.265Z] ---> Running in f1255a17cf0d [2023-05-10T15:53:54.265Z] noop [2023-05-10T15:53:54.265Z] Removing intermediate container f1255a17cf0d [2023-05-10T15:53:54.265Z] ---> 255367493ee1 [2023-05-10T15:53:54.265Z] Successfully built 255367493ee1 [2023-05-10T15:53:54.265Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:53:54.628Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T15:53:54.628Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T15:53:54.870Z] prd-ubuntu20.04-docker-arm64-4c-16g-14911 does not seem to be running inside a container [2023-05-10T15:53:54.947Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/78 -v /w/workspace/device-snmp-go/78:/w/workspace/device-snmp-go/78:rw,z -v /w/workspace/device-snmp-go/78@tmp:/w/workspace/device-snmp-go/78@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-10T15:53:56.165Z] $ docker top fddc6acc86fa91efa60d21ef0127e13a509b634b8e67edae04fa35d607b6d07e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T15:53:57.017Z] + go version [2023-05-10T15:53:57.017Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T15:53:57.034Z] $ docker stop --time=1 fddc6acc86fa91efa60d21ef0127e13a509b634b8e67edae04fa35d607b6d07e [2023-05-10T15:53:58.646Z] $ docker rm -f --volumes fddc6acc86fa91efa60d21ef0127e13a509b634b8e67edae04fa35d607b6d07e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:53:59.194Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T15:53:59.194Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T15:53:59.406Z] prd-ubuntu20.04-docker-arm64-4c-16g-14911 does not seem to be running inside a container [2023-05-10T15:53:59.479Z] $ 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/78 -v /w/workspace/device-snmp-go/78:/w/workspace/device-snmp-go/78:rw,z -v /w/workspace/device-snmp-go/78@tmp:/w/workspace/device-snmp-go/78@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-10T15:54:00.650Z] $ docker top 0bfb0e830fbd0162ee604e465b3b8283763014e5fb56da4562c8c97569b65968 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T15:54:01.499Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/78 [Pipeline] fileExists [Pipeline] sh [2023-05-10T15:54:02.166Z] + make test [2023-05-10T15:54:02.166Z] go test ./... -coverprofile=coverage.out [2023-05-10T15:54:41.054Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-10T15:56:47.771Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-10T15:56:47.771Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.048s coverage: 0.0% of statements [2023-05-10T15:56:47.771Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T15:56:47.771Z] go vet ./... [2023-05-10T15:57:09.877Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T15:57:09.877Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T15:57:09.877Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T15:57:10.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T15:57:10.180Z] $ docker stop --time=1 0bfb0e830fbd0162ee604e465b3b8283763014e5fb56da4562c8c97569b65968 [2023-05-10T15:57:12.137Z] $ docker rm -f --volumes 0bfb0e830fbd0162ee604e465b3b8283763014e5fb56da4562c8c97569b65968 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T15:57:13.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T15:57:13.327Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T15:57:13.844Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T15:57:14.212Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T15:57:14.541Z] + ls -al . [2023-05-10T15:57:14.541Z] total 168 [2023-05-10T15:57:14.541Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 15:54 . [2023-05-10T15:57:14.541Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:51 .. [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 6 May 10 15:51 .dockerignore [2023-05-10T15:57:14.541Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 15:51 .git [2023-05-10T15:57:14.541Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:51 .github [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 328 May 10 15:51 .gitignore [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 15:51 .golangci.yml [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 10 15:51 Attribution.txt [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 10 15:51 CHANGELOG.md [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 10 15:51 Dockerfile [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 15:51 GOVERNANCE.md [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 656 May 10 15:51 Jenkinsfile [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 15:51 LICENSE [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 10 15:51 Makefile [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 15:51 OWNERS.md [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 10 15:51 README.md [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 12 May 10 15:49 VERSION [2023-05-10T15:57:14.541Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 15:51 bin [2023-05-10T15:57:14.541Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:51 cmd [2023-05-10T15:57:14.541Z] -rw-r--r-- 1 jenkins jenkins 8837 May 10 15:56 coverage.out [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 10 15:51 go.mod [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 10 15:51 go.sum [2023-05-10T15:57:14.541Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 15:51 internal [2023-05-10T15:57:14.541Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 15:51 snap [2023-05-10T15:57:14.541Z] -rw-rw-r-- 1 jenkins jenkins 228 May 10 15:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T15:57:14.884Z] + 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=5f2ef55c6af0710ebcf317647d1504c436684c74 --label arch=arm64 --label version=3.0.0-dev.21 . [2023-05-10T15:57:15.154Z] Sending build context to Docker daemon 3.021MB [2023-05-10T15:57:15.154Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T15:57:15.154Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-10T15:57:15.154Z] ---> 255367493ee1 [2023-05-10T15:57:15.154Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-10T15:57:15.424Z] ---> Running in c2aff7777d04 [2023-05-10T15:57:15.691Z] Removing intermediate container c2aff7777d04 [2023-05-10T15:57:15.691Z] ---> 43ad8fae4c82 [2023-05-10T15:57:15.691Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T15:57:15.691Z] ---> Running in 3d03a733e79d [2023-05-10T15:57:15.961Z] Removing intermediate container 3d03a733e79d [2023-05-10T15:57:15.961Z] ---> 04bc183411ab [2023-05-10T15:57:15.961Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T15:57:15.961Z] ---> Running in 3444f6c36018 [2023-05-10T15:57:16.547Z] Removing intermediate container 3444f6c36018 [2023-05-10T15:57:16.547Z] ---> 3e209a913457 [2023-05-10T15:57:16.547Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T15:57:16.547Z] ---> Running in d1146f01338d [2023-05-10T15:57:16.815Z] Removing intermediate container d1146f01338d [2023-05-10T15:57:16.815Z] ---> 254378029807 [2023-05-10T15:57:16.815Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T15:57:16.815Z] ---> Running in 582e314872bd [2023-05-10T15:57:17.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T15:57:18.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T15:57:19.710Z] OK: 268 MiB in 57 packages [2023-05-10T15:57:23.075Z] Removing intermediate container 582e314872bd [2023-05-10T15:57:23.075Z] ---> 2923aebc440d [2023-05-10T15:57:23.075Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-10T15:57:23.075Z] ---> Running in 066e70a3b68a [2023-05-10T15:57:23.075Z] Removing intermediate container 066e70a3b68a [2023-05-10T15:57:23.075Z] ---> 8741fa61d4bf [2023-05-10T15:57:23.075Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-10T15:57:23.346Z] ---> fe731398ba9a [2023-05-10T15:57:23.346Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T15:57:23.346Z] ---> Running in de51ec19d659 [2023-05-10T15:57:25.949Z] Removing intermediate container de51ec19d659 [2023-05-10T15:57:25.949Z] ---> 967e34ab28f8 [2023-05-10T15:57:25.949Z] Step 11/24 : COPY . . [2023-05-10T15:57:27.374Z] ---> 319e00c4935a [2023-05-10T15:57:27.374Z] Step 12/24 : RUN ${MAKE} [2023-05-10T15:57:27.374Z] ---> Running in 80535bab8071 [2023-05-10T15:57:28.347Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-10T15:59:50.154Z] Removing intermediate container 80535bab8071 [2023-05-10T15:59:50.154Z] ---> b17106a71b72 [2023-05-10T15:59:50.154Z] Step 13/24 : FROM alpine:3.17 [2023-05-10T15:59:52.755Z] 3.17: Pulling from library/alpine [2023-05-10T15:59:53.026Z] c41833b44d91: Already exists [2023-05-10T15:59:53.026Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T15:59:53.026Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T15:59:53.026Z] ---> 51e60588ff2c [2023-05-10T15:59:53.026Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-10T15:59:53.298Z] ---> Running in 16a20392280e [2023-05-10T15:59:54.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T15:59:54.849Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T15:59:56.264Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T15:59:56.264Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T15:59:56.264Z] OK: 8 MiB in 16 packages [2023-05-10T15:59:57.227Z] Removing intermediate container 16a20392280e [2023-05-10T15:59:57.227Z] ---> 3d2a34241cee [2023-05-10T15:59:57.227Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-10T15:59:58.637Z] ---> c7981ebe353e [2023-05-10T15:59:58.637Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-10T15:59:59.224Z] ---> 1ba3234038fd [2023-05-10T15:59:59.224Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-10T15:59:59.812Z] ---> 13d069205db9 [2023-05-10T15:59:59.812Z] Step 18/24 : EXPOSE 59993 [2023-05-10T15:59:59.812Z] ---> Running in d4fb4ea442b1 [2023-05-10T16:00:00.081Z] Removing intermediate container d4fb4ea442b1 [2023-05-10T16:00:00.081Z] ---> f5493ae29f3e [2023-05-10T16:00:00.081Z] Step 19/24 : EXPOSE 161 [2023-05-10T16:00:00.081Z] ---> Running in f27265ab02c3 [2023-05-10T16:00:00.671Z] Removing intermediate container f27265ab02c3 [2023-05-10T16:00:00.671Z] ---> c3bb5a4cded4 [2023-05-10T16:00:00.671Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-10T16:00:00.671Z] ---> Running in e29dd652e111 [2023-05-10T16:00:00.942Z] Removing intermediate container e29dd652e111 [2023-05-10T16:00:00.942Z] ---> 4207ea73e6b3 [2023-05-10T16:00:00.942Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-10T16:00:00.942Z] ---> Running in 6b3f2daded9b [2023-05-10T16:00:01.214Z] Removing intermediate container 6b3f2daded9b [2023-05-10T16:00:01.214Z] ---> 755c53f59429 [2023-05-10T16:00:01.214Z] Step 22/24 : LABEL arch=arm64 [2023-05-10T16:00:01.487Z] ---> Running in 1f6200686f3a [2023-05-10T16:00:01.755Z] Removing intermediate container 1f6200686f3a [2023-05-10T16:00:01.755Z] ---> 6988979212da [2023-05-10T16:00:01.755Z] Step 23/24 : LABEL git_sha=5f2ef55c6af0710ebcf317647d1504c436684c74 [2023-05-10T16:00:01.755Z] ---> Running in 19dfb9625bf9 [2023-05-10T16:00:02.023Z] Removing intermediate container 19dfb9625bf9 [2023-05-10T16:00:02.023Z] ---> bff64d29988b [2023-05-10T16:00:02.024Z] Step 24/24 : LABEL version=3.0.0-dev.21 [2023-05-10T16:00:02.291Z] ---> Running in 33462791b93c [2023-05-10T16:00:02.568Z] Removing intermediate container 33462791b93c [2023-05-10T16:00:02.568Z] ---> 27ffee98643d [2023-05-10T16:00:02.568Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T16:00:02.568Z] Successfully built 27ffee98643d [2023-05-10T16:00:02.568Z] 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-10T16:00:02.663Z] provisioning config files... [2023-05-10T16:00:02.678Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/78@tmp/config9642876430749009733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:00:03.083Z] ---> docker-login.sh [2023-05-10T16:00:03.083Z] nexus3.edgexfoundry.org:10001 [2023-05-10T16:00:03.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T16:00:03.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T16:00:03.354Z] Configure a credential helper to remove this warning. See [2023-05-10T16:00:03.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T16:00:03.354Z] [2023-05-10T16:00:03.354Z] Login Succeeded [2023-05-10T16:00:03.354Z] nexus3.edgexfoundry.org:10002 [2023-05-10T16:00:03.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T16:00:03.902Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T16:00:03.902Z] Configure a credential helper to remove this warning. See [2023-05-10T16:00:03.902Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T16:00:03.902Z] [2023-05-10T16:00:03.902Z] Login Succeeded [2023-05-10T16:00:03.902Z] nexus3.edgexfoundry.org:10003 [2023-05-10T16:00:04.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T16:00:04.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T16:00:04.175Z] Configure a credential helper to remove this warning. See [2023-05-10T16:00:04.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T16:00:04.175Z] [2023-05-10T16:00:04.175Z] Login Succeeded [2023-05-10T16:00:04.175Z] nexus3.edgexfoundry.org:10004 [2023-05-10T16:00:04.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T16:00:04.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T16:00:04.726Z] Configure a credential helper to remove this warning. See [2023-05-10T16:00:04.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T16:00:04.726Z] [2023-05-10T16:00:04.726Z] Login Succeeded [2023-05-10T16:00:04.726Z] docker.io [2023-05-10T16:00:05.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T16:00:10.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T16:00:10.363Z] Configure a credential helper to remove this warning. See [2023-05-10T16:00:10.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T16:00:10.363Z] [2023-05-10T16:00:10.363Z] Login Succeeded [2023-05-10T16:00:10.363Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T16:00:10.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T16:00:10.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T16:00:10.419Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-05-10T16:00:10.419Z] 5f2ef55c6af0710ebcf317647d1504c436684c74 [2023-05-10T16:00:10.419Z] latest [2023-05-10T16:00:10.419Z] 3.0.0-dev.21 [2023-05-10T16:00:10.419Z] 5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21 [2023-05-10T16:00:10.419Z] main [2023-05-10T16:00:10.419Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:10.761Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:5f2ef55c6af0710ebcf317647d1504c436684c74 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:11.116Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:5f2ef55c6af0710ebcf317647d1504c436684c74 [2023-05-10T16:00:11.116Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-10T16:00:11.116Z] 6f7db4197385: Preparing [2023-05-10T16:00:11.116Z] d4b4ddc71c5d: Preparing [2023-05-10T16:00:11.116Z] adeb6e0cc727: Preparing [2023-05-10T16:00:11.116Z] ef82b494eedf: Preparing [2023-05-10T16:00:11.116Z] 26cbea5cba74: Preparing [2023-05-10T16:00:11.116Z] 26cbea5cba74: Layer already exists [2023-05-10T16:00:11.386Z] d4b4ddc71c5d: Pushed [2023-05-10T16:00:11.386Z] ef82b494eedf: Pushed [2023-05-10T16:00:11.386Z] 6f7db4197385: Pushed [2023-05-10T16:00:16.738Z] adeb6e0cc727: Pushed [2023-05-10T16:00:16.738Z] 5f2ef55c6af0710ebcf317647d1504c436684c74: digest: sha256:53e4f6924a4165cc053e31ce027af1ec33b842bc6df00a37affefa18898f0c3b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:17.116Z] + 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-10T16:00:17.484Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-10T16:00:17.484Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-10T16:00:17.484Z] 6f7db4197385: Preparing [2023-05-10T16:00:17.484Z] d4b4ddc71c5d: Preparing [2023-05-10T16:00:17.484Z] adeb6e0cc727: Preparing [2023-05-10T16:00:17.484Z] ef82b494eedf: Preparing [2023-05-10T16:00:17.484Z] 26cbea5cba74: Preparing [2023-05-10T16:00:17.484Z] ef82b494eedf: Layer already exists [2023-05-10T16:00:17.484Z] d4b4ddc71c5d: Layer already exists [2023-05-10T16:00:17.484Z] 26cbea5cba74: Layer already exists [2023-05-10T16:00:17.484Z] 6f7db4197385: Layer already exists [2023-05-10T16:00:17.484Z] adeb6e0cc727: Layer already exists [2023-05-10T16:00:17.753Z] latest: digest: sha256:53e4f6924a4165cc053e31ce027af1ec33b842bc6df00a37affefa18898f0c3b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:18.119Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:18.460Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.21 [2023-05-10T16:00:18.460Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-10T16:00:18.460Z] 6f7db4197385: Preparing [2023-05-10T16:00:18.460Z] d4b4ddc71c5d: Preparing [2023-05-10T16:00:18.460Z] adeb6e0cc727: Preparing [2023-05-10T16:00:18.460Z] ef82b494eedf: Preparing [2023-05-10T16:00:18.460Z] 26cbea5cba74: Preparing [2023-05-10T16:00:18.460Z] d4b4ddc71c5d: Layer already exists [2023-05-10T16:00:18.460Z] adeb6e0cc727: Layer already exists [2023-05-10T16:00:18.460Z] ef82b494eedf: Layer already exists [2023-05-10T16:00:18.460Z] 26cbea5cba74: Layer already exists [2023-05-10T16:00:18.460Z] 6f7db4197385: Layer already exists [2023-05-10T16:00:18.460Z] 3.0.0-dev.21: digest: sha256:53e4f6924a4165cc053e31ce027af1ec33b842bc6df00a37affefa18898f0c3b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:18.801Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:19.151Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21 [2023-05-10T16:00:19.151Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-10T16:00:19.151Z] 6f7db4197385: Preparing [2023-05-10T16:00:19.151Z] d4b4ddc71c5d: Preparing [2023-05-10T16:00:19.151Z] adeb6e0cc727: Preparing [2023-05-10T16:00:19.151Z] ef82b494eedf: Preparing [2023-05-10T16:00:19.151Z] 26cbea5cba74: Preparing [2023-05-10T16:00:19.151Z] adeb6e0cc727: Layer already exists [2023-05-10T16:00:19.151Z] d4b4ddc71c5d: Layer already exists [2023-05-10T16:00:19.151Z] 26cbea5cba74: Layer already exists [2023-05-10T16:00:19.151Z] ef82b494eedf: Layer already exists [2023-05-10T16:00:19.151Z] 6f7db4197385: Layer already exists [2023-05-10T16:00:19.151Z] 5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21: digest: sha256:53e4f6924a4165cc053e31ce027af1ec33b842bc6df00a37affefa18898f0c3b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:19.501Z] + 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-10T16:00:19.838Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-05-10T16:00:19.838Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-10T16:00:19.838Z] 6f7db4197385: Preparing [2023-05-10T16:00:19.838Z] d4b4ddc71c5d: Preparing [2023-05-10T16:00:19.838Z] adeb6e0cc727: Preparing [2023-05-10T16:00:19.838Z] ef82b494eedf: Preparing [2023-05-10T16:00:19.838Z] 26cbea5cba74: Preparing [2023-05-10T16:00:19.838Z] 6f7db4197385: Layer already exists [2023-05-10T16:00:19.838Z] adeb6e0cc727: Layer already exists [2023-05-10T16:00:19.838Z] d4b4ddc71c5d: Layer already exists [2023-05-10T16:00:19.838Z] ef82b494eedf: Layer already exists [2023-05-10T16:00:19.838Z] 26cbea5cba74: Layer already exists [2023-05-10T16:00:19.838Z] main: digest: sha256:53e4f6924a4165cc053e31ce027af1ec33b842bc6df00a37affefa18898f0c3b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-10T16:00:19.892Z] ===================================================== [Pipeline] echo [2023-05-10T16:00:19.897Z] taggedImages: [2023-05-10T16:00:19.897Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:5f2ef55c6af0710ebcf317647d1504c436684c74 [2023-05-10T16:00:19.897Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-10T16:00:19.897Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.21 [2023-05-10T16:00:19.897Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:5f2ef55c6af0710ebcf317647d1504c436684c74-3.0.0-dev.21 [2023-05-10T16:00:19.897Z] - 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-10T16:00:20.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T16:00:20.262Z] [2023-05-10T16:00:20.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:20.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T16:00:20.602Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T16:00:20.602Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T16:00:20.602Z] 04944245beec: Pulling fs layer [2023-05-10T16:00:20.602Z] 699f458cf7ca: Pulling fs layer [2023-05-10T16:00:20.602Z] 765212b225bb: Pulling fs layer [2023-05-10T16:00:20.602Z] f23df028b6ca: Pulling fs layer [2023-05-10T16:00:20.602Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T16:00:20.602Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T16:00:20.602Z] d65c8cfc05b1: Waiting [2023-05-10T16:00:20.602Z] 765212b225bb: Waiting [2023-05-10T16:00:20.602Z] f23df028b6ca: Waiting [2023-05-10T16:00:20.602Z] 2437ff75d9bd: Waiting [2023-05-10T16:00:20.872Z] 04944245beec: Verifying Checksum [2023-05-10T16:00:20.872Z] 04944245beec: Download complete [2023-05-10T16:00:20.872Z] 765212b225bb: Verifying Checksum [2023-05-10T16:00:20.872Z] 765212b225bb: Download complete [2023-05-10T16:00:20.872Z] f23df028b6ca: Verifying Checksum [2023-05-10T16:00:20.872Z] f23df028b6ca: Download complete [2023-05-10T16:00:20.872Z] d65c8cfc05b1: Verifying Checksum [2023-05-10T16:00:20.872Z] d65c8cfc05b1: Download complete [2023-05-10T16:00:21.146Z] 699f458cf7ca: Verifying Checksum [2023-05-10T16:00:21.146Z] 699f458cf7ca: Download complete [2023-05-10T16:00:21.416Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T16:00:21.416Z] 8998bd30e6a1: Download complete [2023-05-10T16:00:24.014Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T16:00:24.014Z] 2437ff75d9bd: Download complete [2023-05-10T16:00:25.423Z] 8998bd30e6a1: Pull complete [2023-05-10T16:00:26.005Z] 04944245beec: Pull complete [2023-05-10T16:00:26.962Z] 699f458cf7ca: Pull complete [2023-05-10T16:00:27.231Z] 765212b225bb: Pull complete [2023-05-10T16:00:28.193Z] f23df028b6ca: Pull complete [2023-05-10T16:00:28.193Z] d65c8cfc05b1: Pull complete [2023-05-10T16:00:43.204Z] 2437ff75d9bd: Pull complete [2023-05-10T16:00:43.204Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T16:00:43.204Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T16:00:43.204Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T16:00:43.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-14911 does not seem to be running inside a container [2023-05-10T16:00:43.528Z] $ 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/78 -v /w/workspace/device-snmp-go/78:/w/workspace/device-snmp-go/78:rw,z -v /w/workspace/device-snmp-go/78@tmp:/w/workspace/device-snmp-go/78@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-10T16:00:49.477Z] $ docker top cda8ba92568933831d05b8e35fa787a6bd439363979bfdcaed957af809564cd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:00:50.340Z] ---> job-cost.sh [2023-05-10T16:00:50.340Z] lf-activate-venv: SKIPPING [2023-05-10T16:00:50.340Z] INFO: No Stack... [2023-05-10T16:00:50.926Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T16:00:51.509Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T16:00:52.155Z] + cat /w/workspace/device-snmp-go/78/archives/cost.csv [2023-05-10T16:00:52.155Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T16:00:52.234Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-78-stack-cost] [2023-05-10T16:00:52.242Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-78-stack-cost] did not exist. Created. [2023-05-10T16:00:52.242Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-78-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T16:00:52.917Z] /w/workspace/device-snmp-go/78@tmp/durable-a2f5ad00/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T16:00:53.567Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T16:00:53.592Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T16:00:53.648Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T16:00:53.658Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-78-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T16:00:53.678Z] $ docker stop --time=1 cda8ba92568933831d05b8e35fa787a6bd439363979bfdcaed957af809564cd0 [2023-05-10T16:00:55.217Z] $ docker rm -f --volumes cda8ba92568933831d05b8e35fa787a6bd439363979bfdcaed957af809564cd0 [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-10T16:00:55.641Z] provisioning config files... [2023-05-10T16:00:55.648Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13105717887965821456tmp [Pipeline] { [Pipeline] sh [2023-05-10T16:00:55.958Z] + set +x [2023-05-10T16:00:55.959Z] + + curl -s https://codecov.io/bash [2023-05-10T16:00:55.959Z] bash -s -- [2023-05-10T16:00:55.959Z] [2023-05-10T16:00:55.959Z] _____ _ [2023-05-10T16:00:55.959Z] / ____| | | [2023-05-10T16:00:55.959Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T16:00:55.959Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T16:00:55.959Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T16:00:55.959Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T16:00:55.959Z] Bash-1.0.6 [2023-05-10T16:00:55.959Z] [2023-05-10T16:00:55.959Z] [2023-05-10T16:00:55.959Z] ==> git version 2.25.1 found [2023-05-10T16:00:55.959Z] ==> 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-10T16:00:55.959Z] Release-Date: 2020-01-08 [2023-05-10T16:00:55.959Z] 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-10T16:00:55.959Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T16:00:55.959Z] ==> Jenkins CI detected. [2023-05-10T16:00:55.959Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-05-10T16:00:55.959Z] project root: . [2023-05-10T16:00:55.959Z] --> token set from env [2023-05-10T16:00:55.959Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T16:00:56.226Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T16:00:56.226Z] ==> Python coveragepy not found [2023-05-10T16:00:56.226Z] ==> Searching for coverage reports in: [2023-05-10T16:00:56.226Z] + . [2023-05-10T16:00:56.226Z] -> Found 1 reports [2023-05-10T16:00:56.226Z] ==> Detecting git/mercurial file structure [2023-05-10T16:00:56.226Z] ==> Reading reports [2023-05-10T16:00:56.226Z] + ./coverage.out bytes=8837 [2023-05-10T16:00:56.226Z] ==> Appending adjustments [2023-05-10T16:00:56.226Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T16:00:56.226Z] + Found adjustments [2023-05-10T16:00:56.226Z] ==> Gzipping contents [2023-05-10T16:00:56.226Z] 4.0K /tmp/codecov.J6RiI1.gz [2023-05-10T16:00:56.226Z] ==> Uploading reports [2023-05-10T16:00:56.226Z] url: https://codecov.io [2023-05-10T16:00:56.226Z] query: branch=main&commit=5f2ef55c6af0710ebcf317647d1504c436684c74&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T16:00:56.226Z] -> Pinging Codecov [2023-05-10T16:00:56.226Z] 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=5f2ef55c6af0710ebcf317647d1504c436684c74&build=78&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F78%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-10T16:00:56.489Z] -> Uploading to [2023-05-10T16:00:56.489Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/6C56EA5C29638FB4528AC87E60AF5AE0/5f2ef55c6af0710ebcf317647d1504c436684c74/78517ae4-62fa-4518-9ddb-22636645755e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T160056Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=532f2f6d8991f219953d74f2930e5783f234788825fc1b06e5851a3d4fd34625 [2023-05-10T16:00:56.489Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T16:00:56.489Z] Dload Upload Total Spent Left Speed [2023-05-10T16:00:56.749Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 7066 --:--:-- --:--:-- --:--:-- 7035 100 1604 0 0 100 1604 0 7035 --:--:-- --:--:-- --:--:-- 7035 [2023-05-10T16:00:56.749Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/5f2ef55c6af0710ebcf317647d1504c436684c74 [Pipeline] } [2023-05-10T16:00:56.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-10T16:00:56.968Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-10T16:00:56.979Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:00:57.286Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T16:00:57.287Z] [2023-05-10T16:00:57.287Z] 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-10T16:00:57.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T16:00:57.594Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-10T16:00:57.594Z] df9b9388f04a: Pulling fs layer [2023-05-10T16:00:57.594Z] 52dc419b0ee2: Pulling fs layer [2023-05-10T16:00:57.594Z] 25bc292e5bac: Pulling fs layer [2023-05-10T16:00:57.594Z] 114826534d7a: Pulling fs layer [2023-05-10T16:00:57.594Z] 4657fd5d0bcf: Pulling fs layer [2023-05-10T16:00:57.594Z] 6ad1cebc031e: Pulling fs layer [2023-05-10T16:00:57.594Z] 8a3aa393b2d8: Pulling fs layer [2023-05-10T16:00:57.594Z] 4657fd5d0bcf: Waiting [2023-05-10T16:00:57.594Z] 6ad1cebc031e: Waiting [2023-05-10T16:00:57.594Z] 8a3aa393b2d8: Waiting [2023-05-10T16:00:57.595Z] 114826534d7a: Waiting [2023-05-10T16:00:57.595Z] 25bc292e5bac: Verifying Checksum [2023-05-10T16:00:57.595Z] 25bc292e5bac: Download complete [2023-05-10T16:00:57.595Z] 52dc419b0ee2: Verifying Checksum [2023-05-10T16:00:57.595Z] 52dc419b0ee2: Download complete [2023-05-10T16:00:57.595Z] 4657fd5d0bcf: Verifying Checksum [2023-05-10T16:00:57.595Z] 4657fd5d0bcf: Download complete [2023-05-10T16:00:57.595Z] df9b9388f04a: Download complete [2023-05-10T16:00:57.876Z] df9b9388f04a: Pull complete [2023-05-10T16:00:57.876Z] 6ad1cebc031e: Verifying Checksum [2023-05-10T16:00:57.876Z] 6ad1cebc031e: Download complete [2023-05-10T16:00:58.157Z] 52dc419b0ee2: Pull complete [2023-05-10T16:00:58.418Z] 25bc292e5bac: Pull complete [2023-05-10T16:00:58.681Z] 114826534d7a: Verifying Checksum [2023-05-10T16:00:58.681Z] 114826534d7a: Download complete [2023-05-10T16:00:58.681Z] 8a3aa393b2d8: Verifying Checksum [2023-05-10T16:01:02.990Z] 114826534d7a: Pull complete [2023-05-10T16:01:02.990Z] 4657fd5d0bcf: Pull complete [2023-05-10T16:01:03.558Z] 6ad1cebc031e: Pull complete [2023-05-10T16:01:07.826Z] 8a3aa393b2d8: Pull complete [2023-05-10T16:01:07.826Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-10T16:01:07.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-10T16:01:07.826Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T16:01:07.965Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T16:01:07.991Z] $ 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-10T16:01:14.981Z] $ docker top 034aaba1ee47e62b54f6cfce2b2424d664e584827063fd5ab639788976eb8018 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-10T16:01:15.055Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-05-10T16:01:15.336Z] + set -o pipefail [2023-05-10T16:01:15.336Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-05-10T16:01:20.632Z] [2023-05-10T16:01:20.632Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-05-10T16:01:20.632Z] [2023-05-10T16:01:20.632Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/14bf43ef-7fab-4334-8c24-6d5b16e1ecac [2023-05-10T16:01:20.632Z] [2023-05-10T16:01:20.632Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-10T16:01:20.632Z] [2023-05-10T16:01:20.632Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-10T16:01:20.632Z] [2023-05-10T16:01:20.632Z] [2023-05-10T16:01:20.632Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-10T16:01:20.632Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-10T16:01:20.632Z] More details here: https://snyk.co/ue1NS [2023-05-10T16:01:20.632Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-10T16:01:20.632Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-10T16:01:20.631Z] $ docker stop --time=1 034aaba1ee47e62b54f6cfce2b2424d664e584827063fd5ab639788976eb8018 [2023-05-10T16:01:26.677Z] $ docker rm -f --volumes 034aaba1ee47e62b54f6cfce2b2424d664e584827063fd5ab639788976eb8018 [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-10T16:01:27.539Z] + git log --format=format:%s -1 5f2ef55c6af0710ebcf317647d1504c436684c74 [Pipeline] sh [2023-05-10T16:01:27.847Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T16:01:27.847Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:01:28.150Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T16:01:28.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T16:01:28.234Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T16:01:28.256Z] $ 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-10T16:01:29.407Z] $ docker top b6eda3ecdc95269630fbb61947f854b4c11618af7cdab50945cce967e4130ac2 -eo pid,comm [2023-05-10T16:01:29.466Z] 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-10T16:01:29.466Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T16:01:29.506Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T16:01:29.506Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T16:01:29.645Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T16:01:29.636Z] $ docker exec b6eda3ecdc95269630fbb61947f854b4c11618af7cdab50945cce967e4130ac2 ssh-agent [2023-05-10T16:01:29.758Z] SSH_AUTH_SOCK=/tmp/ssh-V5I28VDn0cJK/agent.15 [2023-05-10T16:01:29.758Z] SSH_AGENT_PID=21 [2023-05-10T16:01:29.763Z] Running ssh-add (command line suppressed) [2023-05-10T16:01:29.864Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12808930447740639928.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_12808930447740639928.key) [2023-05-10T16:01:29.890Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T16:01:30.183Z] + git semver tag [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,335 [run_tag] DEBUG tag force:False [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,335 [check_head_tag] DEBUG check head tag [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,336 [execute] INFO git cat-file --batch-check [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,339 [execute] INFO git cat-file --batch [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,359 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,359 [execute] INFO git tag -a v3.0.0-dev.21 -m v3.0.0-dev.21 [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,359 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.21', '-m', 'v3.0.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-10T16:01:30.443Z] 2023-05-10 16:01:30,365 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-10T16:01:30.443Z] 3.0.0-dev.21 [Pipeline] } [2023-05-10T16:01:30.600Z] $ docker exec --env ******** --env ******** b6eda3ecdc95269630fbb61947f854b4c11618af7cdab50945cce967e4130ac2 ssh-agent -k [2023-05-10T16:01:30.705Z] unset SSH_AUTH_SOCK; [2023-05-10T16:01:30.705Z] unset SSH_AGENT_PID; [2023-05-10T16:01:30.705Z] echo Agent pid 21 killed; [2023-05-10T16:01:30.730Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T16:01:31.355Z] + git semver [Pipeline] } [2023-05-10T16:01:31.615Z] $ docker stop --time=1 b6eda3ecdc95269630fbb61947f854b4c11618af7cdab50945cce967e4130ac2 [2023-05-10T16:01:33.595Z] $ docker rm -f --volumes b6eda3ecdc95269630fbb61947f854b4c11618af7cdab50945cce967e4130ac2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:01:34.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T16:01:34.157Z] [2023-05-10T16:01:34.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:01:34.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T16:01:34.714Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-10T16:01:34.714Z] ab5ef0e58194: Pulling fs layer [2023-05-10T16:01:34.714Z] 9712f1f96733: Pulling fs layer [2023-05-10T16:01:34.714Z] 63f879dbbcfc: Pulling fs layer [2023-05-10T16:01:34.714Z] 0d9ebad4ef96: Pulling fs layer [2023-05-10T16:01:34.714Z] e9a5061849ea: Pulling fs layer [2023-05-10T16:01:34.714Z] d747dcd14b5f: Pulling fs layer [2023-05-10T16:01:34.714Z] 2de7ff778b66: Pulling fs layer [2023-05-10T16:01:34.714Z] 0d9ebad4ef96: Waiting [2023-05-10T16:01:34.714Z] e9a5061849ea: Waiting [2023-05-10T16:01:34.714Z] d747dcd14b5f: Waiting [2023-05-10T16:01:34.714Z] 9712f1f96733: Download complete [2023-05-10T16:01:34.974Z] 63f879dbbcfc: Verifying Checksum [2023-05-10T16:01:34.974Z] 63f879dbbcfc: Download complete [2023-05-10T16:01:35.234Z] 0d9ebad4ef96: Verifying Checksum [2023-05-10T16:01:35.234Z] 0d9ebad4ef96: Download complete [2023-05-10T16:01:35.234Z] e9a5061849ea: Verifying Checksum [2023-05-10T16:01:35.234Z] e9a5061849ea: Download complete [2023-05-10T16:01:35.234Z] d747dcd14b5f: Download complete [2023-05-10T16:01:35.234Z] ab5ef0e58194: Download complete [2023-05-10T16:01:35.234Z] 2de7ff778b66: Verifying Checksum [2023-05-10T16:01:35.234Z] 2de7ff778b66: Download complete [2023-05-10T16:01:38.530Z] ab5ef0e58194: Pull complete [2023-05-10T16:01:38.530Z] 9712f1f96733: Pull complete [2023-05-10T16:01:39.470Z] 63f879dbbcfc: Pull complete [2023-05-10T16:01:43.810Z] 0d9ebad4ef96: Pull complete [2023-05-10T16:01:44.379Z] e9a5061849ea: Pull complete [2023-05-10T16:01:44.379Z] d747dcd14b5f: Pull complete [2023-05-10T16:01:46.312Z] 2de7ff778b66: Pull complete [2023-05-10T16:01:46.312Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-10T16:01:46.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-10T16:01:46.312Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T16:01:46.425Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T16:01:46.462Z] $ 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-10T16:01:55.160Z] $ docker top 542b54d07c9393efb937bfa1a3b7474820a57908d9aab4dde945e46d9744ca2c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-10T16:01:55.248Z] provisioning config files... [2023-05-10T16:01:55.302Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8370234005542355275tmp [2023-05-10T16:01:55.311Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config18281377652813726574tmp [2023-05-10T16:01:55.319Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6502471067166756015tmp [Pipeline] { [Pipeline] echo [2023-05-10T16:01:55.335Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:01:55.672Z] ---> sigul-configuration.sh [2023-05-10T16:01:55.672Z] gpg: directory `/root/.gnupg' created [2023-05-10T16:01:55.672Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-10T16:01:55.672Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-10T16:01:55.672Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-10T16:01:55.672Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-10T16:01:55.672Z] gpg: CAST5 encrypted data [2023-05-10T16:01:55.672Z] gpg: encrypted with 1 passphrase [2023-05-10T16:01:55.672Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-10T16:01:55.962Z] + mkdir /home/jenkins [2023-05-10T16:01:55.962Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-10T16:01:56.254Z] + 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-10T16:01:56.262Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:01:56.616Z] ---> sigul-install.sh [2023-05-10T16:01:56.616Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-10T16:01:56.903Z] + git tag --list [2023-05-10T16:01:56.903Z] 1.0.0 [2023-05-10T16:01:56.903Z] v0.0.0 [2023-05-10T16:01:56.903Z] v1.1.0 [2023-05-10T16:01:56.903Z] v1.1.1 [2023-05-10T16:01:56.903Z] v1.2.2 [2023-05-10T16:01:56.903Z] v1.3.0 [2023-05-10T16:01:56.903Z] v1.3.1 [2023-05-10T16:01:56.903Z] v2.0.0 [2023-05-10T16:01:56.903Z] v2.1.0 [2023-05-10T16:01:56.903Z] v2.1.1 [2023-05-10T16:01:56.903Z] v2.1.1-dev.2 [2023-05-10T16:01:56.903Z] v2.1.1-dev.3 [2023-05-10T16:01:56.903Z] v2.2.0 [2023-05-10T16:01:56.903Z] v2.2.1-dev.1 [2023-05-10T16:01:56.903Z] v2.2.1-dev.2 [2023-05-10T16:01:56.903Z] v2.2.1-dev.3 [2023-05-10T16:01:56.903Z] v2.2.1-dev.4 [2023-05-10T16:01:56.903Z] v2.2.1-dev.5 [2023-05-10T16:01:56.903Z] v2.2.1-dev.6 [2023-05-10T16:01:56.903Z] v2.2.1-dev.7 [2023-05-10T16:01:56.903Z] v2.3.0 [2023-05-10T16:01:56.903Z] v2.3.0-dev.10 [2023-05-10T16:01:56.903Z] v2.3.0-dev.11 [2023-05-10T16:01:56.903Z] v2.3.0-dev.12 [2023-05-10T16:01:56.903Z] v2.3.0-dev.13 [2023-05-10T16:01:56.903Z] v2.3.0-dev.14 [2023-05-10T16:01:56.903Z] v2.3.0-dev.15 [2023-05-10T16:01:56.903Z] v2.3.0-dev.16 [2023-05-10T16:01:56.903Z] v2.3.0-dev.17 [2023-05-10T16:01:56.903Z] v2.3.0-dev.18 [2023-05-10T16:01:56.903Z] v2.3.0-dev.19 [2023-05-10T16:01:56.903Z] v2.3.0-dev.20 [2023-05-10T16:01:56.903Z] v2.3.0-dev.21 [2023-05-10T16:01:56.903Z] v2.3.0-dev.22 [2023-05-10T16:01:56.903Z] v2.3.0-dev.23 [2023-05-10T16:01:56.903Z] v2.3.0-dev.24 [2023-05-10T16:01:56.903Z] v2.3.0-dev.7 [2023-05-10T16:01:56.903Z] v2.3.0-dev.8 [2023-05-10T16:01:56.903Z] v2.3.0-dev.9 [2023-05-10T16:01:56.903Z] v3.0.0-dev.1 [2023-05-10T16:01:56.903Z] v3.0.0-dev.10 [2023-05-10T16:01:56.903Z] v3.0.0-dev.11 [2023-05-10T16:01:56.903Z] v3.0.0-dev.12 [2023-05-10T16:01:56.903Z] v3.0.0-dev.13 [2023-05-10T16:01:56.903Z] v3.0.0-dev.14 [2023-05-10T16:01:56.903Z] v3.0.0-dev.15 [2023-05-10T16:01:56.903Z] v3.0.0-dev.16 [2023-05-10T16:01:56.903Z] v3.0.0-dev.17 [2023-05-10T16:01:56.903Z] v3.0.0-dev.18 [2023-05-10T16:01:56.903Z] v3.0.0-dev.19 [2023-05-10T16:01:56.903Z] v3.0.0-dev.2 [2023-05-10T16:01:56.903Z] v3.0.0-dev.20 [2023-05-10T16:01:56.903Z] v3.0.0-dev.21 [2023-05-10T16:01:56.903Z] v3.0.0-dev.3 [2023-05-10T16:01:56.903Z] v3.0.0-dev.4 [2023-05-10T16:01:56.903Z] v3.0.0-dev.5 [2023-05-10T16:01:56.903Z] v3.0.0-dev.6 [2023-05-10T16:01:56.903Z] v3.0.0-dev.7 [2023-05-10T16:01:56.903Z] v3.0.0-dev.8 [2023-05-10T16:01:56.903Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-10T16:01:57.189Z] + lftools sign git-tag v3.0.0-dev.21 [2023-05-10T16:01:57.755Z] Signing Git tag with Sigul... [2023-05-10T16:01:57.755Z] Signing v3.0.0-dev.21 [Pipeline] echo [2023-05-10T16:01:58.022Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:01:58.312Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-10T16:01:58.319Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-10T16:01:58.327Z] $ docker stop --time=1 542b54d07c9393efb937bfa1a3b7474820a57908d9aab4dde945e46d9744ca2c [2023-05-10T16:02:00.333Z] $ docker rm -f --volumes 542b54d07c9393efb937bfa1a3b7474820a57908d9aab4dde945e46d9744ca2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-10T16:02:00.749Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T16:02:00.749Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:02:01.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T16:02:01.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T16:02:01.124Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T16:02:01.141Z] $ 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-10T16:02:02.191Z] $ docker top 772541c19c64a30034a7022bab3c19149c71b34a01bf46ec04fb63093378df79 -eo pid,comm [2023-05-10T16:02:02.256Z] 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-10T16:02:02.256Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T16:02:02.293Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T16:02:02.293Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T16:02:02.383Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T16:02:02.374Z] $ docker exec 772541c19c64a30034a7022bab3c19149c71b34a01bf46ec04fb63093378df79 ssh-agent [2023-05-10T16:02:02.547Z] SSH_AUTH_SOCK=/tmp/ssh-1nqsIz9syopm/agent.14 [2023-05-10T16:02:02.547Z] SSH_AGENT_PID=19 [2023-05-10T16:02:02.553Z] Running ssh-add (command line suppressed) [2023-05-10T16:02:02.722Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_462299013448451226.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_462299013448451226.key) [2023-05-10T16:02:02.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T16:02:03.343Z] + git semver bump pre [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,436 [bump_version] DEBUG bumping version:3.0.0-dev.21 on axis:pre with prefix:dev [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,437 [bump_version] DEBUG bumped version:3.0.0-dev.22 [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,437 [write_version] DEBUG write version:3.0.0-dev.22 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,437 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,437 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,439 [execute] INFO git cat-file --batch-check [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,440 [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-10T16:02:03.602Z] 2023-05-10 16:02:03,445 [execute] INFO git cat-file --batch [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,445 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T16:02:03.602Z] 2023-05-10 16:02:03,449 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-10T16:02:03.602Z] 3.0.0-dev.22 [Pipeline] } [2023-05-10T16:02:03.598Z] $ docker exec --env ******** --env ******** 772541c19c64a30034a7022bab3c19149c71b34a01bf46ec04fb63093378df79 ssh-agent -k [2023-05-10T16:02:03.692Z] unset SSH_AUTH_SOCK; [2023-05-10T16:02:03.692Z] unset SSH_AGENT_PID; [2023-05-10T16:02:03.693Z] echo Agent pid 19 killed; [2023-05-10T16:02:03.715Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T16:02:04.016Z] + git semver [Pipeline] } [2023-05-10T16:02:04.583Z] $ docker stop --time=1 772541c19c64a30034a7022bab3c19149c71b34a01bf46ec04fb63093378df79 [2023-05-10T16:02:06.287Z] $ docker rm -f --volumes 772541c19c64a30034a7022bab3c19149c71b34a01bf46ec04fb63093378df79 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T16:02:06.690Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T16:02:06.690Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:02:07.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T16:02:07.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T16:02:07.099Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T16:02:07.119Z] $ 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-10T16:02:08.194Z] $ docker top 01c224832d87b0c89bcbb1f14baa4f1452cdba93cd1d1485bf552298f62803af -eo pid,comm [2023-05-10T16:02:08.266Z] 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-10T16:02:08.266Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T16:02:08.307Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T16:02:08.307Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T16:02:08.409Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T16:02:08.399Z] $ docker exec 01c224832d87b0c89bcbb1f14baa4f1452cdba93cd1d1485bf552298f62803af ssh-agent [2023-05-10T16:02:08.508Z] SSH_AUTH_SOCK=/tmp/ssh-Vi6Ao6inmS8z/agent.31 [2023-05-10T16:02:08.508Z] SSH_AGENT_PID=37 [2023-05-10T16:02:08.514Z] Running ssh-add (command line suppressed) [2023-05-10T16:02:08.619Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3725517355666478629.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3725517355666478629.key) [2023-05-10T16:02:08.644Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T16:02:08.928Z] + git semver push [2023-05-10T16:02:09.187Z] 2023-05-10 16:02:09,166 [run_push] DEBUG push [2023-05-10T16:02:09.187Z] 2023-05-10 16:02:09,167 [execute] INFO git cat-file --batch-check [2023-05-10T16:02:09.187Z] 2023-05-10 16:02:09,167 [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-10T16:02:09.187Z] 2023-05-10 16:02:09,171 [execute] INFO git rev-list dcc5e7025ba7fa85ba78e87643c3a233123585f5 -- [2023-05-10T16:02:09.187Z] 2023-05-10 16:02:09,171 [execute] DEBUG Popen(['git', 'rev-list', 'dcc5e7025ba7fa85ba78e87643c3a233123585f5', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-10T16:02:09.445Z] 2023-05-10 16:02:09,177 [execute] INFO git fetch -v origin [2023-05-10T16:02:09.445Z] 2023-05-10 16:02:09,178 [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-10T16:02:09.706Z] 2023-05-10 16:02:09,656 [run_push] DEBUG no remote changes detected [2023-05-10T16:02:09.706Z] 2023-05-10 16:02:09,657 [execute] INFO git push origin semver [2023-05-10T16:02:09.706Z] 2023-05-10 16:02:09,657 [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-10T16:02:10.642Z] 2023-05-10 16:02:10,454 [run_push] DEBUG push all version tags [2023-05-10T16:02:10.642Z] 2023-05-10 16:02:10,455 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-10T16:02:10.642Z] 2023-05-10 16:02:10,455 [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-10T16:02:11.579Z] 2023-05-10 16:02:11,221 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-10T16:02:11.579Z] 3.0.0-dev.22 [Pipeline] } [2023-05-10T16:02:11.577Z] $ docker exec --env ******** --env ******** 01c224832d87b0c89bcbb1f14baa4f1452cdba93cd1d1485bf552298f62803af ssh-agent -k [2023-05-10T16:02:11.765Z] unset SSH_AUTH_SOCK; [2023-05-10T16:02:11.766Z] unset SSH_AGENT_PID; [2023-05-10T16:02:11.766Z] echo Agent pid 37 killed; [2023-05-10T16:02:11.787Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T16:02:12.097Z] + git semver [Pipeline] } [2023-05-10T16:02:12.356Z] $ docker stop --time=1 01c224832d87b0c89bcbb1f14baa4f1452cdba93cd1d1485bf552298f62803af [2023-05-10T16:02:14.388Z] $ docker rm -f --volumes 01c224832d87b0c89bcbb1f14baa4f1452cdba93cd1d1485bf552298f62803af [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-10T16:02:15.195Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-05-10T16:02:15.195Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-10T16:02:15.195Z] total 16 [2023-05-10T16:02:15.195Z] drwxr-xr-x 3 root root 4096 May 10 15:51 . [2023-05-10T16:02:15.195Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 16:01 .. [2023-05-10T16:02:15.195Z] drwxr-xr-x 2 root root 4096 May 10 15:51 cost [2023-05-10T16:02:15.195Z] -rw-r--r-- 1 root root 85 May 10 15:51 cost.csv [2023-05-10T16:02:15.195Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-10T16:02:15.195Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-10T16:02:15.195Z] total 16 [2023-05-10T16:02:15.195Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 15:51 . [2023-05-10T16:02:15.195Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 16:01 .. [2023-05-10T16:02:15.195Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 15:51 cost [2023-05-10T16:02:15.195Z] -rw-r--r-- 1 jenkins jenkins 85 May 10 15:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:02:15.487Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:02:16.353Z] ---> package-listing.sh [2023-05-10T16:02:16.353Z] ++ facter osfamily [2023-05-10T16:02:16.353Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T16:02:16.613Z] + OS_FAMILY=debian [2023-05-10T16:02:16.613Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-05-10T16:02:16.613Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T16:02:16.613Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T16:02:16.613Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T16:02:16.613Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T16:02:16.613Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-10T16:02:16.613Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T16:02:16.613Z] + case "${OS_FAMILY}" in [2023-05-10T16:02:16.613Z] + dpkg -l [2023-05-10T16:02:16.613Z] + grep '^ii' [2023-05-10T16:02:16.613Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T16:02:16.613Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T16:02:16.613Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T16:02:16.613Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-10T16:02:16.613Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-05-10T16:02:16.613Z] + 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-10T16:02:16.621Z] 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-10T16:02:16.899Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T16:02:17.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T16:02:17.463Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T16:02:17.599Z] prd-ubuntu20.04-docker-8c-8g-14910 does not seem to be running inside a container [2023-05-10T16:02:17.649Z] $ 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-10T16:02:18.328Z] $ docker top cdae0c56cf8b00ada6ac9ce145e20eb361405a1210d928e8abcbf6ea25e741f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T16:02:18.731Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T16:02:19.015Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T16:02:19.296Z] + ls /var/log/sa-host [2023-05-10T16:02:19.296Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T16:02:19.447Z] provisioning config files... [2023-05-10T16:02:19.455Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5525935034562750206tmp [Pipeline] { [Pipeline] echo [2023-05-10T16:02:19.469Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:02:19.746Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T16:02:19.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:02:20.085Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T16:02:20.092Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:02:20.374Z] ---> sudo-logs.sh [2023-05-10T16:02:20.374Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T16:02:20.402Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:02:20.684Z] ---> job-cost.sh [2023-05-10T16:02:20.684Z] lf-activate-venv: SKIPPING [2023-05-10T16:02:20.684Z] DEBUG: total: 0.2199999988079071 [2023-05-10T16:02:20.684Z] INFO: Retrieving Stack Cost... [2023-05-10T16:02:21.251Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T16:02:21.510Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T16:02:21.520Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T16:02:21.806Z] ---> logs-deploy.sh [2023-05-10T16:02:21.807Z] lf-activate-venv: SKIPPING [2023-05-10T16:02:21.807Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/78 [2023-05-10T16:02:21.807Z] INFO: archiving workspace using pattern(s): [2023-05-10T16:02:22.743Z] Archives upload complete. [2023-05-10T16:02:23.001Z] INFO: archiving logs to Nexus