Pull request #200 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-snmp-go Loading trusted files from base branch main at dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b rather than ba4ae97a6e2cff8de42795e0a133f17055283998 Obtained Jenkinsfile from dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2029200768982317924.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16905171107383018199.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-200/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-200/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13665361022027389143.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11870251679667191922.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-200/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-200/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5733832487394234919.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117307 in /w/workspace/gexfoundry_device-snmp-go_PR-200 [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-200 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. Merging remotes/origin/main commit dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b into PR head commit ba4ae97a6e2cff8de42795e0a133f17055283998 Merge succeeded, producing ba4ae97a6e2cff8de42795e0a133f17055283998 Checking out Revision ba4ae97a6e2cff8de42795e0a133f17055283998 (PR-200) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba4ae97a6e2cff8de42795e0a133f17055283998 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ba4ae97a6e2cff8de42795e0a133f17055283998 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T20:31:49.935Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T20:31:49.993Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T20:31:50.006Z] ========================================================= [2022-10-26T20:31:50.006Z] EdgeX Global Pipelines Version Info [2022-10-26T20:31:50.006Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:31:50.720Z] ------------------- [2022-10-26T20:31:50.720Z] stable info: [2022-10-26T20:31:50.720Z] ------------------- [2022-10-26T20:31:50.720Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T20:31:50.720Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:31:50.720Z] Message: update stable to v1.0.243 > git rev-list --no-walk 46f9372487fc1fab33374bf7bf8d5f258f9e4986 # timeout=10 [2022-10-26T20:31:51.289Z] ------------------- [2022-10-26T20:31:51.289Z] experimental info: [2022-10-26T20:31:51.289Z] ------------------- [2022-10-26T20:31:51.290Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T20:31:51.290Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T20:31:51.290Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T20:31:51.451Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-10-26T20:31:51.480Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-10-26T20:31:51.492Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T20:31:51.507Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T20:31:51.521Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T20:31:51.541Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T20:31:51.557Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T20:31:51.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T20:31:51.586Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T20:31:51.606Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T20:31:51.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T20:31:51.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-10-26T20:31:51.653Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T20:31:51.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T20:31:51.687Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:31:51.706Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T20:31:51.716Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:31:51.734Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T20:31:51.745Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T20:31:51.760Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T20:31:51.773Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T20:31:51.791Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T20:31:51.803Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T20:31:51.818Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T20:31:51.832Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T20:31:51.851Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T20:31:51.866Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T20:31:51.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-200 [Pipeline] echo [2022-10-26T20:31:51.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-200 [Pipeline] echo [2022-10-26T20:31:51.913Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-200 [Pipeline] echo [2022-10-26T20:31:51.923Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ba4ae97a6e2cff8de42795e0a133f17055283998 [Pipeline] echo [2022-10-26T20:31:51.933Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ba4ae97 [Pipeline] echo [2022-10-26T20:31:51.941Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:31:51.983Z] provisioning config files... [2022-10-26T20:31:51.994Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config5983347322516290907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:31:52.296Z] ---> docker-login.sh [2022-10-26T20:31:52.296Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:31:52.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:31:52.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:31:52.557Z] Configure a credential helper to remove this warning. See [2022-10-26T20:31:52.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:31:52.557Z] [2022-10-26T20:31:52.557Z] Login Succeeded [2022-10-26T20:31:52.557Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:31:52.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:31:52.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:31:52.557Z] Configure a credential helper to remove this warning. See [2022-10-26T20:31:52.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:31:52.557Z] [2022-10-26T20:31:52.557Z] Login Succeeded [2022-10-26T20:31:52.557Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:31:52.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:31:52.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:31:52.817Z] Configure a credential helper to remove this warning. See [2022-10-26T20:31:52.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:31:52.817Z] [2022-10-26T20:31:52.817Z] Login Succeeded [2022-10-26T20:31:52.817Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:31:52.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:31:52.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:31:52.817Z] Configure a credential helper to remove this warning. See [2022-10-26T20:31:52.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:31:52.817Z] [2022-10-26T20:31:52.817Z] Login Succeeded [2022-10-26T20:31:52.817Z] docker.io [2022-10-26T20:31:53.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:31:53.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:31:53.336Z] Configure a credential helper to remove this warning. See [2022-10-26T20:31:53.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:31:53.336Z] [2022-10-26T20:31:53.336Z] Login Succeeded [2022-10-26T20:31:53.336Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:31:53.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T20:31:53.693Z] + git rev-list -1 --merges ba4ae97a6e2cff8de42795e0a133f17055283998~1..ba4ae97a6e2cff8de42795e0a133f17055283998 [Pipeline] echo [2022-10-26T20:31:53.727Z] -----------> git rev-list -1 --merges ba4ae97a6e2cff8de42795e0a133f17055283998~1..ba4ae97a6e2cff8de42795e0a133f17055283998 ba4ae97a6e2cff8de42795e0a133f17055283998 [false] [Pipeline] sh [2022-10-26T20:31:54.012Z] + git log --format=format:%s -1 ba4ae97a6e2cff8de42795e0a133f17055283998 [Pipeline] echo [2022-10-26T20:31:54.027Z] ========================================================= [2022-10-26T20:31:54.027Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T20:31:54.027Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:31:54.348Z] + git log --format=format:%s -1 ba4ae97a6e2cff8de42795e0a133f17055283998 [Pipeline] echo [2022-10-26T20:31:54.359Z] [semverPrep] GIT_COMMIT: ba4ae97a6e2cff8de42795e0a133f17055283998, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo [2022-10-26T20:31:54.369Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T20:31:54.719Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T20:31:54.719Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T20:31:54.719Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T20:31:54.719Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T20:31:54.719Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T20:31:54.719Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T20:31:54.719Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:31:55.070Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:31:55.070Z] [2022-10-26T20:31:55.070Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:31:55.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:31:55.372Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T20:31:55.372Z] b85a868b505f: Pulling fs layer [2022-10-26T20:31:55.372Z] e2be974225ed: Pulling fs layer [2022-10-26T20:31:55.372Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T20:31:55.372Z] 988bab9f4d93: Pulling fs layer [2022-10-26T20:31:55.372Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T20:31:55.372Z] eaf3925da568: Pulling fs layer [2022-10-26T20:31:55.372Z] bab4dde63d76: Pulling fs layer [2022-10-26T20:31:55.372Z] bde34c3a00c8: Pulling fs layer [2022-10-26T20:31:55.372Z] b352a97aabf1: Pulling fs layer [2022-10-26T20:31:55.372Z] 4872d77fe225: Pulling fs layer [2022-10-26T20:31:55.372Z] 5851b861e8e6: Pulling fs layer [2022-10-26T20:31:55.372Z] 1469e6f7b9e6: Waiting [2022-10-26T20:31:55.372Z] eaf3925da568: Waiting [2022-10-26T20:31:55.372Z] bab4dde63d76: Waiting [2022-10-26T20:31:55.372Z] bde34c3a00c8: Waiting [2022-10-26T20:31:55.372Z] b352a97aabf1: Waiting [2022-10-26T20:31:55.372Z] 4872d77fe225: Waiting [2022-10-26T20:31:55.372Z] 5851b861e8e6: Waiting [2022-10-26T20:31:55.372Z] 988bab9f4d93: Waiting [2022-10-26T20:31:55.372Z] e2be974225ed: Download complete [2022-10-26T20:31:55.372Z] 988bab9f4d93: Verifying Checksum [2022-10-26T20:31:55.372Z] 988bab9f4d93: Download complete [2022-10-26T20:31:55.631Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T20:31:55.631Z] 339a4e72a1f5: Download complete [2022-10-26T20:31:55.631Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T20:31:55.631Z] 1469e6f7b9e6: Download complete [2022-10-26T20:31:55.631Z] eaf3925da568: Verifying Checksum [2022-10-26T20:31:55.631Z] eaf3925da568: Download complete [2022-10-26T20:31:55.631Z] bde34c3a00c8: Verifying Checksum [2022-10-26T20:31:55.631Z] bde34c3a00c8: Download complete [2022-10-26T20:31:55.631Z] b352a97aabf1: Download complete [2022-10-26T20:31:55.631Z] 4872d77fe225: Verifying Checksum [2022-10-26T20:31:55.631Z] 4872d77fe225: Download complete [2022-10-26T20:31:55.631Z] 5851b861e8e6: Verifying Checksum [2022-10-26T20:31:55.631Z] 5851b861e8e6: Download complete [2022-10-26T20:31:55.631Z] b85a868b505f: Verifying Checksum [2022-10-26T20:31:55.631Z] b85a868b505f: Download complete [2022-10-26T20:31:56.201Z] bab4dde63d76: Verifying Checksum [2022-10-26T20:31:56.201Z] bab4dde63d76: Download complete [2022-10-26T20:31:57.140Z] b85a868b505f: Pull complete [2022-10-26T20:31:57.140Z] e2be974225ed: Pull complete [2022-10-26T20:31:57.709Z] 339a4e72a1f5: Pull complete [2022-10-26T20:31:57.709Z] 988bab9f4d93: Pull complete [2022-10-26T20:31:57.969Z] 1469e6f7b9e6: Pull complete [2022-10-26T20:31:57.969Z] eaf3925da568: Pull complete [2022-10-26T20:31:59.870Z] bab4dde63d76: Pull complete [2022-10-26T20:31:59.870Z] bde34c3a00c8: Pull complete [2022-10-26T20:32:00.129Z] b352a97aabf1: Pull complete [2022-10-26T20:32:00.129Z] 4872d77fe225: Pull complete [2022-10-26T20:32:00.388Z] 5851b861e8e6: Pull complete [2022-10-26T20:32:00.388Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T20:32:00.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T20:32:00.388Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:32:00.467Z] prd-ubuntu20.04-docker-8c-8g-117307 does not seem to be running inside a container [2022-10-26T20:32:00.500Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T20:32:01.795Z] $ docker top c6a714ee6ab9c2a087bee5b60a32a69d497fd9fcff5fd6ebd5c7ec087c798d91 -eo pid,comm [2022-10-26T20:32:01.857Z] 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). [2022-10-26T20:32:01.857Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T20:32:01.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:32:01.890Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:32:02.015Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:32:02.016Z] $ docker exec c6a714ee6ab9c2a087bee5b60a32a69d497fd9fcff5fd6ebd5c7ec087c798d91 ssh-agent [2022-10-26T20:32:02.132Z] SSH_AUTH_SOCK=/tmp/ssh-QsKk4rvDNyT6/agent.31 [2022-10-26T20:32:02.132Z] SSH_AGENT_PID=37 [2022-10-26T20:32:02.140Z] Running ssh-add (command line suppressed) [2022-10-26T20:32:02.245Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_10983958595715019544.key (/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_10983958595715019544.key) [2022-10-26T20:32:02.259Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:32:02.597Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T20:32:02.608Z] $ docker exec --env ******** --env ******** c6a714ee6ab9c2a087bee5b60a32a69d497fd9fcff5fd6ebd5c7ec087c798d91 ssh-agent -k [2022-10-26T20:32:02.722Z] unset SSH_AUTH_SOCK; [2022-10-26T20:32:02.722Z] unset SSH_AGENT_PID; [2022-10-26T20:32:02.723Z] echo Agent pid 37 killed; [2022-10-26T20:32:02.735Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T20:32:02.758Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T20:32:02.759Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T20:32:02.876Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T20:32:02.876Z] $ docker exec c6a714ee6ab9c2a087bee5b60a32a69d497fd9fcff5fd6ebd5c7ec087c798d91 ssh-agent [2022-10-26T20:32:02.982Z] SSH_AUTH_SOCK=/tmp/ssh-QGdu8H9aVvMy/agent.69 [2022-10-26T20:32:02.982Z] SSH_AGENT_PID=75 [2022-10-26T20:32:02.988Z] Running ssh-add (command line suppressed) [2022-10-26T20:32:03.094Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_2152110390434866852.key (/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/private_key_2152110390434866852.key) [2022-10-26T20:32:03.116Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T20:32:03.402Z] + git semver init [2022-10-26T20:32:03.662Z] 2022-10-26 20:32:03,572 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T20:32:03.662Z] 2022-10-26 20:32:03,573 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver [2022-10-26T20:32:03.662Z] 2022-10-26 20:32:03,573 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-200/.semver [2022-10-26T20:32:03.662Z] 2022-10-26 20:32:03,574 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200, universal_newlines=False, shell=None, istream=None) [2022-10-26T20:32:04.599Z] 2022-10-26 20:32:04,557 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-200/.git/info/exclude [2022-10-26T20:32:04.599Z] 2022-10-26 20:32:04,557 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 with force:False [2022-10-26T20:32:04.599Z] 2022-10-26 20:32:04,557 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 [2022-10-26T20:32:04.599Z] 2022-10-26 20:32:04,562 [execute] INFO git cat-file --batch-check [2022-10-26T20:32:04.599Z] 2022-10-26 20:32:04,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:32:04.599Z] 2022-10-26 20:32:04,568 [execute] INFO git cat-file --batch [2022-10-26T20:32:04.599Z] 2022-10-26 20:32:04,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-200/.semver, universal_newlines=False, shell=None, istream=) [2022-10-26T20:32:04.599Z] 2022-10-26 20:32:04,573 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-200/.semver/PR-200 [2022-10-26T20:32:04.599Z] 0.0.0 [Pipeline] } [2022-10-26T20:32:04.605Z] $ docker exec --env ******** --env ******** c6a714ee6ab9c2a087bee5b60a32a69d497fd9fcff5fd6ebd5c7ec087c798d91 ssh-agent -k [2022-10-26T20:32:04.712Z] unset SSH_AUTH_SOCK; [2022-10-26T20:32:04.713Z] unset SSH_AGENT_PID; [2022-10-26T20:32:04.713Z] echo Agent pid 75 killed; [2022-10-26T20:32:04.723Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T20:32:05.036Z] + git semver [Pipeline] } [2022-10-26T20:32:05.306Z] $ docker stop --time=1 c6a714ee6ab9c2a087bee5b60a32a69d497fd9fcff5fd6ebd5c7ec087c798d91 [2022-10-26T20:32:06.613Z] $ docker rm -f c6a714ee6ab9c2a087bee5b60a32a69d497fd9fcff5fd6ebd5c7ec087c798d91 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:32:06.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T20:32:07.129Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T20:32:07.132Z] [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 [2022-10-26T20:32:07.278Z] provisioning config files... [2022-10-26T20:32:07.287Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config17211327068210242296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:32:07.583Z] ---> docker-login.sh [2022-10-26T20:32:07.583Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:32:07.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:32:07.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:32:07.583Z] Configure a credential helper to remove this warning. See [2022-10-26T20:32:07.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:32:07.583Z] [2022-10-26T20:32:07.583Z] Login Succeeded [2022-10-26T20:32:07.583Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:32:07.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:32:07.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:32:07.583Z] Configure a credential helper to remove this warning. See [2022-10-26T20:32:07.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:32:07.583Z] [2022-10-26T20:32:07.583Z] Login Succeeded [2022-10-26T20:32:07.583Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:32:07.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:32:07.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:32:07.842Z] Configure a credential helper to remove this warning. See [2022-10-26T20:32:07.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:32:07.842Z] [2022-10-26T20:32:07.842Z] Login Succeeded [2022-10-26T20:32:07.842Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:32:07.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:32:07.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:32:07.842Z] Configure a credential helper to remove this warning. See [2022-10-26T20:32:07.842Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:32:07.842Z] [2022-10-26T20:32:07.842Z] Login Succeeded [2022-10-26T20:32:07.842Z] docker.io [2022-10-26T20:32:08.105Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:32:08.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:32:08.378Z] Configure a credential helper to remove this warning. See [2022-10-26T20:32:08.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:32:08.378Z] [2022-10-26T20:32:08.378Z] Login Succeeded [2022-10-26T20:32:08.378Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:32:08.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:32:08.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:32:08.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:32:08.484Z] ========================================================= [2022-10-26T20:32:08.485Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T20:32:08.485Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:32:08.810Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T20:32:08.810Z] Sending build context to Docker daemon 5.565MB [2022-10-26T20:32:08.810Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:32:08.810Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:32:08.810Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T20:32:08.810Z] 213ec9aee27d: Pulling fs layer [2022-10-26T20:32:08.810Z] 4583459ba037: Pulling fs layer [2022-10-26T20:32:08.810Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T20:32:08.811Z] 53926ce57604: Pulling fs layer [2022-10-26T20:32:08.811Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T20:32:08.811Z] 30f14e443154: Pulling fs layer [2022-10-26T20:32:08.811Z] 801331c1e519: Pulling fs layer [2022-10-26T20:32:08.811Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T20:32:08.811Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T20:32:08.811Z] 30f14e443154: Waiting [2022-10-26T20:32:08.811Z] 801331c1e519: Waiting [2022-10-26T20:32:08.811Z] 99cc6dd402b0: Waiting [2022-10-26T20:32:08.811Z] 7d9ed39f4882: Waiting [2022-10-26T20:32:08.811Z] 53926ce57604: Waiting [2022-10-26T20:32:08.811Z] 21b2b0c7a3f4: Waiting [2022-10-26T20:32:08.811Z] 93c1e223e6f2: Download complete [2022-10-26T20:32:08.811Z] 4583459ba037: Download complete [2022-10-26T20:32:09.077Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-26T20:32:09.077Z] 21b2b0c7a3f4: Download complete [2022-10-26T20:32:09.077Z] 30f14e443154: Verifying Checksum [2022-10-26T20:32:09.077Z] 30f14e443154: Download complete [2022-10-26T20:32:09.077Z] 213ec9aee27d: Verifying Checksum [2022-10-26T20:32:09.077Z] 213ec9aee27d: Download complete [2022-10-26T20:32:09.077Z] 801331c1e519: Download complete [2022-10-26T20:32:09.077Z] 213ec9aee27d: Pull complete [2022-10-26T20:32:09.353Z] 4583459ba037: Pull complete [2022-10-26T20:32:09.353Z] 93c1e223e6f2: Pull complete [2022-10-26T20:32:09.947Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T20:32:09.947Z] 7d9ed39f4882: Download complete [2022-10-26T20:32:09.947Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T20:32:09.947Z] 99cc6dd402b0: Download complete [2022-10-26T20:32:09.947Z] 53926ce57604: Verifying Checksum [2022-10-26T20:32:09.947Z] 53926ce57604: Download complete [2022-10-26T20:32:14.134Z] 53926ce57604: Pull complete [2022-10-26T20:32:14.134Z] 21b2b0c7a3f4: Pull complete [2022-10-26T20:32:14.134Z] 30f14e443154: Pull complete [2022-10-26T20:32:14.392Z] 801331c1e519: Pull complete [2022-10-26T20:32:16.299Z] 99cc6dd402b0: Pull complete [2022-10-26T20:32:17.237Z] 7d9ed39f4882: Pull complete [2022-10-26T20:32:17.237Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T20:32:17.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T20:32:17.237Z] ---> 1dedd983c030 [2022-10-26T20:32:17.237Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:32:19.146Z] ---> Running in 82d8022ab3d4 [2022-10-26T20:32:19.146Z] Removing intermediate container 82d8022ab3d4 [2022-10-26T20:32:19.146Z] ---> 4d80fe43ae14 [2022-10-26T20:32:19.146Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:32:19.146Z] ---> Running in 98b445a7a8ab [2022-10-26T20:32:19.146Z] Removing intermediate container 98b445a7a8ab [2022-10-26T20:32:19.146Z] ---> 9882def30c99 [2022-10-26T20:32:19.146Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:32:19.405Z] ---> Running in c3cab4006508 [2022-10-26T20:32:19.405Z] Removing intermediate container c3cab4006508 [2022-10-26T20:32:19.405Z] ---> 4f8d179d27ed [2022-10-26T20:32:19.405Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:32:19.405Z] ---> Running in 73f02b658ddb [2022-10-26T20:32:19.665Z] Removing intermediate container 73f02b658ddb [2022-10-26T20:32:19.665Z] ---> 9a444c0d4c1c [2022-10-26T20:32:19.665Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:32:19.665Z] ---> Running in 63357dafdfab [2022-10-26T20:32:19.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:32:19.924Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:32:20.183Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:32:20.183Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:32:20.183Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:32:20.183Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:32:20.183Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:32:20.183Z] OK: 216 MiB in 55 packages [2022-10-26T20:32:20.753Z] Removing intermediate container 63357dafdfab [2022-10-26T20:32:20.753Z] ---> 724db60152ec [2022-10-26T20:32:20.753Z] Step 8/12 : WORKDIR /device-snmp-go [2022-10-26T20:32:20.753Z] ---> Running in 59e8d6883b7c [2022-10-26T20:32:20.753Z] Removing intermediate container 59e8d6883b7c [2022-10-26T20:32:20.753Z] ---> 01e48fe52d39 [2022-10-26T20:32:20.753Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T20:32:20.753Z] ---> 9ceb891ee159 [2022-10-26T20:32:20.753Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:32:21.012Z] ---> Running in 4b965d9493b2 [2022-10-26T20:32:22.248Z] Still waiting to schedule task [2022-10-26T20:32:22.248Z] ‘prd-ubuntu20.04-docker-8c-8g-117291’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T20:32:22.248Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117298’ is offline [2022-10-26T20:32:22.248Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117306’ is offline [2022-10-26T20:32:22.248Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117308’ is offline [2022-10-26T20:32:39.100Z] Removing intermediate container 4b965d9493b2 [2022-10-26T20:32:39.100Z] ---> 739d530e0fa2 [2022-10-26T20:32:39.100Z] Step 11/12 : COPY . . [2022-10-26T20:32:39.100Z] ---> 8d5eb73b523d [2022-10-26T20:32:39.100Z] Step 12/12 : RUN ${MAKE} [2022-10-26T20:32:39.100Z] ---> Running in acfee56c04a7 [2022-10-26T20:32:39.100Z] noop [2022-10-26T20:32:39.100Z] Removing intermediate container acfee56c04a7 [2022-10-26T20:32:39.100Z] ---> f2eba9861372 [2022-10-26T20:32:39.100Z] Successfully built f2eba9861372 [2022-10-26T20:32:39.100Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:32:39.404Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:32:39.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:32:39.473Z] prd-ubuntu20.04-docker-8c-8g-117307 does not seem to be running inside a container [2022-10-26T20:32:39.502Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:32:39.892Z] $ docker top 384b7da4bef615437cbbed0ef60e2492f849855d94df6938a85b630a9ee14257 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:32:40.312Z] + go version [2022-10-26T20:32:40.312Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T20:32:40.326Z] $ docker stop --time=1 384b7da4bef615437cbbed0ef60e2492f849855d94df6938a85b630a9ee14257 [2022-10-26T20:32:41.616Z] $ docker rm -f 384b7da4bef615437cbbed0ef60e2492f849855d94df6938a85b630a9ee14257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:32:42.038Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T20:32:42.038Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:32:42.099Z] prd-ubuntu20.04-docker-8c-8g-117307 does not seem to be running inside a container [2022-10-26T20:32:42.126Z] $ 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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-26T20:32:42.492Z] $ docker top df6c79520fe1f92851f62b8560c6409b889291d7ee629d5cd07b2e12d7507e6a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:32:42.839Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-snmp-go_PR-200 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:32:43.134Z] + make test [2022-10-26T20:32:43.134Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:32:43.392Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-26T20:32:48.395Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117308 in /w/workspace/gexfoundry_device-snmp-go_PR-200 [Pipeline] { [Pipeline] ws [2022-10-26T20:32:48.409Z] Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout [2022-10-26T20:32:48.445Z] Selected Git installation does not exist. Using Default [2022-10-26T20:32:48.445Z] The recommended git tool is: NONE [2022-10-26T20:32:53.355Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-26T20:32:53.355Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2022-10-26T20:32:54.458Z] using credential edgex-jenkins-ssh [2022-10-26T20:32:54.477Z] Cloning the remote Git repository [2022-10-26T20:32:54.537Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-10-26T20:32:54.631Z] > git init /w/workspace/device-snmp-go/4 # timeout=10 [2022-10-26T20:32:54.805Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-26T20:32:54.806Z] > git --version # timeout=10 [2022-10-26T20:32:54.827Z] > git --version # 'git version 2.25.1' [2022-10-26T20:32:54.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:32:54.888Z] Verifying host key using known hosts file [2022-10-26T20:32:55.126Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:32:55.140Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:32:56.314Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-26T20:32:56.334Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T20:32:58.088Z] Merging remotes/origin/main commit dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b into PR head commit ba4ae97a6e2cff8de42795e0a133f17055283998 [2022-10-26T20:32:58.349Z] Merge succeeded, producing ba4ae97a6e2cff8de42795e0a133f17055283998 [2022-10-26T20:32:58.349Z] Checking out Revision ba4ae97a6e2cff8de42795e0a133f17055283998 (PR-200) [2022-10-26T20:32:58.620Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-26T20:32:58.620Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:32:57.322Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-10-26T20:32:57.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-10-26T20:32:57.390Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:32:57.397Z] Verifying host key using known hosts file [2022-10-26T20:32:57.405Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:32:57.418Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/200/head:refs/remotes/origin/PR-200 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-26T20:32:58.112Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:32:58.134Z] > git checkout -f ba4ae97a6e2cff8de42795e0a133f17055283998 # timeout=10 [2022-10-26T20:32:58.234Z] > git remote # timeout=10 [2022-10-26T20:32:58.254Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T20:32:58.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T20:32:58.281Z] Verifying host key using known hosts file [2022-10-26T20:32:58.286Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-26T20:32:58.299Z] > git merge dcc848a9285f189c57f2b784eb9ff9d99e0c2c3b # timeout=10 [2022-10-26T20:32:58.329Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T20:32:58.358Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T20:32:58.378Z] > git checkout -f ba4ae97a6e2cff8de42795e0a133f17055283998 # timeout=10 [2022-10-26T20:33:01.149Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:33:01.149Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:33:01.149Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:33:01.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:33:01.433Z] $ docker stop --time=1 df6c79520fe1f92851f62b8560c6409b889291d7ee629d5cd07b2e12d7507e6a [2022-10-26T20:33:02.018Z] Commit message: "build: Latest go-mods, config and Dockerfile fix" [2022-10-26T20:33:03.191Z] $ docker rm -f df6c79520fe1f92851f62b8560c6409b889291d7ee629d5cd07b2e12d7507e6a [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:33:03.619Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:33:03.661Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T20:33:03.931Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T20:33:03.931Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:33:03.931Z] Dload Upload Total Spent Left Speed [2022-10-26T20:33:03.931Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [2022-10-26T20:33:04.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] sh [2022-10-26T20:33:04.362Z] + ls -al . [2022-10-26T20:33:04.362Z] total 180 [2022-10-26T20:33:04.362Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 20:32 . [2022-10-26T20:33:04.362Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:31 .. [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 26 20:31 .dockerignore [2022-10-26T20:33:04.362Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:32 .git [2022-10-26T20:33:04.362Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:31 .github [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 26 20:31 .gitignore [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:31 .golangci.yml [2022-10-26T20:33:04.362Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:32 .semver [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 26 20:31 Attribution.txt [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 26 20:31 CHANGELOG.md [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 1486 Oct 26 20:31 Dockerfile [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:31 GOVERNANCE.md [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 26 20:31 Jenkinsfile [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:31 LICENSE [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 26 20:31 Makefile [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:31 OWNERS.md [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 26 20:31 README.md [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:32 VERSION [2022-10-26T20:33:04.362Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:31 bin [2022-10-26T20:33:04.362Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:31 cmd [2022-10-26T20:33:04.362Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 26 20:32 coverage.out [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 3462 Oct 26 20:31 go.mod [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 45069 Oct 26 20:31 go.sum [2022-10-26T20:33:04.362Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:31 internal [2022-10-26T20:33:04.362Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:31 snap [2022-10-26T20:33:04.362Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 26 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:33:04.672Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T20:33:04.708Z] + 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=ba4ae97a6e2cff8de42795e0a133f17055283998 --label arch=amd64 --label version=0.0.0 . [2022-10-26T20:33:04.708Z] Sending build context to Docker daemon 5.574MB [2022-10-26T20:33:04.708Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:33:04.708Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-26T20:33:04.708Z] ---> f2eba9861372 [2022-10-26T20:33:04.708Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:33:04.708Z] ---> Running in 2b201f58fdfe [2022-10-26T20:33:04.966Z] Removing intermediate container 2b201f58fdfe [2022-10-26T20:33:04.966Z] ---> 46034535a2c8 [2022-10-26T20:33:04.966Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:33:04.966Z] ---> Running in 00d41e650a1d [2022-10-26T20:33:04.966Z] Removing intermediate container 00d41e650a1d [2022-10-26T20:33:04.966Z] ---> c4d291b2d028 [2022-10-26T20:33:04.966Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:33:04.966Z] ---> Running in 5c021f4997b2 [2022-10-26T20:33:05.017Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T20:33:05.017Z] + sudo tee /etc/docker/daemon.new [2022-10-26T20:33:05.017Z] { [2022-10-26T20:33:05.017Z] "registry-mirrors": [ [2022-10-26T20:33:05.017Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T20:33:05.017Z] ], [2022-10-26T20:33:05.017Z] "bip": "10.250.0.254/24", [2022-10-26T20:33:05.017Z] "hosts": [ [2022-10-26T20:33:05.017Z] "tcp://0.0.0.0:5555", [2022-10-26T20:33:05.017Z] "unix:///var/run/docker.sock" [2022-10-26T20:33:05.017Z] ], [2022-10-26T20:33:05.017Z] "mtu": 1458, [2022-10-26T20:33:05.017Z] "selinux-enabled": true, [2022-10-26T20:33:05.017Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T20:33:05.017Z] } [Pipeline] sh [2022-10-26T20:33:05.225Z] Removing intermediate container 5c021f4997b2 [2022-10-26T20:33:05.225Z] ---> f25c2b8ddd6d [2022-10-26T20:33:05.225Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:33:05.225Z] ---> Running in 77b06b2c59ac [2022-10-26T20:33:05.225Z] Removing intermediate container 77b06b2c59ac [2022-10-26T20:33:05.225Z] ---> dac71230982d [2022-10-26T20:33:05.225Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:33:05.225Z] ---> Running in a32db3165dff [2022-10-26T20:33:05.356Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T20:33:05.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:33:05.707Z] + sudo service docker restart [2022-10-26T20:33:05.743Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:33:06.007Z] OK: 216 MiB in 55 packages [2022-10-26T20:33:06.265Z] Removing intermediate container a32db3165dff [2022-10-26T20:33:06.265Z] ---> e4c31f07b6ca [2022-10-26T20:33:06.265Z] Step 8/24 : WORKDIR /device-snmp-go [2022-10-26T20:33:06.265Z] ---> Running in 46aa146a8817 [2022-10-26T20:33:06.265Z] Removing intermediate container 46aa146a8817 [2022-10-26T20:33:06.265Z] ---> cc2085da4094 [2022-10-26T20:33:06.265Z] Step 9/24 : COPY go.mod vendor* ./ [2022-10-26T20:33:06.524Z] ---> 0ba80a54b838 [2022-10-26T20:33:06.524Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:33:06.524Z] ---> Running in 9b20647071ae [2022-10-26T20:33:07.091Z] Removing intermediate container 9b20647071ae [2022-10-26T20:33:07.091Z] ---> e186a41ecb8c [2022-10-26T20:33:07.091Z] Step 11/24 : COPY . . [2022-10-26T20:33:07.659Z] ---> 6e1fd212a5b2 [2022-10-26T20:33:07.659Z] Step 12/24 : RUN ${MAKE} [2022-10-26T20:33:07.659Z] ---> Running in 46757c0f3bce [2022-10-26T20:33:07.917Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:33:24.011Z] provisioning config files... [2022-10-26T20:33:24.040Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config3776175852506916131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:33:24.403Z] ---> docker-login.sh [2022-10-26T20:33:24.403Z] nexus3.edgexfoundry.org:10001 [2022-10-26T20:33:24.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:33:25.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:33:25.269Z] Configure a credential helper to remove this warning. See [2022-10-26T20:33:25.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:33:25.269Z] [2022-10-26T20:33:25.269Z] Login Succeeded [2022-10-26T20:33:25.269Z] nexus3.edgexfoundry.org:10002 [2022-10-26T20:33:25.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:33:25.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:33:25.821Z] Configure a credential helper to remove this warning. See [2022-10-26T20:33:25.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:33:25.821Z] [2022-10-26T20:33:25.821Z] Login Succeeded [2022-10-26T20:33:25.821Z] nexus3.edgexfoundry.org:10003 [2022-10-26T20:33:26.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:33:26.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:33:26.097Z] Configure a credential helper to remove this warning. See [2022-10-26T20:33:26.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:33:26.097Z] [2022-10-26T20:33:26.097Z] Login Succeeded [2022-10-26T20:33:26.097Z] nexus3.edgexfoundry.org:10004 [2022-10-26T20:33:26.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:33:26.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:33:26.641Z] Configure a credential helper to remove this warning. See [2022-10-26T20:33:26.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:33:26.641Z] [2022-10-26T20:33:26.641Z] Login Succeeded [2022-10-26T20:33:26.641Z] docker.io [2022-10-26T20:33:26.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T20:33:27.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T20:33:27.178Z] Configure a credential helper to remove this warning. See [2022-10-26T20:33:27.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T20:33:27.178Z] [2022-10-26T20:33:27.178Z] Login Succeeded [2022-10-26T20:33:27.178Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T20:33:27.193Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T20:33:27.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:33:27.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T20:33:27.412Z] ========================================================= [2022-10-26T20:33:27.412Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T20:33:27.412Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:33:27.770Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-26T20:33:28.044Z] Sending build context to Docker daemon 2.889MB [2022-10-26T20:33:29.020Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:33:29.020Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T20:33:29.020Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T20:33:29.020Z] 9b18e9b68314: Pulling fs layer [2022-10-26T20:33:29.020Z] d32db5db7311: Pulling fs layer [2022-10-26T20:33:29.020Z] d0c4b47475fc: Pulling fs layer [2022-10-26T20:33:29.020Z] 5831b945b038: Pulling fs layer [2022-10-26T20:33:29.020Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T20:33:29.020Z] e10730c5d714: Pulling fs layer [2022-10-26T20:33:29.020Z] 5dd5c2283517: Pulling fs layer [2022-10-26T20:33:29.020Z] d5ac0230b979: Pulling fs layer [2022-10-26T20:33:29.020Z] 86bbec2aaacd: Waiting [2022-10-26T20:33:29.020Z] e10730c5d714: Waiting [2022-10-26T20:33:29.020Z] 5dd5c2283517: Waiting [2022-10-26T20:33:29.020Z] d5ac0230b979: Waiting [2022-10-26T20:33:29.020Z] 5831b945b038: Waiting [2022-10-26T20:33:29.020Z] d0c4b47475fc: Download complete [2022-10-26T20:33:29.020Z] d32db5db7311: Verifying Checksum [2022-10-26T20:33:29.020Z] d32db5db7311: Download complete [2022-10-26T20:33:29.020Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T20:33:29.020Z] 86bbec2aaacd: Download complete [2022-10-26T20:33:29.020Z] e10730c5d714: Verifying Checksum [2022-10-26T20:33:29.020Z] e10730c5d714: Download complete [2022-10-26T20:33:29.020Z] 9b18e9b68314: Verifying Checksum [2022-10-26T20:33:29.020Z] 9b18e9b68314: Download complete [2022-10-26T20:33:29.830Z] Removing intermediate container 46757c0f3bce [2022-10-26T20:33:29.830Z] ---> 8ae7ca78de6f [2022-10-26T20:33:29.830Z] Step 13/24 : FROM alpine:3.16 [2022-10-26T20:33:29.830Z] 3.16: Pulling from library/alpine [2022-10-26T20:33:29.830Z] 213ec9aee27d: Already exists [2022-10-26T20:33:29.830Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:33:29.830Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:33:29.830Z] ---> 9c6f07244728 [2022-10-26T20:33:29.830Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:33:29.830Z] ---> Running in e673e5f841cd [2022-10-26T20:33:29.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T20:33:29.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T20:33:29.830Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:33:29.830Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:33:29.830Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:33:29.830Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:33:29.830Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:33:29.830Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:33:29.830Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:33:29.830Z] OK: 8 MiB in 20 packages [2022-10-26T20:33:29.999Z] 9b18e9b68314: Pull complete [2022-10-26T20:33:30.401Z] Removing intermediate container e673e5f841cd [2022-10-26T20:33:30.401Z] ---> 56937dd74d70 [2022-10-26T20:33:30.401Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-10-26T20:33:30.597Z] d32db5db7311: Pull complete [2022-10-26T20:33:30.661Z] ---> a026f10fb8a0 [2022-10-26T20:33:30.661Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-26T20:33:30.867Z] d0c4b47475fc: Pull complete [2022-10-26T20:33:30.920Z] ---> 0ee32287d7be [2022-10-26T20:33:30.920Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-26T20:33:31.135Z] d5ac0230b979: Verifying Checksum [2022-10-26T20:33:31.135Z] d5ac0230b979: Download complete [2022-10-26T20:33:31.179Z] ---> c3bc0f376c41 [2022-10-26T20:33:31.179Z] Step 18/24 : EXPOSE 59993 [2022-10-26T20:33:31.179Z] ---> Running in 2964211fa242 [2022-10-26T20:33:31.179Z] Removing intermediate container 2964211fa242 [2022-10-26T20:33:31.179Z] ---> 5fdde2fbade2 [2022-10-26T20:33:31.179Z] Step 19/24 : EXPOSE 161 [2022-10-26T20:33:31.179Z] ---> Running in 0ff3d4261a87 [2022-10-26T20:33:31.407Z] 5dd5c2283517: Verifying Checksum [2022-10-26T20:33:31.407Z] 5dd5c2283517: Download complete [2022-10-26T20:33:31.435Z] Removing intermediate container 0ff3d4261a87 [2022-10-26T20:33:31.435Z] ---> e8491cdc8dfd [2022-10-26T20:33:31.435Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-10-26T20:33:31.435Z] ---> Running in fa3857e0140f [2022-10-26T20:33:31.435Z] Removing intermediate container fa3857e0140f [2022-10-26T20:33:31.435Z] ---> f4436d52b48a [2022-10-26T20:33:31.435Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T20:33:31.435Z] ---> Running in 9e9dc8eddd71 [2022-10-26T20:33:31.694Z] Removing intermediate container 9e9dc8eddd71 [2022-10-26T20:33:31.694Z] ---> 5b594ebec7c5 [2022-10-26T20:33:31.694Z] Step 22/24 : LABEL arch=amd64 [2022-10-26T20:33:31.694Z] ---> Running in 5f59c3ee09ea [2022-10-26T20:33:31.694Z] Removing intermediate container 5f59c3ee09ea [2022-10-26T20:33:31.694Z] ---> 8950e91be2ff [2022-10-26T20:33:31.694Z] Step 23/24 : LABEL git_sha=ba4ae97a6e2cff8de42795e0a133f17055283998 [2022-10-26T20:33:31.694Z] ---> Running in 3e290ebef8a2 [2022-10-26T20:33:31.952Z] Removing intermediate container 3e290ebef8a2 [2022-10-26T20:33:31.952Z] ---> 3cb44fe5fbb1 [2022-10-26T20:33:31.952Z] Step 24/24 : LABEL version=0.0.0 [2022-10-26T20:33:31.952Z] ---> Running in acb6787552f3 [2022-10-26T20:33:31.952Z] Removing intermediate container acb6787552f3 [2022-10-26T20:33:31.952Z] ---> 3888d32ad699 [2022-10-26T20:33:31.952Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:33:31.952Z] Successfully built 3888d32ad699 [2022-10-26T20:33:31.952Z] Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 [2022-10-26T20:33:32.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:33:32.352Z] [2022-10-26T20:33:32.352Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:33:32.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:33:32.644Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T20:33:32.644Z] 5eb5b503b376: Pulling fs layer [2022-10-26T20:33:32.644Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T20:33:32.644Z] ec43610c2a17: Pulling fs layer [2022-10-26T20:33:32.644Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T20:33:32.644Z] 33b1e0a273af: Pulling fs layer [2022-10-26T20:33:32.644Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T20:33:32.644Z] 2f39f015ded8: Pulling fs layer [2022-10-26T20:33:32.644Z] 33b1e0a273af: Waiting [2022-10-26T20:33:32.644Z] 5d3b04190fa2: Waiting [2022-10-26T20:33:32.644Z] 2f39f015ded8: Waiting [2022-10-26T20:33:32.644Z] 3a2ae6a8a46f: Waiting [2022-10-26T20:33:32.644Z] 5c69ac0246d0: Download complete [2022-10-26T20:33:32.644Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T20:33:32.644Z] 3a2ae6a8a46f: Download complete [2022-10-26T20:33:32.644Z] 33b1e0a273af: Verifying Checksum [2022-10-26T20:33:32.644Z] 33b1e0a273af: Download complete [2022-10-26T20:33:32.644Z] 5d3b04190fa2: Download complete [2022-10-26T20:33:32.842Z] 5831b945b038: Download complete [2022-10-26T20:33:32.902Z] ec43610c2a17: Verifying Checksum [2022-10-26T20:33:32.902Z] ec43610c2a17: Download complete [2022-10-26T20:33:32.902Z] 5eb5b503b376: Verifying Checksum [2022-10-26T20:33:32.902Z] 5eb5b503b376: Download complete [2022-10-26T20:33:33.464Z] 2f39f015ded8: Download complete [2022-10-26T20:33:34.027Z] 5eb5b503b376: Pull complete [2022-10-26T20:33:34.027Z] 5c69ac0246d0: Pull complete [2022-10-26T20:33:34.592Z] ec43610c2a17: Pull complete [2022-10-26T20:33:34.592Z] 3a2ae6a8a46f: Pull complete [2022-10-26T20:33:34.852Z] 33b1e0a273af: Pull complete [2022-10-26T20:33:34.852Z] 5d3b04190fa2: Pull complete [2022-10-26T20:33:39.023Z] 2f39f015ded8: Pull complete [2022-10-26T20:33:39.023Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T20:33:39.023Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:33:39.023Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:33:39.093Z] prd-ubuntu20.04-docker-8c-8g-117307 does not seem to be running inside a container [2022-10-26T20:33:39.116Z] $ 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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:33:40.669Z] $ docker top c2ce03680e60f48f2f33766f8f4dc8c9ab42ddd6185f14e053b59f92328e1764 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:33:41.068Z] ---> job-cost.sh [2022-10-26T20:33:41.068Z] lf-activate-venv: SKIPPING [2022-10-26T20:33:41.068Z] INFO: No Stack... [2022-10-26T20:33:41.679Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:33:41.961Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:33:42.385Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/cost.csv [2022-10-26T20:33:42.385Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:33:42.396Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-200-4-stack-cost] [2022-10-26T20:33:42.401Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-200-4-stack-cost] did not exist. Created. [2022-10-26T20:33:42.401Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-200-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:33:42.713Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T20:33:42.754Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:33:42.761Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-200-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:33:42.776Z] $ docker stop --time=1 c2ce03680e60f48f2f33766f8f4dc8c9ab42ddd6185f14e053b59f92328e1764 [2022-10-26T20:33:43.944Z] $ docker rm -f c2ce03680e60f48f2f33766f8f4dc8c9ab42ddd6185f14e053b59f92328e1764 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T20:33:45.243Z] 5831b945b038: Pull complete [2022-10-26T20:33:45.243Z] 86bbec2aaacd: Pull complete [2022-10-26T20:33:45.243Z] e10730c5d714: Pull complete [2022-10-26T20:33:51.981Z] 5dd5c2283517: Pull complete [2022-10-26T20:33:53.933Z] d5ac0230b979: Pull complete [2022-10-26T20:33:53.933Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T20:33:53.933Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T20:33:53.933Z] ---> 59b3b1a385d4 [2022-10-26T20:33:53.933Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:33:55.890Z] ---> Running in 57270227071d [2022-10-26T20:33:55.890Z] Removing intermediate container 57270227071d [2022-10-26T20:33:55.890Z] ---> f7212f07bea3 [2022-10-26T20:33:55.890Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:33:56.159Z] ---> Running in c4fd55b6c63c [2022-10-26T20:33:56.440Z] Removing intermediate container c4fd55b6c63c [2022-10-26T20:33:56.440Z] ---> 8579bdb99478 [2022-10-26T20:33:56.440Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:33:56.440Z] ---> Running in aff9761dbf14 [2022-10-26T20:33:56.778Z] Removing intermediate container aff9761dbf14 [2022-10-26T20:33:56.778Z] ---> 6b2ecb67db1e [2022-10-26T20:33:56.778Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:33:57.048Z] ---> Running in ff55b17130c1 [2022-10-26T20:33:57.318Z] Removing intermediate container ff55b17130c1 [2022-10-26T20:33:57.318Z] ---> bcf2fe786343 [2022-10-26T20:33:57.318Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:33:57.318Z] ---> Running in 3f480711e3cd [2022-10-26T20:33:58.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:33:59.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:33:59.978Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T20:34:00.255Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T20:34:00.255Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T20:34:00.255Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T20:34:00.255Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:34:00.255Z] OK: 226 MiB in 55 packages [2022-10-26T20:34:01.681Z] Removing intermediate container 3f480711e3cd [2022-10-26T20:34:01.681Z] ---> 6d8da52890ad [2022-10-26T20:34:01.681Z] Step 8/12 : WORKDIR /device-snmp-go [2022-10-26T20:34:01.681Z] ---> Running in 56db4ba441ae [2022-10-26T20:34:01.950Z] Removing intermediate container 56db4ba441ae [2022-10-26T20:34:01.950Z] ---> bab3975abdb8 [2022-10-26T20:34:01.950Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T20:34:02.546Z] ---> 9e388db2bbd5 [2022-10-26T20:34:02.546Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:34:02.546Z] ---> Running in 0e7b38ade918 [2022-10-26T20:34:59.009Z] Removing intermediate container 0e7b38ade918 [2022-10-26T20:34:59.009Z] ---> 997b170c7245 [2022-10-26T20:34:59.009Z] Step 11/12 : COPY . . [2022-10-26T20:34:59.009Z] ---> 6937253bf57a [2022-10-26T20:34:59.009Z] Step 12/12 : RUN ${MAKE} [2022-10-26T20:34:59.009Z] ---> Running in 876ee718270c [2022-10-26T20:34:59.979Z] noop [2022-10-26T20:35:00.953Z] Removing intermediate container 876ee718270c [2022-10-26T20:35:00.953Z] ---> a6c482e45499 [2022-10-26T20:35:00.953Z] Successfully built a6c482e45499 [2022-10-26T20:35:00.953Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:35:01.320Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:35:01.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:35:01.553Z] prd-ubuntu20.04-docker-arm64-4c-16g-117308 does not seem to be running inside a container [2022-10-26T20:35:01.647Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T20:35:03.079Z] $ docker top 599984c78b4caabd192ee26e32ac7cd9b399f618b3364a87950df7e65ff1ddd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:35:03.959Z] + go version [2022-10-26T20:35:03.959Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T20:35:03.984Z] $ docker stop --time=1 599984c78b4caabd192ee26e32ac7cd9b399f618b3364a87950df7e65ff1ddd6 [2022-10-26T20:35:05.741Z] $ docker rm -f 599984c78b4caabd192ee26e32ac7cd9b399f618b3364a87950df7e65ff1ddd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:35:06.297Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T20:35:06.297Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:35:06.504Z] prd-ubuntu20.04-docker-arm64-4c-16g-117308 does not seem to be running inside a container [2022-10-26T20:35:06.575Z] $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-26T20:35:07.845Z] $ docker top 6c1b42f811ee4e77c38c2fc3292dc54c11cbb7e2cccf4614ee3d52248d0f3ee4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:35:08.710Z] + git config --global --add safe.directory /w/workspace/device-snmp-go/4 [Pipeline] fileExists [Pipeline] sh [2022-10-26T20:35:09.366Z] + make test [2022-10-26T20:35:09.366Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-10-26T20:35:11.318Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-10-26T20:37:03.064Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-10-26T20:37:03.064Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.056s coverage: 0.0% of statements [2022-10-26T20:37:03.064Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T20:37:03.064Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T20:37:29.848Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T20:37:29.848Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T20:37:29.848Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T20:37:29.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T20:37:29.889Z] $ docker stop --time=1 6c1b42f811ee4e77c38c2fc3292dc54c11cbb7e2cccf4614ee3d52248d0f3ee4 [2022-10-26T20:37:32.075Z] $ docker rm -f 6c1b42f811ee4e77c38c2fc3292dc54c11cbb7e2cccf4614ee3d52248d0f3ee4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T20:37:33.189Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T20:37:33.214Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T20:37:33.779Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T20:37:34.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T20:37:34.552Z] + ls -al . [2022-10-26T20:37:34.552Z] total 176 [2022-10-26T20:37:34.552Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:35 . [2022-10-26T20:37:34.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:32 .. [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 6 Oct 26 20:32 .dockerignore [2022-10-26T20:37:34.552Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 20:32 .git [2022-10-26T20:37:34.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:32 .github [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 328 Oct 26 20:32 .gitignore [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 20:32 .golangci.yml [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 8932 Oct 26 20:32 Attribution.txt [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 6948 Oct 26 20:32 CHANGELOG.md [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 1486 Oct 26 20:32 Dockerfile [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 20:32 GOVERNANCE.md [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 656 Oct 26 20:32 Jenkinsfile [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 20:32 LICENSE [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 2543 Oct 26 20:32 Makefile [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 20:32 OWNERS.md [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 10054 Oct 26 20:32 README.md [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 20:32 VERSION [2022-10-26T20:37:34.552Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 20:32 bin [2022-10-26T20:37:34.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:32 cmd [2022-10-26T20:37:34.552Z] -rw-r--r-- 1 jenkins jenkins 7631 Oct 26 20:36 coverage.out [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 3462 Oct 26 20:32 go.mod [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 45069 Oct 26 20:32 go.sum [2022-10-26T20:37:34.552Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 20:32 internal [2022-10-26T20:37:34.552Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 20:32 snap [2022-10-26T20:37:34.552Z] -rw-rw-r-- 1 jenkins jenkins 228 Oct 26 20:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:37:34.908Z] + 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=ba4ae97a6e2cff8de42795e0a133f17055283998 --label arch=arm64 --label version=0.0.0 . [2022-10-26T20:37:35.513Z] Sending build context to Docker daemon 2.897MB [2022-10-26T20:37:35.513Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T20:37:35.513Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-26T20:37:35.513Z] ---> a6c482e45499 [2022-10-26T20:37:35.513Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-26T20:37:35.782Z] ---> Running in c3ce69c04807 [2022-10-26T20:37:36.051Z] Removing intermediate container c3ce69c04807 [2022-10-26T20:37:36.051Z] ---> d0f6ace05e35 [2022-10-26T20:37:36.051Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T20:37:36.322Z] ---> Running in b1d26e89f7d1 [2022-10-26T20:37:36.593Z] Removing intermediate container b1d26e89f7d1 [2022-10-26T20:37:36.593Z] ---> f46d2e538299 [2022-10-26T20:37:36.593Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T20:37:36.866Z] ---> Running in f58b0a15ce18 [2022-10-26T20:37:37.241Z] Removing intermediate container f58b0a15ce18 [2022-10-26T20:37:37.241Z] ---> 4dd9abf1379b [2022-10-26T20:37:37.241Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T20:37:37.531Z] ---> Running in c967cac86eae [2022-10-26T20:37:37.807Z] Removing intermediate container c967cac86eae [2022-10-26T20:37:37.807Z] ---> f724a08661a6 [2022-10-26T20:37:37.807Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T20:37:38.145Z] ---> Running in 0c5359955b22 [2022-10-26T20:37:39.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:37:39.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:37:41.121Z] OK: 226 MiB in 55 packages [2022-10-26T20:37:43.758Z] Removing intermediate container 0c5359955b22 [2022-10-26T20:37:43.758Z] ---> 529fb146a7ed [2022-10-26T20:37:43.758Z] Step 8/24 : WORKDIR /device-snmp-go [2022-10-26T20:37:43.758Z] ---> Running in 2df8b560722b [2022-10-26T20:37:44.362Z] Removing intermediate container 2df8b560722b [2022-10-26T20:37:44.362Z] ---> dd5be69930a5 [2022-10-26T20:37:44.362Z] Step 9/24 : COPY go.mod vendor* ./ [2022-10-26T20:37:44.960Z] ---> 144744d8f4c3 [2022-10-26T20:37:44.960Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T20:37:45.235Z] ---> Running in 5fb5e838d375 [2022-10-26T20:37:47.856Z] Removing intermediate container 5fb5e838d375 [2022-10-26T20:37:47.856Z] ---> caee8408e2d7 [2022-10-26T20:37:47.856Z] Step 11/24 : COPY . . [2022-10-26T20:37:48.834Z] ---> fb85e66428ca [2022-10-26T20:37:48.834Z] Step 12/24 : RUN ${MAKE} [2022-10-26T20:37:48.835Z] ---> Running in 793458bdef81 [2022-10-26T20:37:50.318Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.49 -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd [2022-10-26T20:40:57.237Z] Removing intermediate container 793458bdef81 [2022-10-26T20:40:57.237Z] ---> 052fbe4a3c44 [2022-10-26T20:40:57.237Z] Step 13/24 : FROM alpine:3.16 [2022-10-26T20:40:57.237Z] 3.16: Pulling from library/alpine [2022-10-26T20:40:57.237Z] 9b18e9b68314: Already exists [2022-10-26T20:40:57.237Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T20:40:57.237Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T20:40:57.237Z] ---> a6215f271958 [2022-10-26T20:40:57.237Z] Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T20:40:57.237Z] ---> Running in 8caced6206cd [2022-10-26T20:40:57.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T20:40:57.237Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T20:40:57.237Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T20:40:57.237Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T20:40:57.237Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T20:40:57.237Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T20:40:57.237Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T20:40:57.237Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T20:40:57.237Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T20:40:57.237Z] OK: 8 MiB in 20 packages [2022-10-26T20:40:57.237Z] Removing intermediate container 8caced6206cd [2022-10-26T20:40:57.237Z] ---> f291f54f313b [2022-10-26T20:40:57.237Z] Step 15/24 : COPY --from=builder /device-snmp-go/cmd / [2022-10-26T20:40:57.237Z] ---> 3693a0a594ce [2022-10-26T20:40:57.237Z] Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-10-26T20:40:57.237Z] ---> e1db3d02e200 [2022-10-26T20:40:57.237Z] Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / [2022-10-26T20:40:57.237Z] ---> 408506cfe858 [2022-10-26T20:40:57.237Z] Step 18/24 : EXPOSE 59993 [2022-10-26T20:40:57.237Z] ---> Running in 4884b2d02fbf [2022-10-26T20:40:57.237Z] Removing intermediate container 4884b2d02fbf [2022-10-26T20:40:57.237Z] ---> 6d6386832fe0 [2022-10-26T20:40:57.237Z] Step 19/24 : EXPOSE 161 [2022-10-26T20:40:57.237Z] ---> Running in c49ea9886ee7 [2022-10-26T20:40:57.237Z] Removing intermediate container c49ea9886ee7 [2022-10-26T20:40:57.237Z] ---> 010baf9f1d08 [2022-10-26T20:40:57.237Z] Step 20/24 : ENTRYPOINT ["/device-snmp"] [2022-10-26T20:40:57.237Z] ---> Running in 11e1ee4a495d [2022-10-26T20:40:57.237Z] Removing intermediate container 11e1ee4a495d [2022-10-26T20:40:57.237Z] ---> 28a3a3d5e442 [2022-10-26T20:40:57.237Z] Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-26T20:40:57.237Z] ---> Running in 86a16f40b97b [2022-10-26T20:40:57.237Z] Removing intermediate container 86a16f40b97b [2022-10-26T20:40:57.237Z] ---> 8c36f238f0fa [2022-10-26T20:40:57.237Z] Step 22/24 : LABEL arch=arm64 [2022-10-26T20:40:57.237Z] ---> Running in 1265bebf5a96 [2022-10-26T20:40:57.237Z] Removing intermediate container 1265bebf5a96 [2022-10-26T20:40:57.237Z] ---> b9a65a155dee [2022-10-26T20:40:57.237Z] Step 23/24 : LABEL git_sha=ba4ae97a6e2cff8de42795e0a133f17055283998 [2022-10-26T20:40:57.237Z] ---> Running in 6e28957e8055 [2022-10-26T20:40:57.509Z] Removing intermediate container 6e28957e8055 [2022-10-26T20:40:57.509Z] ---> 1b51c7d8944c [2022-10-26T20:40:57.509Z] Step 24/24 : LABEL version=0.0.0 [2022-10-26T20:40:57.509Z] ---> Running in f026bb133113 [2022-10-26T20:40:57.778Z] Removing intermediate container f026bb133113 [2022-10-26T20:40:57.778Z] ---> e90e163a600f [2022-10-26T20:40:57.778Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T20:40:58.047Z] Successfully built e90e163a600f [2022-10-26T20:40:58.047Z] Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:40:58.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:40:58.502Z] [2022-10-26T20:40:58.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:40:58.843Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:40:59.117Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T20:40:59.117Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T20:40:59.117Z] 04944245beec: Pulling fs layer [2022-10-26T20:40:59.117Z] 699f458cf7ca: Pulling fs layer [2022-10-26T20:40:59.117Z] 765212b225bb: Pulling fs layer [2022-10-26T20:40:59.117Z] f23df028b6ca: Pulling fs layer [2022-10-26T20:40:59.117Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T20:40:59.117Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T20:40:59.117Z] 765212b225bb: Waiting [2022-10-26T20:40:59.117Z] f23df028b6ca: Waiting [2022-10-26T20:40:59.117Z] d65c8cfc05b1: Waiting [2022-10-26T20:40:59.117Z] 2437ff75d9bd: Waiting [2022-10-26T20:40:59.117Z] 04944245beec: Verifying Checksum [2022-10-26T20:40:59.117Z] 04944245beec: Download complete [2022-10-26T20:40:59.389Z] 765212b225bb: Download complete [2022-10-26T20:40:59.389Z] 699f458cf7ca: Verifying Checksum [2022-10-26T20:40:59.389Z] 699f458cf7ca: Download complete [2022-10-26T20:40:59.389Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T20:40:59.389Z] d65c8cfc05b1: Download complete [2022-10-26T20:40:59.389Z] f23df028b6ca: Verifying Checksum [2022-10-26T20:40:59.389Z] f23df028b6ca: Download complete [2022-10-26T20:40:59.984Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T20:40:59.984Z] 8998bd30e6a1: Download complete [2022-10-26T20:41:02.581Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T20:41:02.581Z] 2437ff75d9bd: Download complete [2022-10-26T20:41:04.003Z] 8998bd30e6a1: Pull complete [2022-10-26T20:41:04.596Z] 04944245beec: Pull complete [2022-10-26T20:41:06.018Z] 699f458cf7ca: Pull complete [2022-10-26T20:41:06.286Z] 765212b225bb: Pull complete [2022-10-26T20:41:07.252Z] f23df028b6ca: Pull complete [2022-10-26T20:41:07.252Z] d65c8cfc05b1: Pull complete [2022-10-26T20:41:22.286Z] 2437ff75d9bd: Pull complete [2022-10-26T20:41:22.286Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T20:41:22.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T20:41:22.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:41:22.503Z] prd-ubuntu20.04-docker-arm64-4c-16g-117308 does not seem to be running inside a container [2022-10-26T20:41:22.590Z] $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-26T20:41:25.645Z] $ docker top 145d3f753b2f75c25c120611c234ab3506305b5f640afcc818c99a0d7db345c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:26.527Z] ---> job-cost.sh [2022-10-26T20:41:26.527Z] lf-activate-venv: SKIPPING [2022-10-26T20:41:26.527Z] INFO: No Stack... [2022-10-26T20:41:26.796Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T20:41:27.758Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T20:41:28.404Z] + cat /w/workspace/device-snmp-go/4/archives/cost.csv [2022-10-26T20:41:28.404Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T20:41:28.475Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-200-4-stack-cost] [2022-10-26T20:41:28.489Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-200-4-stack-cost] did not exist. Created. [2022-10-26T20:41:28.489Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-200-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T20:41:29.150Z] /w/workspace/device-snmp-go/4@tmp/durable-d5a7e21e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T20:41:29.824Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T20:41:29.840Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T20:41:29.896Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T20:41:29.904Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-200-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T20:41:29.928Z] $ docker stop --time=1 145d3f753b2f75c25c120611c234ab3506305b5f640afcc818c99a0d7db345c3 [2022-10-26T20:41:31.565Z] $ docker rm -f 145d3f753b2f75c25c120611c234ab3506305b5f640afcc818c99a0d7db345c3 [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 [2022-10-26T20:41:31.948Z] provisioning config files... [2022-10-26T20:41:31.954Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config10894911558265771307tmp [Pipeline] { [Pipeline] sh [2022-10-26T20:41:32.244Z] + set +x [2022-10-26T20:41:32.244Z] + curl -s https://codecov.io/bash [2022-10-26T20:41:32.244Z] + bash -s -- [2022-10-26T20:41:32.244Z] [2022-10-26T20:41:32.244Z] _____ _ [2022-10-26T20:41:32.244Z] / ____| | | [2022-10-26T20:41:32.244Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T20:41:32.244Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T20:41:32.244Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T20:41:32.244Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T20:41:32.244Z] Bash-1.0.6 [2022-10-26T20:41:32.244Z] [2022-10-26T20:41:32.244Z] [2022-10-26T20:41:32.244Z] ==> git version 2.25.1 found [2022-10-26T20:41:32.244Z] ==> 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 [2022-10-26T20:41:32.244Z] Release-Date: 2020-01-08 [2022-10-26T20:41:32.244Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-26T20:41:32.244Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T20:41:32.244Z] ==> Jenkins CI detected. [2022-10-26T20:41:32.244Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-200 [2022-10-26T20:41:32.244Z] project root: . [2022-10-26T20:41:32.244Z] --> token set from env [2022-10-26T20:41:32.244Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T20:41:32.244Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T20:41:32.244Z] ==> Python coveragepy not found [2022-10-26T20:41:32.244Z] ==> Searching for coverage reports in: [2022-10-26T20:41:32.244Z] + . [2022-10-26T20:41:32.244Z] -> Found 1 reports [2022-10-26T20:41:32.244Z] ==> Detecting git/mercurial file structure [2022-10-26T20:41:32.244Z] ==> Reading reports [2022-10-26T20:41:32.244Z] + ./coverage.out bytes=7631 [2022-10-26T20:41:32.244Z] ==> Appending adjustments [2022-10-26T20:41:32.244Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T20:41:32.503Z] + Found adjustments [2022-10-26T20:41:32.503Z] ==> Gzipping contents [2022-10-26T20:41:32.503Z] 4.0K /tmp/codecov.HE7bQC.gz [2022-10-26T20:41:32.503Z] ==> Uploading reports [2022-10-26T20:41:32.503Z] url: https://codecov.io [2022-10-26T20:41:32.503Z] query: branch=PR-200&commit=ba4ae97a6e2cff8de42795e0a133f17055283998&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-200%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=200&job=&cmd_args= [2022-10-26T20:41:32.503Z] -> Pinging Codecov [2022-10-26T20:41:32.503Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-200&commit=ba4ae97a6e2cff8de42795e0a133f17055283998&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-200%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=200&job=&cmd_args= [2022-10-26T20:41:32.763Z] -> Uploading to [2022-10-26T20:41:32.763Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/6C56EA5C29638FB4528AC87E60AF5AE0/ba4ae97a6e2cff8de42795e0a133f17055283998/af61de12-8ee6-44f1-948b-1e4254040b53.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T204132Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3666e2cc3919240d50b36d3f7065752e92e9299d4c2d28f9f070e15de99a1043 [2022-10-26T20:41:32.763Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T20:41:32.763Z] Dload Upload Total Spent Left Speed [2022-10-26T20:41:33.022Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1543 0 0 100 1543 0 42861 --:--:-- --:--:-- --:--:-- 41702 100 1543 0 0 100 1543 0 6650 --:--:-- --:--:-- --:--:-- 6622 [2022-10-26T20:41:33.022Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-snmp-go/commit/ba4ae97a6e2cff8de42795e0a133f17055283998 [Pipeline] } [2022-10-26T20:41:33.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 [2022-10-26T20:41:33.702Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-200/archives ] [2022-10-26T20:41:33.702Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-200/archives [2022-10-26T20:41:33.702Z] total 16 [2022-10-26T20:41:33.702Z] drwxr-xr-x 3 root root 4096 Oct 26 20:33 . [2022-10-26T20:41:33.702Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:33 .. [2022-10-26T20:41:33.702Z] drwxr-xr-x 2 root root 4096 Oct 26 20:33 cost [2022-10-26T20:41:33.702Z] -rw-r--r-- 1 root root 86 Oct 26 20:33 cost.csv [2022-10-26T20:41:33.702Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-200/archives [2022-10-26T20:41:33.702Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-200/archives [2022-10-26T20:41:33.702Z] total 16 [2022-10-26T20:41:33.702Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 20:33 . [2022-10-26T20:41:33.702Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 20:33 .. [2022-10-26T20:41:33.702Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 20:33 cost [2022-10-26T20:41:33.702Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 20:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:33.988Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:34.844Z] ---> package-listing.sh [2022-10-26T20:41:34.844Z] ++ facter osfamily [2022-10-26T20:41:34.844Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T20:41:35.110Z] + OS_FAMILY=debian [2022-10-26T20:41:35.110Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-200 [2022-10-26T20:41:35.110Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T20:41:35.110Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T20:41:35.110Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T20:41:35.110Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T20:41:35.110Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-200 ']' [2022-10-26T20:41:35.110Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T20:41:35.110Z] + case "${OS_FAMILY}" in [2022-10-26T20:41:35.110Z] + dpkg -l [2022-10-26T20:41:35.110Z] + grep '^ii' [2022-10-26T20:41:35.110Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T20:41:35.110Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T20:41:35.110Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T20:41:35.110Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-200 ']' [2022-10-26T20:41:35.110Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/ [2022-10-26T20:41:35.110Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-200/archives/ [Pipeline] echo [2022-10-26T20:41:35.126Z] 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-200/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-26T20:41:35.427Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T20:41:35.985Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T20:41:35.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T20:41:36.046Z] prd-ubuntu20.04-docker-8c-8g-117307 does not seem to be running inside a container [2022-10-26T20:41:36.080Z] $ 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-200/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-200 -v /w/workspace/gexfoundry_device-snmp-go_PR-200:/w/workspace/gexfoundry_device-snmp-go_PR-200:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-200@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-200@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T20:41:36.296Z] $ docker top 575fd299735672c57f7ad78a0b5de629d5b748e6dca974dc9ee19dac1502fc67 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T20:41:36.647Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T20:41:36.935Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T20:41:37.219Z] + ls /var/log/sa-host [2022-10-26T20:41:37.219Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T20:41:37.291Z] provisioning config files... [2022-10-26T20:41:37.300Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-200@tmp/config6778547598494160506tmp [Pipeline] { [Pipeline] echo [2022-10-26T20:41:37.315Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:37.597Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T20:41:37.605Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:37.930Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T20:41:37.938Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:38.220Z] ---> sudo-logs.sh [2022-10-26T20:41:38.220Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T20:41:38.251Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:38.534Z] ---> job-cost.sh [2022-10-26T20:41:38.534Z] lf-activate-venv: SKIPPING [2022-10-26T20:41:38.534Z] DEBUG: total: 0.2199999988079071 [2022-10-26T20:41:38.534Z] INFO: Retrieving Stack Cost... [2022-10-26T20:41:39.101Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T20:41:39.359Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T20:41:39.370Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T20:41:39.652Z] ---> logs-deploy.sh [2022-10-26T20:41:39.652Z] lf-activate-venv: SKIPPING [2022-10-26T20:41:39.652Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-200/4 [2022-10-26T20:41:39.652Z] INFO: archiving workspace using pattern(s): [2022-10-26T20:41:40.589Z] Archives upload complete. [2022-10-26T20:41:40.589Z] INFO: archiving logs to Nexus