Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df6e8d119828d9b47111ad06f42c4d5d8cb031c9 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-ssh13681790635591941651.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-ssh1054661341311936141.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-ssh13671760115647197582.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-ssh15905376950694049914.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-ssh9712792193240729900.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15698 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 df6e8d119828d9b47111ad06f42c4d5d8cb031c9 (main) Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#307)" > 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 df6e8d119828d9b47111ad06f42c4d5d8cb031c9 # timeout=10 > git rev-list --no-walk 785293254a1924c41af634214641cbf6fd758ce7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-16T10:43:23.150Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-16T10:43:23.192Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-16T10:43:23.204Z] ========================================================= [2023-05-16T10:43:23.204Z] EdgeX Global Pipelines Version Info [2023-05-16T10:43:23.204Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:43:23.929Z] ------------------- [2023-05-16T10:43:23.929Z] stable info: [2023-05-16T10:43:23.929Z] ------------------- [2023-05-16T10:43:23.929Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-16T10:43:23.929Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:43:23.929Z] Message: update stable to v1.0.249 [2023-05-16T10:43:24.503Z] ------------------- [2023-05-16T10:43:24.503Z] experimental info: [2023-05-16T10:43:24.503Z] ------------------- [2023-05-16T10:43:24.503Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-16T10:43:24.503Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-16T10:43:24.503Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-16T10:43:24.656Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-05-16T10:43:24.665Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-05-16T10:43:24.673Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-16T10:43:24.682Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-16T10:43:24.691Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-16T10:43:24.710Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-16T10:43:24.728Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-16T10:43:24.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-16T10:43:24.761Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-16T10:43:24.772Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-16T10:43:24.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-16T10:43:24.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-05-16T10:43:24.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-16T10:43:24.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-16T10:43:24.841Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:43:24.860Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-16T10:43:24.879Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:43:24.897Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-16T10:43:24.913Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-16T10:43:24.929Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-16T10:43:24.948Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-16T10:43:24.962Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-16T10:43:24.973Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-16T10:43:24.986Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-16T10:43:25.002Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-16T10:43:25.016Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-16T10:43:25.034Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-16T10:43:25.047Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-16T10:43:25.059Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-16T10:43:25.079Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-16T10:43:25.096Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [Pipeline] echo [2023-05-16T10:43:25.112Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df6e8d1 [Pipeline] echo [2023-05-16T10:43:25.128Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:43:25.170Z] provisioning config files... [2023-05-16T10:43:25.185Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13853690883968105517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:43:25.485Z] ---> docker-login.sh [2023-05-16T10:43:25.485Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:43:25.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:25.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:25.745Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:25.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:25.745Z] [2023-05-16T10:43:25.745Z] Login Succeeded [2023-05-16T10:43:25.745Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:43:25.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:25.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:25.745Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:25.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:25.745Z] [2023-05-16T10:43:25.745Z] Login Succeeded [2023-05-16T10:43:25.745Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:43:26.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:26.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:26.004Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:26.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:26.004Z] [2023-05-16T10:43:26.004Z] Login Succeeded [2023-05-16T10:43:26.004Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:43:26.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:26.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:26.004Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:26.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:26.004Z] [2023-05-16T10:43:26.004Z] Login Succeeded [2023-05-16T10:43:26.004Z] docker.io [2023-05-16T10:43:26.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:26.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:26.265Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:26.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:26.265Z] [2023-05-16T10:43:26.265Z] Login Succeeded [2023-05-16T10:43:26.265Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:43:26.272Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-16T10:43:26.619Z] + git rev-list -1 --merges df6e8d119828d9b47111ad06f42c4d5d8cb031c9~1..df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [Pipeline] echo [2023-05-16T10:43:26.671Z] -----------> git rev-list -1 --merges df6e8d119828d9b47111ad06f42c4d5d8cb031c9~1..df6e8d119828d9b47111ad06f42c4d5d8cb031c9 df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [false] [Pipeline] sh [2023-05-16T10:43:26.961Z] + git log --format=format:%s -1 df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [Pipeline] echo [2023-05-16T10:43:26.975Z] ========================================================= [2023-05-16T10:43:26.975Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-16T10:43:26.975Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:43:27.297Z] + git log --format=format:%s -1 df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [Pipeline] echo [2023-05-16T10:43:27.312Z] [semverPrep] GIT_COMMIT: df6e8d119828d9b47111ad06f42c4d5d8cb031c9, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#307) [Pipeline] echo [2023-05-16T10:43:27.323Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-16T10:43:27.679Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T10:43:27.679Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-16T10:43:27.679Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-16T10:43:27.679Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-16T10:43:27.679Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-16T10:43:27.679Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-16T10:43:27.679Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:43:28.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:43:28.025Z] [2023-05-16T10:43:28.025Z] 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-16T10:43:28.327Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:43:28.327Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-16T10:43:28.327Z] b85a868b505f: Pulling fs layer [2023-05-16T10:43:28.327Z] e2be974225ed: Pulling fs layer [2023-05-16T10:43:28.327Z] 339a4e72a1f5: Pulling fs layer [2023-05-16T10:43:28.327Z] 988bab9f4d93: Pulling fs layer [2023-05-16T10:43:28.327Z] 1469e6f7b9e6: Pulling fs layer [2023-05-16T10:43:28.327Z] eaf3925da568: Pulling fs layer [2023-05-16T10:43:28.327Z] bab4dde63d76: Pulling fs layer [2023-05-16T10:43:28.327Z] bde34c3a00c8: Pulling fs layer [2023-05-16T10:43:28.327Z] 988bab9f4d93: Waiting [2023-05-16T10:43:28.327Z] 1469e6f7b9e6: Waiting [2023-05-16T10:43:28.327Z] eaf3925da568: Waiting [2023-05-16T10:43:28.327Z] b352a97aabf1: Pulling fs layer [2023-05-16T10:43:28.327Z] bab4dde63d76: Waiting [2023-05-16T10:43:28.327Z] bde34c3a00c8: Waiting [2023-05-16T10:43:28.327Z] 4872d77fe225: Pulling fs layer [2023-05-16T10:43:28.327Z] 5851b861e8e6: Pulling fs layer [2023-05-16T10:43:28.327Z] 5851b861e8e6: Waiting [2023-05-16T10:43:28.327Z] 4872d77fe225: Waiting [2023-05-16T10:43:28.327Z] e2be974225ed: Verifying Checksum [2023-05-16T10:43:28.327Z] e2be974225ed: Download complete [2023-05-16T10:43:28.327Z] 988bab9f4d93: Verifying Checksum [2023-05-16T10:43:28.327Z] 988bab9f4d93: Download complete [2023-05-16T10:43:28.327Z] 1469e6f7b9e6: Verifying Checksum [2023-05-16T10:43:28.327Z] 1469e6f7b9e6: Download complete [2023-05-16T10:43:28.586Z] eaf3925da568: Verifying Checksum [2023-05-16T10:43:28.587Z] eaf3925da568: Download complete [2023-05-16T10:43:28.587Z] 339a4e72a1f5: Verifying Checksum [2023-05-16T10:43:28.587Z] 339a4e72a1f5: Download complete [2023-05-16T10:43:28.587Z] bde34c3a00c8: Download complete [2023-05-16T10:43:28.587Z] b352a97aabf1: Download complete [2023-05-16T10:43:28.587Z] 4872d77fe225: Verifying Checksum [2023-05-16T10:43:28.587Z] 4872d77fe225: Download complete [2023-05-16T10:43:28.587Z] 5851b861e8e6: Verifying Checksum [2023-05-16T10:43:28.587Z] 5851b861e8e6: Download complete [2023-05-16T10:43:28.587Z] b85a868b505f: Verifying Checksum [2023-05-16T10:43:28.587Z] b85a868b505f: Download complete [2023-05-16T10:43:28.846Z] bab4dde63d76: Verifying Checksum [2023-05-16T10:43:28.846Z] bab4dde63d76: Download complete [2023-05-16T10:43:29.781Z] b85a868b505f: Pull complete [2023-05-16T10:43:30.041Z] e2be974225ed: Pull complete [2023-05-16T10:43:30.301Z] 339a4e72a1f5: Pull complete [2023-05-16T10:43:30.561Z] 988bab9f4d93: Pull complete [2023-05-16T10:43:30.821Z] 1469e6f7b9e6: Pull complete [2023-05-16T10:43:30.821Z] eaf3925da568: Pull complete [2023-05-16T10:43:32.733Z] bab4dde63d76: Pull complete [2023-05-16T10:43:32.733Z] bde34c3a00c8: Pull complete [2023-05-16T10:43:32.733Z] b352a97aabf1: Pull complete [2023-05-16T10:43:32.733Z] 4872d77fe225: Pull complete [2023-05-16T10:43:32.997Z] 5851b861e8e6: Pull complete [2023-05-16T10:43:32.997Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-16T10:43:32.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:43:32.997Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:43:33.095Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:43:33.132Z] $ 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-16T10:43:36.580Z] $ docker top 087e62395c323de3be968cab50c9d3134353c0d4ff82bcf5e221453d1fa4b25e -eo pid,comm [2023-05-16T10:43:36.631Z] 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-16T10:43:36.631Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T10:43:36.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:43:36.672Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:43:36.781Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:43:36.785Z] $ docker exec 087e62395c323de3be968cab50c9d3134353c0d4ff82bcf5e221453d1fa4b25e ssh-agent [2023-05-16T10:43:36.877Z] SSH_AUTH_SOCK=/tmp/ssh-XypPfSCdxMdW/agent.33 [2023-05-16T10:43:36.877Z] SSH_AGENT_PID=39 [2023-05-16T10:43:36.884Z] Running ssh-add (command line suppressed) [2023-05-16T10:43:36.981Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2030405727993446026.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2030405727993446026.key) [2023-05-16T10:43:36.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:43:37.278Z] + git tag --points-at HEAD [Pipeline] } [2023-05-16T10:43:37.290Z] $ docker exec --env ******** --env ******** 087e62395c323de3be968cab50c9d3134353c0d4ff82bcf5e221453d1fa4b25e ssh-agent -k [2023-05-16T10:43:37.393Z] unset SSH_AUTH_SOCK; [2023-05-16T10:43:37.394Z] unset SSH_AGENT_PID; [2023-05-16T10:43:37.394Z] echo Agent pid 39 killed; [2023-05-16T10:43:37.402Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-16T10:43:37.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:43:37.429Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:43:37.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:43:37.547Z] $ docker exec 087e62395c323de3be968cab50c9d3134353c0d4ff82bcf5e221453d1fa4b25e ssh-agent [2023-05-16T10:43:37.646Z] SSH_AUTH_SOCK=/tmp/ssh-Za5zfjcsRTDW/agent.71 [2023-05-16T10:43:37.646Z] SSH_AGENT_PID=77 [2023-05-16T10:43:37.651Z] Running ssh-add (command line suppressed) [2023-05-16T10:43:37.765Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14795515080419525361.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_14795515080419525361.key) [2023-05-16T10:43:37.778Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:43:38.067Z] + git semver init [2023-05-16T10:43:38.325Z] 2023-05-16 10:43:38,244 [run_init] DEBUG init version:0.0.0 force:False [2023-05-16T10:43:38.325Z] 2023-05-16 10:43:38,245 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-16T10:43:38.325Z] 2023-05-16 10:43:38,245 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver [2023-05-16T10:43:38.325Z] 2023-05-16 10:43:38,245 [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-16T10:43:39.264Z] 2023-05-16 10:43:39,039 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude [2023-05-16T10:43:39.264Z] 2023-05-16 10:43:39,039 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False [2023-05-16T10:43:39.264Z] 2023-05-16 10:43:39,039 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-16T10:43:39.264Z] 2023-05-16 10:43:39,040 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-16T10:43:39.264Z] 3.0.0-dev.23 [Pipeline] } [2023-05-16T10:43:39.275Z] $ docker exec --env ******** --env ******** 087e62395c323de3be968cab50c9d3134353c0d4ff82bcf5e221453d1fa4b25e ssh-agent -k [2023-05-16T10:43:39.373Z] unset SSH_AUTH_SOCK; [2023-05-16T10:43:39.374Z] unset SSH_AGENT_PID; [2023-05-16T10:43:39.374Z] echo Agent pid 77 killed; [2023-05-16T10:43:39.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T10:43:39.697Z] + git semver [Pipeline] } [2023-05-16T10:43:39.972Z] $ docker stop --time=1 087e62395c323de3be968cab50c9d3134353c0d4ff82bcf5e221453d1fa4b25e [2023-05-16T10:43:41.251Z] $ docker rm -f --volumes 087e62395c323de3be968cab50c9d3134353c0d4ff82bcf5e221453d1fa4b25e [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:43:41.591Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-16T10:43:41.812Z] Stashed 1 file(s) [Pipeline] echo [2023-05-16T10:43:41.815Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.23 [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-16T10:43:41.922Z] provisioning config files... [2023-05-16T10:43:41.932Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config13165628695070466771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:43:42.232Z] ---> docker-login.sh [2023-05-16T10:43:42.232Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:43:42.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:42.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:42.232Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:42.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:42.232Z] [2023-05-16T10:43:42.232Z] Login Succeeded [2023-05-16T10:43:42.232Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:43:42.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:42.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:42.232Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:42.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:42.232Z] [2023-05-16T10:43:42.232Z] Login Succeeded [2023-05-16T10:43:42.232Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:43:42.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:42.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:42.492Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:42.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:42.492Z] [2023-05-16T10:43:42.492Z] Login Succeeded [2023-05-16T10:43:42.492Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:43:42.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:42.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:42.492Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:42.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:42.492Z] [2023-05-16T10:43:42.492Z] Login Succeeded [2023-05-16T10:43:42.492Z] docker.io [2023-05-16T10:43:42.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:43:42.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:43:42.752Z] Configure a credential helper to remove this warning. See [2023-05-16T10:43:42.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:43:42.752Z] [2023-05-16T10:43:42.752Z] Login Succeeded [2023-05-16T10:43:42.752Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:43:42.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:43:42.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:43:42.824Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:43:42.831Z] ========================================================= [2023-05-16T10:43:42.831Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-16T10:43:42.831Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:43:43.140Z] + 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-16T10:43:43.140Z] Sending build context to Docker daemon 5.826MB [2023-05-16T10:43:43.140Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:43:43.140Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T10:43:43.140Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-16T10:43:43.140Z] f56be85fc22e: Pulling fs layer [2023-05-16T10:43:43.140Z] 85791d961cd3: Pulling fs layer [2023-05-16T10:43:43.140Z] d694b5ae8c79: Pulling fs layer [2023-05-16T10:43:43.140Z] 9f32a84ed3da: Pulling fs layer [2023-05-16T10:43:43.140Z] 4d19c01a9841: Pulling fs layer [2023-05-16T10:43:43.140Z] 9325e15d5711: Pulling fs layer [2023-05-16T10:43:43.140Z] 556b6ee489ea: Pulling fs layer [2023-05-16T10:43:43.140Z] c5a4b2cf53e6: Pulling fs layer [2023-05-16T10:43:43.140Z] 9325e15d5711: Waiting [2023-05-16T10:43:43.140Z] 9f32a84ed3da: Waiting [2023-05-16T10:43:43.140Z] 556b6ee489ea: Waiting [2023-05-16T10:43:43.140Z] 4d19c01a9841: Waiting [2023-05-16T10:43:43.140Z] 85791d961cd3: Download complete [2023-05-16T10:43:43.140Z] 9f32a84ed3da: Download complete [2023-05-16T10:43:43.140Z] 4d19c01a9841: Download complete [2023-05-16T10:43:43.140Z] f56be85fc22e: Verifying Checksum [2023-05-16T10:43:43.140Z] f56be85fc22e: Download complete [2023-05-16T10:43:43.401Z] 9325e15d5711: Verifying Checksum [2023-05-16T10:43:43.401Z] 9325e15d5711: Download complete [2023-05-16T10:43:43.401Z] f56be85fc22e: Pull complete [2023-05-16T10:43:43.663Z] 85791d961cd3: Pull complete [2023-05-16T10:43:43.663Z] c5a4b2cf53e6: Verifying Checksum [2023-05-16T10:43:43.663Z] c5a4b2cf53e6: Download complete [2023-05-16T10:43:43.923Z] d694b5ae8c79: Verifying Checksum [2023-05-16T10:43:43.923Z] d694b5ae8c79: Download complete [2023-05-16T10:43:44.181Z] 556b6ee489ea: Verifying Checksum [2023-05-16T10:43:44.181Z] 556b6ee489ea: Download complete [2023-05-16T10:43:47.465Z] d694b5ae8c79: Pull complete [2023-05-16T10:43:47.465Z] 9f32a84ed3da: Pull complete [2023-05-16T10:43:47.465Z] 4d19c01a9841: Pull complete [2023-05-16T10:43:47.465Z] 9325e15d5711: Pull complete [2023-05-16T10:43:50.015Z] 556b6ee489ea: Pull complete [2023-05-16T10:43:50.599Z] c5a4b2cf53e6: Pull complete [2023-05-16T10:43:50.599Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-16T10:43:50.599Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-16T10:43:50.599Z] ---> c4be618373d6 [2023-05-16T10:43:50.599Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:43:56.889Z] Still waiting to schedule task [2023-05-16T10:43:56.890Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-16T10:43:57.162Z] ---> Running in 9e756d739943 [2023-05-16T10:43:57.162Z] Removing intermediate container 9e756d739943 [2023-05-16T10:43:57.162Z] ---> c12e9d1d1e04 [2023-05-16T10:43:57.162Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:43:57.162Z] ---> Running in 1a9f09e23a0f [2023-05-16T10:43:57.162Z] Removing intermediate container 1a9f09e23a0f [2023-05-16T10:43:57.162Z] ---> e7672f7c9419 [2023-05-16T10:43:57.162Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T10:43:57.162Z] ---> Running in 51ad1c1e3457 [2023-05-16T10:43:57.162Z] Removing intermediate container 51ad1c1e3457 [2023-05-16T10:43:57.162Z] ---> cc35bc7e573a [2023-05-16T10:43:57.162Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:43:57.162Z] ---> Running in 493dc6fdccc5 [2023-05-16T10:43:57.162Z] Removing intermediate container 493dc6fdccc5 [2023-05-16T10:43:57.162Z] ---> 32e12ab956f5 [2023-05-16T10:43:57.162Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:43:57.162Z] ---> Running in 42595f070172 [2023-05-16T10:43:57.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:43:57.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:43:57.421Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T10:43:57.421Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T10:43:57.421Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T10:43:57.681Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T10:43:57.681Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:43:57.681Z] OK: 269 MiB in 57 packages [2023-05-16T10:43:58.255Z] Removing intermediate container 42595f070172 [2023-05-16T10:43:58.255Z] ---> b46845e6d5f8 [2023-05-16T10:43:58.255Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-16T10:43:58.255Z] ---> Running in dbe0cafa9330 [2023-05-16T10:43:58.255Z] Removing intermediate container dbe0cafa9330 [2023-05-16T10:43:58.255Z] ---> ba3786f499a5 [2023-05-16T10:43:58.255Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T10:43:58.255Z] ---> c07691cdce01 [2023-05-16T10:43:58.255Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:43:58.255Z] ---> Running in 0346c4235ee6 [2023-05-16T10:44:24.976Z] Removing intermediate container 0346c4235ee6 [2023-05-16T10:44:24.976Z] ---> 1ad99de2f005 [2023-05-16T10:44:24.976Z] Step 11/12 : COPY . . [2023-05-16T10:44:25.236Z] ---> 9020153b6113 [2023-05-16T10:44:25.236Z] Step 12/12 : RUN ${MAKE} [2023-05-16T10:44:25.236Z] ---> Running in f4c7aa319306 [2023-05-16T10:44:25.495Z] noop [2023-05-16T10:44:25.755Z] Removing intermediate container f4c7aa319306 [2023-05-16T10:44:25.755Z] ---> fd2c1338ebc8 [2023-05-16T10:44:25.755Z] Successfully built fd2c1338ebc8 [2023-05-16T10:44:25.755Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:44:26.060Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:44:26.060Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:44:26.137Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:44:26.171Z] $ 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-16T10:44:26.518Z] $ docker top 02a898678ec385dd333da0703bf082ed5597a1c25ec3b2964118198696149fe2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:44:26.864Z] + go version [2023-05-16T10:44:26.864Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-16T10:44:26.878Z] $ docker stop --time=1 02a898678ec385dd333da0703bf082ed5597a1c25ec3b2964118198696149fe2 [2023-05-16T10:44:28.171Z] $ docker rm -f --volumes 02a898678ec385dd333da0703bf082ed5597a1c25ec3b2964118198696149fe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:44:28.577Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-16T10:44:28.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:44:28.653Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:44:28.691Z] $ 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-16T10:44:29.020Z] $ docker top d08a00cfe7becab6f32b0615777b2194a2e0b953bf1a50a2e5e081221c19394e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:44:29.354Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:44:29.653Z] + make test [2023-05-16T10:44:29.653Z] go test ./... -coverprofile=coverage.out [2023-05-16T10:44:34.922Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-16T10:44:44.897Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-16T10:44:44.897Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements [2023-05-16T10:44:51.465Z] go vet ./... [2023-05-16T10:44:55.652Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:44:55.652Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:44:55.652Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:44:55.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:44:55.680Z] $ docker stop --time=1 d08a00cfe7becab6f32b0615777b2194a2e0b953bf1a50a2e5e081221c19394e [2023-05-16T10:44:59.766Z] $ docker rm -f --volumes d08a00cfe7becab6f32b0615777b2194a2e0b953bf1a50a2e5e081221c19394e [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:45:00.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:45:00.282Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-16T10:45:00.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:45:00.991Z] + ls -al . [2023-05-16T10:45:00.992Z] total 172 [2023-05-16T10:45:00.992Z] drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:44 . [2023-05-16T10:45:00.992Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:43 .. [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 6 May 16 10:43 .dockerignore [2023-05-16T10:45:00.992Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:43 .git [2023-05-16T10:45:00.992Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:43 .github [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 328 May 16 10:43 .gitignore [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:43 .golangci.yml [2023-05-16T10:45:00.992Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:43 .semver [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 16 10:43 Attribution.txt [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 16 10:43 CHANGELOG.md [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 16 10:43 Dockerfile [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:43 GOVERNANCE.md [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 656 May 16 10:43 Jenkinsfile [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:43 LICENSE [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 16 10:43 Makefile [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 10:43 OWNERS.md [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 16 10:43 README.md [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 12 May 16 10:43 VERSION [2023-05-16T10:45:00.992Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:43 bin [2023-05-16T10:45:00.992Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:43 cmd [2023-05-16T10:45:00.992Z] -rw-r--r-- 1 jenkins jenkins 8837 May 16 10:44 coverage.out [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 16 10:43 go.mod [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 16 10:43 go.sum [2023-05-16T10:45:00.992Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:43 internal [2023-05-16T10:45:00.992Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:43 snap [2023-05-16T10:45:00.992Z] -rw-rw-r-- 1 jenkins jenkins 228 May 16 10:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:01.294Z] + 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=df6e8d119828d9b47111ad06f42c4d5d8cb031c9 --label arch=amd64 --label version=3.0.0-dev.23 . [2023-05-16T10:45:01.294Z] Sending build context to Docker daemon 5.836MB [2023-05-16T10:45:01.294Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:45:01.294Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-16T10:45:01.294Z] ---> fd2c1338ebc8 [2023-05-16T10:45:01.294Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:45:01.554Z] ---> Running in 41901d2f3758 [2023-05-16T10:45:01.554Z] Removing intermediate container 41901d2f3758 [2023-05-16T10:45:01.554Z] ---> d17a79382e5b [2023-05-16T10:45:01.554Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:45:01.554Z] ---> Running in ef8dad8e5535 [2023-05-16T10:45:01.554Z] Removing intermediate container ef8dad8e5535 [2023-05-16T10:45:01.554Z] ---> 377a42a4b2e7 [2023-05-16T10:45:01.554Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T10:45:01.554Z] ---> Running in 53b581f69743 [2023-05-16T10:45:01.814Z] Removing intermediate container 53b581f69743 [2023-05-16T10:45:01.814Z] ---> 56cd49006527 [2023-05-16T10:45:01.814Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:45:01.814Z] ---> Running in 5025fc15ba70 [2023-05-16T10:45:01.814Z] Removing intermediate container 5025fc15ba70 [2023-05-16T10:45:01.814Z] ---> 21db7fe8fd41 [2023-05-16T10:45:01.814Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:45:01.814Z] ---> Running in 3af3d929f68d [2023-05-16T10:45:02.075Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:45:02.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:45:02.335Z] OK: 269 MiB in 57 packages [2023-05-16T10:45:02.901Z] Removing intermediate container 3af3d929f68d [2023-05-16T10:45:02.901Z] ---> 30ff92aaa1ff [2023-05-16T10:45:02.901Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-16T10:45:02.901Z] ---> Running in 96200f45b289 [2023-05-16T10:45:02.901Z] Removing intermediate container 96200f45b289 [2023-05-16T10:45:02.901Z] ---> a17e826e90ac [2023-05-16T10:45:02.901Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-16T10:45:02.901Z] ---> 90b7add94f50 [2023-05-16T10:45:02.901Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:45:02.901Z] ---> Running in 23c1d2e7ce2b [2023-05-16T10:45:03.932Z] Removing intermediate container 23c1d2e7ce2b [2023-05-16T10:45:03.932Z] ---> f748265a0371 [2023-05-16T10:45:03.932Z] Step 11/24 : COPY . . [2023-05-16T10:45:04.211Z] ---> d661fb7a66b7 [2023-05-16T10:45:04.211Z] Step 12/24 : RUN ${MAKE} [2023-05-16T10:45:04.211Z] ---> Running in d5f7594a6cf3 [2023-05-16T10:45:04.500Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-16T10:45:27.302Z] Removing intermediate container d5f7594a6cf3 [2023-05-16T10:45:27.302Z] ---> 97e640de85e0 [2023-05-16T10:45:27.302Z] Step 13/24 : FROM alpine:3.17 [2023-05-16T10:45:27.302Z] 3.17: Pulling from library/alpine [2023-05-16T10:45:27.302Z] f56be85fc22e: Already exists [2023-05-16T10:45:27.302Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:45:27.302Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:45:27.302Z] ---> 9ed4aefc74f6 [2023-05-16T10:45:27.302Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-16T10:45:27.302Z] ---> Running in 3fa36cf825ca [2023-05-16T10:45:27.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-16T10:45:27.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-16T10:45:27.302Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T10:45:27.302Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:45:27.302Z] OK: 7 MiB in 16 packages [2023-05-16T10:45:27.302Z] Removing intermediate container 3fa36cf825ca [2023-05-16T10:45:27.302Z] ---> 6d9c9e8a40cf [2023-05-16T10:45:27.302Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-16T10:45:27.653Z] ---> 4e9acadd9bc5 [2023-05-16T10:45:27.653Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-16T10:45:27.913Z] ---> 97deae3180db [2023-05-16T10:45:27.913Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-16T10:45:27.913Z] ---> 23193f91a9a4 [2023-05-16T10:45:27.913Z] Step 18/24 : EXPOSE 59993 [2023-05-16T10:45:27.913Z] ---> Running in d7bd6c7667f2 [2023-05-16T10:45:27.913Z] Removing intermediate container d7bd6c7667f2 [2023-05-16T10:45:27.913Z] ---> 1a3978853660 [2023-05-16T10:45:27.913Z] Step 19/24 : EXPOSE 161 [2023-05-16T10:45:27.913Z] ---> Running in bee8f397defa [2023-05-16T10:45:28.174Z] Removing intermediate container bee8f397defa [2023-05-16T10:45:28.174Z] ---> a869e4c4980e [2023-05-16T10:45:28.174Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-16T10:45:28.174Z] ---> Running in 488ace8d9548 [2023-05-16T10:45:28.174Z] Removing intermediate container 488ace8d9548 [2023-05-16T10:45:28.174Z] ---> 756bfaa240ec [2023-05-16T10:45:28.174Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-16T10:45:28.174Z] ---> Running in 5319ad7e1632 [2023-05-16T10:45:28.174Z] Removing intermediate container 5319ad7e1632 [2023-05-16T10:45:28.174Z] ---> e770cc4b4d8b [2023-05-16T10:45:28.174Z] Step 22/24 : LABEL arch=amd64 [2023-05-16T10:45:28.434Z] ---> Running in 2cea8814551d [2023-05-16T10:45:28.434Z] Removing intermediate container 2cea8814551d [2023-05-16T10:45:28.434Z] ---> fe99dfb63267 [2023-05-16T10:45:28.434Z] Step 23/24 : LABEL git_sha=df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [2023-05-16T10:45:28.434Z] ---> Running in 7031a6652a2c [2023-05-16T10:45:28.434Z] Removing intermediate container 7031a6652a2c [2023-05-16T10:45:28.434Z] ---> 8f159ff7f67f [2023-05-16T10:45:28.434Z] Step 24/24 : LABEL version=3.0.0-dev.23 [2023-05-16T10:45:28.434Z] ---> Running in bfab73a19110 [2023-05-16T10:45:28.696Z] Removing intermediate container bfab73a19110 [2023-05-16T10:45:28.696Z] ---> ce97dc95d514 [2023-05-16T10:45:28.696Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:45:28.696Z] Successfully built ce97dc95d514 [2023-05-16T10:45:28.696Z] 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-16T10:45:28.787Z] provisioning config files... [2023-05-16T10:45:28.795Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5937368529627546928tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:45:29.090Z] ---> docker-login.sh [2023-05-16T10:45:29.090Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:45:29.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:45:29.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:45:29.090Z] Configure a credential helper to remove this warning. See [2023-05-16T10:45:29.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:45:29.090Z] [2023-05-16T10:45:29.090Z] Login Succeeded [2023-05-16T10:45:29.090Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:45:29.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:45:29.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:45:29.090Z] Configure a credential helper to remove this warning. See [2023-05-16T10:45:29.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:45:29.090Z] [2023-05-16T10:45:29.090Z] Login Succeeded [2023-05-16T10:45:29.090Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:45:29.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:45:35.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:45:35.863Z] Configure a credential helper to remove this warning. See [2023-05-16T10:45:35.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:45:35.863Z] [2023-05-16T10:45:35.863Z] Login Succeeded [2023-05-16T10:45:35.863Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:45:35.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:45:36.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:45:36.123Z] Configure a credential helper to remove this warning. See [2023-05-16T10:45:36.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:45:36.123Z] [2023-05-16T10:45:36.123Z] Login Succeeded [2023-05-16T10:45:36.123Z] docker.io [2023-05-16T10:45:36.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:45:36.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:45:36.381Z] Configure a credential helper to remove this warning. See [2023-05-16T10:45:36.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:45:36.381Z] [2023-05-16T10:45:36.381Z] Login Succeeded [2023-05-16T10:45:36.381Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:45:36.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-16T10:45:36.416Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:45:36.440Z] [edgeXDocker.push] Tagging docker image device-snmp with the following tags: [2023-05-16T10:45:36.440Z] df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [2023-05-16T10:45:36.440Z] latest [2023-05-16T10:45:36.440Z] 3.0.0-dev.23 [2023-05-16T10:45:36.440Z] df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23 [2023-05-16T10:45:36.440Z] main [2023-05-16T10:45:36.440Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:36.767Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:37.076Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [2023-05-16T10:45:37.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-16T10:45:37.077Z] 2167f3436ad6: Preparing [2023-05-16T10:45:37.077Z] 01a58a4e1188: Preparing [2023-05-16T10:45:37.077Z] b5e653f8ef61: Preparing [2023-05-16T10:45:37.077Z] b8808b911af9: Preparing [2023-05-16T10:45:37.077Z] f1417ff83b31: Preparing [2023-05-16T10:45:37.077Z] f1417ff83b31: Layer already exists [2023-05-16T10:45:37.077Z] 2167f3436ad6: Pushed [2023-05-16T10:45:37.077Z] b8808b911af9: Pushed [2023-05-16T10:45:37.077Z] 01a58a4e1188: Pushed [2023-05-16T10:45:45.161Z] b5e653f8ef61: Pushed [2023-05-16T10:45:45.161Z] df6e8d119828d9b47111ad06f42c4d5d8cb031c9: digest: sha256:d2150143464defcc3e2ea2e645647e14f4b0fecf298a3f1de6a4ed7f91dbacb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:45.478Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:45.790Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-16T10:45:45.790Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-16T10:45:45.790Z] 2167f3436ad6: Preparing [2023-05-16T10:45:45.790Z] 01a58a4e1188: Preparing [2023-05-16T10:45:45.790Z] b5e653f8ef61: Preparing [2023-05-16T10:45:45.790Z] b8808b911af9: Preparing [2023-05-16T10:45:45.790Z] f1417ff83b31: Preparing [2023-05-16T10:45:45.790Z] 01a58a4e1188: Layer already exists [2023-05-16T10:45:45.790Z] b8808b911af9: Layer already exists [2023-05-16T10:45:45.790Z] 2167f3436ad6: Layer already exists [2023-05-16T10:45:45.790Z] b5e653f8ef61: Layer already exists [2023-05-16T10:45:45.790Z] f1417ff83b31: Layer already exists [2023-05-16T10:45:45.790Z] latest: digest: sha256:d2150143464defcc3e2ea2e645647e14f4b0fecf298a3f1de6a4ed7f91dbacb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:46.113Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:46.421Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.23 [2023-05-16T10:45:46.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-16T10:45:46.421Z] 2167f3436ad6: Preparing [2023-05-16T10:45:46.421Z] 01a58a4e1188: Preparing [2023-05-16T10:45:46.421Z] b5e653f8ef61: Preparing [2023-05-16T10:45:46.421Z] b8808b911af9: Preparing [2023-05-16T10:45:46.421Z] f1417ff83b31: Preparing [2023-05-16T10:45:46.421Z] 2167f3436ad6: Layer already exists [2023-05-16T10:45:46.421Z] b8808b911af9: Layer already exists [2023-05-16T10:45:46.421Z] 01a58a4e1188: Layer already exists [2023-05-16T10:45:46.421Z] f1417ff83b31: Layer already exists [2023-05-16T10:45:46.421Z] b5e653f8ef61: Layer already exists [2023-05-16T10:45:46.421Z] 3.0.0-dev.23: digest: sha256:d2150143464defcc3e2ea2e645647e14f4b0fecf298a3f1de6a4ed7f91dbacb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:46.734Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:47.042Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23 [2023-05-16T10:45:47.042Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-16T10:45:47.042Z] 2167f3436ad6: Preparing [2023-05-16T10:45:47.042Z] 01a58a4e1188: Preparing [2023-05-16T10:45:47.042Z] b5e653f8ef61: Preparing [2023-05-16T10:45:47.042Z] b8808b911af9: Preparing [2023-05-16T10:45:47.042Z] f1417ff83b31: Preparing [2023-05-16T10:45:47.042Z] 01a58a4e1188: Layer already exists [2023-05-16T10:45:47.042Z] 2167f3436ad6: Layer already exists [2023-05-16T10:45:47.042Z] b8808b911af9: Layer already exists [2023-05-16T10:45:47.042Z] f1417ff83b31: Layer already exists [2023-05-16T10:45:47.042Z] b5e653f8ef61: Layer already exists [2023-05-16T10:45:47.042Z] df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23: digest: sha256:d2150143464defcc3e2ea2e645647e14f4b0fecf298a3f1de6a4ed7f91dbacb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:47.359Z] + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:47.677Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp:main [2023-05-16T10:45:47.677Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] [2023-05-16T10:45:47.677Z] 2167f3436ad6: Preparing [2023-05-16T10:45:47.677Z] 01a58a4e1188: Preparing [2023-05-16T10:45:47.677Z] b5e653f8ef61: Preparing [2023-05-16T10:45:47.677Z] b8808b911af9: Preparing [2023-05-16T10:45:47.677Z] f1417ff83b31: Preparing [2023-05-16T10:45:47.677Z] b8808b911af9: Layer already exists [2023-05-16T10:45:47.677Z] 01a58a4e1188: Layer already exists [2023-05-16T10:45:47.677Z] 2167f3436ad6: Layer already exists [2023-05-16T10:45:47.677Z] b5e653f8ef61: Layer already exists [2023-05-16T10:45:47.677Z] f1417ff83b31: Layer already exists [2023-05-16T10:45:47.677Z] main: digest: sha256:d2150143464defcc3e2ea2e645647e14f4b0fecf298a3f1de6a4ed7f91dbacb8 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-16T10:45:47.717Z] ===================================================== [Pipeline] echo [2023-05-16T10:45:47.723Z] taggedImages: [2023-05-16T10:45:47.723Z] - nexus3.edgexfoundry.org:10004/device-snmp:df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [2023-05-16T10:45:47.723Z] - nexus3.edgexfoundry.org:10004/device-snmp:latest [2023-05-16T10:45:47.723Z] - nexus3.edgexfoundry.org:10004/device-snmp:3.0.0-dev.23 [2023-05-16T10:45:47.723Z] - nexus3.edgexfoundry.org:10004/device-snmp:df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23 [2023-05-16T10:45:47.723Z] - 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-16T10:45:48.094Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:45:48.094Z] [2023-05-16T10:45:48.094Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:45:48.398Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:45:48.398Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-16T10:45:48.398Z] 5eb5b503b376: Pulling fs layer [2023-05-16T10:45:48.398Z] 5c69ac0246d0: Pulling fs layer [2023-05-16T10:45:48.398Z] ec43610c2a17: Pulling fs layer [2023-05-16T10:45:48.398Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-16T10:45:48.398Z] 33b1e0a273af: Pulling fs layer [2023-05-16T10:45:48.398Z] 5d3b04190fa2: Pulling fs layer [2023-05-16T10:45:48.398Z] 2f39f015ded8: Pulling fs layer [2023-05-16T10:45:48.398Z] 3a2ae6a8a46f: Waiting [2023-05-16T10:45:48.398Z] 33b1e0a273af: Waiting [2023-05-16T10:45:48.398Z] 5d3b04190fa2: Waiting [2023-05-16T10:45:48.398Z] 5c69ac0246d0: Verifying Checksum [2023-05-16T10:45:48.398Z] 5c69ac0246d0: Download complete [2023-05-16T10:45:48.398Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-16T10:45:48.398Z] 3a2ae6a8a46f: Download complete [2023-05-16T10:45:48.398Z] 33b1e0a273af: Verifying Checksum [2023-05-16T10:45:48.398Z] 33b1e0a273af: Download complete [2023-05-16T10:45:48.398Z] ec43610c2a17: Verifying Checksum [2023-05-16T10:45:48.398Z] ec43610c2a17: Download complete [2023-05-16T10:45:48.399Z] 5d3b04190fa2: Download complete [2023-05-16T10:45:48.657Z] 5eb5b503b376: Verifying Checksum [2023-05-16T10:45:48.657Z] 5eb5b503b376: Download complete [2023-05-16T10:45:49.225Z] 2f39f015ded8: Download complete [2023-05-16T10:45:49.794Z] 5eb5b503b376: Pull complete [2023-05-16T10:45:50.053Z] 5c69ac0246d0: Pull complete [2023-05-16T10:45:50.621Z] ec43610c2a17: Pull complete [2023-05-16T10:45:50.621Z] 3a2ae6a8a46f: Pull complete [2023-05-16T10:45:50.880Z] 33b1e0a273af: Pull complete [2023-05-16T10:45:50.880Z] 5d3b04190fa2: Pull complete [2023-05-16T10:45:56.830Z] 2f39f015ded8: Pull complete [2023-05-16T10:45:56.830Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-16T10:45:56.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:45:56.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:45:56.921Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:45:56.959Z] $ 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-16T10:46:12.649Z] $ docker top bc89fe56a27eeab288d9be536bdf2f3c0a994539ba4f134d661fc8a22ae70091 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:46:13.031Z] ---> job-cost.sh [2023-05-16T10:46:13.031Z] lf-activate-venv: SKIPPING [2023-05-16T10:46:13.031Z] INFO: No Stack... [2023-05-16T10:46:13.291Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:46:13.550Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:46:13.840Z] + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv [2023-05-16T10:46:13.840Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T10:46:13.852Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-80-stack-cost] [2023-05-16T10:46:13.860Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-80-stack-cost] did not exist. Created. [2023-05-16T10:46:13.860Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:46:14.171Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-16T10:46:14.197Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:46:14.205Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:46:14.231Z] $ docker stop --time=1 bc89fe56a27eeab288d9be536bdf2f3c0a994539ba4f134d661fc8a22ae70091 [2023-05-16T10:46:15.460Z] $ docker rm -f --volumes bc89fe56a27eeab288d9be536bdf2f3c0a994539ba4f134d661fc8a22ae70091 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-16T10:47:30.013Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15701 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws [2023-05-16T10:47:30.026Z] Running in /w/workspace/device-snmp-go/80 [Pipeline] { [Pipeline] checkout [2023-05-16T10:47:30.058Z] Selected Git installation does not exist. Using Default [2023-05-16T10:47:30.058Z] The recommended git tool is: NONE [2023-05-16T10:47:36.823Z] using credential edgex-jenkins-ssh [2023-05-16T10:47:36.841Z] Cloning the remote Git repository [2023-05-16T10:47:36.902Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-05-16T10:47:37.020Z] > git init /w/workspace/device-snmp-go/80 # timeout=10 [2023-05-16T10:47:37.221Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-05-16T10:47:37.222Z] > git --version # timeout=10 [2023-05-16T10:47:37.244Z] > git --version # 'git version 2.25.1' [2023-05-16T10:47:37.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-16T10:47:37.421Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:47:38.520Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-05-16T10:47:38.546Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-16T10:47:39.493Z] Avoid second fetch [2023-05-16T10:47:39.494Z] Checking out Revision df6e8d119828d9b47111ad06f42c4d5d8cb031c9 (main) [2023-05-16T10:47:40.143Z] Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v3 from 3.0.0-20230315153603-544c6823a1b0 to 3.0.0 in /snap/local/helper-go (#307)" [2023-05-16T10:47:39.516Z] > git config core.sparsecheckout # timeout=10 [2023-05-16T10:47:39.588Z] > git checkout -f df6e8d119828d9b47111ad06f42c4d5d8cb031c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:47:41.079Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-16T10:47:41.079Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:47:41.079Z] Dload Upload Total Spent Left Speed [2023-05-16T10:47:41.079Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-05-16T10:47:41.704Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-16T10:47:42.051Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-16T10:47:42.051Z] sudo tee /etc/docker/daemon.new [2023-05-16T10:47:42.051Z] { [2023-05-16T10:47:42.051Z] "registry-mirrors": [ [2023-05-16T10:47:42.051Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-16T10:47:42.051Z] ], [2023-05-16T10:47:42.051Z] "bip": "10.250.0.254/24", [2023-05-16T10:47:42.051Z] "hosts": [ [2023-05-16T10:47:42.051Z] "tcp://0.0.0.0:5555", [2023-05-16T10:47:42.051Z] "unix:///var/run/docker.sock" [2023-05-16T10:47:42.051Z] ], [2023-05-16T10:47:42.051Z] "mtu": 1458, [2023-05-16T10:47:42.051Z] "selinux-enabled": true, [2023-05-16T10:47:42.051Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-16T10:47:42.051Z] } [Pipeline] sh [2023-05-16T10:47:42.394Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-16T10:47:42.734Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:48:01.018Z] provisioning config files... [2023-05-16T10:48:01.050Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/80@tmp/config18145880299078775842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:48:01.416Z] ---> docker-login.sh [2023-05-16T10:48:01.416Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:48:02.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:48:02.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:48:02.010Z] Configure a credential helper to remove this warning. See [2023-05-16T10:48:02.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:48:02.010Z] [2023-05-16T10:48:02.010Z] Login Succeeded [2023-05-16T10:48:02.010Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:48:02.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:48:02.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:48:02.559Z] Configure a credential helper to remove this warning. See [2023-05-16T10:48:02.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:48:02.559Z] [2023-05-16T10:48:02.559Z] Login Succeeded [2023-05-16T10:48:02.559Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:48:02.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:48:02.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:48:02.833Z] Configure a credential helper to remove this warning. See [2023-05-16T10:48:02.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:48:02.833Z] [2023-05-16T10:48:02.833Z] Login Succeeded [2023-05-16T10:48:02.833Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:48:03.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:48:03.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:48:03.381Z] Configure a credential helper to remove this warning. See [2023-05-16T10:48:03.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:48:03.381Z] [2023-05-16T10:48:03.381Z] Login Succeeded [2023-05-16T10:48:03.381Z] docker.io [2023-05-16T10:48:03.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:48:03.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:48:03.923Z] Configure a credential helper to remove this warning. See [2023-05-16T10:48:03.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:48:03.923Z] [2023-05-16T10:48:03.923Z] Login Succeeded [2023-05-16T10:48:03.923Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:48:03.941Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-16T10:48:04.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:48:04.265Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:48:04.281Z] ========================================================= [2023-05-16T10:48:04.282Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-16T10:48:04.282Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:48:04.649Z] + 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-16T10:48:04.921Z] Sending build context to Docker daemon 3.021MB [2023-05-16T10:48:04.921Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:48:04.921Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-16T10:48:05.528Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-16T10:48:05.528Z] c41833b44d91: Pulling fs layer [2023-05-16T10:48:05.528Z] ed15518f5707: Pulling fs layer [2023-05-16T10:48:05.528Z] feae8fd75edb: Pulling fs layer [2023-05-16T10:48:05.528Z] 242c74f7c9fa: Pulling fs layer [2023-05-16T10:48:05.528Z] 3cdef696dda3: Pulling fs layer [2023-05-16T10:48:05.528Z] 2ced38df9373: Pulling fs layer [2023-05-16T10:48:05.528Z] 58f1dce35555: Pulling fs layer [2023-05-16T10:48:05.528Z] 242c74f7c9fa: Waiting [2023-05-16T10:48:05.528Z] 3cdef696dda3: Waiting [2023-05-16T10:48:05.528Z] 2ced38df9373: Waiting [2023-05-16T10:48:05.528Z] 58f1dce35555: Waiting [2023-05-16T10:48:05.528Z] ed15518f5707: Verifying Checksum [2023-05-16T10:48:05.528Z] ed15518f5707: Download complete [2023-05-16T10:48:05.528Z] 242c74f7c9fa: Verifying Checksum [2023-05-16T10:48:05.528Z] 242c74f7c9fa: Download complete [2023-05-16T10:48:05.528Z] 3cdef696dda3: Verifying Checksum [2023-05-16T10:48:05.528Z] 3cdef696dda3: Download complete [2023-05-16T10:48:05.528Z] c41833b44d91: Verifying Checksum [2023-05-16T10:48:05.528Z] c41833b44d91: Download complete [2023-05-16T10:48:06.967Z] c41833b44d91: Pull complete [2023-05-16T10:48:06.967Z] 58f1dce35555: Verifying Checksum [2023-05-16T10:48:06.967Z] 58f1dce35555: Download complete [2023-05-16T10:48:07.237Z] ed15518f5707: Pull complete [2023-05-16T10:48:08.216Z] feae8fd75edb: Download complete [2023-05-16T10:48:08.487Z] 2ced38df9373: Verifying Checksum [2023-05-16T10:48:08.487Z] 2ced38df9373: Download complete [2023-05-16T10:48:20.856Z] feae8fd75edb: Pull complete [2023-05-16T10:48:20.856Z] 242c74f7c9fa: Pull complete [2023-05-16T10:48:20.856Z] 3cdef696dda3: Pull complete [2023-05-16T10:48:29.306Z] 2ced38df9373: Pull complete [2023-05-16T10:48:32.705Z] 58f1dce35555: Pull complete [2023-05-16T10:48:32.705Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-16T10:48:32.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-16T10:48:32.705Z] ---> fadd8f120f05 [2023-05-16T10:48:32.705Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:48:34.128Z] ---> Running in b360fafec121 [2023-05-16T10:48:34.398Z] Removing intermediate container b360fafec121 [2023-05-16T10:48:34.398Z] ---> 1e0e66c879f0 [2023-05-16T10:48:34.398Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:48:34.398Z] ---> Running in 9bb8d2300738 [2023-05-16T10:48:34.670Z] Removing intermediate container 9bb8d2300738 [2023-05-16T10:48:34.670Z] ---> 5a55f7537910 [2023-05-16T10:48:34.670Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T10:48:34.952Z] ---> Running in 01280a96d039 [2023-05-16T10:48:35.221Z] Removing intermediate container 01280a96d039 [2023-05-16T10:48:35.221Z] ---> bf5ddc26dd0f [2023-05-16T10:48:35.221Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:48:35.221Z] ---> Running in adc236ff0078 [2023-05-16T10:48:35.491Z] Removing intermediate container adc236ff0078 [2023-05-16T10:48:35.491Z] ---> 40850f33584f [2023-05-16T10:48:35.491Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:48:35.763Z] ---> Running in 5f295d7cc805 [2023-05-16T10:48:38.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:48:39.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:48:40.280Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-16T10:48:40.280Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-16T10:48:40.280Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-16T10:48:40.280Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-16T10:48:40.280Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:48:40.280Z] OK: 268 MiB in 57 packages [2023-05-16T10:48:44.541Z] Removing intermediate container 5f295d7cc805 [2023-05-16T10:48:44.541Z] ---> b2fea5aa3917 [2023-05-16T10:48:44.541Z] Step 8/12 : WORKDIR /device-snmp-go [2023-05-16T10:48:44.541Z] ---> Running in 5991e17bb8fb [2023-05-16T10:48:44.541Z] Removing intermediate container 5991e17bb8fb [2023-05-16T10:48:44.541Z] ---> db379f1c65a2 [2023-05-16T10:48:44.541Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-16T10:48:45.127Z] ---> d1b802cb7df6 [2023-05-16T10:48:45.127Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:48:45.404Z] ---> Running in ded5a0672a7b [2023-05-16T10:49:53.298Z] Removing intermediate container ded5a0672a7b [2023-05-16T10:49:53.298Z] ---> a224ff1f8648 [2023-05-16T10:49:53.298Z] Step 11/12 : COPY . . [2023-05-16T10:49:53.298Z] ---> 947775aff267 [2023-05-16T10:49:53.298Z] Step 12/12 : RUN ${MAKE} [2023-05-16T10:49:53.298Z] ---> Running in 1af2bbae26ad [2023-05-16T10:49:53.298Z] noop [2023-05-16T10:49:53.298Z] Removing intermediate container 1af2bbae26ad [2023-05-16T10:49:53.298Z] ---> 5cd8d64ebba4 [2023-05-16T10:49:53.298Z] Successfully built 5cd8d64ebba4 [2023-05-16T10:49:53.298Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:49:53.652Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:49:53.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:49:53.866Z] prd-ubuntu20.04-docker-arm64-4c-16g-15701 does not seem to be running inside a container [2023-05-16T10:49:53.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/80 -v /w/workspace/device-snmp-go/80:/w/workspace/device-snmp-go/80:rw,z -v /w/workspace/device-snmp-go/80@tmp:/w/workspace/device-snmp-go/80@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-16T10:49:55.114Z] $ docker top 28ddcd32e35d410c973a46ec5f141b63d1dcc8d2972a6ba8e3baa21bb50c0d15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:49:55.937Z] + go version [2023-05-16T10:49:55.937Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-16T10:49:55.959Z] $ docker stop --time=1 28ddcd32e35d410c973a46ec5f141b63d1dcc8d2972a6ba8e3baa21bb50c0d15 [2023-05-16T10:49:57.560Z] $ docker rm -f --volumes 28ddcd32e35d410c973a46ec5f141b63d1dcc8d2972a6ba8e3baa21bb50c0d15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:49:58.102Z] + docker inspect -f . ci-base-image-arm64 [2023-05-16T10:49:58.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:49:58.274Z] prd-ubuntu20.04-docker-arm64-4c-16g-15701 does not seem to be running inside a container [2023-05-16T10:49:58.345Z] $ 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/80 -v /w/workspace/device-snmp-go/80:/w/workspace/device-snmp-go/80:rw,z -v /w/workspace/device-snmp-go/80@tmp:/w/workspace/device-snmp-go/80@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-16T10:49:59.437Z] $ docker top 5b3ea916760907415540b3fff25b687f40215721d12c1cc29989afb776231457 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:50:00.264Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/80 [Pipeline] fileExists [Pipeline] sh [2023-05-16T10:50:00.912Z] + make test [2023-05-16T10:50:00.912Z] go test ./... -coverprofile=coverage.out [2023-05-16T10:50:39.792Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-05-16T10:53:02.220Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2023-05-16T10:53:02.220Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.046s coverage: 0.0% of statements [2023-05-16T10:53:02.220Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-16T10:53:02.220Z] go vet ./... [2023-05-16T10:53:20.436Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-16T10:53:20.436Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-16T10:53:20.436Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-16T10:53:20.722Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-16T10:53:20.742Z] $ docker stop --time=1 5b3ea916760907415540b3fff25b687f40215721d12c1cc29989afb776231457 [2023-05-16T10:53:22.564Z] $ docker rm -f --volumes 5b3ea916760907415540b3fff25b687f40215721d12c1cc29989afb776231457 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:53:23.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-16T10:53:23.756Z] Warning: overwriting stash ‘coverage-report’ [2023-05-16T10:53:24.214Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-16T10:53:24.593Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-16T10:53:24.912Z] + ls -al . [2023-05-16T10:53:24.912Z] total 168 [2023-05-16T10:53:24.912Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:50 . [2023-05-16T10:53:24.912Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:47 .. [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 6 May 16 10:47 .dockerignore [2023-05-16T10:53:24.912Z] drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:47 .git [2023-05-16T10:53:24.912Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:47 .github [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 328 May 16 10:47 .gitignore [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:47 .golangci.yml [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 9056 May 16 10:47 Attribution.txt [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 8355 May 16 10:47 CHANGELOG.md [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 1423 May 16 10:47 Dockerfile [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:47 GOVERNANCE.md [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 656 May 16 10:47 Jenkinsfile [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:47 LICENSE [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 2114 May 16 10:47 Makefile [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 620 May 16 10:47 OWNERS.md [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 10054 May 16 10:47 README.md [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 12 May 16 10:43 VERSION [2023-05-16T10:53:24.912Z] drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:47 bin [2023-05-16T10:53:24.912Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:47 cmd [2023-05-16T10:53:24.912Z] -rw-r--r-- 1 jenkins jenkins 8837 May 16 10:52 coverage.out [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 3283 May 16 10:47 go.mod [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 31326 May 16 10:47 go.sum [2023-05-16T10:53:24.912Z] drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:47 internal [2023-05-16T10:53:24.912Z] drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:47 snap [2023-05-16T10:53:24.912Z] -rw-rw-r-- 1 jenkins jenkins 228 May 16 10:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:53:25.255Z] + 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=df6e8d119828d9b47111ad06f42c4d5d8cb031c9 --label arch=arm64 --label version=3.0.0-dev.23 . [2023-05-16T10:53:25.523Z] Sending build context to Docker daemon 3.031MB [2023-05-16T10:53:25.523Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-05-16T10:53:25.523Z] Step 2/24 : FROM ${BASE} AS builder [2023-05-16T10:53:25.523Z] ---> 5cd8d64ebba4 [2023-05-16T10:53:25.523Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-05-16T10:53:28.871Z] ---> Running in a064b66e7c83 [2023-05-16T10:53:28.871Z] Removing intermediate container a064b66e7c83 [2023-05-16T10:53:28.871Z] ---> 83cc8dcb670c [2023-05-16T10:53:28.871Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-16T10:53:28.871Z] ---> Running in b933dbd9fd54 [2023-05-16T10:53:28.871Z] Removing intermediate container b933dbd9fd54 [2023-05-16T10:53:28.871Z] ---> 37c3c4c79c6c [2023-05-16T10:53:28.871Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-16T10:53:29.137Z] ---> Running in 7987afebed8c [2023-05-16T10:53:29.405Z] Removing intermediate container 7987afebed8c [2023-05-16T10:53:29.405Z] ---> 680295a057dc [2023-05-16T10:53:29.405Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-05-16T10:53:29.405Z] ---> Running in f9ba5367e270 [2023-05-16T10:53:29.672Z] Removing intermediate container f9ba5367e270 [2023-05-16T10:53:29.672Z] ---> dc3f3ab5d81e [2023-05-16T10:53:29.672Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-16T10:53:29.943Z] ---> Running in ccc8bcf7d61a [2023-05-16T10:53:30.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:53:31.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:53:32.899Z] OK: 268 MiB in 57 packages [2023-05-16T10:53:33.484Z] Removing intermediate container ccc8bcf7d61a [2023-05-16T10:53:33.484Z] ---> b82aad3e21fe [2023-05-16T10:53:33.484Z] Step 8/24 : WORKDIR /device-snmp-go [2023-05-16T10:53:33.484Z] ---> Running in 348c0491ce2b [2023-05-16T10:53:33.751Z] Removing intermediate container 348c0491ce2b [2023-05-16T10:53:33.751Z] ---> 9e79582e17cd [2023-05-16T10:53:33.751Z] Step 9/24 : COPY go.mod vendor* ./ [2023-05-16T10:53:34.339Z] ---> 792abfa96b2e [2023-05-16T10:53:34.339Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-16T10:53:34.339Z] ---> Running in 3188ad608c4d [2023-05-16T10:53:36.928Z] Removing intermediate container 3188ad608c4d [2023-05-16T10:53:36.928Z] ---> ba67a2ec63fc [2023-05-16T10:53:36.928Z] Step 11/24 : COPY . . [2023-05-16T10:53:37.893Z] ---> 41075fb12dac [2023-05-16T10:53:37.893Z] Step 12/24 : RUN ${MAKE} [2023-05-16T10:53:37.893Z] ---> Running in d95004695dce [2023-05-16T10:53:38.857Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-snmp ./cmd [2023-05-16T10:56:03.535Z] Removing intermediate container d95004695dce [2023-05-16T10:56:03.535Z] ---> 286610d5a2c5 [2023-05-16T10:56:03.535Z] Step 13/24 : FROM alpine:3.17 [2023-05-16T10:56:03.535Z] 3.17: Pulling from library/alpine [2023-05-16T10:56:03.535Z] c41833b44d91: Already exists [2023-05-16T10:56:03.535Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-16T10:56:03.535Z] Status: Downloaded newer image for alpine:3.17 [2023-05-16T10:56:03.535Z] ---> 51e60588ff2c [2023-05-16T10:56:03.535Z] Step 14/24 : RUN apk add --update --no-cache dumb-init [2023-05-16T10:56:03.535Z] ---> Running in 521f102f76d9 [2023-05-16T10:56:03.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-16T10:56:03.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-16T10:56:03.535Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-16T10:56:03.535Z] Executing busybox-1.35.0-r29.trigger [2023-05-16T10:56:03.535Z] OK: 8 MiB in 16 packages [2023-05-16T10:56:03.535Z] Removing intermediate container 521f102f76d9 [2023-05-16T10:56:03.535Z] ---> 89fcf3a065ae [2023-05-16T10:56:03.535Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2023-05-16T10:56:03.535Z] ---> 68d1e185fe2b [2023-05-16T10:56:03.535Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2023-05-16T10:56:03.535Z] ---> a8615e418012 [2023-05-16T10:56:03.535Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2023-05-16T10:56:03.535Z] ---> e0947f0fce4f [2023-05-16T10:56:03.535Z] Step 18/24 : EXPOSE 59993 [2023-05-16T10:56:03.535Z] ---> Running in e178d69f9d12 [2023-05-16T10:56:03.535Z] Removing intermediate container e178d69f9d12 [2023-05-16T10:56:03.535Z] ---> 17893869ca97 [2023-05-16T10:56:03.535Z] Step 19/24 : EXPOSE 161 [2023-05-16T10:56:03.535Z] ---> Running in 9ccc7fa14603 [2023-05-16T10:56:03.535Z] Removing intermediate container 9ccc7fa14603 [2023-05-16T10:56:03.535Z] ---> f4a49c356cd7 [2023-05-16T10:56:03.535Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2023-05-16T10:56:03.535Z] ---> Running in 22056ba75114 [2023-05-16T10:56:03.535Z] Removing intermediate container 22056ba75114 [2023-05-16T10:56:03.535Z] ---> 0d8412155210 [2023-05-16T10:56:03.535Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-16T10:56:03.535Z] ---> Running in c6f70deb6c95 [2023-05-16T10:56:03.535Z] Removing intermediate container c6f70deb6c95 [2023-05-16T10:56:03.535Z] ---> fd8d1e72d203 [2023-05-16T10:56:03.535Z] Step 22/24 : LABEL arch=arm64 [2023-05-16T10:56:03.535Z] ---> Running in 6fd1f4ed57c5 [2023-05-16T10:56:03.535Z] Removing intermediate container 6fd1f4ed57c5 [2023-05-16T10:56:03.535Z] ---> fe43591c047c [2023-05-16T10:56:03.535Z] Step 23/24 : LABEL git_sha=df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [2023-05-16T10:56:03.535Z] ---> Running in 1f35889f6f55 [2023-05-16T10:56:03.535Z] Removing intermediate container 1f35889f6f55 [2023-05-16T10:56:03.535Z] ---> 163a72eff04b [2023-05-16T10:56:03.535Z] Step 24/24 : LABEL version=3.0.0-dev.23 [2023-05-16T10:56:03.535Z] ---> Running in 826dec2d723e [2023-05-16T10:56:03.801Z] Removing intermediate container 826dec2d723e [2023-05-16T10:56:03.801Z] ---> 187a42a6bdfb [2023-05-16T10:56:03.801Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-16T10:56:03.801Z] Successfully built 187a42a6bdfb [2023-05-16T10:56:03.801Z] 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-16T10:56:03.916Z] provisioning config files... [2023-05-16T10:56:03.930Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/80@tmp/config3844345455598612115tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:56:04.255Z] ---> docker-login.sh [2023-05-16T10:56:04.255Z] nexus3.edgexfoundry.org:10001 [2023-05-16T10:56:04.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:56:04.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:56:04.524Z] Configure a credential helper to remove this warning. See [2023-05-16T10:56:04.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:56:04.524Z] [2023-05-16T10:56:04.524Z] Login Succeeded [2023-05-16T10:56:04.524Z] nexus3.edgexfoundry.org:10002 [2023-05-16T10:56:04.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:56:04.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:56:04.790Z] Configure a credential helper to remove this warning. See [2023-05-16T10:56:04.790Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:56:04.790Z] [2023-05-16T10:56:04.790Z] Login Succeeded [2023-05-16T10:56:04.790Z] nexus3.edgexfoundry.org:10003 [2023-05-16T10:56:05.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:56:05.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:56:05.325Z] Configure a credential helper to remove this warning. See [2023-05-16T10:56:05.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:56:05.325Z] [2023-05-16T10:56:05.325Z] Login Succeeded [2023-05-16T10:56:05.325Z] nexus3.edgexfoundry.org:10004 [2023-05-16T10:56:05.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:56:05.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:56:05.592Z] Configure a credential helper to remove this warning. See [2023-05-16T10:56:05.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:56:05.592Z] [2023-05-16T10:56:05.592Z] Login Succeeded [2023-05-16T10:56:05.592Z] docker.io [2023-05-16T10:56:05.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-16T10:56:06.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-16T10:56:06.125Z] Configure a credential helper to remove this warning. See [2023-05-16T10:56:06.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-16T10:56:06.125Z] [2023-05-16T10:56:06.125Z] Login Succeeded [2023-05-16T10:56:06.125Z] ---> docker-login.sh ends [Pipeline] } [2023-05-16T10:56:06.138Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-16T10:56:06.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-16T10:56:06.186Z] [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: [2023-05-16T10:56:06.186Z] df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [2023-05-16T10:56:06.186Z] latest [2023-05-16T10:56:06.186Z] 3.0.0-dev.23 [2023-05-16T10:56:06.186Z] df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23 [2023-05-16T10:56:06.186Z] main [2023-05-16T10:56:06.186Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:06.573Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:06.985Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [2023-05-16T10:56:06.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-16T10:56:06.986Z] 213b65b37645: Preparing [2023-05-16T10:56:06.986Z] 2c5997c3a0d2: Preparing [2023-05-16T10:56:06.986Z] 33f2f08f0f81: Preparing [2023-05-16T10:56:06.986Z] 8e36c58acfb5: Preparing [2023-05-16T10:56:06.986Z] 26cbea5cba74: Preparing [2023-05-16T10:56:06.986Z] 26cbea5cba74: Layer already exists [2023-05-16T10:56:07.264Z] 8e36c58acfb5: Pushed [2023-05-16T10:56:07.264Z] 213b65b37645: Pushed [2023-05-16T10:56:07.264Z] 2c5997c3a0d2: Pushed [2023-05-16T10:56:12.666Z] 33f2f08f0f81: Pushed [2023-05-16T10:56:12.934Z] df6e8d119828d9b47111ad06f42c4d5d8cb031c9: digest: sha256:1d2b791c37d1787b914e8dc41b412f79dffc7d60b315940ccafdd5d29b4d23c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:13.297Z] + 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-16T10:56:13.641Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-16T10:56:13.641Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-16T10:56:13.641Z] 213b65b37645: Preparing [2023-05-16T10:56:13.641Z] 2c5997c3a0d2: Preparing [2023-05-16T10:56:13.641Z] 33f2f08f0f81: Preparing [2023-05-16T10:56:13.641Z] 8e36c58acfb5: Preparing [2023-05-16T10:56:13.641Z] 26cbea5cba74: Preparing [2023-05-16T10:56:13.641Z] 8e36c58acfb5: Layer already exists [2023-05-16T10:56:13.641Z] 33f2f08f0f81: Layer already exists [2023-05-16T10:56:13.641Z] 26cbea5cba74: Layer already exists [2023-05-16T10:56:13.641Z] 2c5997c3a0d2: Layer already exists [2023-05-16T10:56:13.641Z] 213b65b37645: Layer already exists [2023-05-16T10:56:13.909Z] latest: digest: sha256:1d2b791c37d1787b914e8dc41b412f79dffc7d60b315940ccafdd5d29b4d23c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:14.259Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:14.696Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.23 [2023-05-16T10:56:14.696Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-16T10:56:14.696Z] 213b65b37645: Preparing [2023-05-16T10:56:14.696Z] 2c5997c3a0d2: Preparing [2023-05-16T10:56:14.696Z] 33f2f08f0f81: Preparing [2023-05-16T10:56:14.696Z] 8e36c58acfb5: Preparing [2023-05-16T10:56:14.696Z] 26cbea5cba74: Preparing [2023-05-16T10:56:14.696Z] 26cbea5cba74: Layer already exists [2023-05-16T10:56:14.696Z] 33f2f08f0f81: Layer already exists [2023-05-16T10:56:14.696Z] 2c5997c3a0d2: Layer already exists [2023-05-16T10:56:14.696Z] 213b65b37645: Layer already exists [2023-05-16T10:56:14.696Z] 8e36c58acfb5: Layer already exists [2023-05-16T10:56:14.696Z] 3.0.0-dev.23: digest: sha256:1d2b791c37d1787b914e8dc41b412f79dffc7d60b315940ccafdd5d29b4d23c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:15.323Z] + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:15.670Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23 [2023-05-16T10:56:15.670Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-16T10:56:15.670Z] 213b65b37645: Preparing [2023-05-16T10:56:15.670Z] 2c5997c3a0d2: Preparing [2023-05-16T10:56:15.670Z] 33f2f08f0f81: Preparing [2023-05-16T10:56:15.670Z] 8e36c58acfb5: Preparing [2023-05-16T10:56:15.670Z] 26cbea5cba74: Preparing [2023-05-16T10:56:15.670Z] 2c5997c3a0d2: Layer already exists [2023-05-16T10:56:15.670Z] 8e36c58acfb5: Layer already exists [2023-05-16T10:56:15.670Z] 213b65b37645: Layer already exists [2023-05-16T10:56:15.670Z] 33f2f08f0f81: Layer already exists [2023-05-16T10:56:15.670Z] 26cbea5cba74: Layer already exists [2023-05-16T10:56:15.670Z] df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23: digest: sha256:1d2b791c37d1787b914e8dc41b412f79dffc7d60b315940ccafdd5d29b4d23c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:16.034Z] + 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-16T10:56:16.388Z] + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [2023-05-16T10:56:16.388Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] [2023-05-16T10:56:16.388Z] 213b65b37645: Preparing [2023-05-16T10:56:16.388Z] 2c5997c3a0d2: Preparing [2023-05-16T10:56:16.388Z] 33f2f08f0f81: Preparing [2023-05-16T10:56:16.388Z] 8e36c58acfb5: Preparing [2023-05-16T10:56:16.388Z] 26cbea5cba74: Preparing [2023-05-16T10:56:16.388Z] 8e36c58acfb5: Layer already exists [2023-05-16T10:56:16.388Z] 213b65b37645: Layer already exists [2023-05-16T10:56:16.388Z] 33f2f08f0f81: Layer already exists [2023-05-16T10:56:16.388Z] 26cbea5cba74: Layer already exists [2023-05-16T10:56:16.388Z] 2c5997c3a0d2: Layer already exists [2023-05-16T10:56:16.654Z] main: digest: sha256:1d2b791c37d1787b914e8dc41b412f79dffc7d60b315940ccafdd5d29b4d23c0 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-16T10:56:16.712Z] ===================================================== [Pipeline] echo [2023-05-16T10:56:16.723Z] taggedImages: [2023-05-16T10:56:16.723Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [2023-05-16T10:56:16.723Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [2023-05-16T10:56:16.723Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:3.0.0-dev.23 [2023-05-16T10:56:16.723Z] - nexus3.edgexfoundry.org:10004/device-snmp-arm64:df6e8d119828d9b47111ad06f42c4d5d8cb031c9-3.0.0-dev.23 [2023-05-16T10:56:16.723Z] - 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-16T10:56:17.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:56:17.101Z] [2023-05-16T10:56:17.101Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:17.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:56:17.436Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-16T10:56:17.436Z] 8998bd30e6a1: Pulling fs layer [2023-05-16T10:56:17.436Z] 04944245beec: Pulling fs layer [2023-05-16T10:56:17.436Z] 699f458cf7ca: Pulling fs layer [2023-05-16T10:56:17.436Z] 765212b225bb: Pulling fs layer [2023-05-16T10:56:17.436Z] f23df028b6ca: Pulling fs layer [2023-05-16T10:56:17.436Z] d65c8cfc05b1: Pulling fs layer [2023-05-16T10:56:17.436Z] 2437ff75d9bd: Pulling fs layer [2023-05-16T10:56:17.436Z] f23df028b6ca: Waiting [2023-05-16T10:56:17.436Z] 765212b225bb: Waiting [2023-05-16T10:56:17.436Z] d65c8cfc05b1: Waiting [2023-05-16T10:56:17.436Z] 2437ff75d9bd: Waiting [2023-05-16T10:56:17.703Z] 04944245beec: Verifying Checksum [2023-05-16T10:56:17.703Z] 04944245beec: Download complete [2023-05-16T10:56:17.703Z] 765212b225bb: Verifying Checksum [2023-05-16T10:56:17.703Z] 765212b225bb: Download complete [2023-05-16T10:56:17.703Z] f23df028b6ca: Verifying Checksum [2023-05-16T10:56:17.703Z] f23df028b6ca: Download complete [2023-05-16T10:56:17.703Z] d65c8cfc05b1: Verifying Checksum [2023-05-16T10:56:17.703Z] d65c8cfc05b1: Download complete [2023-05-16T10:56:17.972Z] 699f458cf7ca: Verifying Checksum [2023-05-16T10:56:17.972Z] 699f458cf7ca: Download complete [2023-05-16T10:56:18.240Z] 8998bd30e6a1: Verifying Checksum [2023-05-16T10:56:18.240Z] 8998bd30e6a1: Download complete [2023-05-16T10:56:20.819Z] 2437ff75d9bd: Verifying Checksum [2023-05-16T10:56:20.819Z] 2437ff75d9bd: Download complete [2023-05-16T10:56:22.242Z] 8998bd30e6a1: Pull complete [2023-05-16T10:56:22.829Z] 04944245beec: Pull complete [2023-05-16T10:56:23.788Z] 699f458cf7ca: Pull complete [2023-05-16T10:56:24.053Z] 765212b225bb: Pull complete [2023-05-16T10:56:25.017Z] f23df028b6ca: Pull complete [2023-05-16T10:56:25.017Z] d65c8cfc05b1: Pull complete [2023-05-16T10:56:40.014Z] 2437ff75d9bd: Pull complete [2023-05-16T10:56:40.014Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-16T10:56:40.014Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-16T10:56:40.014Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:56:40.206Z] prd-ubuntu20.04-docker-arm64-4c-16g-15701 does not seem to be running inside a container [2023-05-16T10:56:40.274Z] $ 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/80 -v /w/workspace/device-snmp-go/80:/w/workspace/device-snmp-go/80:rw,z -v /w/workspace/device-snmp-go/80@tmp:/w/workspace/device-snmp-go/80@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-16T10:56:42.817Z] $ docker top 83920e983b300504f157809732fc4006a31f340a5fec468d96c18508e85e3685 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:56:43.321Z] ---> job-cost.sh [2023-05-16T10:56:43.586Z] lf-activate-venv: SKIPPING [2023-05-16T10:56:43.586Z] INFO: No Stack... [2023-05-16T10:56:44.167Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-16T10:56:44.749Z] INFO: Archiving Costs [Pipeline] sh [2023-05-16T10:56:45.061Z] + cat /w/workspace/device-snmp-go/80/archives/cost.csv [2023-05-16T10:56:45.061Z] + cut -d, -f6 [Pipeline] lock [2023-05-16T10:56:45.125Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-80-stack-cost] [2023-05-16T10:56:45.131Z] Resource [jenkins-edgexfoundry-device-snmp-go-main-80-stack-cost] did not exist. Created. [2023-05-16T10:56:45.131Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-16T10:56:45.459Z] /w/workspace/device-snmp-go/80@tmp/durable-1cd98bf9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-16T10:56:45.794Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-16T10:56:45.810Z] Warning: overwriting stash ‘stack-cost’ [2023-05-16T10:56:45.860Z] Stashed 1 file(s) [Pipeline] } [2023-05-16T10:56:45.871Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-16T10:56:45.894Z] $ docker stop --time=1 83920e983b300504f157809732fc4006a31f340a5fec468d96c18508e85e3685 [2023-05-16T10:56:47.370Z] $ docker rm -f --volumes 83920e983b300504f157809732fc4006a31f340a5fec468d96c18508e85e3685 [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-16T10:56:47.749Z] provisioning config files... [2023-05-16T10:56:47.756Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config12723375973345087772tmp [Pipeline] { [Pipeline] sh [2023-05-16T10:56:48.416Z] + set +x [2023-05-16T10:56:48.416Z] + curl -s https://codecov.io/bash [2023-05-16T10:56:48.416Z] + bash -s -- [2023-05-16T10:56:48.416Z] [2023-05-16T10:56:48.416Z] _____ _ [2023-05-16T10:56:48.416Z] / ____| | | [2023-05-16T10:56:48.416Z] | | ___ __| | ___ ___ _____ __ [2023-05-16T10:56:48.416Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-16T10:56:48.416Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-16T10:56:48.416Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-16T10:56:48.416Z] Bash-1.0.6 [2023-05-16T10:56:48.416Z] [2023-05-16T10:56:48.416Z] [2023-05-16T10:56:48.416Z] ==> git version 2.25.1 found [2023-05-16T10:56:48.416Z] ==> 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-16T10:56:48.416Z] Release-Date: 2020-01-08 [2023-05-16T10:56:48.416Z] 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-16T10:56:48.416Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-16T10:56:48.416Z] ==> Jenkins CI detected. [2023-05-16T10:56:48.416Z] current dir:  /w/workspace/edgexfoundry_device-snmp-go_main [2023-05-16T10:56:48.416Z] project root: . [2023-05-16T10:56:48.416Z] --> token set from env [2023-05-16T10:56:48.416Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-16T10:56:48.416Z] ==> Running gcov in . (disable via -X gcov) [2023-05-16T10:56:48.416Z] ==> Python coveragepy not found [2023-05-16T10:56:48.416Z] ==> Searching for coverage reports in: [2023-05-16T10:56:48.416Z] + . [2023-05-16T10:56:48.416Z] -> Found 1 reports [2023-05-16T10:56:48.416Z] ==> Detecting git/mercurial file structure [2023-05-16T10:56:48.416Z] ==> Reading reports [2023-05-16T10:56:48.416Z] + ./coverage.out bytes=8837 [2023-05-16T10:56:48.416Z] ==> Appending adjustments [2023-05-16T10:56:48.416Z] https://docs.codecov.io/docs/fixing-reports [2023-05-16T10:56:48.416Z] + Found adjustments [2023-05-16T10:56:48.416Z] ==> Gzipping contents [2023-05-16T10:56:48.416Z] 4.0K /tmp/codecov.65bcZp.gz [2023-05-16T10:56:48.416Z] ==> Uploading reports [2023-05-16T10:56:48.416Z] url: https://codecov.io [2023-05-16T10:56:48.416Z] query: branch=main&commit=df6e8d119828d9b47111ad06f42c4d5d8cb031c9&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-16T10:56:48.416Z] -> Pinging Codecov [2023-05-16T10:56:48.416Z] 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=df6e8d119828d9b47111ad06f42c4d5d8cb031c9&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-16T10:56:48.925Z] -> Uploading to [2023-05-16T10:56:48.925Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-16/6C56EA5C29638FB4528AC87E60AF5AE0/df6e8d119828d9b47111ad06f42c4d5d8cb031c9/285497a6-058b-498f-8a45-1d07d696756c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T105648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1eb8d0f36fc686bf545fb1246e44389e78ab61125390ff7a70d1b200658469aa [2023-05-16T10:56:48.925Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-16T10:56:48.925Z] Dload Upload Total Spent Left Speed [2023-05-16T10:56:49.186Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1604 0 0 100 1604 0 8354 --:--:-- --:--:-- --:--:-- 8354 [2023-05-16T10:56:49.186Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [Pipeline] } [2023-05-16T10:56:49.195Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-16T10:56:49.380Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-16T10:56:49.395Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:56:49.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-16T10:56:49.696Z] [2023-05-16T10:56:49.696Z] 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-16T10:56:49.996Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-16T10:56:49.996Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-16T10:56:49.996Z] df9b9388f04a: Pulling fs layer [2023-05-16T10:56:49.996Z] 52dc419b0ee2: Pulling fs layer [2023-05-16T10:56:49.996Z] 25bc292e5bac: Pulling fs layer [2023-05-16T10:56:49.996Z] 114826534d7a: Pulling fs layer [2023-05-16T10:56:49.996Z] 4657fd5d0bcf: Pulling fs layer [2023-05-16T10:56:49.996Z] 6ad1cebc031e: Pulling fs layer [2023-05-16T10:56:49.996Z] 8a3aa393b2d8: Pulling fs layer [2023-05-16T10:56:49.996Z] 114826534d7a: Waiting [2023-05-16T10:56:49.996Z] 4657fd5d0bcf: Waiting [2023-05-16T10:56:49.996Z] 6ad1cebc031e: Waiting [2023-05-16T10:56:49.996Z] 8a3aa393b2d8: Waiting [2023-05-16T10:56:49.996Z] 25bc292e5bac: Download complete [2023-05-16T10:56:49.996Z] 52dc419b0ee2: Download complete [2023-05-16T10:56:49.996Z] 4657fd5d0bcf: Verifying Checksum [2023-05-16T10:56:49.996Z] 4657fd5d0bcf: Download complete [2023-05-16T10:56:49.996Z] df9b9388f04a: Download complete [2023-05-16T10:56:50.255Z] 6ad1cebc031e: Verifying Checksum [2023-05-16T10:56:50.255Z] 6ad1cebc031e: Download complete [2023-05-16T10:56:50.255Z] df9b9388f04a: Pull complete [2023-05-16T10:56:50.255Z] 52dc419b0ee2: Pull complete [2023-05-16T10:56:50.255Z] 25bc292e5bac: Pull complete [2023-05-16T10:56:50.824Z] 114826534d7a: Verifying Checksum [2023-05-16T10:56:50.824Z] 114826534d7a: Download complete [2023-05-16T10:56:50.824Z] 8a3aa393b2d8: Verifying Checksum [2023-05-16T10:56:50.824Z] 8a3aa393b2d8: Download complete [2023-05-16T10:56:54.110Z] 114826534d7a: Pull complete [2023-05-16T10:56:54.110Z] 4657fd5d0bcf: Pull complete [2023-05-16T10:56:54.370Z] 6ad1cebc031e: Pull complete [2023-05-16T10:56:56.911Z] 8a3aa393b2d8: Pull complete [2023-05-16T10:56:57.170Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-16T10:56:57.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-16T10:56:57.170Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:56:57.273Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:56:57.308Z] $ 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-16T10:57:02.604Z] $ docker top bb7404a110e3948be6d827a2a30619ee92b9db951f16103f943ad8487098f45d -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-16T10:57:02.673Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:main' [Pipeline] sh [2023-05-16T10:57:02.964Z] + set -o pipefail [2023-05-16T10:57:02.964Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:main' [2023-05-16T10:57:07.168Z] [2023-05-16T10:57:07.168Z] Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... [2023-05-16T10:57:07.168Z] [2023-05-16T10:57:07.168Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9149b8c6-e1cc-4c56-9b65-be0ccb6e0e00/history/befb242f-ff63-4666-b69e-5544f2bba19b [2023-05-16T10:57:07.168Z] [2023-05-16T10:57:07.168Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-16T10:57:07.168Z] [2023-05-16T10:57:07.168Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-16T10:57:07.168Z] [2023-05-16T10:57:07.739Z] [2023-05-16T10:57:07.740Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-16T10:57:07.740Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-16T10:57:07.740Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-05-16T10:57:07.807Z] $ docker stop --time=1 bb7404a110e3948be6d827a2a30619ee92b9db951f16103f943ad8487098f45d [2023-05-16T10:57:11.102Z] $ docker rm -f --volumes bb7404a110e3948be6d827a2a30619ee92b9db951f16103f943ad8487098f45d [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-16T10:57:11.812Z] + git log --format=format:%s -1 df6e8d119828d9b47111ad06f42c4d5d8cb031c9 [Pipeline] sh [2023-05-16T10:57:12.110Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T10:57:12.110Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:57:12.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:57:12.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:57:12.488Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:57:12.521Z] $ 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-16T10:57:12.951Z] $ docker top 0e16f41b42c4a97730b17335fa3828473b054e7f1c7470121e8bda4144fbc28d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T10:57:13.053Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:57:13.053Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:57:13.171Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:57:13.175Z] $ docker exec 0e16f41b42c4a97730b17335fa3828473b054e7f1c7470121e8bda4144fbc28d ssh-agent [2023-05-16T10:57:13.284Z] SSH_AUTH_SOCK=/tmp/ssh-tFBYMMCXm9UQ/agent.32 [2023-05-16T10:57:13.284Z] SSH_AGENT_PID=38 [2023-05-16T10:57:13.290Z] Running ssh-add (command line suppressed) [2023-05-16T10:57:13.386Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8506304919891467900.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8506304919891467900.key) [2023-05-16T10:57:13.401Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:57:13.687Z] + git semver tag [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,854 [run_tag] DEBUG tag force:False [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,854 [check_head_tag] DEBUG check head tag [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,855 [execute] INFO git cat-file --batch-check [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,859 [execute] INFO git cat-file --batch [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,860 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,876 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,876 [execute] INFO git tag -a v3.0.0-dev.23 -m v3.0.0-dev.23 [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,877 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.23', '-m', 'v3.0.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-16T10:57:13.947Z] 2023-05-16 10:57:13,882 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-16T10:57:13.947Z] 3.0.0-dev.23 [Pipeline] } [2023-05-16T10:57:13.958Z] $ docker exec --env ******** --env ******** 0e16f41b42c4a97730b17335fa3828473b054e7f1c7470121e8bda4144fbc28d ssh-agent -k [2023-05-16T10:57:14.058Z] unset SSH_AUTH_SOCK; [2023-05-16T10:57:14.058Z] unset SSH_AGENT_PID; [2023-05-16T10:57:14.058Z] echo Agent pid 38 killed; [2023-05-16T10:57:14.070Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T10:57:14.370Z] + git semver [Pipeline] } [2023-05-16T10:57:14.641Z] $ docker stop --time=1 0e16f41b42c4a97730b17335fa3828473b054e7f1c7470121e8bda4144fbc28d [2023-05-16T10:57:15.904Z] $ docker rm -f --volumes 0e16f41b42c4a97730b17335fa3828473b054e7f1c7470121e8bda4144fbc28d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:57:16.298Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-16T10:57:16.298Z] [2023-05-16T10:57:16.298Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:57:16.598Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-16T10:57:16.859Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-16T10:57:16.859Z] ab5ef0e58194: Pulling fs layer [2023-05-16T10:57:16.859Z] 9712f1f96733: Pulling fs layer [2023-05-16T10:57:16.859Z] 63f879dbbcfc: Pulling fs layer [2023-05-16T10:57:16.859Z] 0d9ebad4ef96: Pulling fs layer [2023-05-16T10:57:16.859Z] e9a5061849ea: Pulling fs layer [2023-05-16T10:57:16.859Z] d747dcd14b5f: Pulling fs layer [2023-05-16T10:57:16.859Z] 2de7ff778b66: Pulling fs layer [2023-05-16T10:57:16.859Z] 0d9ebad4ef96: Waiting [2023-05-16T10:57:16.859Z] e9a5061849ea: Waiting [2023-05-16T10:57:16.859Z] d747dcd14b5f: Waiting [2023-05-16T10:57:16.859Z] 2de7ff778b66: Waiting [2023-05-16T10:57:16.859Z] 9712f1f96733: Verifying Checksum [2023-05-16T10:57:16.859Z] 9712f1f96733: Download complete [2023-05-16T10:57:17.119Z] 63f879dbbcfc: Verifying Checksum [2023-05-16T10:57:17.119Z] 63f879dbbcfc: Download complete [2023-05-16T10:57:17.377Z] e9a5061849ea: Verifying Checksum [2023-05-16T10:57:17.378Z] e9a5061849ea: Download complete [2023-05-16T10:57:17.378Z] d747dcd14b5f: Download complete [2023-05-16T10:57:17.378Z] ab5ef0e58194: Verifying Checksum [2023-05-16T10:57:17.378Z] ab5ef0e58194: Download complete [2023-05-16T10:57:17.378Z] 0d9ebad4ef96: Download complete [2023-05-16T10:57:17.637Z] 2de7ff778b66: Verifying Checksum [2023-05-16T10:57:17.637Z] 2de7ff778b66: Download complete [2023-05-16T10:57:20.167Z] ab5ef0e58194: Pull complete [2023-05-16T10:57:20.167Z] 9712f1f96733: Pull complete [2023-05-16T10:57:20.735Z] 63f879dbbcfc: Pull complete [2023-05-16T10:57:25.414Z] 0d9ebad4ef96: Pull complete [2023-05-16T10:57:25.414Z] e9a5061849ea: Pull complete [2023-05-16T10:57:25.414Z] d747dcd14b5f: Pull complete [2023-05-16T10:57:26.527Z] 2de7ff778b66: Pull complete [2023-05-16T10:57:26.527Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-16T10:57:26.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-16T10:57:26.527Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:57:26.610Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:57:26.642Z] $ 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-16T10:57:31.542Z] $ docker top 147a39a3e343e04a2f7c07bae12e0e2eb6043fd8d5e91125923ff49b5b96b9df -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:57:31.619Z] provisioning config files... [2023-05-16T10:57:31.626Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3835561418646951016tmp [2023-05-16T10:57:31.636Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config9099100357309429194tmp [2023-05-16T10:57:31.644Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6286863955019037750tmp [Pipeline] { [Pipeline] echo [2023-05-16T10:57:31.662Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:31.951Z] ---> sigul-configuration.sh [2023-05-16T10:57:31.951Z] gpg: directory `/root/.gnupg' created [2023-05-16T10:57:31.951Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-16T10:57:31.951Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-16T10:57:31.951Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-16T10:57:31.951Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-16T10:57:31.951Z] gpg: CAST5 encrypted data [2023-05-16T10:57:31.951Z] gpg: encrypted with 1 passphrase [2023-05-16T10:57:31.951Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-16T10:57:32.238Z] + mkdir /home/jenkins [2023-05-16T10:57:32.238Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-16T10:57:32.526Z] + 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-16T10:57:32.535Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:32.823Z] ---> sigul-install.sh [2023-05-16T10:57:32.823Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-16T10:57:33.108Z] + git tag --list [2023-05-16T10:57:33.108Z] 1.0.0 [2023-05-16T10:57:33.108Z] v0.0.0 [2023-05-16T10:57:33.108Z] v1.1.0 [2023-05-16T10:57:33.108Z] v1.1.1 [2023-05-16T10:57:33.108Z] v1.2.2 [2023-05-16T10:57:33.108Z] v1.3.0 [2023-05-16T10:57:33.108Z] v1.3.1 [2023-05-16T10:57:33.108Z] v2.0.0 [2023-05-16T10:57:33.108Z] v2.1.0 [2023-05-16T10:57:33.108Z] v2.1.1 [2023-05-16T10:57:33.108Z] v2.1.1-dev.2 [2023-05-16T10:57:33.108Z] v2.1.1-dev.3 [2023-05-16T10:57:33.109Z] v2.2.0 [2023-05-16T10:57:33.109Z] v2.2.1-dev.1 [2023-05-16T10:57:33.109Z] v2.2.1-dev.2 [2023-05-16T10:57:33.109Z] v2.2.1-dev.3 [2023-05-16T10:57:33.109Z] v2.2.1-dev.4 [2023-05-16T10:57:33.109Z] v2.2.1-dev.5 [2023-05-16T10:57:33.109Z] v2.2.1-dev.6 [2023-05-16T10:57:33.109Z] v2.2.1-dev.7 [2023-05-16T10:57:33.109Z] v2.3.0 [2023-05-16T10:57:33.109Z] v2.3.0-dev.10 [2023-05-16T10:57:33.109Z] v2.3.0-dev.11 [2023-05-16T10:57:33.109Z] v2.3.0-dev.12 [2023-05-16T10:57:33.109Z] v2.3.0-dev.13 [2023-05-16T10:57:33.109Z] v2.3.0-dev.14 [2023-05-16T10:57:33.109Z] v2.3.0-dev.15 [2023-05-16T10:57:33.109Z] v2.3.0-dev.16 [2023-05-16T10:57:33.109Z] v2.3.0-dev.17 [2023-05-16T10:57:33.109Z] v2.3.0-dev.18 [2023-05-16T10:57:33.109Z] v2.3.0-dev.19 [2023-05-16T10:57:33.109Z] v2.3.0-dev.20 [2023-05-16T10:57:33.109Z] v2.3.0-dev.21 [2023-05-16T10:57:33.109Z] v2.3.0-dev.22 [2023-05-16T10:57:33.109Z] v2.3.0-dev.23 [2023-05-16T10:57:33.109Z] v2.3.0-dev.24 [2023-05-16T10:57:33.109Z] v2.3.0-dev.7 [2023-05-16T10:57:33.109Z] v2.3.0-dev.8 [2023-05-16T10:57:33.109Z] v2.3.0-dev.9 [2023-05-16T10:57:33.109Z] v3.0.0-dev.1 [2023-05-16T10:57:33.109Z] v3.0.0-dev.10 [2023-05-16T10:57:33.109Z] v3.0.0-dev.11 [2023-05-16T10:57:33.109Z] v3.0.0-dev.12 [2023-05-16T10:57:33.109Z] v3.0.0-dev.13 [2023-05-16T10:57:33.109Z] v3.0.0-dev.14 [2023-05-16T10:57:33.109Z] v3.0.0-dev.15 [2023-05-16T10:57:33.109Z] v3.0.0-dev.16 [2023-05-16T10:57:33.109Z] v3.0.0-dev.17 [2023-05-16T10:57:33.109Z] v3.0.0-dev.18 [2023-05-16T10:57:33.109Z] v3.0.0-dev.19 [2023-05-16T10:57:33.109Z] v3.0.0-dev.2 [2023-05-16T10:57:33.109Z] v3.0.0-dev.20 [2023-05-16T10:57:33.109Z] v3.0.0-dev.21 [2023-05-16T10:57:33.109Z] v3.0.0-dev.22 [2023-05-16T10:57:33.109Z] v3.0.0-dev.23 [2023-05-16T10:57:33.109Z] v3.0.0-dev.3 [2023-05-16T10:57:33.109Z] v3.0.0-dev.4 [2023-05-16T10:57:33.109Z] v3.0.0-dev.5 [2023-05-16T10:57:33.109Z] v3.0.0-dev.6 [2023-05-16T10:57:33.109Z] v3.0.0-dev.7 [2023-05-16T10:57:33.109Z] v3.0.0-dev.8 [2023-05-16T10:57:33.109Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-16T10:57:33.400Z] + lftools sign git-tag v3.0.0-dev.23 [2023-05-16T10:57:33.970Z] Signing Git tag with Sigul... [2023-05-16T10:57:33.970Z] Signing v3.0.0-dev.23 [Pipeline] echo [2023-05-16T10:57:34.237Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:34.523Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-16T10:57:34.530Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-16T10:57:34.547Z] $ docker stop --time=1 147a39a3e343e04a2f7c07bae12e0e2eb6043fd8d5e91125923ff49b5b96b9df [2023-05-16T10:57:35.850Z] $ docker rm -f --volumes 147a39a3e343e04a2f7c07bae12e0e2eb6043fd8d5e91125923ff49b5b96b9df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-16T10:57:36.261Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T10:57:36.261Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:57:36.560Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:57:36.560Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:57:36.633Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:57:36.666Z] $ 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-16T10:57:36.984Z] $ docker top 23d20e295fea78c88263ca38900f3de9afa89e565f8792f4d9dec6b4e0e0d8ae -eo pid,comm [2023-05-16T10:57:37.034Z] 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-16T10:57:37.034Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T10:57:37.072Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:57:37.072Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:57:37.180Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:57:37.183Z] $ docker exec 23d20e295fea78c88263ca38900f3de9afa89e565f8792f4d9dec6b4e0e0d8ae ssh-agent [2023-05-16T10:57:37.286Z] SSH_AUTH_SOCK=/tmp/ssh-ru7ioAnpRXow/agent.32 [2023-05-16T10:57:37.286Z] SSH_AGENT_PID=39 [2023-05-16T10:57:37.291Z] Running ssh-add (command line suppressed) [2023-05-16T10:57:37.377Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11966939096902679946.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_11966939096902679946.key) [2023-05-16T10:57:37.392Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:57:37.684Z] + git semver bump pre [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,837 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,837 [bump_version] DEBUG bumping version:3.0.0-dev.23 on axis:pre with prefix:dev [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,837 [bump_version] DEBUG bumped version:3.0.0-dev.24 [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,837 [write_version] DEBUG write version:3.0.0-dev.24 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,837 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,837 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,840 [execute] INFO git cat-file --batch-check [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,840 [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-16T10:57:37.944Z] 2023-05-16 10:57:37,845 [execute] INFO git cat-file --batch [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-16T10:57:37.944Z] 2023-05-16 10:57:37,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-16T10:57:37.944Z] 3.0.0-dev.24 [Pipeline] } [2023-05-16T10:57:37.956Z] $ docker exec --env ******** --env ******** 23d20e295fea78c88263ca38900f3de9afa89e565f8792f4d9dec6b4e0e0d8ae ssh-agent -k [2023-05-16T10:57:38.048Z] unset SSH_AUTH_SOCK; [2023-05-16T10:57:38.048Z] unset SSH_AGENT_PID; [2023-05-16T10:57:38.048Z] echo Agent pid 39 killed; [2023-05-16T10:57:38.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T10:57:38.375Z] + git semver [Pipeline] } [2023-05-16T10:57:38.659Z] $ docker stop --time=1 23d20e295fea78c88263ca38900f3de9afa89e565f8792f4d9dec6b4e0e0d8ae [2023-05-16T10:57:39.967Z] $ docker rm -f --volumes 23d20e295fea78c88263ca38900f3de9afa89e565f8792f4d9dec6b4e0e0d8ae [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-16T10:57:40.311Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-16T10:57:40.311Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:57:40.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-16T10:57:40.616Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:57:40.694Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:57:40.727Z] $ 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-16T10:57:41.050Z] $ docker top d02d8f44a2f0f1ce7218eacf849d5d4b79c1b0c35414e0d00c62e75248bd0677 -eo pid,comm [2023-05-16T10:57:41.094Z] 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-16T10:57:41.094Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-16T10:57:41.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-16T10:57:41.142Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-16T10:57:41.252Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-16T10:57:41.255Z] $ docker exec d02d8f44a2f0f1ce7218eacf849d5d4b79c1b0c35414e0d00c62e75248bd0677 ssh-agent [2023-05-16T10:57:41.373Z] SSH_AUTH_SOCK=/tmp/ssh-bDTgkMTQbC00/agent.32 [2023-05-16T10:57:41.374Z] SSH_AGENT_PID=38 [2023-05-16T10:57:41.379Z] Running ssh-add (command line suppressed) [2023-05-16T10:57:41.478Z] Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3000776510183361648.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3000776510183361648.key) [2023-05-16T10:57:41.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-16T10:57:41.784Z] + git semver push [2023-05-16T10:57:42.043Z] 2023-05-16 10:57:41,969 [run_push] DEBUG push [2023-05-16T10:57:42.043Z] 2023-05-16 10:57:41,970 [execute] INFO git cat-file --batch-check [2023-05-16T10:57:42.043Z] 2023-05-16 10:57:41,970 [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-16T10:57:42.043Z] 2023-05-16 10:57:41,975 [execute] INFO git rev-list 96becb0fa829c73eaa05469ce960b011dfc88b77 -- [2023-05-16T10:57:42.043Z] 2023-05-16 10:57:41,975 [execute] DEBUG Popen(['git', 'rev-list', '96becb0fa829c73eaa05469ce960b011dfc88b77', '--'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-16T10:57:42.043Z] 2023-05-16 10:57:41,984 [execute] INFO git fetch -v origin [2023-05-16T10:57:42.043Z] 2023-05-16 10:57:41,984 [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-16T10:57:42.614Z] 2023-05-16 10:57:42,488 [run_push] DEBUG no remote changes detected [2023-05-16T10:57:42.614Z] 2023-05-16 10:57:42,489 [execute] INFO git push origin semver [2023-05-16T10:57:42.614Z] 2023-05-16 10:57:42,489 [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-16T10:57:43.554Z] 2023-05-16 10:57:43,290 [run_push] DEBUG push all version tags [2023-05-16T10:57:43.554Z] 2023-05-16 10:57:43,291 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-16T10:57:43.554Z] 2023-05-16 10:57:43,292 [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-16T10:57:44.123Z] 2023-05-16 10:57:44,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main [2023-05-16T10:57:44.123Z] 3.0.0-dev.24 [Pipeline] } [2023-05-16T10:57:44.132Z] $ docker exec --env ******** --env ******** d02d8f44a2f0f1ce7218eacf849d5d4b79c1b0c35414e0d00c62e75248bd0677 ssh-agent -k [2023-05-16T10:57:44.233Z] unset SSH_AUTH_SOCK; [2023-05-16T10:57:44.233Z] unset SSH_AGENT_PID; [2023-05-16T10:57:44.233Z] echo Agent pid 38 killed; [2023-05-16T10:57:44.245Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-16T10:57:44.550Z] + git semver [Pipeline] } [2023-05-16T10:57:44.821Z] $ docker stop --time=1 d02d8f44a2f0f1ce7218eacf849d5d4b79c1b0c35414e0d00c62e75248bd0677 [2023-05-16T10:57:46.108Z] $ docker rm -f --volumes d02d8f44a2f0f1ce7218eacf849d5d4b79c1b0c35414e0d00c62e75248bd0677 [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-16T10:57:46.699Z] + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] [2023-05-16T10:57:46.699Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-16T10:57:46.699Z] total 16 [2023-05-16T10:57:46.699Z] drwxr-xr-x 3 root root 4096 May 16 10:46 . [2023-05-16T10:57:46.699Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:57 .. [2023-05-16T10:57:46.699Z] drwxr-xr-x 2 root root 4096 May 16 10:46 cost [2023-05-16T10:57:46.699Z] -rw-r--r-- 1 root root 85 May 16 10:46 cost.csv [2023-05-16T10:57:46.699Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-16T10:57:46.699Z] + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives [2023-05-16T10:57:46.699Z] total 16 [2023-05-16T10:57:46.699Z] drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:46 . [2023-05-16T10:57:46.699Z] drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:57 .. [2023-05-16T10:57:46.699Z] drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:46 cost [2023-05-16T10:57:46.699Z] -rw-r--r-- 1 jenkins jenkins 85 May 16 10:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:46.993Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:47.854Z] ---> package-listing.sh [2023-05-16T10:57:47.854Z] ++ facter osfamily [2023-05-16T10:57:47.854Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-16T10:57:48.114Z] + OS_FAMILY=debian [2023-05-16T10:57:48.114Z] + workspace=/w/workspace/edgexfoundry_device-snmp-go_main [2023-05-16T10:57:48.114Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-16T10:57:48.114Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-16T10:57:48.114Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-16T10:57:48.114Z] + PACKAGES=/tmp/packages_start.txt [2023-05-16T10:57:48.114Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-16T10:57:48.114Z] + PACKAGES=/tmp/packages_end.txt [2023-05-16T10:57:48.114Z] + case "${OS_FAMILY}" in [2023-05-16T10:57:48.114Z] + dpkg -l [2023-05-16T10:57:48.114Z] + grep '^ii' [2023-05-16T10:57:48.114Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-16T10:57:48.114Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-16T10:57:48.114Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-16T10:57:48.114Z] + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' [2023-05-16T10:57:48.114Z] + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [2023-05-16T10:57:48.114Z] + 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-16T10:57:48.123Z] 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-16T10:57:48.401Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-16T10:57:48.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-16T10:57:48.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-16T10:57:49.030Z] prd-ubuntu20.04-docker-8c-8g-15698 does not seem to be running inside a container [2023-05-16T10:57:49.066Z] $ 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-16T10:57:49.290Z] $ docker top eb4940e8895ea1479f058e4425f02eceeeb3ec3d1dd95e37ac757d84191bf9dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-16T10:57:49.727Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-16T10:57:50.160Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-16T10:57:50.457Z] + ls /var/log/sa-host [2023-05-16T10:57:50.457Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-16T10:57:50.530Z] provisioning config files... [2023-05-16T10:57:50.539Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8025396207021793157tmp [Pipeline] { [Pipeline] echo [2023-05-16T10:57:50.552Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:50.837Z] ---> create-netrc.sh [Pipeline] } [2023-05-16T10:57:50.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:51.169Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-16T10:57:51.177Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:51.462Z] ---> sudo-logs.sh [2023-05-16T10:57:51.462Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-16T10:57:51.495Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:51.778Z] ---> job-cost.sh [2023-05-16T10:57:51.778Z] lf-activate-venv: SKIPPING [2023-05-16T10:57:51.778Z] DEBUG: total: 0.2199999988079071 [2023-05-16T10:57:51.778Z] INFO: Retrieving Stack Cost... [2023-05-16T10:57:52.038Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-16T10:57:52.610Z] INFO: Archiving Costs [Pipeline] echo [2023-05-16T10:57:52.625Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-16T10:57:52.910Z] ---> logs-deploy.sh [2023-05-16T10:57:52.910Z] lf-activate-venv: SKIPPING [2023-05-16T10:57:52.910Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/80 [2023-05-16T10:57:52.910Z] INFO: archiving workspace using pattern(s): [2023-05-16T10:57:53.849Z] Archives upload complete. [2023-05-16T10:57:53.849Z] INFO: archiving logs to Nexus