Pull request #418 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a76bb1a6d6ea33bcd96b35074715e2916def199e+328ff548ea1794223110aa3bbf079b4887c6fdbc (8afdee0a999893edaca9ce3227ce159761684226) 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-ssh10732701778341392407.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh17156557415148746127.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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-mqtt-go/branches/PR-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13870276405708280106.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 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-mqtt-go/branches/PR-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14894271832504498689.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9504443163553753016.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-418/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-mqtt-go/branches/PR-418/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2043457165600245596.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 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 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-mqtt-go, buildSnap:false] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt 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-6634 in /w/workspace/gexfoundry_device-mqtt-go_PR-418 [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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-418 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 328ff548ea1794223110aa3bbf079b4887c6fdbc into PR head commit a76bb1a6d6ea33bcd96b35074715e2916def199e > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing a76bb1a6d6ea33bcd96b35074715e2916def199e Checking out Revision a76bb1a6d6ea33bcd96b35074715e2916def199e (PR-418) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-03T01:32:36.168Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-03T01:32:36.348Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-03T01:32:36.444Z] ========================================================= [2022-10-03T01:32:36.444Z] EdgeX Global Pipelines Version Info [2022-10-03T01:32:36.444Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f a76bb1a6d6ea33bcd96b35074715e2916def199e # 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 328ff548ea1794223110aa3bbf079b4887c6fdbc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a76bb1a6d6ea33bcd96b35074715e2916def199e # timeout=10 [2022-10-03T01:32:37.191Z] ------------------- [2022-10-03T01:32:37.192Z] stable info: [2022-10-03T01:32:37.192Z] ------------------- [2022-10-03T01:32:37.192Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-03T01:32:37.192Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T01:32:37.192Z] Message: update stable to v1.0.239 [2022-10-03T01:32:37.762Z] ------------------- [2022-10-03T01:32:37.762Z] experimental info: [2022-10-03T01:32:37.762Z] ------------------- [2022-10-03T01:32:37.762Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-03T01:32:37.762Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-03T01:32:37.762Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-03T01:32:38.023Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-03T01:32:38.059Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-03T01:32:38.101Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-03T01:32:38.140Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-03T01:32:38.178Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-03T01:32:38.218Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-03T01:32:38.256Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-03T01:32:38.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-03T01:32:38.344Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-03T01:32:38.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-03T01:32:38.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-03T01:32:38.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-03T01:32:38.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-03T01:32:38.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-03T01:32:38.591Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T01:32:38.629Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-03T01:32:38.669Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T01:32:38.710Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-03T01:32:38.748Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-03T01:32:38.785Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-03T01:32:38.823Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-03T01:32:38.860Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-03T01:32:38.900Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-03T01:32:38.938Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-03T01:32:38.976Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-03T01:32:39.017Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-03T01:32:39.061Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-03T01:32:39.113Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-418 [Pipeline] echo [2022-10-03T01:32:39.151Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-418 [Pipeline] echo [2022-10-03T01:32:39.188Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-418 [Pipeline] echo [2022-10-03T01:32:39.229Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a76bb1a6d6ea33bcd96b35074715e2916def199e [Pipeline] echo [2022-10-03T01:32:39.272Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a76bb1a [Pipeline] echo [2022-10-03T01:32:39.312Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:32:39.427Z] provisioning config files... [2022-10-03T01:32:39.443Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp/config11129069053689640581tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:32:39.834Z] ---> docker-login.sh [2022-10-03T01:32:39.834Z] nexus3.edgexfoundry.org:10001 [2022-10-03T01:32:40.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.095Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.095Z] [2022-10-03T01:32:40.095Z] Login Succeeded [2022-10-03T01:32:40.095Z] nexus3.edgexfoundry.org:10002 [2022-10-03T01:32:40.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.095Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.095Z] [2022-10-03T01:32:40.095Z] Login Succeeded [2022-10-03T01:32:40.095Z] nexus3.edgexfoundry.org:10003 [2022-10-03T01:32:40.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.354Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.354Z] [2022-10-03T01:32:40.354Z] Login Succeeded [2022-10-03T01:32:40.354Z] nexus3.edgexfoundry.org:10004 [2022-10-03T01:32:40.354Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.354Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.354Z] [2022-10-03T01:32:40.354Z] Login Succeeded [2022-10-03T01:32:40.354Z] docker.io [2022-10-03T01:32:40.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:40.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:40.874Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:40.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:40.874Z] [2022-10-03T01:32:40.874Z] Login Succeeded [2022-10-03T01:32:40.874Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T01:32:40.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-03T01:32:41.530Z] + git rev-list -1 --merges a76bb1a6d6ea33bcd96b35074715e2916def199e~1..a76bb1a6d6ea33bcd96b35074715e2916def199e [Pipeline] echo [2022-10-03T01:32:41.579Z] -----------> git rev-list -1 --merges a76bb1a6d6ea33bcd96b35074715e2916def199e~1..a76bb1a6d6ea33bcd96b35074715e2916def199e a76bb1a6d6ea33bcd96b35074715e2916def199e [false] [Pipeline] sh [2022-10-03T01:32:41.887Z] + git log --format=format:%s -1 a76bb1a6d6ea33bcd96b35074715e2916def199e [Pipeline] echo [2022-10-03T01:32:41.920Z] ========================================================= [2022-10-03T01:32:41.920Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-03T01:32:41.920Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T01:32:42.352Z] + git log --format=format:%s -1 a76bb1a6d6ea33bcd96b35074715e2916def199e [Pipeline] echo [2022-10-03T01:32:42.385Z] [semverPrep] GIT_COMMIT: a76bb1a6d6ea33bcd96b35074715e2916def199e, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-10-03T01:32:42.415Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-03T01:32:42.815Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-03T01:32:42.815Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-03T01:32:42.815Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-03T01:32:42.815Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-03T01:32:42.815Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-03T01:32:42.815Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-03T01:32:42.815Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:32:43.305Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T01:32:43.305Z] [2022-10-03T01:32:43.305Z] 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-03T01:32:43.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T01:32:43.694Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-03T01:32:43.694Z] b85a868b505f: Pulling fs layer [2022-10-03T01:32:43.694Z] e2be974225ed: Pulling fs layer [2022-10-03T01:32:43.694Z] 339a4e72a1f5: Pulling fs layer [2022-10-03T01:32:43.694Z] 988bab9f4d93: Pulling fs layer [2022-10-03T01:32:43.694Z] 1469e6f7b9e6: Pulling fs layer [2022-10-03T01:32:43.694Z] eaf3925da568: Pulling fs layer [2022-10-03T01:32:43.694Z] bab4dde63d76: Pulling fs layer [2022-10-03T01:32:43.694Z] bde34c3a00c8: Pulling fs layer [2022-10-03T01:32:43.694Z] b352a97aabf1: Pulling fs layer [2022-10-03T01:32:43.694Z] 4872d77fe225: Pulling fs layer [2022-10-03T01:32:43.694Z] 5851b861e8e6: Pulling fs layer [2022-10-03T01:32:43.694Z] 988bab9f4d93: Waiting [2022-10-03T01:32:43.694Z] 1469e6f7b9e6: Waiting [2022-10-03T01:32:43.694Z] eaf3925da568: Waiting [2022-10-03T01:32:43.694Z] bab4dde63d76: Waiting [2022-10-03T01:32:43.694Z] bde34c3a00c8: Waiting [2022-10-03T01:32:43.694Z] b352a97aabf1: Waiting [2022-10-03T01:32:43.694Z] 4872d77fe225: Waiting [2022-10-03T01:32:43.694Z] 5851b861e8e6: Waiting [2022-10-03T01:32:43.694Z] e2be974225ed: Verifying Checksum [2022-10-03T01:32:43.694Z] e2be974225ed: Download complete [2022-10-03T01:32:43.694Z] 988bab9f4d93: Download complete [2022-10-03T01:32:43.958Z] 339a4e72a1f5: Verifying Checksum [2022-10-03T01:32:43.958Z] 339a4e72a1f5: Download complete [2022-10-03T01:32:43.958Z] 1469e6f7b9e6: Verifying Checksum [2022-10-03T01:32:43.958Z] 1469e6f7b9e6: Download complete [2022-10-03T01:32:43.958Z] eaf3925da568: Verifying Checksum [2022-10-03T01:32:43.958Z] eaf3925da568: Download complete [2022-10-03T01:32:43.958Z] bde34c3a00c8: Verifying Checksum [2022-10-03T01:32:43.958Z] bde34c3a00c8: Download complete [2022-10-03T01:32:43.958Z] b352a97aabf1: Verifying Checksum [2022-10-03T01:32:43.958Z] b352a97aabf1: Download complete [2022-10-03T01:32:43.958Z] 5851b861e8e6: Verifying Checksum [2022-10-03T01:32:43.958Z] 5851b861e8e6: Download complete [2022-10-03T01:32:43.958Z] b85a868b505f: Verifying Checksum [2022-10-03T01:32:43.958Z] b85a868b505f: Download complete [2022-10-03T01:32:44.893Z] bab4dde63d76: Verifying Checksum [2022-10-03T01:32:45.462Z] b85a868b505f: Pull complete [2022-10-03T01:32:45.462Z] e2be974225ed: Pull complete [2022-10-03T01:32:46.031Z] 339a4e72a1f5: Pull complete [2022-10-03T01:32:46.031Z] 988bab9f4d93: Pull complete [2022-10-03T01:32:46.292Z] 1469e6f7b9e6: Pull complete [2022-10-03T01:32:46.550Z] eaf3925da568: Pull complete [2022-10-03T01:32:48.453Z] bab4dde63d76: Pull complete [2022-10-03T01:32:48.453Z] bde34c3a00c8: Pull complete [2022-10-03T01:32:48.453Z] b352a97aabf1: Pull complete [2022-10-03T01:32:48.453Z] 4872d77fe225: Pull complete [2022-10-03T01:32:48.453Z] 5851b861e8e6: Pull complete [2022-10-03T01:32:48.453Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-03T01:32:48.453Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-03T01:32:48.453Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:32:48.680Z] prd-ubuntu20.04-docker-8c-8g-6634 does not seem to be running inside a container [2022-10-03T01:32:48.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-418 -v /w/workspace/gexfoundry_device-mqtt-go_PR-418:/w/workspace/gexfoundry_device-mqtt-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-03T01:32:51.113Z] $ docker top f31b9a1dbcd2a995c30d6384c63503e9fc4798a6ee9048847c59761f343b5fd5 -eo pid,comm [2022-10-03T01:32:51.172Z] 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-03T01:32:51.172Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-03T01:32:51.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T01:32:51.312Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T01:32:51.436Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T01:32:51.440Z] $ docker exec f31b9a1dbcd2a995c30d6384c63503e9fc4798a6ee9048847c59761f343b5fd5 ssh-agent [2022-10-03T01:32:51.549Z] SSH_AUTH_SOCK=/tmp/ssh-D25IDyQKPawJ/agent.32 [2022-10-03T01:32:51.549Z] SSH_AGENT_PID=38 [2022-10-03T01:32:51.556Z] Running ssh-add (command line suppressed) [2022-10-03T01:32:51.652Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp/private_key_14569481843021623243.key (/w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp/private_key_14569481843021623243.key) [2022-10-03T01:32:51.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T01:32:51.999Z] + git tag --points-at HEAD [Pipeline] } [2022-10-03T01:32:52.026Z] $ docker exec --env ******** --env ******** f31b9a1dbcd2a995c30d6384c63503e9fc4798a6ee9048847c59761f343b5fd5 ssh-agent -k [2022-10-03T01:32:52.121Z] unset SSH_AUTH_SOCK; [2022-10-03T01:32:52.122Z] unset SSH_AGENT_PID; [2022-10-03T01:32:52.122Z] echo Agent pid 38 killed; [2022-10-03T01:32:52.134Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-03T01:32:52.222Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-03T01:32:52.222Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-03T01:32:52.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-03T01:32:52.344Z] $ docker exec f31b9a1dbcd2a995c30d6384c63503e9fc4798a6ee9048847c59761f343b5fd5 ssh-agent [2022-10-03T01:32:52.459Z] SSH_AUTH_SOCK=/tmp/ssh-Zp5vKVWZXXih/agent.70 [2022-10-03T01:32:52.459Z] SSH_AGENT_PID=76 [2022-10-03T01:32:52.463Z] Running ssh-add (command line suppressed) [2022-10-03T01:32:52.566Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp/private_key_4374271315295317188.key (/w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp/private_key_4374271315295317188.key) [2022-10-03T01:32:52.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-03T01:32:52.904Z] + git semver init [2022-10-03T01:32:53.163Z] 2022-10-03 01:32:53,080 [run_init] DEBUG init version:0.0.0 force:False [2022-10-03T01:32:53.163Z] 2022-10-03 01:32:53,081 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-418/.semver [2022-10-03T01:32:53.163Z] 2022-10-03 01:32:53,081 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-418/.semver [2022-10-03T01:32:53.163Z] 2022-10-03 01:32:53,081 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-418/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-418, universal_newlines=False, shell=None, istream=None) [2022-10-03T01:32:54.099Z] 2022-10-03 01:32:54,031 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-418/.git/info/exclude [2022-10-03T01:32:54.099Z] 2022-10-03 01:32:54,031 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-418/.semver/PR-418 with force:False [2022-10-03T01:32:54.099Z] 2022-10-03 01:32:54,031 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-418/.semver/PR-418 [2022-10-03T01:32:54.099Z] 2022-10-03 01:32:54,035 [execute] INFO git cat-file --batch-check [2022-10-03T01:32:54.099Z] 2022-10-03 01:32:54,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-418/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T01:32:54.099Z] 2022-10-03 01:32:54,041 [execute] INFO git cat-file --batch [2022-10-03T01:32:54.099Z] 2022-10-03 01:32:54,041 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-418/.semver, universal_newlines=False, shell=None, istream=) [2022-10-03T01:32:54.099Z] 2022-10-03 01:32:54,046 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-418/.semver/PR-418 [2022-10-03T01:32:54.099Z] 0.0.0 [Pipeline] } [2022-10-03T01:32:54.130Z] $ docker exec --env ******** --env ******** f31b9a1dbcd2a995c30d6384c63503e9fc4798a6ee9048847c59761f343b5fd5 ssh-agent -k [2022-10-03T01:32:54.235Z] unset SSH_AUTH_SOCK; [2022-10-03T01:32:54.235Z] unset SSH_AGENT_PID; [2022-10-03T01:32:54.235Z] echo Agent pid 76 killed; [2022-10-03T01:32:54.245Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-03T01:32:54.665Z] + git semver [Pipeline] } [2022-10-03T01:32:54.946Z] $ docker stop --time=1 f31b9a1dbcd2a995c30d6384c63503e9fc4798a6ee9048847c59761f343b5fd5 [2022-10-03T01:32:56.243Z] $ docker rm -f f31b9a1dbcd2a995c30d6384c63503e9fc4798a6ee9048847c59761f343b5fd5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T01:32:56.639Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-03T01:32:56.870Z] Stashed 1 file(s) [Pipeline] echo [2022-10-03T01:32:56.898Z] [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-03T01:32:57.478Z] provisioning config files... [2022-10-03T01:32:57.486Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp/config14533544907000334409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:32:57.826Z] ---> docker-login.sh [2022-10-03T01:32:57.826Z] nexus3.edgexfoundry.org:10001 [2022-10-03T01:32:57.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:57.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:57.826Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:57.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:57.826Z] [2022-10-03T01:32:57.826Z] Login Succeeded [2022-10-03T01:32:57.826Z] nexus3.edgexfoundry.org:10002 [2022-10-03T01:32:57.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:58.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:58.087Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:58.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:58.087Z] [2022-10-03T01:32:58.087Z] Login Succeeded [2022-10-03T01:32:58.087Z] nexus3.edgexfoundry.org:10003 [2022-10-03T01:32:58.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:58.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:58.087Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:58.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:58.087Z] [2022-10-03T01:32:58.087Z] Login Succeeded [2022-10-03T01:32:58.087Z] nexus3.edgexfoundry.org:10004 [2022-10-03T01:32:58.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:58.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:58.087Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:58.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:58.087Z] [2022-10-03T01:32:58.087Z] Login Succeeded [2022-10-03T01:32:58.087Z] docker.io [2022-10-03T01:32:58.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:32:58.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:32:58.606Z] Configure a credential helper to remove this warning. See [2022-10-03T01:32:58.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:32:58.606Z] [2022-10-03T01:32:58.606Z] Login Succeeded [2022-10-03T01:32:58.606Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T01:32:58.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T01:32:58.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:32:58.867Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:32:58.902Z] ========================================================= [2022-10-03T01:32:58.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-03T01:32:58.902Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:32:59.411Z] + 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-03T01:32:59.411Z] Sending build context to Docker daemon 6.153MB [2022-10-03T01:32:59.411Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:32:59.411Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T01:32:59.411Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-03T01:32:59.411Z] 2408cc74d12b: Pulling fs layer [2022-10-03T01:32:59.411Z] ea60b727a1ce: Pulling fs layer [2022-10-03T01:32:59.411Z] 30c4a7721957: Pulling fs layer [2022-10-03T01:32:59.411Z] 370296b7ddb6: Pulling fs layer [2022-10-03T01:32:59.411Z] 7c6cee850709: Pulling fs layer [2022-10-03T01:32:59.411Z] aa9baa53a306: Pulling fs layer [2022-10-03T01:32:59.411Z] 8b309c321861: Pulling fs layer [2022-10-03T01:32:59.411Z] d8d76fd02f46: Pulling fs layer [2022-10-03T01:32:59.411Z] fa31f396de31: Pulling fs layer [2022-10-03T01:32:59.411Z] aa9baa53a306: Waiting [2022-10-03T01:32:59.411Z] fa31f396de31: Waiting [2022-10-03T01:32:59.411Z] 8b309c321861: Waiting [2022-10-03T01:32:59.411Z] d8d76fd02f46: Waiting [2022-10-03T01:32:59.411Z] 7c6cee850709: Waiting [2022-10-03T01:32:59.411Z] 30c4a7721957: Verifying Checksum [2022-10-03T01:32:59.411Z] 30c4a7721957: Download complete [2022-10-03T01:32:59.411Z] ea60b727a1ce: Verifying Checksum [2022-10-03T01:32:59.411Z] ea60b727a1ce: Download complete [2022-10-03T01:32:59.693Z] 7c6cee850709: Verifying Checksum [2022-10-03T01:32:59.693Z] 7c6cee850709: Download complete [2022-10-03T01:32:59.693Z] aa9baa53a306: Verifying Checksum [2022-10-03T01:32:59.693Z] aa9baa53a306: Download complete [2022-10-03T01:32:59.693Z] 2408cc74d12b: Download complete [2022-10-03T01:32:59.693Z] 8b309c321861: Download complete [2022-10-03T01:32:59.693Z] 2408cc74d12b: Pull complete [2022-10-03T01:32:59.974Z] ea60b727a1ce: Pull complete [2022-10-03T01:32:59.974Z] 30c4a7721957: Pull complete [2022-10-03T01:33:00.957Z] d8d76fd02f46: Download complete [2022-10-03T01:33:00.957Z] fa31f396de31: Verifying Checksum [2022-10-03T01:33:00.957Z] fa31f396de31: Download complete [2022-10-03T01:33:00.957Z] 370296b7ddb6: Verifying Checksum [2022-10-03T01:33:00.957Z] 370296b7ddb6: Download complete [2022-10-03T01:33:05.148Z] 370296b7ddb6: Pull complete [2022-10-03T01:33:05.149Z] 7c6cee850709: Pull complete [2022-10-03T01:33:05.149Z] aa9baa53a306: Pull complete [2022-10-03T01:33:05.149Z] 8b309c321861: Pull complete [2022-10-03T01:33:07.060Z] d8d76fd02f46: Pull complete [2022-10-03T01:33:07.628Z] fa31f396de31: Pull complete [2022-10-03T01:33:07.628Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-03T01:33:07.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-03T01:33:07.628Z] ---> cef68f9685f8 [2022-10-03T01:33:07.628Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:33:10.935Z] ---> Running in 53cf209dfddb [2022-10-03T01:33:10.935Z] Removing intermediate container 53cf209dfddb [2022-10-03T01:33:10.935Z] ---> 266346232250 [2022-10-03T01:33:10.935Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:33:10.935Z] ---> Running in 8c77d83d8b19 [2022-10-03T01:33:11.193Z] Removing intermediate container 8c77d83d8b19 [2022-10-03T01:33:11.193Z] ---> 381106490845 [2022-10-03T01:33:11.193Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:33:11.193Z] ---> Running in 7ee820b316ca [2022-10-03T01:33:11.193Z] Removing intermediate container 7ee820b316ca [2022-10-03T01:33:11.193Z] ---> c15a9458fe0e [2022-10-03T01:33:11.193Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:33:11.193Z] ---> Running in a02f7cc88fb0 [2022-10-03T01:33:11.455Z] Removing intermediate container a02f7cc88fb0 [2022-10-03T01:33:11.455Z] ---> dc2a093e0cdc [2022-10-03T01:33:11.455Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:33:11.455Z] ---> Running in 64071321be82 [2022-10-03T01:33:12.022Z] Removing intermediate container 64071321be82 [2022-10-03T01:33:12.022Z] ---> 831732366dc8 [2022-10-03T01:33:12.022Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:33:12.022Z] ---> Running in c63ab16911ab [2022-10-03T01:33:12.281Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T01:33:12.295Z] Still waiting to schedule task [2022-10-03T01:33:12.296Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-03T01:33:13.215Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T01:33:13.473Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T01:33:13.473Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T01:33:13.731Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T01:33:13.731Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T01:33:13.731Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T01:33:13.731Z] OK: 216 MiB in 55 packages [2022-10-03T01:33:14.299Z] Removing intermediate container c63ab16911ab [2022-10-03T01:33:14.299Z] ---> a77917e21e94 [2022-10-03T01:33:14.299Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-03T01:33:14.299Z] ---> Running in 69b329c2c905 [2022-10-03T01:33:14.299Z] Removing intermediate container 69b329c2c905 [2022-10-03T01:33:14.299Z] ---> adb7ef2b7b47 [2022-10-03T01:33:14.299Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T01:33:14.558Z] ---> 524c885c2e4d [2022-10-03T01:33:14.558Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:33:14.558Z] ---> Running in e125e4ca8fa1 [2022-10-03T01:33:36.555Z] Removing intermediate container e125e4ca8fa1 [2022-10-03T01:33:36.555Z] ---> bde093e4f2fa [2022-10-03T01:33:36.555Z] Step 12/13 : COPY . . [2022-10-03T01:33:37.121Z] ---> e637817f4686 [2022-10-03T01:33:37.121Z] Step 13/13 : RUN $MAKE [2022-10-03T01:33:37.121Z] ---> Running in a8953b8f824d [2022-10-03T01:33:37.121Z] noop [2022-10-03T01:33:37.379Z] Removing intermediate container a8953b8f824d [2022-10-03T01:33:37.379Z] ---> 3fba31d41a8c [2022-10-03T01:33:37.379Z] Successfully built 3fba31d41a8c [2022-10-03T01:33:37.379Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:33:37.817Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T01:33:37.817Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:33:37.958Z] prd-ubuntu20.04-docker-8c-8g-6634 does not seem to be running inside a container [2022-10-03T01:33:37.986Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-418 -v /w/workspace/gexfoundry_device-mqtt-go_PR-418:/w/workspace/gexfoundry_device-mqtt-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-418@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 ******** ci-base-image-x86_64 cat [2022-10-03T01:33:38.304Z] $ docker top 59c2abed640e7331521558a4cc39c66c56306e9e0492458493aabec8892ed9b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:33:38.686Z] + go version [2022-10-03T01:33:38.686Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-03T01:33:38.716Z] $ docker stop --time=1 59c2abed640e7331521558a4cc39c66c56306e9e0492458493aabec8892ed9b4 [2022-10-03T01:33:39.968Z] $ docker rm -f 59c2abed640e7331521558a4cc39c66c56306e9e0492458493aabec8892ed9b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:33:40.660Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-03T01:33:40.660Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:33:40.801Z] prd-ubuntu20.04-docker-8c-8g-6634 does not seem to be running inside a container [2022-10-03T01:33:40.833Z] $ 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-mqtt-go_PR-418 -v /w/workspace/gexfoundry_device-mqtt-go_PR-418:/w/workspace/gexfoundry_device-mqtt-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-418@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 ******** ci-base-image-x86_64 cat [2022-10-03T01:33:41.155Z] $ docker top 27772b8c30c1acd81c82499f6861377f5aba0c38aca21e713b1a7739fb737911 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:33:41.540Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-418 [Pipeline] fileExists [Pipeline] sh [2022-10-03T01:33:41.902Z] + make test [2022-10-03T01:33:41.902Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T01:33:42.160Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-03T01:33:52.123Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-03T01:33:52.123Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-10-03T01:33:52.123Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-03T01:33:58.683Z] 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-03T01:33:58.683Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T01:34:01.966Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T01:34:01.966Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T01:34:01.966Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T01:34:01.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T01:34:02.028Z] $ docker stop --time=1 27772b8c30c1acd81c82499f6861377f5aba0c38aca21e713b1a7739fb737911 [2022-10-03T01:34:04.403Z] $ docker rm -f 27772b8c30c1acd81c82499f6861377f5aba0c38aca21e713b1a7739fb737911 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T01:34:04.967Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T01:34:05.027Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-03T01:34:05.712Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T01:34:06.014Z] + ls -al . [2022-10-03T01:34:06.014Z] total 184 [2022-10-03T01:34:06.014Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 01:33 . [2022-10-03T01:34:06.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:32 .. [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 01:32 .dockerignore [2022-10-03T01:34:06.014Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:33 .git [2022-10-03T01:34:06.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:32 .github [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 01:32 .gitignore [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:32 .golangci.yml [2022-10-03T01:34:06.014Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:32 .semver [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 3 01:32 Attribution.txt [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 3 01:32 CHANGELOG.md [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 3 01:32 Dockerfile [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:32 GOVERNANCE.md [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 3 01:32 Jenkinsfile [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:32 LICENSE [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 3 01:32 Makefile [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 01:32 OWNERS.md [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 3 01:32 README.md [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:32 VERSION [2022-10-03T01:34:06.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:32 bin [2022-10-03T01:34:06.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:32 cmd [2022-10-03T01:34:06.014Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 3 01:33 coverage.out [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 3 01:32 go.mod [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 01:32 go.sum [2022-10-03T01:34:06.014Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:32 internal [2022-10-03T01:34:06.014Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:32 mock [2022-10-03T01:34:06.014Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:32 snap [2022-10-03T01:34:06.014Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 3 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:34:06.422Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a76bb1a6d6ea33bcd96b35074715e2916def199e --label arch=amd64 --label version=0.0.0 . [2022-10-03T01:34:06.422Z] Sending build context to Docker daemon 6.172MB [2022-10-03T01:34:06.422Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:34:06.422Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T01:34:06.422Z] ---> 3fba31d41a8c [2022-10-03T01:34:06.422Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:34:06.681Z] ---> Running in 212be2910e70 [2022-10-03T01:34:06.681Z] Removing intermediate container 212be2910e70 [2022-10-03T01:34:06.681Z] ---> 0062b0dfee01 [2022-10-03T01:34:06.681Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:34:06.681Z] ---> Running in 3fbb937414a9 [2022-10-03T01:34:06.681Z] Removing intermediate container 3fbb937414a9 [2022-10-03T01:34:06.681Z] ---> 66b68517ca9d [2022-10-03T01:34:06.681Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:34:06.681Z] ---> Running in 1436c397ef92 [2022-10-03T01:34:06.941Z] Removing intermediate container 1436c397ef92 [2022-10-03T01:34:06.941Z] ---> 7bf861b623d3 [2022-10-03T01:34:06.941Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:34:06.941Z] ---> Running in 917d3253ab4f [2022-10-03T01:34:06.941Z] Removing intermediate container 917d3253ab4f [2022-10-03T01:34:06.941Z] ---> 25c970988af5 [2022-10-03T01:34:06.941Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:34:06.941Z] ---> Running in a5edb3484c81 [2022-10-03T01:34:07.509Z] Removing intermediate container a5edb3484c81 [2022-10-03T01:34:07.509Z] ---> d5438495a3af [2022-10-03T01:34:07.509Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:34:07.509Z] ---> Running in 97ab6119aada [2022-10-03T01:34:07.768Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T01:34:08.709Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T01:34:08.968Z] OK: 216 MiB in 55 packages [2022-10-03T01:34:09.229Z] Removing intermediate container 97ab6119aada [2022-10-03T01:34:09.229Z] ---> 149f4c93fbad [2022-10-03T01:34:09.229Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-03T01:34:09.229Z] ---> Running in 8bf8d5cd7ab8 [2022-10-03T01:34:09.490Z] Removing intermediate container 8bf8d5cd7ab8 [2022-10-03T01:34:09.490Z] ---> 8717701f04ad [2022-10-03T01:34:09.490Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-03T01:34:09.490Z] ---> 7539f8f243a1 [2022-10-03T01:34:09.490Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:34:09.490Z] ---> Running in a511efa2c11b [2022-10-03T01:34:10.065Z] Removing intermediate container a511efa2c11b [2022-10-03T01:34:10.065Z] ---> 6db287bb87cb [2022-10-03T01:34:10.065Z] Step 12/25 : COPY . . [2022-10-03T01:34:10.640Z] ---> c418e80a6468 [2022-10-03T01:34:10.640Z] Step 13/25 : RUN $MAKE [2022-10-03T01:34:10.640Z] ---> Running in 09651112d7e3 [2022-10-03T01:34:10.899Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-10-03T01:34:32.854Z] Removing intermediate container 09651112d7e3 [2022-10-03T01:34:32.854Z] ---> 4fee805d1310 [2022-10-03T01:34:32.854Z] Step 14/25 : FROM alpine:3.16 [2022-10-03T01:34:33.421Z] 3.16: Pulling from library/alpine [2022-10-03T01:34:33.421Z] 213ec9aee27d: Pulling fs layer [2022-10-03T01:34:33.795Z] 213ec9aee27d: Verifying Checksum [2022-10-03T01:34:33.795Z] 213ec9aee27d: Download complete [2022-10-03T01:34:33.795Z] 213ec9aee27d: Pull complete [2022-10-03T01:34:33.795Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T01:34:33.795Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T01:34:33.795Z] ---> 9c6f07244728 [2022-10-03T01:34:33.795Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-03T01:34:34.059Z] ---> Running in 7cf239802fe9 [2022-10-03T01:34:34.059Z] Removing intermediate container 7cf239802fe9 [2022-10-03T01:34:34.059Z] ---> 5e0816f3d6bb [2022-10-03T01:34:34.059Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T01:34:34.059Z] ---> Running in caccdcac6a5f [2022-10-03T01:34:34.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-03T01:34:34.317Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-03T01:34:34.576Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T01:34:34.576Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T01:34:34.576Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T01:34:34.576Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T01:34:34.576Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T01:34:34.576Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T01:34:34.576Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T01:34:34.576Z] OK: 8 MiB in 20 packages [2022-10-03T01:34:35.142Z] Removing intermediate container caccdcac6a5f [2022-10-03T01:34:35.142Z] ---> 50b2395ca183 [2022-10-03T01:34:35.142Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-03T01:34:35.709Z] ---> 3ec7cf0564a0 [2022-10-03T01:34:35.709Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-03T01:34:35.709Z] ---> bf28aeaf20a3 [2022-10-03T01:34:35.709Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-03T01:34:35.970Z] ---> b1ac65df3a21 [2022-10-03T01:34:35.970Z] Step 20/25 : EXPOSE 59982 [2022-10-03T01:34:35.970Z] ---> Running in 906c870123f3 [2022-10-03T01:34:35.970Z] Removing intermediate container 906c870123f3 [2022-10-03T01:34:35.970Z] ---> b18c12b79fde [2022-10-03T01:34:35.970Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-03T01:34:35.970Z] ---> Running in 81ebbf7d37c2 [2022-10-03T01:34:36.232Z] Removing intermediate container 81ebbf7d37c2 [2022-10-03T01:34:36.232Z] ---> 8de9803c1316 [2022-10-03T01:34:36.232Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T01:34:36.232Z] ---> Running in a024cc5b7969 [2022-10-03T01:34:36.232Z] Removing intermediate container a024cc5b7969 [2022-10-03T01:34:36.232Z] ---> 1c95016caac8 [2022-10-03T01:34:36.232Z] Step 23/25 : LABEL arch=amd64 [2022-10-03T01:34:36.232Z] ---> Running in b0b399dd618b [2022-10-03T01:34:36.232Z] Removing intermediate container b0b399dd618b [2022-10-03T01:34:36.232Z] ---> dacf060211e6 [2022-10-03T01:34:36.232Z] Step 24/25 : LABEL git_sha=a76bb1a6d6ea33bcd96b35074715e2916def199e [2022-10-03T01:34:36.232Z] ---> Running in f40069354370 [2022-10-03T01:34:36.492Z] Removing intermediate container f40069354370 [2022-10-03T01:34:36.492Z] ---> da9b0805814c [2022-10-03T01:34:36.492Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T01:34:36.492Z] ---> Running in 22ff774d1803 [2022-10-03T01:34:36.492Z] Removing intermediate container 22ff774d1803 [2022-10-03T01:34:36.492Z] ---> 89ddbfaba73c [2022-10-03T01:34:36.492Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T01:34:36.492Z] Successfully built 89ddbfaba73c [2022-10-03T01:34:36.492Z] Successfully tagged device-mqtt: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-03T01:34:37.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:34:37.345Z] [2022-10-03T01:34:37.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:34:37.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:34:37.727Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-03T01:34:37.727Z] 5eb5b503b376: Pulling fs layer [2022-10-03T01:34:37.727Z] 5c69ac0246d0: Pulling fs layer [2022-10-03T01:34:37.727Z] ec43610c2a17: Pulling fs layer [2022-10-03T01:34:37.727Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-03T01:34:37.727Z] 33b1e0a273af: Pulling fs layer [2022-10-03T01:34:37.727Z] 5d3b04190fa2: Pulling fs layer [2022-10-03T01:34:37.727Z] 2f39f015ded8: Pulling fs layer [2022-10-03T01:34:37.727Z] 5d3b04190fa2: Waiting [2022-10-03T01:34:37.727Z] 3a2ae6a8a46f: Waiting [2022-10-03T01:34:37.727Z] 33b1e0a273af: Waiting [2022-10-03T01:34:37.727Z] 2f39f015ded8: Waiting [2022-10-03T01:34:37.727Z] 5c69ac0246d0: Download complete [2022-10-03T01:34:37.727Z] 3a2ae6a8a46f: Download complete [2022-10-03T01:34:37.727Z] 33b1e0a273af: Verifying Checksum [2022-10-03T01:34:37.727Z] 33b1e0a273af: Download complete [2022-10-03T01:34:37.727Z] 5d3b04190fa2: Verifying Checksum [2022-10-03T01:34:37.727Z] 5d3b04190fa2: Download complete [2022-10-03T01:34:37.727Z] ec43610c2a17: Verifying Checksum [2022-10-03T01:34:37.727Z] ec43610c2a17: Download complete [2022-10-03T01:34:37.985Z] 5eb5b503b376: Verifying Checksum [2022-10-03T01:34:37.985Z] 5eb5b503b376: Download complete [2022-10-03T01:34:38.550Z] 2f39f015ded8: Download complete [2022-10-03T01:34:39.486Z] 5eb5b503b376: Pull complete [2022-10-03T01:34:39.486Z] 5c69ac0246d0: Pull complete [2022-10-03T01:34:40.054Z] ec43610c2a17: Pull complete [2022-10-03T01:34:40.054Z] 3a2ae6a8a46f: Pull complete [2022-10-03T01:34:40.313Z] 33b1e0a273af: Pull complete [2022-10-03T01:34:40.313Z] 5d3b04190fa2: Pull complete [2022-10-03T01:34:45.586Z] 2f39f015ded8: Pull complete [2022-10-03T01:34:45.586Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-03T01:34:45.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:34:45.586Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:34:45.803Z] prd-ubuntu20.04-docker-8c-8g-6634 does not seem to be running inside a container [2022-10-03T01:34:45.833Z] $ 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-mqtt-go_PR-418 -v /w/workspace/gexfoundry_device-mqtt-go_PR-418:/w/workspace/gexfoundry_device-mqtt-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T01:34:49.219Z] $ docker top 79cba4ad7a94a32bed95a26e1afbf32a315cbbe875672990756cefd463b98bf6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:34:49.738Z] ---> job-cost.sh [2022-10-03T01:34:49.739Z] lf-activate-venv: SKIPPING [2022-10-03T01:34:49.739Z] INFO: No Stack... [2022-10-03T01:34:49.998Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T01:34:50.257Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T01:34:50.571Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-418/archives/cost.csv [2022-10-03T01:34:50.571Z] + cut -d, -f6 [Pipeline] lock [2022-10-03T01:34:50.613Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-418-1-stack-cost] [2022-10-03T01:34:50.618Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-418-1-stack-cost] did not exist. Created. [2022-10-03T01:34:50.618Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T01:34:51.012Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-03T01:34:51.070Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T01:34:51.098Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T01:34:51.184Z] $ docker stop --time=1 79cba4ad7a94a32bed95a26e1afbf32a315cbbe875672990756cefd463b98bf6 [2022-10-03T01:34:52.343Z] $ docker rm -f 79cba4ad7a94a32bed95a26e1afbf32a315cbbe875672990756cefd463b98bf6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-03T01:40:45.542Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6706 in /w/workspace/gexfoundry_device-mqtt-go_PR-418 [Pipeline] { [Pipeline] ws [2022-10-03T01:40:45.587Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-10-03T01:40:45.719Z] Selected Git installation does not exist. Using Default [2022-10-03T01:40:45.719Z] The recommended git tool is: NONE [2022-10-03T01:40:51.163Z] using credential edgex-jenkins-ssh [2022-10-03T01:40:51.179Z] Cloning the remote Git repository [2022-10-03T01:40:51.224Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-03T01:40:51.300Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-10-03T01:40:51.455Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-03T01:40:51.456Z] > git --version # timeout=10 [2022-10-03T01:40:51.474Z] > git --version # 'git version 2.25.1' [2022-10-03T01:40:51.476Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T01:40:51.529Z] Verifying host key using known hosts file [2022-10-03T01:40:51.741Z] 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-03T01:40:51.754Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T01:40:52.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-03T01:40:52.866Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-03T01:40:54.293Z] Merging remotes/origin/main commit 328ff548ea1794223110aa3bbf079b4887c6fdbc into PR head commit a76bb1a6d6ea33bcd96b35074715e2916def199e [2022-10-03T01:40:53.702Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-03T01:40:53.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-03T01:40:53.749Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T01:40:53.754Z] Verifying host key using known hosts file [2022-10-03T01:40:53.761Z] 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-03T01:40:53.772Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-03T01:40:54.311Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T01:40:54.327Z] > git checkout -f a76bb1a6d6ea33bcd96b35074715e2916def199e # timeout=10 [2022-10-03T01:40:54.404Z] > git remote # timeout=10 [2022-10-03T01:40:54.423Z] > git config --get remote.origin.url # timeout=10 [2022-10-03T01:40:54.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-03T01:40:54.444Z] Verifying host key using known hosts file [2022-10-03T01:40:54.450Z] 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-03T01:40:54.502Z] Merge succeeded, producing a76bb1a6d6ea33bcd96b35074715e2916def199e [2022-10-03T01:40:54.502Z] Checking out Revision a76bb1a6d6ea33bcd96b35074715e2916def199e (PR-418) [2022-10-03T01:40:55.015Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-10-03T01:40:55.063Z] > git --version # timeout=10 [2022-10-03T01:40:55.073Z] > git --version # 'git version 2.25.1' [2022-10-03T01:40:55.097Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T01:40:54.459Z] > git merge 328ff548ea1794223110aa3bbf079b4887c6fdbc # timeout=10 [2022-10-03T01:40:54.485Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-03T01:40:54.508Z] > git config core.sparsecheckout # timeout=10 [2022-10-03T01:40:54.520Z] > git checkout -f a76bb1a6d6ea33bcd96b35074715e2916def199e # timeout=10 [2022-10-03T01:40:56.110Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-03T01:40:56.111Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T01:40:56.111Z] Dload Upload Total Spent Left Speed [2022-10-03T01:40:56.111Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh [2022-10-03T01:40:56.692Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-03T01:40:57.047Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-03T01:40:57.047Z] + sudo tee /etc/docker/daemon.new [2022-10-03T01:40:57.047Z] { [2022-10-03T01:40:57.047Z] "registry-mirrors": [ [2022-10-03T01:40:57.047Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-03T01:40:57.047Z] ], [2022-10-03T01:40:57.047Z] "bip": "10.250.0.254/24", [2022-10-03T01:40:57.047Z] "hosts": [ [2022-10-03T01:40:57.047Z] "tcp://0.0.0.0:5555", [2022-10-03T01:40:57.047Z] "unix:///var/run/docker.sock" [2022-10-03T01:40:57.047Z] ], [2022-10-03T01:40:57.047Z] "mtu": 1458, [2022-10-03T01:40:57.047Z] "selinux-enabled": true, [2022-10-03T01:40:57.047Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-03T01:40:57.047Z] } [Pipeline] sh [2022-10-03T01:40:57.403Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-03T01:40:57.761Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:41:16.091Z] provisioning config files... [2022-10-03T01:41:16.122Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6612238278237399694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:41:16.539Z] ---> docker-login.sh [2022-10-03T01:41:16.539Z] nexus3.edgexfoundry.org:10001 [2022-10-03T01:41:17.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:17.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:17.131Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:17.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:17.131Z] [2022-10-03T01:41:17.131Z] Login Succeeded [2022-10-03T01:41:17.131Z] nexus3.edgexfoundry.org:10002 [2022-10-03T01:41:17.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:17.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:17.402Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:17.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:17.402Z] [2022-10-03T01:41:17.402Z] Login Succeeded [2022-10-03T01:41:17.674Z] nexus3.edgexfoundry.org:10003 [2022-10-03T01:41:17.674Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:17.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:17.945Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:17.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:17.945Z] [2022-10-03T01:41:17.945Z] Login Succeeded [2022-10-03T01:41:17.945Z] nexus3.edgexfoundry.org:10004 [2022-10-03T01:41:18.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:18.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:18.219Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:18.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:18.219Z] [2022-10-03T01:41:18.219Z] Login Succeeded [2022-10-03T01:41:18.219Z] docker.io [2022-10-03T01:41:18.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-03T01:41:19.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-03T01:41:19.080Z] Configure a credential helper to remove this warning. See [2022-10-03T01:41:19.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-03T01:41:19.080Z] [2022-10-03T01:41:19.080Z] Login Succeeded [2022-10-03T01:41:19.080Z] ---> docker-login.sh ends [Pipeline] } [2022-10-03T01:41:19.114Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-03T01:41:19.431Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:41:19.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-03T01:41:19.502Z] ========================================================= [2022-10-03T01:41:19.502Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-03T01:41:19.502Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:41:20.001Z] + 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-03T01:41:20.273Z] Sending build context to Docker daemon 3.184MB [2022-10-03T01:41:20.273Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:41:20.273Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-03T01:41:20.544Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-03T01:41:20.544Z] b3c136eddcbf: Pulling fs layer [2022-10-03T01:41:20.544Z] c0a3192eca97: Pulling fs layer [2022-10-03T01:41:20.544Z] a050256f5b6f: Pulling fs layer [2022-10-03T01:41:20.544Z] 656be50a0ddc: Pulling fs layer [2022-10-03T01:41:20.544Z] 2bbca73fdf42: Pulling fs layer [2022-10-03T01:41:20.544Z] f607e4fc86c3: Pulling fs layer [2022-10-03T01:41:20.544Z] 4d572c569a2c: Pulling fs layer [2022-10-03T01:41:20.544Z] fcf976331f73: Pulling fs layer [2022-10-03T01:41:20.544Z] f607e4fc86c3: Waiting [2022-10-03T01:41:20.544Z] 4d572c569a2c: Waiting [2022-10-03T01:41:20.544Z] 656be50a0ddc: Waiting [2022-10-03T01:41:20.544Z] fcf976331f73: Waiting [2022-10-03T01:41:20.544Z] 2bbca73fdf42: Waiting [2022-10-03T01:41:20.544Z] a050256f5b6f: Verifying Checksum [2022-10-03T01:41:20.544Z] a050256f5b6f: Download complete [2022-10-03T01:41:20.544Z] c0a3192eca97: Download complete [2022-10-03T01:41:20.544Z] 2bbca73fdf42: Download complete [2022-10-03T01:41:20.544Z] f607e4fc86c3: Verifying Checksum [2022-10-03T01:41:20.544Z] f607e4fc86c3: Download complete [2022-10-03T01:41:20.544Z] b3c136eddcbf: Verifying Checksum [2022-10-03T01:41:20.544Z] b3c136eddcbf: Download complete [2022-10-03T01:41:21.544Z] b3c136eddcbf: Pull complete [2022-10-03T01:41:21.816Z] fcf976331f73: Verifying Checksum [2022-10-03T01:41:21.816Z] fcf976331f73: Download complete [2022-10-03T01:41:22.087Z] c0a3192eca97: Pull complete [2022-10-03T01:41:22.364Z] a050256f5b6f: Pull complete [2022-10-03T01:41:22.977Z] 4d572c569a2c: Verifying Checksum [2022-10-03T01:41:22.977Z] 4d572c569a2c: Download complete [2022-10-03T01:41:23.950Z] 656be50a0ddc: Verifying Checksum [2022-10-03T01:41:23.950Z] 656be50a0ddc: Download complete [2022-10-03T01:41:36.332Z] 656be50a0ddc: Pull complete [2022-10-03T01:41:36.332Z] 2bbca73fdf42: Pull complete [2022-10-03T01:41:36.332Z] f607e4fc86c3: Pull complete [2022-10-03T01:41:43.145Z] 4d572c569a2c: Pull complete [2022-10-03T01:41:44.555Z] fcf976331f73: Pull complete [2022-10-03T01:41:44.555Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-03T01:41:44.555Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-03T01:41:44.555Z] ---> 3970a7415f9e [2022-10-03T01:41:44.555Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:41:45.532Z] ---> Running in 536d1feee718 [2022-10-03T01:41:45.801Z] Removing intermediate container 536d1feee718 [2022-10-03T01:41:45.801Z] ---> d8bbbc942b70 [2022-10-03T01:41:45.801Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:41:45.801Z] ---> Running in 24cb7f4cb2a0 [2022-10-03T01:41:46.070Z] Removing intermediate container 24cb7f4cb2a0 [2022-10-03T01:41:46.070Z] ---> 2855d90e8fde [2022-10-03T01:41:46.070Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:41:46.340Z] ---> Running in 2813474109d7 [2022-10-03T01:41:46.612Z] Removing intermediate container 2813474109d7 [2022-10-03T01:41:46.612Z] ---> 9208fc610322 [2022-10-03T01:41:46.612Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:41:46.881Z] ---> Running in 840201f0d62d [2022-10-03T01:41:47.153Z] Removing intermediate container 840201f0d62d [2022-10-03T01:41:47.153Z] ---> 199afc34cc55 [2022-10-03T01:41:47.153Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:41:47.153Z] ---> Running in 37926263732a [2022-10-03T01:41:49.111Z] Removing intermediate container 37926263732a [2022-10-03T01:41:49.111Z] ---> ed9d952941fc [2022-10-03T01:41:49.111Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:41:49.111Z] ---> Running in 41996bfc9c29 [2022-10-03T01:41:50.074Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T01:41:51.051Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T01:41:52.017Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-03T01:41:52.017Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-03T01:41:52.285Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-03T01:41:52.285Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-03T01:41:52.558Z] Executing busybox-1.35.0-r13.trigger [2022-10-03T01:41:52.558Z] OK: 226 MiB in 55 packages [2022-10-03T01:41:53.536Z] Removing intermediate container 41996bfc9c29 [2022-10-03T01:41:53.536Z] ---> c463469d312b [2022-10-03T01:41:53.536Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-03T01:41:53.536Z] ---> Running in 84c06cfa8eac [2022-10-03T01:41:53.805Z] Removing intermediate container 84c06cfa8eac [2022-10-03T01:41:53.805Z] ---> 07e54ffd307d [2022-10-03T01:41:53.805Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-03T01:41:54.401Z] ---> a23c2c1cc128 [2022-10-03T01:41:54.401Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:41:54.401Z] ---> Running in 59e19d0b9382 [2022-10-03T01:42:50.877Z] Removing intermediate container 59e19d0b9382 [2022-10-03T01:42:50.877Z] ---> 1b912520e4b8 [2022-10-03T01:42:50.877Z] Step 12/13 : COPY . . [2022-10-03T01:42:50.877Z] ---> bbbb17593ae9 [2022-10-03T01:42:50.877Z] Step 13/13 : RUN $MAKE [2022-10-03T01:42:50.877Z] ---> Running in 7eb0665d9f85 [2022-10-03T01:42:50.877Z] noop [2022-10-03T01:42:50.877Z] Removing intermediate container 7eb0665d9f85 [2022-10-03T01:42:50.877Z] ---> d1f36364591b [2022-10-03T01:42:50.877Z] Successfully built d1f36364591b [2022-10-03T01:42:50.877Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:42:51.379Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T01:42:51.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:42:51.642Z] prd-ubuntu20.04-docker-arm64-4c-16g-6706 does not seem to be running inside a container [2022-10-03T01:42:51.716Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2022-10-03T01:42:52.979Z] $ docker top 7f22f9ee56a93d8c68b4f02a55388ec8f9437731d39f8b5f022d61e1b1ea5142 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:42:53.858Z] + go version [2022-10-03T01:42:53.858Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-03T01:42:53.899Z] $ docker stop --time=1 7f22f9ee56a93d8c68b4f02a55388ec8f9437731d39f8b5f022d61e1b1ea5142 [2022-10-03T01:42:55.543Z] $ docker rm -f 7f22f9ee56a93d8c68b4f02a55388ec8f9437731d39f8b5f022d61e1b1ea5142 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:42:56.380Z] + docker inspect -f . ci-base-image-arm64 [2022-10-03T01:42:56.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:42:56.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-6706 does not seem to be running inside a container [2022-10-03T01:42:56.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat [2022-10-03T01:42:57.959Z] $ docker top ada4e28a310135d153b2e0b308200bcfe86d13ecf111a210660ac990c2b98994 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:42:58.869Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-03T01:42:59.582Z] + make test [2022-10-03T01:42:59.582Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-03T01:43:01.533Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-03T01:44:38.217Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-03T01:44:39.635Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.087s coverage: 21.8% of statements [2022-10-03T01:44:39.635Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-03T01:44:39.905Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-03T01:44:39.905Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-03T01:45:06.622Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-03T01:45:06.622Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-03T01:45:06.622Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-03T01:45:06.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-03T01:45:06.976Z] $ docker stop --time=1 ada4e28a310135d153b2e0b308200bcfe86d13ecf111a210660ac990c2b98994 [2022-10-03T01:45:08.716Z] $ docker rm -f ada4e28a310135d153b2e0b308200bcfe86d13ecf111a210660ac990c2b98994 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-03T01:45:09.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-03T01:45:09.758Z] Warning: overwriting stash ‘coverage-report’ [2022-10-03T01:45:10.158Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-03T01:45:10.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-03T01:45:11.091Z] + ls -al . [2022-10-03T01:45:11.091Z] total 180 [2022-10-03T01:45:11.091Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 01:43 . [2022-10-03T01:45:11.091Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:40 .. [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 01:40 .dockerignore [2022-10-03T01:45:11.091Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:40 .git [2022-10-03T01:45:11.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:40 .github [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 3 01:40 .gitignore [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:40 .golangci.yml [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 3 01:40 Attribution.txt [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 3 01:40 CHANGELOG.md [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 3 01:40 Dockerfile [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:40 GOVERNANCE.md [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 3 01:40 Jenkinsfile [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:40 LICENSE [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 3 01:40 Makefile [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 01:40 OWNERS.md [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 3 01:40 README.md [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:32 VERSION [2022-10-03T01:45:11.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:40 bin [2022-10-03T01:45:11.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:40 cmd [2022-10-03T01:45:11.091Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 3 01:44 coverage.out [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 3523 Oct 3 01:40 go.mod [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 3 01:40 go.sum [2022-10-03T01:45:11.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:40 internal [2022-10-03T01:45:11.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:40 mock [2022-10-03T01:45:11.091Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:40 snap [2022-10-03T01:45:11.091Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 3 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:45:11.559Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a76bb1a6d6ea33bcd96b35074715e2916def199e --label arch=arm64 --label version=0.0.0 . [2022-10-03T01:45:11.830Z] Sending build context to Docker daemon 3.203MB [2022-10-03T01:45:11.830Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-03T01:45:11.830Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-03T01:45:11.830Z] ---> d1f36364591b [2022-10-03T01:45:11.830Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-03T01:45:12.097Z] ---> Running in 2854a6d43133 [2022-10-03T01:45:12.365Z] Removing intermediate container 2854a6d43133 [2022-10-03T01:45:12.365Z] ---> 2f88877eb9e0 [2022-10-03T01:45:12.365Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-03T01:45:12.365Z] ---> Running in 12e26d99c47f [2022-10-03T01:45:12.639Z] Removing intermediate container 12e26d99c47f [2022-10-03T01:45:12.639Z] ---> 7c3e9a7bab60 [2022-10-03T01:45:12.639Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-03T01:45:12.910Z] ---> Running in 400c238a4874 [2022-10-03T01:45:13.180Z] Removing intermediate container 400c238a4874 [2022-10-03T01:45:13.180Z] ---> 0117b8a020ec [2022-10-03T01:45:13.180Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-03T01:45:13.180Z] ---> Running in 483489cf2140 [2022-10-03T01:45:13.768Z] Removing intermediate container 483489cf2140 [2022-10-03T01:45:13.768Z] ---> 1269734229f8 [2022-10-03T01:45:13.768Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-03T01:45:13.768Z] ---> Running in 986a033056d3 [2022-10-03T01:45:15.732Z] Removing intermediate container 986a033056d3 [2022-10-03T01:45:15.733Z] ---> 7b1e1b69777c [2022-10-03T01:45:15.733Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-03T01:45:15.733Z] ---> Running in 093652f92571 [2022-10-03T01:45:16.701Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T01:45:17.667Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T01:45:19.080Z] OK: 226 MiB in 55 packages [2022-10-03T01:45:20.055Z] Removing intermediate container 093652f92571 [2022-10-03T01:45:20.055Z] ---> 3aa199dec74b [2022-10-03T01:45:20.055Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-03T01:45:20.055Z] ---> Running in 0e61e639917f [2022-10-03T01:45:20.642Z] Removing intermediate container 0e61e639917f [2022-10-03T01:45:20.642Z] ---> 389ddba5f324 [2022-10-03T01:45:20.642Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-03T01:45:21.604Z] ---> 781b968cfe31 [2022-10-03T01:45:21.604Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-03T01:45:21.873Z] ---> Running in 88d72707a326 [2022-10-03T01:45:24.463Z] Removing intermediate container 88d72707a326 [2022-10-03T01:45:24.463Z] ---> 6398d99797bd [2022-10-03T01:45:24.463Z] Step 12/25 : COPY . . [2022-10-03T01:45:25.428Z] ---> 1ba36ea09d20 [2022-10-03T01:45:25.428Z] Step 13/25 : RUN $MAKE [2022-10-03T01:45:25.428Z] ---> Running in 680d4d33f0ce [2022-10-03T01:45:26.397Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-10-03T01:48:03.128Z] Removing intermediate container 680d4d33f0ce [2022-10-03T01:48:03.128Z] ---> 862323dda8a5 [2022-10-03T01:48:03.128Z] Step 14/25 : FROM alpine:3.16 [2022-10-03T01:48:03.128Z] 3.16: Pulling from library/alpine [2022-10-03T01:48:03.128Z] 9b18e9b68314: Pulling fs layer [2022-10-03T01:48:03.128Z] 9b18e9b68314: Verifying Checksum [2022-10-03T01:48:03.128Z] 9b18e9b68314: Download complete [2022-10-03T01:48:03.128Z] 9b18e9b68314: Pull complete [2022-10-03T01:48:03.128Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-03T01:48:03.128Z] Status: Downloaded newer image for alpine:3.16 [2022-10-03T01:48:03.128Z] ---> a6215f271958 [2022-10-03T01:48:03.128Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-03T01:48:03.128Z] ---> Running in 2007bde21048 [2022-10-03T01:48:03.128Z] Removing intermediate container 2007bde21048 [2022-10-03T01:48:03.128Z] ---> 6ed810bebfdd [2022-10-03T01:48:03.128Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-03T01:48:03.128Z] ---> Running in b208a1fee713 [2022-10-03T01:48:03.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-03T01:48:03.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-03T01:48:04.542Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-03T01:48:04.542Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-03T01:48:04.542Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-03T01:48:04.542Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-03T01:48:04.542Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-03T01:48:04.542Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-03T01:48:04.542Z] Executing busybox-1.35.0-r17.trigger [2022-10-03T01:48:04.542Z] OK: 8 MiB in 20 packages [2022-10-03T01:48:05.504Z] Removing intermediate container b208a1fee713 [2022-10-03T01:48:05.504Z] ---> 582a2dd58ab4 [2022-10-03T01:48:05.504Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-03T01:48:06.917Z] ---> d56d4a8f6a90 [2022-10-03T01:48:06.917Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-03T01:48:07.512Z] ---> 70b1017f36f0 [2022-10-03T01:48:07.512Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-03T01:48:07.781Z] ---> b5afbf92b12d [2022-10-03T01:48:07.781Z] Step 20/25 : EXPOSE 59982 [2022-10-03T01:48:08.049Z] ---> Running in 6fb497588f55 [2022-10-03T01:48:08.317Z] Removing intermediate container 6fb497588f55 [2022-10-03T01:48:08.317Z] ---> d1316aec16ed [2022-10-03T01:48:08.317Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-03T01:48:08.317Z] ---> Running in 8fdee717d74f [2022-10-03T01:48:08.584Z] Removing intermediate container 8fdee717d74f [2022-10-03T01:48:08.584Z] ---> a8dc353dd8a0 [2022-10-03T01:48:08.584Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-03T01:48:08.584Z] ---> Running in 046ff45273f4 [2022-10-03T01:48:08.851Z] Removing intermediate container 046ff45273f4 [2022-10-03T01:48:08.851Z] ---> d51d89aedc52 [2022-10-03T01:48:08.851Z] Step 23/25 : LABEL arch=arm64 [2022-10-03T01:48:09.120Z] ---> Running in 5a3c9bcb8df3 [2022-10-03T01:48:09.390Z] Removing intermediate container 5a3c9bcb8df3 [2022-10-03T01:48:09.390Z] ---> 73499ed0cec6 [2022-10-03T01:48:09.390Z] Step 24/25 : LABEL git_sha=a76bb1a6d6ea33bcd96b35074715e2916def199e [2022-10-03T01:48:09.390Z] ---> Running in 182c45c2553b [2022-10-03T01:48:09.659Z] Removing intermediate container 182c45c2553b [2022-10-03T01:48:09.659Z] ---> 0d25b7cfa703 [2022-10-03T01:48:09.659Z] Step 25/25 : LABEL version=0.0.0 [2022-10-03T01:48:09.931Z] ---> Running in 8aef1e25c921 [2022-10-03T01:48:10.200Z] Removing intermediate container 8aef1e25c921 [2022-10-03T01:48:10.200Z] ---> 64da3a0f5748 [2022-10-03T01:48:10.200Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-03T01:48:10.200Z] Successfully built 64da3a0f5748 [2022-10-03T01:48:10.201Z] Successfully tagged device-mqtt-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-03T01:48:11.048Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T01:48:11.048Z] [2022-10-03T01:48:11.048Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:48:11.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T01:48:11.747Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-03T01:48:11.747Z] 8998bd30e6a1: Pulling fs layer [2022-10-03T01:48:11.747Z] 04944245beec: Pulling fs layer [2022-10-03T01:48:11.747Z] 699f458cf7ca: Pulling fs layer [2022-10-03T01:48:11.747Z] 765212b225bb: Pulling fs layer [2022-10-03T01:48:11.747Z] f23df028b6ca: Pulling fs layer [2022-10-03T01:48:11.747Z] d65c8cfc05b1: Pulling fs layer [2022-10-03T01:48:11.747Z] 2437ff75d9bd: Pulling fs layer [2022-10-03T01:48:11.747Z] f23df028b6ca: Waiting [2022-10-03T01:48:11.747Z] 765212b225bb: Waiting [2022-10-03T01:48:11.747Z] d65c8cfc05b1: Waiting [2022-10-03T01:48:11.747Z] 2437ff75d9bd: Waiting [2022-10-03T01:48:11.747Z] 04944245beec: Verifying Checksum [2022-10-03T01:48:11.747Z] 04944245beec: Download complete [2022-10-03T01:48:11.747Z] 765212b225bb: Verifying Checksum [2022-10-03T01:48:11.747Z] 765212b225bb: Download complete [2022-10-03T01:48:11.747Z] f23df028b6ca: Verifying Checksum [2022-10-03T01:48:11.747Z] f23df028b6ca: Download complete [2022-10-03T01:48:12.025Z] d65c8cfc05b1: Verifying Checksum [2022-10-03T01:48:12.025Z] d65c8cfc05b1: Download complete [2022-10-03T01:48:12.025Z] 699f458cf7ca: Verifying Checksum [2022-10-03T01:48:12.025Z] 699f458cf7ca: Download complete [2022-10-03T01:48:12.631Z] 8998bd30e6a1: Verifying Checksum [2022-10-03T01:48:12.632Z] 8998bd30e6a1: Download complete [2022-10-03T01:48:14.637Z] 2437ff75d9bd: Download complete [2022-10-03T01:48:16.579Z] 8998bd30e6a1: Pull complete [2022-10-03T01:48:17.167Z] 04944245beec: Pull complete [2022-10-03T01:48:18.580Z] 699f458cf7ca: Pull complete [2022-10-03T01:48:18.580Z] 765212b225bb: Pull complete [2022-10-03T01:48:19.545Z] f23df028b6ca: Pull complete [2022-10-03T01:48:19.813Z] d65c8cfc05b1: Pull complete [2022-10-03T01:48:34.809Z] 2437ff75d9bd: Pull complete [2022-10-03T01:48:34.809Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-03T01:48:34.809Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-03T01:48:34.809Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:48:35.147Z] prd-ubuntu20.04-docker-arm64-4c-16g-6706 does not seem to be running inside a container [2022-10-03T01:48:35.219Z] $ 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-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-03T01:48:38.073Z] $ docker top 09e0f2afd2818056adceb1d7c6472f36035aa43a2396622effe0fe92c87317eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:38.958Z] ---> job-cost.sh [2022-10-03T01:48:38.958Z] lf-activate-venv: SKIPPING [2022-10-03T01:48:38.958Z] INFO: No Stack... [2022-10-03T01:48:39.224Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-03T01:48:40.180Z] INFO: Archiving Costs [Pipeline] sh [2022-10-03T01:48:40.521Z] + cut -d, -f6 [2022-10-03T01:48:40.521Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-10-03T01:48:40.603Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-418-1-stack-cost] [2022-10-03T01:48:40.607Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-418-1-stack-cost] did not exist. Created. [2022-10-03T01:48:40.608Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-03T01:48:41.017Z] /w/workspace/device-mqtt-go/1@tmp/durable-0e97cf9d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-03T01:48:41.376Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-03T01:48:41.676Z] Warning: overwriting stash ‘stack-cost’ [2022-10-03T01:48:41.718Z] Stashed 1 file(s) [Pipeline] } [2022-10-03T01:48:41.734Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-03T01:48:41.816Z] $ docker stop --time=1 09e0f2afd2818056adceb1d7c6472f36035aa43a2396622effe0fe92c87317eb [2022-10-03T01:48:43.314Z] $ docker rm -f 09e0f2afd2818056adceb1d7c6472f36035aa43a2396622effe0fe92c87317eb [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-03T01:48:44.328Z] provisioning config files... [2022-10-03T01:48:44.339Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp/config14923084003157500902tmp [Pipeline] { [Pipeline] sh [2022-10-03T01:48:44.673Z] + set +x [2022-10-03T01:48:44.673Z] + curl -s https://codecov.io/bash [2022-10-03T01:48:44.673Z] + bash -s -- [2022-10-03T01:48:44.673Z] [2022-10-03T01:48:44.673Z] _____ _ [2022-10-03T01:48:44.673Z] / ____| | | [2022-10-03T01:48:44.673Z] | | ___ __| | ___ ___ _____ __ [2022-10-03T01:48:44.673Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-03T01:48:44.673Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-03T01:48:44.673Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-03T01:48:44.673Z] Bash-1.0.6 [2022-10-03T01:48:44.673Z] [2022-10-03T01:48:44.673Z] [2022-10-03T01:48:44.673Z] ==> git version 2.25.1 found [2022-10-03T01:48:44.673Z] ==> 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-03T01:48:44.673Z] Release-Date: 2020-01-08 [2022-10-03T01:48:44.673Z] 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-03T01:48:44.673Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-03T01:48:44.673Z] ==> Jenkins CI detected. [2022-10-03T01:48:44.673Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-418 [2022-10-03T01:48:44.673Z] project root: . [2022-10-03T01:48:44.673Z] --> token set from env [2022-10-03T01:48:44.673Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-03T01:48:44.673Z] ==> Running gcov in . (disable via -X gcov) [2022-10-03T01:48:44.673Z] ==> Python coveragepy not found [2022-10-03T01:48:44.673Z] ==> Searching for coverage reports in: [2022-10-03T01:48:44.673Z] + . [2022-10-03T01:48:44.673Z] -> Found 1 reports [2022-10-03T01:48:44.673Z] ==> Detecting git/mercurial file structure [2022-10-03T01:48:44.673Z] ==> Reading reports [2022-10-03T01:48:44.673Z] + ./coverage.out bytes=17887 [2022-10-03T01:48:44.673Z] ==> Appending adjustments [2022-10-03T01:48:44.673Z] https://docs.codecov.io/docs/fixing-reports [2022-10-03T01:48:44.935Z] + Found adjustments [2022-10-03T01:48:44.935Z] ==> Gzipping contents [2022-10-03T01:48:44.935Z] 4.0K /tmp/codecov.p34uAl.gz [2022-10-03T01:48:44.935Z] ==> Uploading reports [2022-10-03T01:48:44.935Z] url: https://codecov.io [2022-10-03T01:48:44.935Z] query: branch=PR-418&commit=a76bb1a6d6ea33bcd96b35074715e2916def199e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=418&job=&cmd_args= [2022-10-03T01:48:44.935Z] -> Pinging Codecov [2022-10-03T01:48:44.935Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-418&commit=a76bb1a6d6ea33bcd96b35074715e2916def199e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=418&job=&cmd_args= [2022-10-03T01:48:45.195Z] -> Uploading to [2022-10-03T01:48:45.195Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-03/7D719EC7BBE17E464838252E33014C33/a76bb1a6d6ea33bcd96b35074715e2916def199e/c7b6f397-f956-43a2-9f18-8833cdb79f46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221003%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221003T014845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a6c63f7532c1cb589dec24ba164e9acd00f3b9ae5cca0e016dfa9e91a7d4359 [2022-10-03T01:48:45.195Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-03T01:48:45.195Z] Dload Upload Total Spent Left Speed [2022-10-03T01:48:45.454Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3224 0 0 100 3224 0 12896 --:--:-- --:--:-- --:--:-- 12896 [2022-10-03T01:48:45.454Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a76bb1a6d6ea33bcd96b35074715e2916def199e [Pipeline] } [2022-10-03T01:48:45.482Z] 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-03T01:48:47.186Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-418/archives ] [2022-10-03T01:48:47.186Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-418/archives [2022-10-03T01:48:47.187Z] total 16 [2022-10-03T01:48:47.187Z] drwxr-xr-x 3 root root 4096 Oct 3 01:34 . [2022-10-03T01:48:47.187Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 01:34 .. [2022-10-03T01:48:47.187Z] drwxr-xr-x 2 root root 4096 Oct 3 01:34 cost [2022-10-03T01:48:47.187Z] -rw-r--r-- 1 root root 86 Oct 3 01:34 cost.csv [2022-10-03T01:48:47.187Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-418/archives [2022-10-03T01:48:47.187Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-418/archives [2022-10-03T01:48:47.187Z] total 16 [2022-10-03T01:48:47.187Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:34 . [2022-10-03T01:48:47.187Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 3 01:34 .. [2022-10-03T01:48:47.187Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 01:34 cost [2022-10-03T01:48:47.187Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 01:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:47.519Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:48.405Z] ---> package-listing.sh [2022-10-03T01:48:48.405Z] ++ facter osfamily [2022-10-03T01:48:48.405Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-03T01:48:48.405Z] + OS_FAMILY=debian [2022-10-03T01:48:48.405Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-418 [2022-10-03T01:48:48.405Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-03T01:48:48.405Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-03T01:48:48.405Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-03T01:48:48.405Z] + PACKAGES=/tmp/packages_start.txt [2022-10-03T01:48:48.405Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-418 ']' [2022-10-03T01:48:48.405Z] + PACKAGES=/tmp/packages_end.txt [2022-10-03T01:48:48.405Z] + case "${OS_FAMILY}" in [2022-10-03T01:48:48.405Z] + dpkg -l [2022-10-03T01:48:48.405Z] + grep '^ii' [2022-10-03T01:48:48.664Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-03T01:48:48.664Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-03T01:48:48.664Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-03T01:48:48.664Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-418 ']' [2022-10-03T01:48:48.664Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-418/archives/ [2022-10-03T01:48:48.664Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-418/archives/ [Pipeline] echo [2022-10-03T01:48:48.706Z] 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-mqtt-go_PR-418/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-03T01:48:49.000Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-03T01:48:49.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-03T01:48:49.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-03T01:48:49.769Z] prd-ubuntu20.04-docker-8c-8g-6634 does not seem to be running inside a container [2022-10-03T01:48:49.786Z] $ 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-mqtt-go_PR-418/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-mqtt-go_PR-418 -v /w/workspace/gexfoundry_device-mqtt-go_PR-418:/w/workspace/gexfoundry_device-mqtt-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-418@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-03T01:48:49.973Z] $ docker top 8826651427bb68beb086bb478fdb8bf2ad3f44c6a50b2039f9e132fb48a7bef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-03T01:48:50.361Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-03T01:48:50.658Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-03T01:48:50.971Z] + ls /var/log/sa-host [2022-10-03T01:48:50.971Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-03T01:48:51.185Z] provisioning config files... [2022-10-03T01:48:51.199Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-418@tmp/config6138375529927183700tmp [Pipeline] { [Pipeline] echo [2022-10-03T01:48:51.247Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:51.565Z] ---> create-netrc.sh [Pipeline] } [2022-10-03T01:48:51.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:52.000Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-03T01:48:52.042Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:52.354Z] ---> sudo-logs.sh [2022-10-03T01:48:52.354Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-03T01:48:52.440Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:52.753Z] ---> job-cost.sh [2022-10-03T01:48:52.753Z] lf-activate-venv: SKIPPING [2022-10-03T01:48:52.753Z] DEBUG: total: 0.2199999988079071 [2022-10-03T01:48:52.753Z] INFO: Retrieving Stack Cost... [2022-10-03T01:48:53.324Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-03T01:48:53.583Z] INFO: Archiving Costs [Pipeline] echo [2022-10-03T01:48:53.614Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-03T01:48:53.925Z] ---> logs-deploy.sh [2022-10-03T01:48:53.925Z] lf-activate-venv: SKIPPING [2022-10-03T01:48:53.925Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-418/1 [2022-10-03T01:48:53.925Z] INFO: archiving workspace using pattern(s): [2022-10-03T01:48:54.861Z] Archives upload complete. [2022-10-03T01:48:54.861Z] INFO: archiving logs to Nexus