Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d96222f651e8a4e4cb72048a498f637781793625+965f04e6862849b37eeb3a58b1f16c31f2ab2615 (463881620e29e0deda4be5e131fa88d5895d0bba) 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-ssh7797096277382347949.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17852890079503019639.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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/PR-264/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/PR-264/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16495890271761626241.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh8783360201975570327.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/PR-264/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/PR-264/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18005905966716697879.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-2460 in /w/workspace/gexfoundry_device-snmp-go_PR-264 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-264 # 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 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/264/head:refs/remotes/origin/PR-264 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit d96222f651e8a4e4cb72048a498f637781793625 Merge succeeded, producing d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 Checking out Revision d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 (PR-264) > git config core.sparsecheckout # timeout=10 > git checkout -f d96222f651e8a4e4cb72048a498f637781793625 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 # timeout=10 Commit message: "Merge commit '965f04e6862849b37eeb3a58b1f16c31f2ab2615' into HEAD" > git rev-list --no-walk d96222f651e8a4e4cb72048a498f637781793625 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T15:26:32.176Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T15:26:32.229Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T15:26:32.247Z] ========================================================= [2023-03-16T15:26:32.247Z] EdgeX Global Pipelines Version Info [2023-03-16T15:26:32.247Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:26:32.987Z] ------------------- [2023-03-16T15:26:32.987Z] stable info: [2023-03-16T15:26:32.987Z] ------------------- [2023-03-16T15:26:32.987Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T15:26:32.987Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T15:26:32.987Z] Message: update stable to v1.0.245 [2023-03-16T15:26:33.555Z] ------------------- [2023-03-16T15:26:33.555Z] experimental info: [2023-03-16T15:26:33.555Z] ------------------- [2023-03-16T15:26:33.555Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T15:26:33.555Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T15:26:33.555Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T15:26:33.724Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2023-03-16T15:26:33.741Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2023-03-16T15:26:33.758Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T15:26:33.777Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T15:26:33.792Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T15:26:33.802Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T15:26:33.814Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T15:26:33.828Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T15:26:33.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T15:26:33.854Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T15:26:33.865Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T15:26:33.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2023-03-16T15:26:33.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T15:26:33.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T15:26:33.912Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T15:26:33.932Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T15:26:33.951Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T15:26:33.965Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T15:26:33.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T15:26:33.991Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T15:26:34.007Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-16T15:26:34.017Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-16T15:26:34.031Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T15:26:34.046Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T15:26:34.055Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T15:26:34.068Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T15:26:34.079Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T15:26:34.090Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-264 [Pipeline] echo [2023-03-16T15:26:34.101Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-264 [Pipeline] echo [2023-03-16T15:26:34.115Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-264 [Pipeline] echo [2023-03-16T15:26:34.128Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [Pipeline] echo [2023-03-16T15:26:34.139Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4bbd9e [Pipeline] echo [2023-03-16T15:26:34.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:26:34.182Z] provisioning config files... [2023-03-16T15:26:34.195Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/config17781499014620667747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:26:34.495Z] ---> docker-login.sh [2023-03-16T15:26:34.496Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:26:34.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:34.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:34.755Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:34.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:34.755Z] [2023-03-16T15:26:34.755Z] Login Succeeded [2023-03-16T15:26:34.755Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:26:35.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:35.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:35.014Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:35.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:35.014Z] [2023-03-16T15:26:35.014Z] Login Succeeded [2023-03-16T15:26:35.014Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:26:35.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:35.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:35.014Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:35.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:35.014Z] [2023-03-16T15:26:35.014Z] Login Succeeded [2023-03-16T15:26:35.014Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:26:35.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:35.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:35.275Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:35.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:35.275Z] [2023-03-16T15:26:35.275Z] Login Succeeded [2023-03-16T15:26:35.275Z] docker.io [2023-03-16T15:26:35.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:35.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:35.535Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:35.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:35.535Z] [2023-03-16T15:26:35.535Z] Login Succeeded [2023-03-16T15:26:35.535Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:26:35.544Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T15:26:35.904Z] + git rev-list -1 --merges d4bbd9ed7eee375f230a7eeba6330239cf91ecb0~1..d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [Pipeline] echo [2023-03-16T15:26:35.942Z] -----------> git rev-list -1 --merges d4bbd9ed7eee375f230a7eeba6330239cf91ecb0~1..d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [2023-03-16T15:26:35.942Z] d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [false] [Pipeline] sh [2023-03-16T15:26:36.230Z] + git log --format=format:%s -1 d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [Pipeline] echo [2023-03-16T15:26:36.244Z] ========================================================= [2023-03-16T15:26:36.244Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T15:26:36.244Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T15:26:36.554Z] + git log --format=format:%s -1 d4bbd9ed7eee375f230a7eeba6330239cf91ecb0 [Pipeline] echo [2023-03-16T15:26:36.564Z] [semverPrep] GIT_COMMIT: d4bbd9ed7eee375f230a7eeba6330239cf91ecb0, Commit Message: Merge commit '965f04e6862849b37eeb3a58b1f16c31f2ab2615' into HEAD [Pipeline] echo [2023-03-16T15:26:36.573Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T15:26:36.901Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T15:26:36.901Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T15:26:36.901Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T15:26:36.901Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T15:26:36.901Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T15:26:36.901Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T15:26:36.901Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:26:37.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:26:37.250Z] [2023-03-16T15:26:37.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:26:37.543Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:26:37.543Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T15:26:37.543Z] b85a868b505f: Pulling fs layer [2023-03-16T15:26:37.543Z] e2be974225ed: Pulling fs layer [2023-03-16T15:26:37.543Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T15:26:37.543Z] 988bab9f4d93: Pulling fs layer [2023-03-16T15:26:37.543Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T15:26:37.543Z] eaf3925da568: Pulling fs layer [2023-03-16T15:26:37.543Z] bab4dde63d76: Pulling fs layer [2023-03-16T15:26:37.543Z] bde34c3a00c8: Pulling fs layer [2023-03-16T15:26:37.543Z] b352a97aabf1: Pulling fs layer [2023-03-16T15:26:37.543Z] 4872d77fe225: Pulling fs layer [2023-03-16T15:26:37.543Z] 5851b861e8e6: Pulling fs layer [2023-03-16T15:26:37.543Z] bde34c3a00c8: Waiting [2023-03-16T15:26:37.543Z] b352a97aabf1: Waiting [2023-03-16T15:26:37.543Z] 5851b861e8e6: Waiting [2023-03-16T15:26:37.543Z] eaf3925da568: Waiting [2023-03-16T15:26:37.543Z] bab4dde63d76: Waiting [2023-03-16T15:26:37.543Z] 4872d77fe225: Waiting [2023-03-16T15:26:37.543Z] 988bab9f4d93: Waiting [2023-03-16T15:26:37.543Z] 1469e6f7b9e6: Waiting [2023-03-16T15:26:37.543Z] e2be974225ed: Verifying Checksum [2023-03-16T15:26:37.543Z] e2be974225ed: Download complete [2023-03-16T15:26:37.543Z] 988bab9f4d93: Verifying Checksum [2023-03-16T15:26:37.543Z] 988bab9f4d93: Download complete [2023-03-16T15:26:37.804Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T15:26:37.804Z] 1469e6f7b9e6: Download complete [2023-03-16T15:26:37.804Z] eaf3925da568: Verifying Checksum [2023-03-16T15:26:37.804Z] eaf3925da568: Download complete [2023-03-16T15:26:37.804Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T15:26:37.804Z] 339a4e72a1f5: Download complete [2023-03-16T15:26:37.804Z] bde34c3a00c8: Verifying Checksum [2023-03-16T15:26:37.804Z] bde34c3a00c8: Download complete [2023-03-16T15:26:37.804Z] b352a97aabf1: Download complete [2023-03-16T15:26:37.804Z] 4872d77fe225: Verifying Checksum [2023-03-16T15:26:37.804Z] 4872d77fe225: Download complete [2023-03-16T15:26:37.804Z] 5851b861e8e6: Download complete [2023-03-16T15:26:37.804Z] b85a868b505f: Verifying Checksum [2023-03-16T15:26:37.804Z] b85a868b505f: Download complete [2023-03-16T15:26:38.063Z] bab4dde63d76: Verifying Checksum [2023-03-16T15:26:38.063Z] bab4dde63d76: Download complete [2023-03-16T15:26:39.438Z] b85a868b505f: Pull complete [2023-03-16T15:26:40.375Z] e2be974225ed: Pull complete [2023-03-16T15:26:41.754Z] 339a4e72a1f5: Pull complete [2023-03-16T15:26:42.014Z] 988bab9f4d93: Pull complete [2023-03-16T15:26:42.955Z] 1469e6f7b9e6: Pull complete [2023-03-16T15:26:43.215Z] eaf3925da568: Pull complete [2023-03-16T15:26:45.122Z] bab4dde63d76: Pull complete [2023-03-16T15:26:45.122Z] bde34c3a00c8: Pull complete [2023-03-16T15:26:45.381Z] b352a97aabf1: Pull complete [2023-03-16T15:26:45.381Z] 4872d77fe225: Pull complete [2023-03-16T15:26:45.381Z] 5851b861e8e6: Pull complete [2023-03-16T15:26:45.641Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T15:26:45.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T15:26:45.641Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:26:45.741Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-03-16T15:26:45.843Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@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/py-git-semver:0.1.4 cat [2023-03-16T15:26:48.798Z] $ docker top 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 -eo pid,comm [2023-03-16T15:26:48.860Z] 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-03-16T15:26:48.860Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T15:26:48.902Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T15:26:48.902Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T15:26:49.017Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T15:26:49.025Z] $ docker exec 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 ssh-agent [2023-03-16T15:26:49.135Z] SSH_AUTH_SOCK=/tmp/ssh-TyAU3JXU7MNY/agent.32 [2023-03-16T15:26:49.135Z] SSH_AGENT_PID=38 [2023-03-16T15:26:49.141Z] Running ssh-add (command line suppressed) [2023-03-16T15:26:49.252Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/private_key_7089042446133777737.key (/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/private_key_7089042446133777737.key) [2023-03-16T15:26:49.260Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T15:26:49.540Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T15:26:49.563Z] $ docker exec --env ******** --env ******** 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 ssh-agent -k [2023-03-16T15:26:49.663Z] unset SSH_AUTH_SOCK; [2023-03-16T15:26:49.663Z] unset SSH_AGENT_PID; [2023-03-16T15:26:49.664Z] echo Agent pid 38 killed; [2023-03-16T15:26:49.669Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T15:26:49.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T15:26:49.696Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T15:26:49.815Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T15:26:49.822Z] $ docker exec 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 ssh-agent [2023-03-16T15:26:49.930Z] SSH_AUTH_SOCK=/tmp/ssh-azrxas3YEON3/agent.70 [2023-03-16T15:26:49.930Z] SSH_AGENT_PID=76 [2023-03-16T15:26:49.935Z] Running ssh-add (command line suppressed) [2023-03-16T15:26:50.053Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/private_key_3224069241302798723.key (/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/private_key_3224069241302798723.key) [2023-03-16T15:26:50.062Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T15:26:50.346Z] + git semver init [2023-03-16T15:26:50.605Z] 2023-03-16 15:26:50,539 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T15:26:50.605Z] 2023-03-16 15:26:50,540 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver [2023-03-16T15:26:50.605Z] 2023-03-16 15:26:50,540 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-264/.semver [2023-03-16T15:26:50.605Z] 2023-03-16 15:26:50,541 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-264, universal_newlines=False, shell=None, istream=None) [2023-03-16T15:26:51.542Z] 2023-03-16 15:26:51,305 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-264/.git/info/exclude [2023-03-16T15:26:51.542Z] 2023-03-16 15:26:51,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver/PR-264 with force:False [2023-03-16T15:26:51.542Z] 2023-03-16 15:26:51,305 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver/PR-264 [2023-03-16T15:26:51.542Z] 2023-03-16 15:26:51,310 [execute] INFO git cat-file --batch-check [2023-03-16T15:26:51.542Z] 2023-03-16 15:26:51,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T15:26:51.542Z] 2023-03-16 15:26:51,317 [execute] INFO git cat-file --batch [2023-03-16T15:26:51.542Z] 2023-03-16 15:26:51,317 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-264/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T15:26:51.542Z] 2023-03-16 15:26:51,322 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-264/.semver/PR-264 [2023-03-16T15:26:51.542Z] 0.0.0 [Pipeline] } [2023-03-16T15:26:51.569Z] $ docker exec --env ******** --env ******** 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 ssh-agent -k [2023-03-16T15:26:51.670Z] unset SSH_AUTH_SOCK; [2023-03-16T15:26:51.671Z] unset SSH_AGENT_PID; [2023-03-16T15:26:51.671Z] echo Agent pid 76 killed; [2023-03-16T15:26:51.682Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T15:26:51.988Z] + git semver [Pipeline] } [2023-03-16T15:26:52.268Z] $ docker stop --time=1 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 [2023-03-16T15:26:53.584Z] $ docker rm -f --volumes 721753d75561faeac1099f00a7502bcb40ef4c2c3177e3af7a5e4a1f0efa47c5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T15:26:53.918Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T15:26:54.148Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T15:26:54.151Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:26:54.295Z] provisioning config files... [2023-03-16T15:26:54.306Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/config17468321795163697058tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:26:54.600Z] ---> docker-login.sh [2023-03-16T15:26:54.600Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:26:54.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:54.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:54.600Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:54.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:54.600Z] [2023-03-16T15:26:54.600Z] Login Succeeded [2023-03-16T15:26:54.600Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:26:54.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:54.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:54.600Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:54.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:54.600Z] [2023-03-16T15:26:54.600Z] Login Succeeded [2023-03-16T15:26:54.600Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:26:54.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:54.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:54.858Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:54.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:54.859Z] [2023-03-16T15:26:54.859Z] Login Succeeded [2023-03-16T15:26:54.859Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:26:54.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:54.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:54.859Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:54.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:54.859Z] [2023-03-16T15:26:54.859Z] Login Succeeded [2023-03-16T15:26:54.859Z] docker.io [2023-03-16T15:26:55.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:26:55.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:26:55.118Z] Configure a credential helper to remove this warning. See [2023-03-16T15:26:55.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:26:55.118Z] [2023-03-16T15:26:55.118Z] Login Succeeded [2023-03-16T15:26:55.118Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:26:55.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T15:26:55.180Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:26:55.190Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:26:55.196Z] ========================================================= [2023-03-16T15:26:55.196Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T15:26:55.196Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:26:55.514Z] + 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-03-16T15:26:55.514Z] Sending build context to Docker daemon 5.73MB [2023-03-16T15:26:55.514Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:26:55.514Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T15:26:55.514Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T15:26:55.514Z] 63b65145d645: Pulling fs layer [2023-03-16T15:26:55.514Z] a2d21d5440eb: Pulling fs layer [2023-03-16T15:26:55.514Z] 935e6c44a52c: Pulling fs layer [2023-03-16T15:26:55.514Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T15:26:55.514Z] 30dea6a524f1: Pulling fs layer [2023-03-16T15:26:55.514Z] a2aff8979fd8: Pulling fs layer [2023-03-16T15:26:55.514Z] 6808be2612f2: Pulling fs layer [2023-03-16T15:26:55.514Z] f25807f1079a: Pulling fs layer [2023-03-16T15:26:55.514Z] 30dea6a524f1: Waiting [2023-03-16T15:26:55.514Z] 94cc34f8dd06: Waiting [2023-03-16T15:26:55.514Z] a2aff8979fd8: Waiting [2023-03-16T15:26:55.514Z] f25807f1079a: Waiting [2023-03-16T15:26:55.514Z] 6808be2612f2: Waiting [2023-03-16T15:26:55.774Z] a2d21d5440eb: Verifying Checksum [2023-03-16T15:26:55.774Z] a2d21d5440eb: Download complete [2023-03-16T15:26:55.774Z] 94cc34f8dd06: Download complete [2023-03-16T15:26:55.774Z] 30dea6a524f1: Verifying Checksum [2023-03-16T15:26:55.774Z] 30dea6a524f1: Download complete [2023-03-16T15:26:55.774Z] 63b65145d645: Verifying Checksum [2023-03-16T15:26:55.774Z] 63b65145d645: Download complete [2023-03-16T15:26:55.774Z] a2aff8979fd8: Verifying Checksum [2023-03-16T15:26:55.774Z] a2aff8979fd8: Download complete [2023-03-16T15:26:56.039Z] 63b65145d645: Pull complete [2023-03-16T15:26:56.303Z] a2d21d5440eb: Pull complete [2023-03-16T15:26:56.303Z] f25807f1079a: Verifying Checksum [2023-03-16T15:26:56.303Z] f25807f1079a: Download complete [2023-03-16T15:26:56.561Z] 935e6c44a52c: Verifying Checksum [2023-03-16T15:26:56.561Z] 935e6c44a52c: Download complete [2023-03-16T15:26:56.561Z] 6808be2612f2: Verifying Checksum [2023-03-16T15:26:56.561Z] 6808be2612f2: Download complete [2023-03-16T15:27:00.748Z] 935e6c44a52c: Pull complete [2023-03-16T15:27:00.748Z] 94cc34f8dd06: Pull complete [2023-03-16T15:27:00.748Z] 30dea6a524f1: Pull complete [2023-03-16T15:27:00.748Z] a2aff8979fd8: Pull complete [2023-03-16T15:27:03.273Z] 6808be2612f2: Pull complete [2023-03-16T15:27:03.845Z] f25807f1079a: Pull complete [2023-03-16T15:27:03.845Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T15:27:03.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T15:27:04.105Z] ---> 3b553350e43f [2023-03-16T15:27:04.105Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:27:09.252Z] Still waiting to schedule task [2023-03-16T15:27:09.252Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-16T15:27:16.319Z] ---> Running in 22d6e4251f8a [2023-03-16T15:27:16.319Z] Removing intermediate container 22d6e4251f8a [2023-03-16T15:27:16.319Z] ---> 44ccb6562445 [2023-03-16T15:27:16.319Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:27:16.319Z] ---> Running in 2e53012f023d [2023-03-16T15:27:16.319Z] Removing intermediate container 2e53012f023d [2023-03-16T15:27:16.319Z] ---> 1f3b28fa6478 [2023-03-16T15:27:16.319Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:27:16.319Z] ---> Running in b05fc480def2 [2023-03-16T15:27:16.578Z] Removing intermediate container b05fc480def2 [2023-03-16T15:27:16.578Z] ---> acfa9f563ffd [2023-03-16T15:27:16.578Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:27:16.838Z] ---> Running in 85771b561742 [2023-03-16T15:27:17.097Z] Removing intermediate container 85771b561742 [2023-03-16T15:27:17.097Z] ---> b37745c03889 [2023-03-16T15:27:17.097Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:27:17.097Z] ---> Running in 83f3e47a5708 [2023-03-16T15:27:17.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T15:27:17.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T15:27:18.190Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T15:27:18.190Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T15:27:18.190Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T15:27:18.190Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T15:27:18.190Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:27:18.190Z] OK: 269 MiB in 57 packages [2023-03-16T15:27:19.125Z] Removing intermediate container 83f3e47a5708 [2023-03-16T15:27:19.125Z] ---> 9fff8ae27947 [2023-03-16T15:27:19.125Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-16T15:27:19.125Z] ---> Running in c5d9e2a6777c [2023-03-16T15:27:19.125Z] Removing intermediate container c5d9e2a6777c [2023-03-16T15:27:19.125Z] ---> febea1685d55 [2023-03-16T15:27:19.125Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T15:27:19.384Z] ---> 430b3680bce1 [2023-03-16T15:27:19.384Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:27:19.384Z] ---> Running in bfa535520fb1 [2023-03-16T15:27:51.624Z] Removing intermediate container bfa535520fb1 [2023-03-16T15:27:51.624Z] ---> acc8e310a6fe [2023-03-16T15:27:51.624Z] Step 11/12 : COPY . . [2023-03-16T15:27:51.624Z] ---> dd4b2e90f95f [2023-03-16T15:27:51.624Z] Step 12/12 : RUN ${MAKE} [2023-03-16T15:27:51.624Z] ---> Running in 5f0f6546d139 [2023-03-16T15:27:51.624Z] noop [2023-03-16T15:27:51.624Z] Removing intermediate container 5f0f6546d139 [2023-03-16T15:27:51.624Z] ---> b505fd2c6dc3 [2023-03-16T15:27:51.624Z] Successfully built b505fd2c6dc3 [2023-03-16T15:27:51.624Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:27:51.942Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T15:27:51.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:27:52.018Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-03-16T15:27:52.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T15:27:52.572Z] $ docker top e3c0014014e1024faf199b519a1cb1c314fd8da1f9b61b9c59130a48477365af -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:27:52.917Z] + go version [2023-03-16T15:27:52.917Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T15:27:52.931Z] $ docker stop --time=1 e3c0014014e1024faf199b519a1cb1c314fd8da1f9b61b9c59130a48477365af [2023-03-16T15:27:54.379Z] $ docker rm -f --volumes e3c0014014e1024faf199b519a1cb1c314fd8da1f9b61b9c59130a48477365af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:27:54.842Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T15:27:54.842Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:27:54.915Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-03-16T15:27:54.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-snmp-go_PR-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T15:27:55.746Z] $ docker top 645510e95f8d31462f34eb48ad1233047f1852d62c4f711ea4312deb4c33fb49 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:27:56.091Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-264 [Pipeline] fileExists [Pipeline] sh [2023-03-16T15:27:56.391Z] + make test [2023-03-16T15:27:56.391Z] go test ./... -coverprofile=coverage.out [2023-03-16T15:28:01.676Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-16T15:28:09.796Z] # github.com/edgexfoundry/device-snmp-go/internal/driver [2023-03-16T15:28:09.796Z] internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as string value in argument to strconv.ParseUint: need type assertion [2023-03-16T15:28:09.796Z] internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as string value in argument to NewSNMPClient: need type assertion [2023-03-16T15:28:12.324Z] FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] [2023-03-16T15:28:12.324Z] FAIL [2023-03-16T15:28:12.324Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-16T15:28:12.340Z] $ docker stop --time=1 645510e95f8d31462f34eb48ad1233047f1852d62c4f711ea4312deb4c33fb49 [2023-03-16T15:28:17.814Z] $ docker rm -f --volumes 645510e95f8d31462f34eb48ad1233047f1852d62c4f711ea4312deb4c33fb49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:28:18.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:28:18.431Z] [2023-03-16T15:28:18.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:28:18.732Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:28:18.732Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T15:28:18.732Z] 5eb5b503b376: Pulling fs layer [2023-03-16T15:28:18.732Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T15:28:18.732Z] ec43610c2a17: Pulling fs layer [2023-03-16T15:28:18.732Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T15:28:18.732Z] 33b1e0a273af: Pulling fs layer [2023-03-16T15:28:18.732Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T15:28:18.732Z] 2f39f015ded8: Pulling fs layer [2023-03-16T15:28:18.732Z] 33b1e0a273af: Waiting [2023-03-16T15:28:18.732Z] 5d3b04190fa2: Waiting [2023-03-16T15:28:18.732Z] 2f39f015ded8: Waiting [2023-03-16T15:28:18.732Z] 3a2ae6a8a46f: Waiting [2023-03-16T15:28:18.993Z] 5c69ac0246d0: Download complete [2023-03-16T15:28:18.993Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T15:28:18.993Z] 3a2ae6a8a46f: Download complete [2023-03-16T15:28:18.993Z] 33b1e0a273af: Verifying Checksum [2023-03-16T15:28:18.993Z] 33b1e0a273af: Download complete [2023-03-16T15:28:18.993Z] 5d3b04190fa2: Verifying Checksum [2023-03-16T15:28:18.993Z] 5d3b04190fa2: Download complete [2023-03-16T15:28:18.993Z] ec43610c2a17: Verifying Checksum [2023-03-16T15:28:18.993Z] ec43610c2a17: Download complete [2023-03-16T15:28:19.253Z] 5eb5b503b376: Verifying Checksum [2023-03-16T15:28:19.253Z] 5eb5b503b376: Download complete [2023-03-16T15:28:19.821Z] 2f39f015ded8: Download complete [2023-03-16T15:28:20.389Z] 5eb5b503b376: Pull complete [2023-03-16T15:28:20.648Z] 5c69ac0246d0: Pull complete [2023-03-16T15:28:21.224Z] ec43610c2a17: Pull complete [2023-03-16T15:28:21.224Z] 3a2ae6a8a46f: Pull complete [2023-03-16T15:28:21.489Z] 33b1e0a273af: Pull complete [2023-03-16T15:28:21.489Z] 5d3b04190fa2: Pull complete [2023-03-16T15:28:26.852Z] 2f39f015ded8: Pull complete [2023-03-16T15:28:26.852Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T15:28:26.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:28:26.852Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:28:26.933Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-03-16T15:28:26.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T15:28:31.937Z] $ docker top 17689ed4d37fb193c9ee2d1a12f615af9d754a14c16af68982a457f149fa688f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:28:32.302Z] ---> job-cost.sh [2023-03-16T15:28:32.302Z] lf-activate-venv: SKIPPING [2023-03-16T15:28:32.302Z] INFO: No Stack... [2023-03-16T15:28:32.560Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T15:28:33.128Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T15:28:33.426Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-264/archives/cost.csv [2023-03-16T15:28:33.426Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T15:28:33.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [2023-03-16T15:28:33.446Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] did not exist. Created. [2023-03-16T15:28:33.446Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T15:28:33.744Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T15:28:33.783Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T15:28:33.789Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T15:28:33.809Z] $ docker stop --time=1 17689ed4d37fb193c9ee2d1a12f615af9d754a14c16af68982a457f149fa688f [2023-03-16T15:28:34.972Z] $ docker rm -f --volumes 17689ed4d37fb193c9ee2d1a12f615af9d754a14c16af68982a457f149fa688f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T15:28:35.064Z] Failed in branch amd64 [2023-03-16T15:30:36.675Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2463 in /w/workspace/gexfoundry_device-snmp-go_PR-264 [Pipeline] { [Pipeline] ws [2023-03-16T15:30:36.688Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2023-03-16T15:30:36.785Z] Selected Git installation does not exist. Using Default [2023-03-16T15:30:36.785Z] The recommended git tool is: NONE [2023-03-16T15:30:48.201Z] using credential edgex-jenkins-ssh [2023-03-16T15:30:48.220Z] Cloning the remote Git repository [2023-03-16T15:30:48.314Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2023-03-16T15:30:48.519Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2023-03-16T15:30:48.848Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-16T15:30:48.850Z] > git --version # timeout=10 [2023-03-16T15:30:48.890Z] > git --version # 'git version 2.25.1' [2023-03-16T15:30:48.894Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T15:30:49.178Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T15:30:50.519Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-16T15:30:50.570Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T15:30:52.013Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2023-03-16T15:30:52.099Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2023-03-16T15:30:52.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T15:30:52.119Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/264/head:refs/remotes/origin/PR-264 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T15:30:52.675Z] Merging remotes/origin/main commit 965f04e6862849b37eeb3a58b1f16c31f2ab2615 into PR head commit d96222f651e8a4e4cb72048a498f637781793625 [2023-03-16T15:30:53.206Z] Merge succeeded, producing 7f16c0a50a741a0710b6283eef1988f150b7a114 [2023-03-16T15:30:53.206Z] Checking out Revision 7f16c0a50a741a0710b6283eef1988f150b7a114 (PR-264) [2023-03-16T15:30:52.700Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T15:30:52.854Z] > git checkout -f d96222f651e8a4e4cb72048a498f637781793625 # timeout=10 [2023-03-16T15:30:52.998Z] > git remote # timeout=10 [2023-03-16T15:30:53.038Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T15:30:53.060Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T15:30:53.078Z] > git merge 965f04e6862849b37eeb3a58b1f16c31f2ab2615 # timeout=10 [2023-03-16T15:30:53.150Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T15:30:53.214Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T15:30:53.236Z] > git checkout -f 7f16c0a50a741a0710b6283eef1988f150b7a114 # timeout=10 [2023-03-16T15:30:56.890Z] Commit message: "Merge commit '965f04e6862849b37eeb3a58b1f16c31f2ab2615' into HEAD" [2023-03-16T15:30:56.901Z] > git rev-list --no-walk d96222f651e8a4e4cb72048a498f637781793625 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T15:30:57.882Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T15:30:57.882Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T15:30:57.882Z] Dload Upload Total Spent Left Speed [2023-03-16T15:30:57.882Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-03-16T15:30:58.717Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T15:30:59.060Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-03-16T15:30:59.060Z] /etc/docker/daemon.json [2023-03-16T15:30:59.060Z] { [2023-03-16T15:30:59.060Z] "registry-mirrors": [ [2023-03-16T15:30:59.060Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T15:30:59.060Z] ], [2023-03-16T15:30:59.060Z] "bip": "10.250.0.254/24", [2023-03-16T15:30:59.060Z] "hosts": [ [2023-03-16T15:30:59.060Z] "tcp://0.0.0.0:5555", [2023-03-16T15:30:59.060Z] "unix:///var/run/docker.sock" [2023-03-16T15:30:59.060Z] ], [2023-03-16T15:30:59.060Z] "mtu": 1458, [2023-03-16T15:30:59.060Z] "selinux-enabled": true, [2023-03-16T15:30:59.060Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T15:30:59.060Z] } [Pipeline] sh [2023-03-16T15:30:59.398Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T15:30:59.754Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:31:18.057Z] provisioning config files... [2023-03-16T15:31:18.091Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config4346029424475802432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:31:18.464Z] ---> docker-login.sh [2023-03-16T15:31:18.465Z] nexus3.edgexfoundry.org:10001 [2023-03-16T15:31:19.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:31:19.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:31:19.068Z] Configure a credential helper to remove this warning. See [2023-03-16T15:31:19.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:31:19.068Z] [2023-03-16T15:31:19.068Z] Login Succeeded [2023-03-16T15:31:19.068Z] nexus3.edgexfoundry.org:10002 [2023-03-16T15:31:19.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:31:19.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:31:19.669Z] Configure a credential helper to remove this warning. See [2023-03-16T15:31:19.669Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:31:19.669Z] [2023-03-16T15:31:19.669Z] Login Succeeded [2023-03-16T15:31:19.669Z] nexus3.edgexfoundry.org:10003 [2023-03-16T15:31:19.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:31:19.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:31:19.942Z] Configure a credential helper to remove this warning. See [2023-03-16T15:31:19.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:31:19.942Z] [2023-03-16T15:31:19.942Z] Login Succeeded [2023-03-16T15:31:19.942Z] nexus3.edgexfoundry.org:10004 [2023-03-16T15:31:20.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:31:20.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:31:20.490Z] Configure a credential helper to remove this warning. See [2023-03-16T15:31:20.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:31:20.490Z] [2023-03-16T15:31:20.490Z] Login Succeeded [2023-03-16T15:31:20.490Z] docker.io [2023-03-16T15:31:20.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T15:31:21.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T15:31:21.031Z] Configure a credential helper to remove this warning. See [2023-03-16T15:31:21.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T15:31:21.031Z] [2023-03-16T15:31:21.031Z] Login Succeeded [2023-03-16T15:31:21.031Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T15:31:21.045Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T15:31:21.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:31:21.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T15:31:21.395Z] ========================================================= [2023-03-16T15:31:21.395Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T15:31:21.395Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:31:21.758Z] + 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-03-16T15:31:22.033Z] Sending build context to Docker daemon 2.966MB [2023-03-16T15:31:22.033Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T15:31:22.033Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-16T15:31:22.309Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T15:31:22.309Z] af6eaf76a39c: Pulling fs layer [2023-03-16T15:31:22.309Z] 55522c791124: Pulling fs layer [2023-03-16T15:31:22.309Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T15:31:22.309Z] 169dfbe0d373: Pulling fs layer [2023-03-16T15:31:22.309Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T15:31:22.309Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T15:31:22.309Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T15:31:22.309Z] e1ff8fa3b103: Waiting [2023-03-16T15:31:22.309Z] 52ebb69f0ebf: Waiting [2023-03-16T15:31:22.309Z] 5abe8eddf0d5: Waiting [2023-03-16T15:31:22.309Z] 169dfbe0d373: Waiting [2023-03-16T15:31:22.309Z] 55522c791124: Verifying Checksum [2023-03-16T15:31:22.309Z] 55522c791124: Download complete [2023-03-16T15:31:22.309Z] 169dfbe0d373: Verifying Checksum [2023-03-16T15:31:22.309Z] 169dfbe0d373: Download complete [2023-03-16T15:31:22.309Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T15:31:22.309Z] e1ff8fa3b103: Download complete [2023-03-16T15:31:22.585Z] af6eaf76a39c: Verifying Checksum [2023-03-16T15:31:23.181Z] af6eaf76a39c: Pull complete [2023-03-16T15:31:24.179Z] 55522c791124: Pull complete [2023-03-16T15:31:24.179Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T15:31:24.179Z] 5abe8eddf0d5: Download complete [2023-03-16T15:31:25.624Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T15:31:25.624Z] ce5c4a1c91eb: Download complete [2023-03-16T15:31:25.624Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T15:31:25.624Z] 52ebb69f0ebf: Download complete [2023-03-16T15:31:37.968Z] ce5c4a1c91eb: Pull complete [2023-03-16T15:31:37.968Z] 169dfbe0d373: Pull complete [2023-03-16T15:31:37.968Z] e1ff8fa3b103: Pull complete [2023-03-16T15:31:43.333Z] 52ebb69f0ebf: Pull complete [2023-03-16T15:31:45.315Z] 5abe8eddf0d5: Pull complete [2023-03-16T15:31:45.315Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T15:31:45.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T15:31:45.315Z] ---> 6cb57ee374ae [2023-03-16T15:31:45.315Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-16T15:31:46.769Z] ---> Running in 077a669262b4 [2023-03-16T15:31:47.041Z] Removing intermediate container 077a669262b4 [2023-03-16T15:31:47.041Z] ---> 07d9f5d3ecc9 [2023-03-16T15:31:47.041Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T15:31:47.041Z] ---> Running in 012aeaa10c20 [2023-03-16T15:31:47.630Z] Removing intermediate container 012aeaa10c20 [2023-03-16T15:31:47.630Z] ---> 24aefcd767eb [2023-03-16T15:31:47.630Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-16T15:31:47.630Z] ---> Running in 977327a56fa8 [2023-03-16T15:31:47.905Z] Removing intermediate container 977327a56fa8 [2023-03-16T15:31:47.905Z] ---> e2ec5b7d5c43 [2023-03-16T15:31:47.905Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T15:31:47.905Z] ---> Running in 7b627a5464ac [2023-03-16T15:31:48.495Z] Removing intermediate container 7b627a5464ac [2023-03-16T15:31:48.495Z] ---> 51f6ea65f74b [2023-03-16T15:31:48.496Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T15:31:48.496Z] ---> Running in 96e0baa91534 [2023-03-16T15:31:49.921Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T15:31:50.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T15:31:51.479Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-16T15:31:51.479Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-16T15:31:51.752Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-16T15:31:51.752Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-16T15:31:51.752Z] Executing busybox-1.35.0-r29.trigger [2023-03-16T15:31:51.752Z] OK: 268 MiB in 57 packages [2023-03-16T15:31:53.180Z] Removing intermediate container 96e0baa91534 [2023-03-16T15:31:53.180Z] ---> 47d86e70976e [2023-03-16T15:31:53.180Z] Step 8/12 : WORKDIR /device-snmp-go [2023-03-16T15:31:53.180Z] ---> Running in 93fa364ae358 [2023-03-16T15:31:53.451Z] Removing intermediate container 93fa364ae358 [2023-03-16T15:31:53.451Z] ---> c4d64c0aad4c [2023-03-16T15:31:53.451Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-16T15:31:54.040Z] ---> 169f53130508 [2023-03-16T15:31:54.040Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T15:31:54.040Z] ---> Running in 1f4e621eef32 [2023-03-16T15:33:01.977Z] Removing intermediate container 1f4e621eef32 [2023-03-16T15:33:01.977Z] ---> 8e8c66168146 [2023-03-16T15:33:01.977Z] Step 11/12 : COPY . . [2023-03-16T15:33:01.977Z] ---> 9812f5b2c3c3 [2023-03-16T15:33:01.977Z] Step 12/12 : RUN ${MAKE} [2023-03-16T15:33:01.977Z] ---> Running in b493a0db1fbc [2023-03-16T15:33:01.977Z] noop [2023-03-16T15:33:01.977Z] Removing intermediate container b493a0db1fbc [2023-03-16T15:33:01.978Z] ---> 0401863728e1 [2023-03-16T15:33:01.978Z] Successfully built 0401863728e1 [2023-03-16T15:33:01.978Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:33:02.346Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T15:33:02.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:33:02.588Z] prd-ubuntu20.04-docker-arm64-4c-16g-2463 does not seem to be running inside a container [2023-03-16T15:33:02.673Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T15:33:04.015Z] $ docker top d7d4c58c4e739be3c7cd4835b581db0da299256e853b7f62204bbf6aa2822518 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:33:04.877Z] + go version [2023-03-16T15:33:04.878Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T15:33:04.901Z] $ docker stop --time=1 d7d4c58c4e739be3c7cd4835b581db0da299256e853b7f62204bbf6aa2822518 [2023-03-16T15:33:06.588Z] $ docker rm -f --volumes d7d4c58c4e739be3c7cd4835b581db0da299256e853b7f62204bbf6aa2822518 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:33:07.159Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T15:33:07.159Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:33:07.366Z] prd-ubuntu20.04-docker-arm64-4c-16g-2463 does not seem to be running inside a container [2023-03-16T15:33:07.443Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T15:33:08.668Z] $ docker top 51dfc5d76f48c53977fde619b6a90cc1fc13f52daba96695f2c5e45673fe47aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:33:09.165Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-16T15:33:10.093Z] + make test [2023-03-16T15:33:10.093Z] go test ./... -coverprofile=coverage.out [2023-03-16T15:33:48.989Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2023-03-16T15:35:10.655Z] # github.com/edgexfoundry/device-snmp-go/internal/driver [2023-03-16T15:35:10.655Z] internal/driver/snmpdriver.go:79:33: cannot use Port (variable of type any) as string value in argument to strconv.ParseUint: need type assertion [2023-03-16T15:35:10.655Z] internal/driver/snmpdriver.go:87:26: cannot use Address (variable of type any) as string value in argument to NewSNMPClient: need type assertion [2023-03-16T15:35:42.921Z] FAIL github.com/edgexfoundry/device-snmp-go/internal/driver [build failed] [2023-03-16T15:35:42.921Z] FAIL [2023-03-16T15:35:42.921Z] make: *** [Makefile:35: unittest] Error 1 [Pipeline] } [2023-03-16T15:35:42.942Z] $ docker stop --time=1 51dfc5d76f48c53977fde619b6a90cc1fc13f52daba96695f2c5e45673fe47aa [2023-03-16T15:35:45.673Z] $ docker rm -f --volumes 51dfc5d76f48c53977fde619b6a90cc1fc13f52daba96695f2c5e45673fe47aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:35:46.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T15:35:46.890Z] [2023-03-16T15:35:46.890Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:35:47.225Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T15:35:47.225Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T15:35:47.225Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T15:35:47.225Z] 04944245beec: Pulling fs layer [2023-03-16T15:35:47.225Z] 699f458cf7ca: Pulling fs layer [2023-03-16T15:35:47.225Z] 765212b225bb: Pulling fs layer [2023-03-16T15:35:47.225Z] f23df028b6ca: Pulling fs layer [2023-03-16T15:35:47.225Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T15:35:47.225Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T15:35:47.225Z] 765212b225bb: Waiting [2023-03-16T15:35:47.225Z] f23df028b6ca: Waiting [2023-03-16T15:35:47.225Z] d65c8cfc05b1: Waiting [2023-03-16T15:35:47.225Z] 2437ff75d9bd: Waiting [2023-03-16T15:35:47.498Z] 04944245beec: Verifying Checksum [2023-03-16T15:35:47.498Z] 04944245beec: Download complete [2023-03-16T15:35:47.498Z] 765212b225bb: Verifying Checksum [2023-03-16T15:35:47.498Z] 765212b225bb: Download complete [2023-03-16T15:35:47.498Z] f23df028b6ca: Verifying Checksum [2023-03-16T15:35:47.498Z] f23df028b6ca: Download complete [2023-03-16T15:35:47.498Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T15:35:47.498Z] d65c8cfc05b1: Download complete [2023-03-16T15:35:47.771Z] 699f458cf7ca: Verifying Checksum [2023-03-16T15:35:47.771Z] 699f458cf7ca: Download complete [2023-03-16T15:35:48.040Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T15:35:48.040Z] 8998bd30e6a1: Download complete [2023-03-16T15:35:50.622Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T15:35:50.622Z] 2437ff75d9bd: Download complete [2023-03-16T15:35:51.582Z] 8998bd30e6a1: Pull complete [2023-03-16T15:35:52.174Z] 04944245beec: Pull complete [2023-03-16T15:35:53.586Z] 699f458cf7ca: Pull complete [2023-03-16T15:35:53.586Z] 765212b225bb: Pull complete [2023-03-16T15:35:54.547Z] f23df028b6ca: Pull complete [2023-03-16T15:35:54.547Z] d65c8cfc05b1: Pull complete [2023-03-16T15:36:06.863Z] 2437ff75d9bd: Pull complete [2023-03-16T15:36:06.863Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T15:36:06.863Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T15:36:06.863Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:36:07.130Z] prd-ubuntu20.04-docker-arm64-4c-16g-2463 does not seem to be running inside a container [2023-03-16T15:36:07.222Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T15:36:10.064Z] $ docker top 12678cfcd71fa9d64458ec7afc9b52c5915b3efae4a761cd9f47dd7fc7b0ebbe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:36:10.949Z] ---> job-cost.sh [2023-03-16T15:36:10.949Z] lf-activate-venv: SKIPPING [2023-03-16T15:36:10.949Z] INFO: No Stack... [2023-03-16T15:36:11.229Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T15:36:12.223Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T15:36:12.882Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2023-03-16T15:36:12.882Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T15:36:12.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [2023-03-16T15:36:12.962Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] did not exist. Created. [2023-03-16T15:36:12.962Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T15:36:13.644Z] /w/workspace/device-snmp-go/2@tmp/durable-130cbbb1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T15:36:14.313Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T15:36:14.336Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T15:36:14.808Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T15:36:14.815Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-264-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T15:36:14.838Z] $ docker stop --time=1 12678cfcd71fa9d64458ec7afc9b52c5915b3efae4a761cd9f47dd7fc7b0ebbe [2023-03-16T15:36:16.382Z] $ docker rm -f --volumes 12678cfcd71fa9d64458ec7afc9b52c5915b3efae4a761cd9f47dd7fc7b0ebbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T15:36:16.640Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-03-16T15:36:17.319Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-264/archives ] [2023-03-16T15:36:17.319Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-264/archives [2023-03-16T15:36:17.319Z] total 16 [2023-03-16T15:36:17.319Z] drwxr-xr-x 3 root root 4096 Mar 16 15:28 . [2023-03-16T15:36:17.319Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:28 .. [2023-03-16T15:36:17.319Z] drwxr-xr-x 2 root root 4096 Mar 16 15:28 cost [2023-03-16T15:36:17.319Z] -rw-r--r-- 1 root root 86 Mar 16 15:28 cost.csv [2023-03-16T15:36:17.319Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-264/archives [2023-03-16T15:36:17.319Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-264/archives [2023-03-16T15:36:17.319Z] total 16 [2023-03-16T15:36:17.319Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 15:28 . [2023-03-16T15:36:17.319Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 15:28 .. [2023-03-16T15:36:17.319Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 15:28 cost [2023-03-16T15:36:17.319Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 16 15:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:36:17.608Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:36:18.462Z] ---> package-listing.sh [2023-03-16T15:36:18.462Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T15:36:18.462Z] ++ facter osfamily [2023-03-16T15:36:18.735Z] + OS_FAMILY=debian [2023-03-16T15:36:18.735Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-264 [2023-03-16T15:36:18.735Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T15:36:18.735Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T15:36:18.735Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T15:36:18.735Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T15:36:18.735Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-264 ']' [2023-03-16T15:36:18.735Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T15:36:18.735Z] + case "${OS_FAMILY}" in [2023-03-16T15:36:18.735Z] + dpkg -l [2023-03-16T15:36:18.735Z] + grep '^ii' [2023-03-16T15:36:18.735Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T15:36:18.735Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T15:36:18.735Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T15:36:18.735Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-264 ']' [2023-03-16T15:36:18.735Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-264/archives/ [2023-03-16T15:36:18.735Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-264/archives/ [Pipeline] echo [2023-03-16T15:36:18.745Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-264/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T15:36:19.021Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T15:36:19.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T15:36:19.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T15:36:19.644Z] prd-ubuntu20.04-docker-8c-8g-2460 does not seem to be running inside a container [2023-03-16T15:36:19.678Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-264/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-264 -v /w/workspace/gexfoundry_device-snmp-go_PR-264:/w/workspace/gexfoundry_device-snmp-go_PR-264:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T15:36:19.896Z] $ docker top f25d8abaa0da6928e1d9453a9be1e6a4e4f6fc1422e1c93c2e9b2042ad7c614b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T15:36:20.238Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T15:36:20.524Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T15:36:20.809Z] + ls /var/log/sa-host [2023-03-16T15:36:20.809Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T15:36:20.879Z] provisioning config files... [2023-03-16T15:36:20.885Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-264@tmp/config17031153898696604402tmp [Pipeline] { [Pipeline] echo [2023-03-16T15:36:20.897Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:36:21.177Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T15:36:21.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:36:21.497Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T15:36:21.505Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:36:21.785Z] ---> sudo-logs.sh [2023-03-16T15:36:21.785Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T15:36:21.817Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:36:22.098Z] ---> job-cost.sh [2023-03-16T15:36:22.099Z] lf-activate-venv: SKIPPING [2023-03-16T15:36:22.099Z] DEBUG: total: 0.2199999988079071 [2023-03-16T15:36:22.099Z] INFO: Retrieving Stack Cost... [2023-03-16T15:36:22.357Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T15:36:22.923Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T15:36:22.933Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T15:36:23.213Z] ---> logs-deploy.sh [2023-03-16T15:36:23.213Z] lf-activate-venv: SKIPPING [2023-03-16T15:36:23.213Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-264/2 [2023-03-16T15:36:23.213Z] INFO: archiving workspace using pattern(s): [2023-03-16T15:36:24.148Z] Archives upload complete. [2023-03-16T15:36:24.148Z] INFO: archiving logs to Nexus