Pull request #560 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d9a41ae27a784640b541e979395bb790c4f5a6f7+6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 (7c94b2dbca5f8b8e6780f72a12921b9c95a7aafc) 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-ssh15662308656796039801.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh11626372345108137857.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-560/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4562216555252666042.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6546012875251632644.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-560/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16020223142624298527.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-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 ‘prd-centos7-blackbox-4c-2g-7184’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-7185’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8408’ is offline ‘prd-ubuntu20.04-docker-8c-8g-8409’ is offline ‘prd-ubuntu20.04-docker-8c-8g-8417’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-8411’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-8412’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-8414’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8418 in /w/workspace/gexfoundry_device-mqtt-go_PR-560 [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-560 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 into PR head commit d9a41ae27a784640b541e979395bb790c4f5a6f7 Merge succeeded, producing d9a41ae27a784640b541e979395bb790c4f5a6f7 Checking out Revision d9a41ae27a784640b541e979395bb790c4f5a6f7 (PR-560) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-13T07:20:12.548Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-13T07:20:12.604Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-13T07:20:12.618Z] ========================================================= [2023-04-13T07:20:12.618Z] EdgeX Global Pipelines Version Info [2023-04-13T07:20:12.618Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d9a41ae27a784640b541e979395bb790c4f5a6f7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d9a41ae27a784640b541e979395bb790c4f5a6f7 # timeout=10 > git rev-list --no-walk 60aae21d6e0e4b000ee9a0ef5c72878c772e2933 # timeout=10 [2023-04-13T07:20:13.317Z] ------------------- [2023-04-13T07:20:13.317Z] stable info: [2023-04-13T07:20:13.317Z] ------------------- [2023-04-13T07:20:13.317Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-13T07:20:13.317Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T07:20:13.317Z] Message: update stable to v1.0.248 [2023-04-13T07:20:13.887Z] ------------------- [2023-04-13T07:20:13.887Z] experimental info: [2023-04-13T07:20:13.887Z] ------------------- [2023-04-13T07:20:13.887Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-13T07:20:13.887Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-13T07:20:13.887Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-13T07:20:14.052Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-13T07:20:14.066Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-13T07:20:14.076Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-13T07:20:14.087Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-13T07:20:14.099Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-13T07:20:14.112Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-13T07:20:14.122Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-13T07:20:14.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-13T07:20:14.146Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-13T07:20:14.157Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-13T07:20:14.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-13T07:20:14.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-13T07:20:14.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-13T07:20:14.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-13T07:20:14.219Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T07:20:14.231Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-13T07:20:14.239Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T07:20:14.247Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-13T07:20:14.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-13T07:20:14.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-13T07:20:14.271Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-13T07:20:14.280Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-13T07:20:14.296Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-13T07:20:14.307Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-13T07:20:14.323Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-13T07:20:14.341Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-13T07:20:14.365Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-13T07:20:14.383Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-560 [Pipeline] echo [2023-04-13T07:20:14.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-560 [Pipeline] echo [2023-04-13T07:20:14.409Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-560 [Pipeline] echo [2023-04-13T07:20:14.421Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d9a41ae27a784640b541e979395bb790c4f5a6f7 [Pipeline] echo [2023-04-13T07:20:14.434Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d9a41ae [Pipeline] echo [2023-04-13T07:20:14.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:20:14.505Z] provisioning config files... [2023-04-13T07:20:14.520Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config5614786665373347753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:20:14.823Z] ---> docker-login.sh [2023-04-13T07:20:14.823Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:20:15.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:15.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:15.085Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:15.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:15.085Z] [2023-04-13T07:20:15.085Z] Login Succeeded [2023-04-13T07:20:15.085Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:20:15.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:15.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:15.085Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:15.085Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:15.085Z] [2023-04-13T07:20:15.085Z] Login Succeeded [2023-04-13T07:20:15.085Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:20:15.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:15.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:15.345Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:15.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:15.345Z] [2023-04-13T07:20:15.345Z] Login Succeeded [2023-04-13T07:20:15.345Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:20:15.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:15.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:15.345Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:15.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:15.345Z] [2023-04-13T07:20:15.345Z] Login Succeeded [2023-04-13T07:20:15.345Z] docker.io [2023-04-13T07:20:15.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:15.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:15.605Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:15.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:15.605Z] [2023-04-13T07:20:15.605Z] Login Succeeded [2023-04-13T07:20:15.605Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:20:15.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-13T07:20:15.992Z] + git rev-list -1 --merges d9a41ae27a784640b541e979395bb790c4f5a6f7~1..d9a41ae27a784640b541e979395bb790c4f5a6f7 [Pipeline] echo [2023-04-13T07:20:16.049Z] -----------> git rev-list -1 --merges d9a41ae27a784640b541e979395bb790c4f5a6f7~1..d9a41ae27a784640b541e979395bb790c4f5a6f7 d9a41ae27a784640b541e979395bb790c4f5a6f7 [false] [Pipeline] sh [2023-04-13T07:20:16.341Z] + git log --format=format:%s -1 d9a41ae27a784640b541e979395bb790c4f5a6f7 [Pipeline] echo [2023-04-13T07:20:16.354Z] ========================================================= [2023-04-13T07:20:16.354Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-13T07:20:16.354Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T07:20:16.691Z] + git log --format=format:%s -1 d9a41ae27a784640b541e979395bb790c4f5a6f7 [Pipeline] echo [2023-04-13T07:20:16.701Z] [semverPrep] GIT_COMMIT: d9a41ae27a784640b541e979395bb790c4f5a6f7, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-13T07:20:16.712Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-13T07:20:17.055Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-13T07:20:17.055Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-13T07:20:17.055Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-13T07:20:17.055Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-13T07:20:17.055Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-13T07:20:17.055Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-13T07:20:17.055Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:20:17.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:20:17.400Z] [2023-04-13T07:20:17.400Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:20:17.702Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:20:17.703Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-13T07:20:17.703Z] b85a868b505f: Pulling fs layer [2023-04-13T07:20:17.703Z] e2be974225ed: Pulling fs layer [2023-04-13T07:20:17.703Z] 339a4e72a1f5: Pulling fs layer [2023-04-13T07:20:17.703Z] 988bab9f4d93: Pulling fs layer [2023-04-13T07:20:17.703Z] 1469e6f7b9e6: Pulling fs layer [2023-04-13T07:20:17.703Z] eaf3925da568: Pulling fs layer [2023-04-13T07:20:17.703Z] bab4dde63d76: Pulling fs layer [2023-04-13T07:20:17.703Z] bde34c3a00c8: Pulling fs layer [2023-04-13T07:20:17.703Z] b352a97aabf1: Pulling fs layer [2023-04-13T07:20:17.703Z] 4872d77fe225: Pulling fs layer [2023-04-13T07:20:17.703Z] 5851b861e8e6: Pulling fs layer [2023-04-13T07:20:17.703Z] eaf3925da568: Waiting [2023-04-13T07:20:17.703Z] 1469e6f7b9e6: Waiting [2023-04-13T07:20:17.703Z] 988bab9f4d93: Waiting [2023-04-13T07:20:17.703Z] bab4dde63d76: Waiting [2023-04-13T07:20:17.703Z] b352a97aabf1: Waiting [2023-04-13T07:20:17.703Z] bde34c3a00c8: Waiting [2023-04-13T07:20:17.703Z] 4872d77fe225: Waiting [2023-04-13T07:20:17.703Z] e2be974225ed: Verifying Checksum [2023-04-13T07:20:17.703Z] e2be974225ed: Download complete [2023-04-13T07:20:17.703Z] 988bab9f4d93: Verifying Checksum [2023-04-13T07:20:17.703Z] 988bab9f4d93: Download complete [2023-04-13T07:20:17.967Z] 1469e6f7b9e6: Verifying Checksum [2023-04-13T07:20:17.967Z] 1469e6f7b9e6: Download complete [2023-04-13T07:20:17.967Z] eaf3925da568: Verifying Checksum [2023-04-13T07:20:17.967Z] eaf3925da568: Download complete [2023-04-13T07:20:17.967Z] 339a4e72a1f5: Verifying Checksum [2023-04-13T07:20:17.967Z] 339a4e72a1f5: Download complete [2023-04-13T07:20:17.967Z] bde34c3a00c8: Download complete [2023-04-13T07:20:17.967Z] b352a97aabf1: Download complete [2023-04-13T07:20:17.967Z] 4872d77fe225: Verifying Checksum [2023-04-13T07:20:17.967Z] 4872d77fe225: Download complete [2023-04-13T07:20:17.967Z] 5851b861e8e6: Verifying Checksum [2023-04-13T07:20:17.967Z] 5851b861e8e6: Download complete [2023-04-13T07:20:17.967Z] b85a868b505f: Verifying Checksum [2023-04-13T07:20:17.967Z] b85a868b505f: Download complete [2023-04-13T07:20:18.566Z] bab4dde63d76: Verifying Checksum [2023-04-13T07:20:18.566Z] bab4dde63d76: Download complete [2023-04-13T07:20:19.504Z] b85a868b505f: Pull complete [2023-04-13T07:20:19.504Z] e2be974225ed: Pull complete [2023-04-13T07:20:20.071Z] 339a4e72a1f5: Pull complete [2023-04-13T07:20:20.071Z] 988bab9f4d93: Pull complete [2023-04-13T07:20:20.351Z] 1469e6f7b9e6: Pull complete [2023-04-13T07:20:20.610Z] eaf3925da568: Pull complete [2023-04-13T07:20:22.508Z] bab4dde63d76: Pull complete [2023-04-13T07:20:22.508Z] bde34c3a00c8: Pull complete [2023-04-13T07:20:22.767Z] b352a97aabf1: Pull complete [2023-04-13T07:20:22.767Z] 4872d77fe225: Pull complete [2023-04-13T07:20:22.767Z] 5851b861e8e6: Pull complete [2023-04-13T07:20:23.029Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-13T07:20:23.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-13T07:20:23.029Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:20:23.141Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-04-13T07:20:23.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@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-devops/py-git-semver:0.1.4 cat [2023-04-13T07:20:25.040Z] $ docker top 1ae2e4a691e4326f11dd6bad01e88b24e667bba989cf80f898c82f09f3af47c6 -eo pid,comm [2023-04-13T07:20:25.094Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-13T07:20:25.094Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-13T07:20:25.135Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:20:25.135Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:20:25.271Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:20:25.279Z] $ docker exec 1ae2e4a691e4326f11dd6bad01e88b24e667bba989cf80f898c82f09f3af47c6 ssh-agent [2023-04-13T07:20:25.410Z] SSH_AUTH_SOCK=/tmp/ssh-k0rG5wKjOFWs/agent.33 [2023-04-13T07:20:25.410Z] SSH_AGENT_PID=39 [2023-04-13T07:20:25.419Z] Running ssh-add (command line suppressed) [2023-04-13T07:20:25.537Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_11029290412145176286.key (/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_11029290412145176286.key) [2023-04-13T07:20:25.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:20:25.839Z] + git tag --points-at HEAD [Pipeline] } [2023-04-13T07:20:25.855Z] $ docker exec --env ******** --env ******** 1ae2e4a691e4326f11dd6bad01e88b24e667bba989cf80f898c82f09f3af47c6 ssh-agent -k [2023-04-13T07:20:25.958Z] unset SSH_AUTH_SOCK; [2023-04-13T07:20:25.959Z] unset SSH_AGENT_PID; [2023-04-13T07:20:25.960Z] echo Agent pid 39 killed; [2023-04-13T07:20:25.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-13T07:20:25.989Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-13T07:20:25.989Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-13T07:20:26.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-13T07:20:26.115Z] $ docker exec 1ae2e4a691e4326f11dd6bad01e88b24e667bba989cf80f898c82f09f3af47c6 ssh-agent [2023-04-13T07:20:26.219Z] SSH_AUTH_SOCK=/tmp/ssh-8MDdNiDJtHd2/agent.71 [2023-04-13T07:20:26.219Z] SSH_AGENT_PID=77 [2023-04-13T07:20:26.225Z] Running ssh-add (command line suppressed) [2023-04-13T07:20:26.333Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_17432401480266614643.key (/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/private_key_17432401480266614643.key) [2023-04-13T07:20:26.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-13T07:20:26.634Z] + git semver init [2023-04-13T07:20:26.893Z] 2023-04-13 07:20:26,853 [run_init] DEBUG init version:0.0.0 force:False [2023-04-13T07:20:26.893Z] 2023-04-13 07:20:26,854 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver [2023-04-13T07:20:26.893Z] 2023-04-13 07:20:26,855 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver [2023-04-13T07:20:26.893Z] 2023-04-13 07:20:26,855 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-560, universal_newlines=False, shell=None, istream=None) [2023-04-13T07:20:27.832Z] 2023-04-13 07:20:27,610 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.git/info/exclude [2023-04-13T07:20:27.832Z] 2023-04-13 07:20:27,611 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver/PR-560 with force:False [2023-04-13T07:20:27.832Z] 2023-04-13 07:20:27,611 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver/PR-560 [2023-04-13T07:20:27.832Z] 2023-04-13 07:20:27,616 [execute] INFO git cat-file --batch-check [2023-04-13T07:20:27.832Z] 2023-04-13 07:20:27,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T07:20:27.832Z] 2023-04-13 07:20:27,624 [execute] INFO git cat-file --batch [2023-04-13T07:20:27.832Z] 2023-04-13 07:20:27,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver, universal_newlines=False, shell=None, istream=) [2023-04-13T07:20:27.832Z] 2023-04-13 07:20:27,630 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-560/.semver/PR-560 [2023-04-13T07:20:27.832Z] 0.0.0 [Pipeline] } [2023-04-13T07:20:27.847Z] $ docker exec --env ******** --env ******** 1ae2e4a691e4326f11dd6bad01e88b24e667bba989cf80f898c82f09f3af47c6 ssh-agent -k [2023-04-13T07:20:27.949Z] unset SSH_AUTH_SOCK; [2023-04-13T07:20:27.950Z] unset SSH_AGENT_PID; [2023-04-13T07:20:27.950Z] echo Agent pid 77 killed; [2023-04-13T07:20:27.956Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-13T07:20:28.269Z] + git semver [Pipeline] } [2023-04-13T07:20:28.545Z] $ docker stop --time=1 1ae2e4a691e4326f11dd6bad01e88b24e667bba989cf80f898c82f09f3af47c6 [2023-04-13T07:20:29.882Z] $ docker rm -f --volumes 1ae2e4a691e4326f11dd6bad01e88b24e667bba989cf80f898c82f09f3af47c6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:20:30.264Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-13T07:20:30.499Z] Stashed 1 file(s) [Pipeline] echo [2023-04-13T07:20:30.503Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:20:30.639Z] provisioning config files... [2023-04-13T07:20:30.648Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config3545722376922149697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:20:30.941Z] ---> docker-login.sh [2023-04-13T07:20:30.942Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:20:30.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:30.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:30.942Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:30.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:30.942Z] [2023-04-13T07:20:30.942Z] Login Succeeded [2023-04-13T07:20:30.942Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:20:30.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:30.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:30.942Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:30.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:30.942Z] [2023-04-13T07:20:30.942Z] Login Succeeded [2023-04-13T07:20:30.942Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:20:31.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:31.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:31.201Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:31.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:31.201Z] [2023-04-13T07:20:31.201Z] Login Succeeded [2023-04-13T07:20:31.201Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:20:31.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:31.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:31.201Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:31.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:31.201Z] [2023-04-13T07:20:31.201Z] Login Succeeded [2023-04-13T07:20:31.201Z] docker.io [2023-04-13T07:20:31.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:20:31.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:20:31.461Z] Configure a credential helper to remove this warning. See [2023-04-13T07:20:31.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:20:31.461Z] [2023-04-13T07:20:31.461Z] Login Succeeded [2023-04-13T07:20:31.461Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:20:31.469Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T07:20:31.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:20:31.539Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:20:31.545Z] ========================================================= [2023-04-13T07:20:31.545Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-13T07:20:31.545Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:20:31.847Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-13T07:20:31.847Z] Sending build context to Docker daemon 6.423MB [2023-04-13T07:20:31.847Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:20:31.847Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T07:20:31.847Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-13T07:20:31.847Z] 63b65145d645: Pulling fs layer [2023-04-13T07:20:31.847Z] a2d21d5440eb: Pulling fs layer [2023-04-13T07:20:31.847Z] 935e6c44a52c: Pulling fs layer [2023-04-13T07:20:31.847Z] 94cc34f8dd06: Pulling fs layer [2023-04-13T07:20:31.847Z] 30dea6a524f1: Pulling fs layer [2023-04-13T07:20:31.847Z] a2aff8979fd8: Pulling fs layer [2023-04-13T07:20:31.847Z] 6808be2612f2: Pulling fs layer [2023-04-13T07:20:31.847Z] f25807f1079a: Pulling fs layer [2023-04-13T07:20:31.847Z] 30dea6a524f1: Waiting [2023-04-13T07:20:31.847Z] a2aff8979fd8: Waiting [2023-04-13T07:20:31.847Z] 6808be2612f2: Waiting [2023-04-13T07:20:31.848Z] f25807f1079a: Waiting [2023-04-13T07:20:32.107Z] a2d21d5440eb: Verifying Checksum [2023-04-13T07:20:32.107Z] a2d21d5440eb: Download complete [2023-04-13T07:20:32.107Z] 94cc34f8dd06: Download complete [2023-04-13T07:20:32.107Z] 30dea6a524f1: Download complete [2023-04-13T07:20:32.107Z] 63b65145d645: Verifying Checksum [2023-04-13T07:20:32.107Z] 63b65145d645: Download complete [2023-04-13T07:20:32.107Z] a2aff8979fd8: Verifying Checksum [2023-04-13T07:20:32.107Z] a2aff8979fd8: Download complete [2023-04-13T07:20:32.107Z] 63b65145d645: Pull complete [2023-04-13T07:20:32.372Z] a2d21d5440eb: Pull complete [2023-04-13T07:20:32.638Z] f25807f1079a: Verifying Checksum [2023-04-13T07:20:32.638Z] f25807f1079a: Download complete [2023-04-13T07:20:32.897Z] 935e6c44a52c: Verifying Checksum [2023-04-13T07:20:32.897Z] 935e6c44a52c: Download complete [2023-04-13T07:20:32.897Z] 6808be2612f2: Verifying Checksum [2023-04-13T07:20:37.087Z] 935e6c44a52c: Pull complete [2023-04-13T07:20:37.087Z] 94cc34f8dd06: Pull complete [2023-04-13T07:20:37.087Z] 30dea6a524f1: Pull complete [2023-04-13T07:20:37.087Z] a2aff8979fd8: Pull complete [2023-04-13T07:20:38.987Z] 6808be2612f2: Pull complete [2023-04-13T07:20:39.921Z] f25807f1079a: Pull complete [2023-04-13T07:20:39.921Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-13T07:20:39.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-13T07:20:39.921Z] ---> 3b553350e43f [2023-04-13T07:20:39.921Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:20:41.300Z] ---> Running in ab8e214d7e9e [2023-04-13T07:20:41.582Z] Removing intermediate container ab8e214d7e9e [2023-04-13T07:20:41.582Z] ---> f86ff8c48301 [2023-04-13T07:20:41.582Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:20:41.582Z] ---> Running in 8de60d8469d8 [2023-04-13T07:20:41.583Z] Removing intermediate container 8de60d8469d8 [2023-04-13T07:20:41.583Z] ---> 26c1375f8a0a [2023-04-13T07:20:41.583Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T07:20:41.841Z] ---> Running in c3215219cfb7 [2023-04-13T07:20:41.841Z] Removing intermediate container c3215219cfb7 [2023-04-13T07:20:41.841Z] ---> 12799e322995 [2023-04-13T07:20:41.841Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T07:20:41.841Z] ---> Running in 471c201db364 [2023-04-13T07:20:42.101Z] Removing intermediate container 471c201db364 [2023-04-13T07:20:42.101Z] ---> c0e582073583 [2023-04-13T07:20:42.101Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T07:20:42.101Z] ---> Running in 0b81e515431e [2023-04-13T07:20:42.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T07:20:42.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T07:20:42.617Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T07:20:42.617Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T07:20:42.618Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T07:20:42.618Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T07:20:42.886Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:20:42.886Z] OK: 269 MiB in 57 packages [2023-04-13T07:20:43.146Z] Removing intermediate container 0b81e515431e [2023-04-13T07:20:43.146Z] ---> 028b13efd77b [2023-04-13T07:20:43.146Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-13T07:20:43.146Z] ---> Running in bc24a7da0b35 [2023-04-13T07:20:43.407Z] Removing intermediate container bc24a7da0b35 [2023-04-13T07:20:43.407Z] ---> 8358e22c4416 [2023-04-13T07:20:43.407Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T07:20:43.407Z] ---> 75961afc3259 [2023-04-13T07:20:43.407Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:20:43.407Z] ---> Running in f90ab9d1af31 [2023-04-13T07:20:45.598Z] Still waiting to schedule task [2023-04-13T07:20:45.598Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-13T07:21:01.515Z] Removing intermediate container f90ab9d1af31 [2023-04-13T07:21:01.515Z] ---> f6b34901d683 [2023-04-13T07:21:01.515Z] Step 11/12 : COPY . . [2023-04-13T07:21:01.773Z] ---> 132987439ae2 [2023-04-13T07:21:01.773Z] Step 12/12 : RUN $MAKE [2023-04-13T07:21:01.773Z] ---> Running in 7d6bdf588c50 [2023-04-13T07:21:02.031Z] noop [2023-04-13T07:21:02.290Z] Removing intermediate container 7d6bdf588c50 [2023-04-13T07:21:02.290Z] ---> b540b99da0a0 [2023-04-13T07:21:02.290Z] Successfully built b540b99da0a0 [2023-04-13T07:21:02.290Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:21:02.594Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T07:21:02.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:21:02.662Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-04-13T07:21:02.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T07:21:03.074Z] $ docker top 28885648fb62df481acda03f03bd93b078b726cac8a2d10cad23faeb6edb3119 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:21:03.411Z] + go version [2023-04-13T07:21:03.411Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-13T07:21:03.424Z] $ docker stop --time=1 28885648fb62df481acda03f03bd93b078b726cac8a2d10cad23faeb6edb3119 [2023-04-13T07:21:04.721Z] $ docker rm -f --volumes 28885648fb62df481acda03f03bd93b078b726cac8a2d10cad23faeb6edb3119 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:21:05.124Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-13T07:21:05.125Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:21:05.190Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-04-13T07:21:05.222Z] $ 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-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-13T07:21:05.589Z] $ docker top 613f8734ccaca11a68a1b345402a53c99e15833de8a8754052714ec9653d37e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:21:05.929Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-560 [Pipeline] fileExists [Pipeline] sh [2023-04-13T07:21:06.224Z] + make test [2023-04-13T07:21:06.224Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T07:21:11.491Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-13T07:21:19.604Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-13T07:21:19.863Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-13T07:21:19.863Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.0% of statements [2023-04-13T07:21:26.414Z] go vet ./... [2023-04-13T07:21:28.939Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T07:21:28.939Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T07:21:28.939Z] ./bin/test-attribution-txt.sh [2023-04-13T07:21:28.939Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T07:21:28.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T07:21:28.964Z] $ docker stop --time=1 613f8734ccaca11a68a1b345402a53c99e15833de8a8754052714ec9653d37e2 [2023-04-13T07:21:30.864Z] $ docker rm -f --volumes 613f8734ccaca11a68a1b345402a53c99e15833de8a8754052714ec9653d37e2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:21:31.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T07:21:31.385Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-13T07:21:31.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T07:21:32.093Z] + ls -al . [2023-04-13T07:21:32.093Z] total 180 [2023-04-13T07:21:32.093Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 07:21 . [2023-04-13T07:21:32.093Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:20 .. [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:20 .dockerignore [2023-04-13T07:21:32.093Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:20 .git [2023-04-13T07:21:32.093Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:20 .github [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 07:20 .gitignore [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:20 .golangci.yml [2023-04-13T07:21:32.093Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:20 .semver [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 9288 Apr 13 07:20 Attribution.txt [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 13 07:20 CHANGELOG.md [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 13 07:20 Dockerfile [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:20 GOVERNANCE.md [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 13 07:20 Jenkinsfile [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:20 LICENSE [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 13 07:20 Makefile [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 07:20 OWNERS.md [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 13 07:20 README.md [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:20 VERSION [2023-04-13T07:21:32.093Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:20 bin [2023-04-13T07:21:32.093Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:20 cmd [2023-04-13T07:21:32.093Z] -rw-r--r-- 1 jenkins jenkins 18376 Apr 13 07:21 coverage.out [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 13 07:20 go.mod [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 07:20 go.sum [2023-04-13T07:21:32.093Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:20 internal [2023-04-13T07:21:32.093Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:20 mock [2023-04-13T07:21:32.093Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:20 snap [2023-04-13T07:21:32.093Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 13 07:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:21:32.396Z] + 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=d9a41ae27a784640b541e979395bb790c4f5a6f7 --label arch=amd64 --label version=0.0.0 . [2023-04-13T07:21:32.396Z] Sending build context to Docker daemon 6.441MB [2023-04-13T07:21:32.396Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:21:32.396Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-13T07:21:32.396Z] ---> b540b99da0a0 [2023-04-13T07:21:32.396Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:21:32.396Z] ---> Running in 0deaf16caac3 [2023-04-13T07:21:32.654Z] Removing intermediate container 0deaf16caac3 [2023-04-13T07:21:32.654Z] ---> 7ac52a9925da [2023-04-13T07:21:32.654Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:21:32.654Z] ---> Running in 81af0cb2872f [2023-04-13T07:21:32.654Z] Removing intermediate container 81af0cb2872f [2023-04-13T07:21:32.654Z] ---> 24c463db67d5 [2023-04-13T07:21:32.654Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T07:21:32.654Z] ---> Running in 9b8aa9f8f103 [2023-04-13T07:21:32.654Z] Removing intermediate container 9b8aa9f8f103 [2023-04-13T07:21:32.654Z] ---> 2075058d6df6 [2023-04-13T07:21:32.654Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T07:21:32.654Z] ---> Running in 65eebfc16f55 [2023-04-13T07:21:32.913Z] Removing intermediate container 65eebfc16f55 [2023-04-13T07:21:32.913Z] ---> 6e31759c965d [2023-04-13T07:21:32.913Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T07:21:32.913Z] ---> Running in 9e78bd9f1ffd [2023-04-13T07:21:33.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T07:21:33.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T07:21:33.432Z] OK: 269 MiB in 57 packages [2023-04-13T07:21:33.692Z] Removing intermediate container 9e78bd9f1ffd [2023-04-13T07:21:33.692Z] ---> b16b7012967b [2023-04-13T07:21:33.692Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-13T07:21:33.951Z] ---> Running in c0b5c68b3be7 [2023-04-13T07:21:33.951Z] Removing intermediate container c0b5c68b3be7 [2023-04-13T07:21:33.951Z] ---> 8d964b387cde [2023-04-13T07:21:33.951Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-13T07:21:33.951Z] ---> 315d7ad38786 [2023-04-13T07:21:33.951Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:21:33.951Z] ---> Running in d253df541f42 [2023-04-13T07:21:34.890Z] Removing intermediate container d253df541f42 [2023-04-13T07:21:34.890Z] ---> b4eb4a0662b2 [2023-04-13T07:21:34.890Z] Step 11/24 : COPY . . [2023-04-13T07:21:35.148Z] ---> 9a364dd604e6 [2023-04-13T07:21:35.148Z] Step 12/24 : RUN $MAKE [2023-04-13T07:21:35.148Z] ---> Running in ef6cd1b6fd72 [2023-04-13T07:21:35.406Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-04-13T07:21:53.482Z] Removing intermediate container ef6cd1b6fd72 [2023-04-13T07:21:53.482Z] ---> a67b0b005a1f [2023-04-13T07:21:53.482Z] Step 13/24 : FROM alpine:3.17 [2023-04-13T07:21:53.482Z] 3.17: Pulling from library/alpine [2023-04-13T07:21:53.482Z] f56be85fc22e: Pulling fs layer [2023-04-13T07:21:53.482Z] f56be85fc22e: Verifying Checksum [2023-04-13T07:21:53.482Z] f56be85fc22e: Download complete [2023-04-13T07:21:53.482Z] f56be85fc22e: Pull complete [2023-04-13T07:21:53.482Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T07:21:53.482Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T07:21:53.482Z] ---> 9ed4aefc74f6 [2023-04-13T07:21:53.482Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-13T07:21:53.482Z] ---> Running in 9e69c9292619 [2023-04-13T07:21:53.482Z] Removing intermediate container 9e69c9292619 [2023-04-13T07:21:53.482Z] ---> 0eef52e6d378 [2023-04-13T07:21:53.482Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-13T07:21:53.482Z] ---> Running in da310216b968 [2023-04-13T07:21:53.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-13T07:21:53.482Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-13T07:21:53.482Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T07:21:53.482Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:21:53.482Z] OK: 7 MiB in 16 packages [2023-04-13T07:21:53.740Z] Removing intermediate container da310216b968 [2023-04-13T07:21:53.740Z] ---> 67b3e9076823 [2023-04-13T07:21:53.740Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-13T07:21:54.307Z] ---> d37f18d028d0 [2023-04-13T07:21:54.307Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-13T07:21:54.307Z] ---> 8ae93367eb0b [2023-04-13T07:21:54.307Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-13T07:21:54.307Z] ---> 1673bdee95a9 [2023-04-13T07:21:54.307Z] Step 19/24 : EXPOSE 59982 [2023-04-13T07:21:54.566Z] ---> Running in 312a2be338c0 [2023-04-13T07:21:54.566Z] Removing intermediate container 312a2be338c0 [2023-04-13T07:21:54.566Z] ---> 8ae7f10afe9e [2023-04-13T07:21:54.566Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-13T07:21:54.566Z] ---> Running in 7831476d6139 [2023-04-13T07:21:54.566Z] Removing intermediate container 7831476d6139 [2023-04-13T07:21:54.566Z] ---> a43178f3b65f [2023-04-13T07:21:54.566Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-13T07:21:54.825Z] ---> Running in 9ee0c8c1728d [2023-04-13T07:21:54.825Z] Removing intermediate container 9ee0c8c1728d [2023-04-13T07:21:54.825Z] ---> 501bd53d7281 [2023-04-13T07:21:54.825Z] Step 22/24 : LABEL arch=amd64 [2023-04-13T07:21:54.825Z] ---> Running in 96a535304f22 [2023-04-13T07:21:54.825Z] Removing intermediate container 96a535304f22 [2023-04-13T07:21:54.825Z] ---> 886bbf141e62 [2023-04-13T07:21:54.825Z] Step 23/24 : LABEL git_sha=d9a41ae27a784640b541e979395bb790c4f5a6f7 [2023-04-13T07:21:54.825Z] ---> Running in 8f9c176b3fed [2023-04-13T07:21:55.083Z] Removing intermediate container 8f9c176b3fed [2023-04-13T07:21:55.083Z] ---> 635f75861e93 [2023-04-13T07:21:55.083Z] Step 24/24 : LABEL version=0.0.0 [2023-04-13T07:21:55.083Z] ---> Running in 433a2a11f65e [2023-04-13T07:21:55.083Z] Removing intermediate container 433a2a11f65e [2023-04-13T07:21:55.083Z] ---> c6ce9cd44395 [2023-04-13T07:21:55.083Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T07:21:55.083Z] Successfully built c6ce9cd44395 [2023-04-13T07:21:55.083Z] 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 [2023-04-13T07:21:55.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:21:55.484Z] [2023-04-13T07:21:55.484Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:21:55.779Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:21:55.779Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-13T07:21:55.779Z] 5eb5b503b376: Pulling fs layer [2023-04-13T07:21:55.779Z] 5c69ac0246d0: Pulling fs layer [2023-04-13T07:21:55.779Z] ec43610c2a17: Pulling fs layer [2023-04-13T07:21:55.779Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-13T07:21:55.779Z] 33b1e0a273af: Pulling fs layer [2023-04-13T07:21:55.779Z] 5d3b04190fa2: Pulling fs layer [2023-04-13T07:21:55.779Z] 2f39f015ded8: Pulling fs layer [2023-04-13T07:21:55.779Z] 33b1e0a273af: Waiting [2023-04-13T07:21:55.779Z] 2f39f015ded8: Waiting [2023-04-13T07:21:55.779Z] 5d3b04190fa2: Waiting [2023-04-13T07:21:55.779Z] 5c69ac0246d0: Download complete [2023-04-13T07:21:55.779Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-13T07:21:55.779Z] 3a2ae6a8a46f: Download complete [2023-04-13T07:21:55.779Z] 33b1e0a273af: Verifying Checksum [2023-04-13T07:21:55.779Z] 33b1e0a273af: Download complete [2023-04-13T07:21:55.779Z] 5d3b04190fa2: Verifying Checksum [2023-04-13T07:21:55.779Z] 5d3b04190fa2: Download complete [2023-04-13T07:21:55.779Z] ec43610c2a17: Verifying Checksum [2023-04-13T07:21:55.779Z] ec43610c2a17: Download complete [2023-04-13T07:21:56.037Z] 5eb5b503b376: Verifying Checksum [2023-04-13T07:21:56.037Z] 5eb5b503b376: Download complete [2023-04-13T07:21:56.605Z] 2f39f015ded8: Download complete [2023-04-13T07:21:57.171Z] 5eb5b503b376: Pull complete [2023-04-13T07:21:57.171Z] 5c69ac0246d0: Pull complete [2023-04-13T07:21:57.429Z] ec43610c2a17: Pull complete [2023-04-13T07:21:57.429Z] 3a2ae6a8a46f: Pull complete [2023-04-13T07:21:57.688Z] 33b1e0a273af: Pull complete [2023-04-13T07:21:57.688Z] 5d3b04190fa2: Pull complete [2023-04-13T07:22:01.873Z] 2f39f015ded8: Pull complete [2023-04-13T07:22:01.873Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-13T07:22:01.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:22:01.873Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:22:01.955Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-04-13T07:22:01.987Z] $ 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-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T07:22:03.604Z] $ docker top fd9c46f7c0717089a6da4fc2081b17447b6aa25f007dd9eaa8419aca1118d5c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:22:03.969Z] ---> job-cost.sh [2023-04-13T07:22:03.969Z] lf-activate-venv: SKIPPING [2023-04-13T07:22:03.969Z] INFO: No Stack... [2023-04-13T07:22:04.228Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T07:22:04.487Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T07:22:04.774Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives/cost.csv [2023-04-13T07:22:04.774Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T07:22:04.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-560-2-stack-cost] [2023-04-13T07:22:04.797Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-2-stack-cost] did not exist. Created. [2023-04-13T07:22:04.797Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-560-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T07:22:05.097Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-13T07:22:05.128Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T07:22:05.135Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T07:22:05.156Z] $ docker stop --time=1 fd9c46f7c0717089a6da4fc2081b17447b6aa25f007dd9eaa8419aca1118d5c5 [2023-04-13T07:22:06.307Z] $ docker rm -f --volumes fd9c46f7c0717089a6da4fc2081b17447b6aa25f007dd9eaa8419aca1118d5c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-13T07:23:20.530Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8422 in /w/workspace/gexfoundry_device-mqtt-go_PR-560 [Pipeline] { [Pipeline] ws [2023-04-13T07:23:20.543Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-04-13T07:23:20.596Z] Selected Git installation does not exist. Using Default [2023-04-13T07:23:20.596Z] The recommended git tool is: NONE [2023-04-13T07:23:29.756Z] using credential edgex-jenkins-ssh [2023-04-13T07:23:29.774Z] Cloning the remote Git repository [2023-04-13T07:23:29.900Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-13T07:23:30.093Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-04-13T07:23:30.384Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-13T07:23:30.385Z] > git --version # timeout=10 [2023-04-13T07:23:30.432Z] > git --version # 'git version 2.25.1' [2023-04-13T07:23:30.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T07:23:30.648Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T07:23:31.942Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-13T07:23:32.009Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-13T07:23:35.035Z] Merging remotes/origin/main commit 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 into PR head commit d9a41ae27a784640b541e979395bb790c4f5a6f7 [2023-04-13T07:23:34.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-13T07:23:34.320Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-13T07:23:34.321Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T07:23:34.344Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/560/head:refs/remotes/origin/PR-560 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-13T07:23:35.096Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T07:23:35.362Z] > git checkout -f d9a41ae27a784640b541e979395bb790c4f5a6f7 # timeout=10 [2023-04-13T07:23:35.537Z] > git remote # timeout=10 [2023-04-13T07:23:35.600Z] > git config --get remote.origin.url # timeout=10 [2023-04-13T07:23:35.704Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-13T07:23:35.943Z] Merge succeeded, producing d9a41ae27a784640b541e979395bb790c4f5a6f7 [2023-04-13T07:23:35.944Z] Checking out Revision d9a41ae27a784640b541e979395bb790c4f5a6f7 (PR-560) [2023-04-13T07:23:36.824Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T07:23:35.737Z] > git merge 6aa7ac0430e5a1b5a9d4fb0262e555eaaf239fc9 # timeout=10 [2023-04-13T07:23:35.859Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-13T07:23:35.956Z] > git config core.sparsecheckout # timeout=10 [2023-04-13T07:23:36.035Z] > git checkout -f d9a41ae27a784640b541e979395bb790c4f5a6f7 # timeout=10 [2023-04-13T07:23:37.746Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-13T07:23:37.747Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T07:23:37.747Z] Dload Upload Total Spent Left Speed [2023-04-13T07:23:37.747Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-04-13T07:23:38.601Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-13T07:23:38.982Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-13T07:23:38.982Z] + sudo tee /etc/docker/daemon.new [2023-04-13T07:23:38.982Z] { [2023-04-13T07:23:38.982Z] "registry-mirrors": [ [2023-04-13T07:23:38.982Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-13T07:23:38.982Z] ], [2023-04-13T07:23:38.982Z] "bip": "10.250.0.254/24", [2023-04-13T07:23:38.982Z] "hosts": [ [2023-04-13T07:23:38.982Z] "tcp://0.0.0.0:5555", [2023-04-13T07:23:38.982Z] "unix:///var/run/docker.sock" [2023-04-13T07:23:38.982Z] ], [2023-04-13T07:23:38.982Z] "mtu": 1458, [2023-04-13T07:23:38.982Z] "selinux-enabled": true, [2023-04-13T07:23:38.982Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-13T07:23:38.982Z] } [Pipeline] sh [2023-04-13T07:23:39.385Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-13T07:23:39.800Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:23:58.160Z] provisioning config files... [2023-04-13T07:23:58.196Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config13382528979238633686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:23:58.577Z] ---> docker-login.sh [2023-04-13T07:23:58.577Z] nexus3.edgexfoundry.org:10001 [2023-04-13T07:23:59.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:23:59.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:23:59.177Z] Configure a credential helper to remove this warning. See [2023-04-13T07:23:59.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:23:59.177Z] [2023-04-13T07:23:59.177Z] Login Succeeded [2023-04-13T07:23:59.177Z] nexus3.edgexfoundry.org:10002 [2023-04-13T07:23:59.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:23:59.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:23:59.722Z] Configure a credential helper to remove this warning. See [2023-04-13T07:23:59.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:23:59.722Z] [2023-04-13T07:23:59.722Z] Login Succeeded [2023-04-13T07:23:59.722Z] nexus3.edgexfoundry.org:10003 [2023-04-13T07:23:59.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:24:00.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:24:00.271Z] Configure a credential helper to remove this warning. See [2023-04-13T07:24:00.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:24:00.271Z] [2023-04-13T07:24:00.271Z] Login Succeeded [2023-04-13T07:24:00.271Z] nexus3.edgexfoundry.org:10004 [2023-04-13T07:24:00.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:24:00.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:24:00.545Z] Configure a credential helper to remove this warning. See [2023-04-13T07:24:00.545Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:24:00.545Z] [2023-04-13T07:24:00.545Z] Login Succeeded [2023-04-13T07:24:00.545Z] docker.io [2023-04-13T07:24:00.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-13T07:24:01.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-13T07:24:01.090Z] Configure a credential helper to remove this warning. See [2023-04-13T07:24:01.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-13T07:24:01.090Z] [2023-04-13T07:24:01.090Z] Login Succeeded [2023-04-13T07:24:01.090Z] ---> docker-login.sh ends [Pipeline] } [2023-04-13T07:24:01.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-13T07:24:01.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:24:01.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-13T07:24:01.522Z] ========================================================= [2023-04-13T07:24:01.522Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-13T07:24:01.522Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:24:01.886Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-13T07:24:02.493Z] Sending build context to Docker daemon 3.332MB [2023-04-13T07:24:02.493Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:24:02.493Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-13T07:24:02.772Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-13T07:24:02.772Z] af6eaf76a39c: Pulling fs layer [2023-04-13T07:24:02.772Z] 55522c791124: Pulling fs layer [2023-04-13T07:24:02.772Z] ce5c4a1c91eb: Pulling fs layer [2023-04-13T07:24:02.772Z] 169dfbe0d373: Pulling fs layer [2023-04-13T07:24:02.772Z] e1ff8fa3b103: Pulling fs layer [2023-04-13T07:24:02.772Z] 52ebb69f0ebf: Pulling fs layer [2023-04-13T07:24:02.772Z] 5abe8eddf0d5: Pulling fs layer [2023-04-13T07:24:02.772Z] e1ff8fa3b103: Waiting [2023-04-13T07:24:02.772Z] 52ebb69f0ebf: Waiting [2023-04-13T07:24:02.772Z] 5abe8eddf0d5: Waiting [2023-04-13T07:24:02.772Z] 169dfbe0d373: Waiting [2023-04-13T07:24:02.772Z] 55522c791124: Verifying Checksum [2023-04-13T07:24:02.772Z] 55522c791124: Download complete [2023-04-13T07:24:02.772Z] 169dfbe0d373: Verifying Checksum [2023-04-13T07:24:02.772Z] 169dfbe0d373: Download complete [2023-04-13T07:24:02.772Z] e1ff8fa3b103: Verifying Checksum [2023-04-13T07:24:02.772Z] e1ff8fa3b103: Download complete [2023-04-13T07:24:03.061Z] af6eaf76a39c: Verifying Checksum [2023-04-13T07:24:03.061Z] af6eaf76a39c: Download complete [2023-04-13T07:24:04.505Z] 5abe8eddf0d5: Download complete [2023-04-13T07:24:04.505Z] af6eaf76a39c: Pull complete [2023-04-13T07:24:05.102Z] 55522c791124: Pull complete [2023-04-13T07:24:06.082Z] ce5c4a1c91eb: Verifying Checksum [2023-04-13T07:24:06.082Z] ce5c4a1c91eb: Download complete [2023-04-13T07:24:06.082Z] 52ebb69f0ebf: Verifying Checksum [2023-04-13T07:24:06.082Z] 52ebb69f0ebf: Download complete [2023-04-13T07:24:18.439Z] ce5c4a1c91eb: Pull complete [2023-04-13T07:24:18.439Z] 169dfbe0d373: Pull complete [2023-04-13T07:24:18.439Z] e1ff8fa3b103: Pull complete [2023-04-13T07:24:23.814Z] 52ebb69f0ebf: Pull complete [2023-04-13T07:24:25.254Z] 5abe8eddf0d5: Pull complete [2023-04-13T07:24:25.254Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-13T07:24:25.254Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-13T07:24:25.254Z] ---> 6cb57ee374ae [2023-04-13T07:24:25.254Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:24:27.391Z] ---> Running in de7496785a65 [2023-04-13T07:24:27.661Z] Removing intermediate container de7496785a65 [2023-04-13T07:24:27.661Z] ---> a1edc6a35f9a [2023-04-13T07:24:27.661Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:24:27.661Z] ---> Running in a0840bb16fb5 [2023-04-13T07:24:27.935Z] Removing intermediate container a0840bb16fb5 [2023-04-13T07:24:27.935Z] ---> a7daedf1a84f [2023-04-13T07:24:27.935Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T07:24:27.935Z] ---> Running in 702389f33e25 [2023-04-13T07:24:28.205Z] Removing intermediate container 702389f33e25 [2023-04-13T07:24:28.205Z] ---> 349577ee3d34 [2023-04-13T07:24:28.205Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T07:24:28.480Z] ---> Running in 630f6833730b [2023-04-13T07:24:28.752Z] Removing intermediate container 630f6833730b [2023-04-13T07:24:28.752Z] ---> c4917bf78b53 [2023-04-13T07:24:28.752Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T07:24:28.752Z] ---> Running in 924dfa4e79b3 [2023-04-13T07:24:30.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T07:24:30.781Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T07:24:32.210Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-13T07:24:32.210Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-13T07:24:32.210Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-13T07:24:32.210Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-13T07:24:32.210Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:24:32.210Z] OK: 268 MiB in 57 packages [2023-04-13T07:24:33.186Z] Removing intermediate container 924dfa4e79b3 [2023-04-13T07:24:33.186Z] ---> 8d4b8332a2a3 [2023-04-13T07:24:33.186Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-13T07:24:33.186Z] ---> Running in 1cc93d4e3a60 [2023-04-13T07:24:33.456Z] Removing intermediate container 1cc93d4e3a60 [2023-04-13T07:24:33.456Z] ---> 6e76b3c839a0 [2023-04-13T07:24:33.456Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-13T07:24:34.049Z] ---> d8e545164f2a [2023-04-13T07:24:34.049Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:24:34.049Z] ---> Running in a213ed895517 [2023-04-13T07:25:55.756Z] Removing intermediate container a213ed895517 [2023-04-13T07:25:55.756Z] ---> 1dcf7fe6e8dd [2023-04-13T07:25:55.756Z] Step 11/12 : COPY . . [2023-04-13T07:25:55.756Z] ---> 738e4768c901 [2023-04-13T07:25:55.756Z] Step 12/12 : RUN $MAKE [2023-04-13T07:25:55.756Z] ---> Running in 5d7dd46a3d57 [2023-04-13T07:25:55.756Z] noop [2023-04-13T07:25:55.756Z] Removing intermediate container 5d7dd46a3d57 [2023-04-13T07:25:55.756Z] ---> 839a72ec99cf [2023-04-13T07:25:55.756Z] Successfully built 839a72ec99cf [2023-04-13T07:25:55.756Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:25:56.130Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T07:25:56.131Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:25:56.380Z] prd-ubuntu20.04-docker-arm64-4c-16g-8422 does not seem to be running inside a container [2023-04-13T07:25:56.473Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-13T07:25:57.842Z] $ docker top 4dad769d44b590166bd17d6d6d64e7af0946a8edea3203169ee299f93ab940e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:25:58.698Z] + go version [2023-04-13T07:25:58.698Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-13T07:25:58.734Z] $ docker stop --time=1 4dad769d44b590166bd17d6d6d64e7af0946a8edea3203169ee299f93ab940e9 [2023-04-13T07:26:01.246Z] $ docker rm -f --volumes 4dad769d44b590166bd17d6d6d64e7af0946a8edea3203169ee299f93ab940e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:26:01.826Z] + docker inspect -f . ci-base-image-arm64 [2023-04-13T07:26:01.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:26:02.023Z] prd-ubuntu20.04-docker-arm64-4c-16g-8422 does not seem to be running inside a container [2023-04-13T07:26:02.103Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-13T07:26:03.372Z] $ docker top 3d3183ae8503aaaa33a2563128e5b9eb6e96d1e0ead3add842b717d9ec20803a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:26:04.222Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-13T07:26:04.876Z] + make test [2023-04-13T07:26:04.876Z] go test ./... -coverprofile=coverage.out ./... [2023-04-13T07:26:43.809Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-13T07:28:50.594Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-04-13T07:28:55.968Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-13T07:28:55.968Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 22.0% of statements [2023-04-13T07:28:56.240Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-13T07:28:56.240Z] go vet ./... [2023-04-13T07:29:28.528Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-13T07:29:28.528Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-13T07:29:28.528Z] ./bin/test-attribution-txt.sh [2023-04-13T07:29:28.528Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo [2023-04-13T07:29:28.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-13T07:29:28.572Z] $ docker stop --time=1 3d3183ae8503aaaa33a2563128e5b9eb6e96d1e0ead3add842b717d9ec20803a [2023-04-13T07:29:30.530Z] $ docker rm -f --volumes 3d3183ae8503aaaa33a2563128e5b9eb6e96d1e0ead3add842b717d9ec20803a [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-13T07:29:31.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-13T07:29:31.997Z] Warning: overwriting stash ‘coverage-report’ [2023-04-13T07:29:32.815Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-13T07:29:33.204Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-13T07:29:33.542Z] + ls -al . [2023-04-13T07:29:33.542Z] total 176 [2023-04-13T07:29:33.542Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 07:26 . [2023-04-13T07:29:33.542Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:23 .. [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 07:23 .dockerignore [2023-04-13T07:29:33.542Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 07:23 .git [2023-04-13T07:29:33.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:23 .github [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 13 07:23 .gitignore [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 07:23 .golangci.yml [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 9288 Apr 13 07:23 Attribution.txt [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 13162 Apr 13 07:23 CHANGELOG.md [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 1689 Apr 13 07:23 Dockerfile [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 07:23 GOVERNANCE.md [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 13 07:23 Jenkinsfile [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 07:23 LICENSE [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 1732 Apr 13 07:23 Makefile [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 13 07:23 OWNERS.md [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 3165 Apr 13 07:23 README.md [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 07:20 VERSION [2023-04-13T07:29:33.542Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:23 bin [2023-04-13T07:29:33.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:23 cmd [2023-04-13T07:29:33.542Z] -rw-r--r-- 1 jenkins jenkins 18376 Apr 13 07:28 coverage.out [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 3333 Apr 13 07:23 go.mod [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 31553 Apr 13 07:23 go.sum [2023-04-13T07:29:33.542Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 07:23 internal [2023-04-13T07:29:33.542Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 07:23 mock [2023-04-13T07:29:33.542Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 07:23 snap [2023-04-13T07:29:33.542Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 13 07:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:29:33.896Z] + 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=d9a41ae27a784640b541e979395bb790c4f5a6f7 --label arch=arm64 --label version=0.0.0 . [2023-04-13T07:29:34.176Z] Sending build context to Docker daemon 3.351MB [2023-04-13T07:29:34.176Z] Step 1/24 : ARG BASE=golang:1.20-alpine3.17 [2023-04-13T07:29:34.176Z] Step 2/24 : FROM ${BASE} AS builder [2023-04-13T07:29:34.176Z] ---> 839a72ec99cf [2023-04-13T07:29:34.176Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-04-13T07:29:34.449Z] ---> Running in 0c02ac3f28a0 [2023-04-13T07:29:34.733Z] Removing intermediate container 0c02ac3f28a0 [2023-04-13T07:29:34.733Z] ---> 05a54aebee62 [2023-04-13T07:29:34.733Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-13T07:29:35.005Z] ---> Running in 7e4dc05ed8e6 [2023-04-13T07:29:35.276Z] Removing intermediate container 7e4dc05ed8e6 [2023-04-13T07:29:35.276Z] ---> a4441e2a918d [2023-04-13T07:29:35.276Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-13T07:29:35.276Z] ---> Running in e0d9657e7ea8 [2023-04-13T07:29:35.869Z] Removing intermediate container e0d9657e7ea8 [2023-04-13T07:29:35.869Z] ---> 1488b9f29f40 [2023-04-13T07:29:35.869Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-04-13T07:29:35.869Z] ---> Running in d19e2ae1799a [2023-04-13T07:29:36.142Z] Removing intermediate container d19e2ae1799a [2023-04-13T07:29:36.142Z] ---> f58cde32d8c7 [2023-04-13T07:29:36.142Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-13T07:29:36.142Z] ---> Running in 36fe8a0a3074 [2023-04-13T07:29:37.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T07:29:38.169Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T07:29:39.594Z] OK: 268 MiB in 57 packages [2023-04-13T07:29:40.564Z] Removing intermediate container 36fe8a0a3074 [2023-04-13T07:29:40.564Z] ---> f1865829bcd3 [2023-04-13T07:29:40.564Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-04-13T07:29:40.564Z] ---> Running in e1841eec1c26 [2023-04-13T07:29:40.834Z] Removing intermediate container e1841eec1c26 [2023-04-13T07:29:40.834Z] ---> dbecc54efd3c [2023-04-13T07:29:40.834Z] Step 9/24 : COPY go.mod vendor* ./ [2023-04-13T07:29:41.423Z] ---> d6c414dc1be9 [2023-04-13T07:29:41.423Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-13T07:29:41.423Z] ---> Running in c42507159444 [2023-04-13T07:29:44.788Z] Removing intermediate container c42507159444 [2023-04-13T07:29:44.788Z] ---> b3316b2b1425 [2023-04-13T07:29:44.788Z] Step 11/24 : COPY . . [2023-04-13T07:29:45.378Z] ---> e8e69d6d9de6 [2023-04-13T07:29:45.378Z] Step 12/24 : RUN $MAKE [2023-04-13T07:29:45.378Z] ---> Running in ec67e29a4293 [2023-04-13T07:29:46.348Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-04-13T07:32:23.139Z] Removing intermediate container ec67e29a4293 [2023-04-13T07:32:23.139Z] ---> 151904286b20 [2023-04-13T07:32:23.139Z] Step 13/24 : FROM alpine:3.17 [2023-04-13T07:32:23.139Z] 3.17: Pulling from library/alpine [2023-04-13T07:32:23.139Z] c41833b44d91: Pulling fs layer [2023-04-13T07:32:23.139Z] c41833b44d91: Verifying Checksum [2023-04-13T07:32:23.139Z] c41833b44d91: Download complete [2023-04-13T07:32:23.139Z] c41833b44d91: Pull complete [2023-04-13T07:32:23.139Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-13T07:32:23.139Z] Status: Downloaded newer image for alpine:3.17 [2023-04-13T07:32:23.139Z] ---> 51e60588ff2c [2023-04-13T07:32:23.139Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-04-13T07:32:23.139Z] ---> Running in 3dd4d187fc1c [2023-04-13T07:32:23.139Z] Removing intermediate container 3dd4d187fc1c [2023-04-13T07:32:23.139Z] ---> e16f5355afc6 [2023-04-13T07:32:23.139Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-04-13T07:32:23.139Z] ---> Running in 9a113f5fadea [2023-04-13T07:32:23.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-13T07:32:23.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-13T07:32:23.139Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-13T07:32:23.139Z] Executing busybox-1.35.0-r29.trigger [2023-04-13T07:32:23.139Z] OK: 8 MiB in 16 packages [2023-04-13T07:32:23.139Z] Removing intermediate container 9a113f5fadea [2023-04-13T07:32:23.139Z] ---> a7906edc0a90 [2023-04-13T07:32:23.139Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-04-13T07:32:24.102Z] ---> 2cad5d919fda [2023-04-13T07:32:24.102Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-04-13T07:32:24.372Z] ---> d66b728c66dd [2023-04-13T07:32:24.372Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-04-13T07:32:24.957Z] ---> 93957729e9b6 [2023-04-13T07:32:24.957Z] Step 19/24 : EXPOSE 59982 [2023-04-13T07:32:24.957Z] ---> Running in 23a525f300af [2023-04-13T07:32:25.226Z] Removing intermediate container 23a525f300af [2023-04-13T07:32:25.226Z] ---> adc54370b706 [2023-04-13T07:32:25.226Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-04-13T07:32:25.495Z] ---> Running in 5f45731175f4 [2023-04-13T07:32:25.763Z] Removing intermediate container 5f45731175f4 [2023-04-13T07:32:25.763Z] ---> 3a0a583419fc [2023-04-13T07:32:25.763Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-13T07:32:25.763Z] ---> Running in 1bb37052e507 [2023-04-13T07:32:26.035Z] Removing intermediate container 1bb37052e507 [2023-04-13T07:32:26.035Z] ---> 7eb7f4673fd5 [2023-04-13T07:32:26.035Z] Step 22/24 : LABEL arch=arm64 [2023-04-13T07:32:26.303Z] ---> Running in b684cc68cfa4 [2023-04-13T07:32:26.572Z] Removing intermediate container b684cc68cfa4 [2023-04-13T07:32:26.572Z] ---> 13bfc6a3866b [2023-04-13T07:32:26.572Z] Step 23/24 : LABEL git_sha=d9a41ae27a784640b541e979395bb790c4f5a6f7 [2023-04-13T07:32:26.572Z] ---> Running in 339b357f015c [2023-04-13T07:32:26.840Z] Removing intermediate container 339b357f015c [2023-04-13T07:32:26.840Z] ---> 84d379a88dac [2023-04-13T07:32:26.840Z] Step 24/24 : LABEL version=0.0.0 [2023-04-13T07:32:27.109Z] ---> Running in adc246012850 [2023-04-13T07:32:27.378Z] Removing intermediate container adc246012850 [2023-04-13T07:32:27.378Z] ---> 6ee9d8d36b3b [2023-04-13T07:32:27.378Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-13T07:32:27.378Z] Successfully built 6ee9d8d36b3b [2023-04-13T07:32:27.378Z] 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 [2023-04-13T07:32:27.815Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T07:32:27.815Z] [2023-04-13T07:32:27.815Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:32:28.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T07:32:28.153Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-13T07:32:28.153Z] 8998bd30e6a1: Pulling fs layer [2023-04-13T07:32:28.153Z] 04944245beec: Pulling fs layer [2023-04-13T07:32:28.153Z] 699f458cf7ca: Pulling fs layer [2023-04-13T07:32:28.153Z] 765212b225bb: Pulling fs layer [2023-04-13T07:32:28.153Z] f23df028b6ca: Pulling fs layer [2023-04-13T07:32:28.153Z] d65c8cfc05b1: Pulling fs layer [2023-04-13T07:32:28.153Z] 2437ff75d9bd: Pulling fs layer [2023-04-13T07:32:28.153Z] f23df028b6ca: Waiting [2023-04-13T07:32:28.153Z] d65c8cfc05b1: Waiting [2023-04-13T07:32:28.153Z] 2437ff75d9bd: Waiting [2023-04-13T07:32:28.153Z] 765212b225bb: Waiting [2023-04-13T07:32:28.424Z] 04944245beec: Verifying Checksum [2023-04-13T07:32:28.424Z] 04944245beec: Download complete [2023-04-13T07:32:28.424Z] 765212b225bb: Verifying Checksum [2023-04-13T07:32:28.424Z] 765212b225bb: Download complete [2023-04-13T07:32:28.424Z] f23df028b6ca: Download complete [2023-04-13T07:32:28.424Z] d65c8cfc05b1: Verifying Checksum [2023-04-13T07:32:28.424Z] d65c8cfc05b1: Download complete [2023-04-13T07:32:28.693Z] 699f458cf7ca: Verifying Checksum [2023-04-13T07:32:28.693Z] 699f458cf7ca: Download complete [2023-04-13T07:32:28.964Z] 8998bd30e6a1: Verifying Checksum [2023-04-13T07:32:28.964Z] 8998bd30e6a1: Download complete [2023-04-13T07:32:31.554Z] 2437ff75d9bd: Verifying Checksum [2023-04-13T07:32:31.554Z] 2437ff75d9bd: Download complete [2023-04-13T07:32:32.966Z] 8998bd30e6a1: Pull complete [2023-04-13T07:32:33.235Z] 04944245beec: Pull complete [2023-04-13T07:32:34.649Z] 699f458cf7ca: Pull complete [2023-04-13T07:32:34.921Z] 765212b225bb: Pull complete [2023-04-13T07:32:35.509Z] f23df028b6ca: Pull complete [2023-04-13T07:32:35.779Z] d65c8cfc05b1: Pull complete [2023-04-13T07:32:50.785Z] 2437ff75d9bd: Pull complete [2023-04-13T07:32:50.785Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-13T07:32:50.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-13T07:32:50.785Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:32:51.016Z] prd-ubuntu20.04-docker-arm64-4c-16g-8422 does not seem to be running inside a container [2023-04-13T07:32:51.101Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-13T07:32:53.970Z] $ docker top c06800499e6c99308fa91f6e1a304f7e103c676a9a0ff4e336e5766204d4eb7e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:32:54.875Z] ---> job-cost.sh [2023-04-13T07:32:54.875Z] lf-activate-venv: SKIPPING [2023-04-13T07:32:54.875Z] INFO: No Stack... [2023-04-13T07:32:55.460Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-13T07:32:56.045Z] INFO: Archiving Costs [Pipeline] sh [2023-04-13T07:32:56.693Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2023-04-13T07:32:56.693Z] + cut -d, -f6 [Pipeline] lock [2023-04-13T07:32:56.771Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-560-2-stack-cost] [2023-04-13T07:32:56.828Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-2-stack-cost] did not exist. Created. [2023-04-13T07:32:56.828Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-560-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-13T07:32:57.559Z] /w/workspace/device-mqtt-go/2@tmp/durable-abbd4e00/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-13T07:32:58.287Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-13T07:32:58.314Z] Warning: overwriting stash ‘stack-cost’ [2023-04-13T07:32:58.372Z] Stashed 1 file(s) [Pipeline] } [2023-04-13T07:32:58.378Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-560-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-13T07:32:58.401Z] $ docker stop --time=1 c06800499e6c99308fa91f6e1a304f7e103c676a9a0ff4e336e5766204d4eb7e [2023-04-13T07:33:00.492Z] $ docker rm -f --volumes c06800499e6c99308fa91f6e1a304f7e103c676a9a0ff4e336e5766204d4eb7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-04-13T07:33:00.898Z] provisioning config files... [2023-04-13T07:33:00.905Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config1316982451101884230tmp [Pipeline] { [Pipeline] sh [2023-04-13T07:33:01.194Z] + set +x [2023-04-13T07:33:01.194Z] + curl -s https://codecov.io/bash [2023-04-13T07:33:01.194Z] + bash -s -- [2023-04-13T07:33:01.194Z] [2023-04-13T07:33:01.194Z] _____ _ [2023-04-13T07:33:01.194Z] / ____| | | [2023-04-13T07:33:01.194Z] | | ___ __| | ___ ___ _____ __ [2023-04-13T07:33:01.194Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-13T07:33:01.194Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-13T07:33:01.194Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-13T07:33:01.194Z] Bash-1.0.6 [2023-04-13T07:33:01.194Z] [2023-04-13T07:33:01.194Z] [2023-04-13T07:33:01.194Z] ==> git version 2.25.1 found [2023-04-13T07:33:01.194Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-04-13T07:33:01.194Z] Release-Date: 2020-01-08 [2023-04-13T07:33:01.194Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-04-13T07:33:01.194Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-13T07:33:01.194Z] ==> Jenkins CI detected. [2023-04-13T07:33:01.194Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-560 [2023-04-13T07:33:01.194Z] project root: . [2023-04-13T07:33:01.194Z] --> token set from env [2023-04-13T07:33:01.194Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-13T07:33:01.194Z] ==> Running gcov in . (disable via -X gcov) [2023-04-13T07:33:01.194Z] ==> Python coveragepy not found [2023-04-13T07:33:01.194Z] ==> Searching for coverage reports in: [2023-04-13T07:33:01.194Z] + . [2023-04-13T07:33:01.194Z] -> Found 1 reports [2023-04-13T07:33:01.194Z] ==> Detecting git/mercurial file structure [2023-04-13T07:33:01.194Z] ==> Reading reports [2023-04-13T07:33:01.194Z] + ./coverage.out bytes=18376 [2023-04-13T07:33:01.194Z] ==> Appending adjustments [2023-04-13T07:33:01.194Z] https://docs.codecov.io/docs/fixing-reports [2023-04-13T07:33:01.453Z] + Found adjustments [2023-04-13T07:33:01.453Z] ==> Gzipping contents [2023-04-13T07:33:01.453Z] 4.0K /tmp/codecov.LiO2vj.gz [2023-04-13T07:33:01.453Z] ==> Uploading reports [2023-04-13T07:33:01.453Z] url: https://codecov.io [2023-04-13T07:33:01.453Z] query: branch=PR-560&commit=d9a41ae27a784640b541e979395bb790c4f5a6f7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-560%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=560&job=&cmd_args= [2023-04-13T07:33:01.453Z] -> Pinging Codecov [2023-04-13T07:33:01.453Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-560&commit=d9a41ae27a784640b541e979395bb790c4f5a6f7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-560%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=560&job=&cmd_args= [2023-04-13T07:33:01.453Z] -> Uploading to [2023-04-13T07:33:01.453Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-13/7D719EC7BBE17E464838252E33014C33/d9a41ae27a784640b541e979395bb790c4f5a6f7/5b28bd6a-c4cb-4793-bf7b-2f40028e6274.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T073301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2cb01f6a427e467b71e0807153fd4ffb8a3266444f4fd6942147c4f9ae229317 [2023-04-13T07:33:01.453Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-13T07:33:01.453Z] Dload Upload Total Spent Left Speed [2023-04-13T07:33:01.712Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3167 0 0 100 3167 0 15600 --:--:-- --:--:-- --:--:-- 15524 100 3167 0 0 100 3167 0 13195 --:--:-- --:--:-- --:--:-- 13141 [2023-04-13T07:33:01.712Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d9a41ae27a784640b541e979395bb790c4f5a6f7 [Pipeline] } [2023-04-13T07:33:01.718Z] 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 [2023-04-13T07:33:02.363Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives ] [2023-04-13T07:33:02.363Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives [2023-04-13T07:33:02.363Z] total 16 [2023-04-13T07:33:02.363Z] drwxr-xr-x 3 root root 4096 Apr 13 07:22 . [2023-04-13T07:33:02.363Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:22 .. [2023-04-13T07:33:02.363Z] drwxr-xr-x 2 root root 4096 Apr 13 07:22 cost [2023-04-13T07:33:02.363Z] -rw-r--r-- 1 root root 86 Apr 13 07:22 cost.csv [2023-04-13T07:33:02.363Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives [2023-04-13T07:33:02.363Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives [2023-04-13T07:33:02.363Z] total 16 [2023-04-13T07:33:02.363Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 07:22 . [2023-04-13T07:33:02.363Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 07:22 .. [2023-04-13T07:33:02.363Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 07:22 cost [2023-04-13T07:33:02.363Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 13 07:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:33:02.647Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:33:03.502Z] ---> package-listing.sh [2023-04-13T07:33:03.502Z] ++ facter osfamily [2023-04-13T07:33:03.502Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-13T07:33:03.763Z] + OS_FAMILY=debian [2023-04-13T07:33:03.763Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-560 [2023-04-13T07:33:03.763Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-13T07:33:03.763Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-13T07:33:03.763Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-13T07:33:03.763Z] + PACKAGES=/tmp/packages_start.txt [2023-04-13T07:33:03.763Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-560 ']' [2023-04-13T07:33:03.763Z] + PACKAGES=/tmp/packages_end.txt [2023-04-13T07:33:03.763Z] + case "${OS_FAMILY}" in [2023-04-13T07:33:03.763Z] + dpkg -l [2023-04-13T07:33:03.763Z] + grep '^ii' [2023-04-13T07:33:03.763Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-13T07:33:03.763Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-13T07:33:03.763Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-13T07:33:03.763Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-560 ']' [2023-04-13T07:33:03.763Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives/ [2023-04-13T07:33:03.763Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-560/archives/ [Pipeline] echo [2023-04-13T07:33:03.772Z] 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-560/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-13T07:33:04.047Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-13T07:33:04.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-13T07:33:04.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-13T07:33:04.669Z] prd-ubuntu20.04-docker-8c-8g-8418 does not seem to be running inside a container [2023-04-13T07:33:04.699Z] $ 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-560/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-560 -v /w/workspace/gexfoundry_device-mqtt-go_PR-560:/w/workspace/gexfoundry_device-mqtt-go_PR-560:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-13T07:33:04.904Z] $ docker top 33bfc6f60e8ccc705e0522c59dbca753976e431ae16525a638b9d47b5754199f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-13T07:33:05.242Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-13T07:33:05.527Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-13T07:33:05.815Z] + ls /var/log/sa-host [2023-04-13T07:33:05.816Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-13T07:33:05.957Z] provisioning config files... [2023-04-13T07:33:05.966Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-560@tmp/config927847083694490807tmp [Pipeline] { [Pipeline] echo [2023-04-13T07:33:05.980Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:33:06.262Z] ---> create-netrc.sh [Pipeline] } [2023-04-13T07:33:06.269Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:33:06.607Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-13T07:33:06.616Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:33:06.899Z] ---> sudo-logs.sh [2023-04-13T07:33:06.899Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-13T07:33:06.928Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:33:07.206Z] ---> job-cost.sh [2023-04-13T07:33:07.206Z] lf-activate-venv: SKIPPING [2023-04-13T07:33:07.206Z] DEBUG: total: 0.2199999988079071 [2023-04-13T07:33:07.206Z] INFO: Retrieving Stack Cost... [2023-04-13T07:33:07.465Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-13T07:33:08.031Z] INFO: Archiving Costs [Pipeline] echo [2023-04-13T07:33:08.041Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-13T07:33:08.322Z] ---> logs-deploy.sh [2023-04-13T07:33:08.322Z] lf-activate-venv: SKIPPING [2023-04-13T07:33:08.322Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-560/2 [2023-04-13T07:33:08.322Z] INFO: archiving workspace using pattern(s): [2023-04-13T07:33:09.258Z] Archives upload complete. [2023-04-13T07:33:09.258Z] INFO: archiving logs to Nexus