Pull request #665 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f+f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 (86e9b4ee2ab0d3b940bea08b7fbbafcdf671d0db) 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-ssh8524706448677415143.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14548318511334360145.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-665/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-665/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3174252189956556824.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-665/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2538087638405669154.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12079206012652326397.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-665/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-665/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10717711597828888871.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5404 in /w/workspace/gexfoundry_device-mqtt-go_PR-665 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-665 # 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 Merging remotes/origin/main commit f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 into PR head commit ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f Merge succeeded, producing ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f Checking out Revision ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f (PR-665) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/665/head:refs/remotes/origin/PR-665 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f # 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 f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-11T01:37:29.693Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-11T01:37:29.907Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-11T01:37:30.023Z] ========================================================= [2024-03-11T01:37:30.023Z] EdgeX Global Pipelines Version Info [2024-03-11T01:37:30.023Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:37:30.777Z] ------------------- [2024-03-11T01:37:30.777Z] stable info: [2024-03-11T01:37:30.777Z] ------------------- [2024-03-11T01:37:30.777Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-11T01:37:30.778Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-11T01:37:30.778Z] Message: update stable to v1.0.258 [2024-03-11T01:37:31.350Z] ------------------- [2024-03-11T01:37:31.350Z] experimental info: [2024-03-11T01:37:31.350Z] ------------------- [2024-03-11T01:37:31.350Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-11T01:37:31.350Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-11T01:37:31.350Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-11T01:37:31.593Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-03-11T01:37:31.658Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-03-11T01:37:31.718Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-11T01:37:31.774Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-11T01:37:31.836Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-11T01:37:31.896Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-11T01:37:31.957Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-11T01:37:32.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-11T01:37:32.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-11T01:37:32.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-11T01:37:32.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-11T01:37:32.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-03-11T01:37:32.346Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-11T01:37:32.413Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-11T01:37:32.490Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-11T01:37:32.560Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-11T01:37:32.621Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-11T01:37:32.695Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-11T01:37:32.768Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-11T01:37:32.842Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-11T01:37:32.911Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-11T01:37:32.985Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-11T01:37:33.053Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-11T01:37:33.132Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-11T01:37:33.205Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-11T01:37:33.278Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-11T01:37:33.353Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-11T01:37:33.418Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-665 [Pipeline] echo [2024-03-11T01:37:33.493Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-665 [Pipeline] echo [2024-03-11T01:37:33.564Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-665 [Pipeline] echo [2024-03-11T01:37:33.643Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [Pipeline] echo [2024-03-11T01:37:33.721Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff7b4e8 [Pipeline] echo [2024-03-11T01:37:33.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-11T01:37:33.978Z] provisioning config files... [2024-03-11T01:37:33.993Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp/config12046810518164242401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:37:34.405Z] ---> ****-login.sh [2024-03-11T01:37:34.405Z] nexus3.edgexfoundry.org:10001 [2024-03-11T01:37:34.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:34.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:34.667Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:34.667Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:34.667Z] [2024-03-11T01:37:34.667Z] Login Succeeded [2024-03-11T01:37:34.667Z] nexus3.edgexfoundry.org:10002 [2024-03-11T01:37:34.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:34.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:34.928Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:34.928Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:34.928Z] [2024-03-11T01:37:34.928Z] Login Succeeded [2024-03-11T01:37:34.928Z] nexus3.edgexfoundry.org:10003 [2024-03-11T01:37:34.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:34.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:34.928Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:34.928Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:34.928Z] [2024-03-11T01:37:34.928Z] Login Succeeded [2024-03-11T01:37:34.928Z] nexus3.edgexfoundry.org:10004 [2024-03-11T01:37:34.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:35.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:35.188Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:35.188Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:35.188Z] [2024-03-11T01:37:35.188Z] Login Succeeded [2024-03-11T01:37:35.188Z] ****.io [2024-03-11T01:37:35.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:35.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:35.450Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:35.450Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:35.450Z] [2024-03-11T01:37:35.450Z] Login Succeeded [2024-03-11T01:37:35.450Z] ---> ****-login.sh ends [Pipeline] } [2024-03-11T01:37:35.483Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-11T01:37:36.388Z] + git rev-list -1 --merges ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f~1..ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [Pipeline] echo [2024-03-11T01:37:36.435Z] -----------> git rev-list -1 --merges ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f~1..ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [false] [Pipeline] sh [2024-03-11T01:37:36.778Z] + git log --format=format:%s -1 ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [Pipeline] echo [2024-03-11T01:37:36.823Z] ========================================================= [2024-03-11T01:37:36.823Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-11T01:37:36.823Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-11T01:37:37.331Z] + git log --format=format:%s -1 ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [Pipeline] echo [2024-03-11T01:37:37.370Z] [semverPrep] GIT_COMMIT: ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-03-11T01:37:37.430Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-11T01:37:37.948Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-11T01:37:37.948Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-11T01:37:37.948Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-11T01:37:37.948Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-11T01:37:37.948Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-03-11T01:37:37.948Z] -a /etc/ssh/ssh_known_hosts [2024-03-11T01:37:37.948Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:37:38.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-11T01:37:38.405Z] [2024-03-11T01:37:38.405Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:37:38.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-11T01:37:39.072Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-11T01:37:39.072Z] b85a868b505f: Pulling fs layer [2024-03-11T01:37:39.072Z] e2be974225ed: Pulling fs layer [2024-03-11T01:37:39.072Z] 339a4e72a1f5: Pulling fs layer [2024-03-11T01:37:39.072Z] 988bab9f4d93: Pulling fs layer [2024-03-11T01:37:39.072Z] 1469e6f7b9e6: Pulling fs layer [2024-03-11T01:37:39.072Z] eaf3925da568: Pulling fs layer [2024-03-11T01:37:39.072Z] bab4dde63d76: Pulling fs layer [2024-03-11T01:37:39.072Z] bde34c3a00c8: Pulling fs layer [2024-03-11T01:37:39.072Z] b352a97aabf1: Pulling fs layer [2024-03-11T01:37:39.072Z] 4872d77fe225: Pulling fs layer [2024-03-11T01:37:39.072Z] 5851b861e8e6: Pulling fs layer [2024-03-11T01:37:39.072Z] 988bab9f4d93: Waiting [2024-03-11T01:37:39.072Z] 1469e6f7b9e6: Waiting [2024-03-11T01:37:39.072Z] eaf3925da568: Waiting [2024-03-11T01:37:39.072Z] bab4dde63d76: Waiting [2024-03-11T01:37:39.072Z] bde34c3a00c8: Waiting [2024-03-11T01:37:39.072Z] b352a97aabf1: Waiting [2024-03-11T01:37:39.072Z] 4872d77fe225: Waiting [2024-03-11T01:37:39.072Z] 5851b861e8e6: Waiting [2024-03-11T01:37:39.072Z] e2be974225ed: Verifying Checksum [2024-03-11T01:37:39.072Z] e2be974225ed: Download complete [2024-03-11T01:37:39.072Z] 988bab9f4d93: Download complete [2024-03-11T01:37:39.331Z] 1469e6f7b9e6: Verifying Checksum [2024-03-11T01:37:39.331Z] 1469e6f7b9e6: Download complete [2024-03-11T01:37:39.331Z] eaf3925da568: Download complete [2024-03-11T01:37:39.331Z] 339a4e72a1f5: Verifying Checksum [2024-03-11T01:37:39.331Z] 339a4e72a1f5: Download complete [2024-03-11T01:37:39.331Z] bde34c3a00c8: Verifying Checksum [2024-03-11T01:37:39.331Z] bde34c3a00c8: Download complete [2024-03-11T01:37:39.331Z] b352a97aabf1: Download complete [2024-03-11T01:37:39.331Z] 4872d77fe225: Verifying Checksum [2024-03-11T01:37:39.331Z] 4872d77fe225: Download complete [2024-03-11T01:37:39.331Z] 5851b861e8e6: Download complete [2024-03-11T01:37:39.592Z] b85a868b505f: Download complete [2024-03-11T01:37:39.854Z] bab4dde63d76: Verifying Checksum [2024-03-11T01:37:39.855Z] bab4dde63d76: Download complete [2024-03-11T01:37:40.795Z] b85a868b505f: Pull complete [2024-03-11T01:37:40.795Z] e2be974225ed: Pull complete [2024-03-11T01:37:41.365Z] 339a4e72a1f5: Pull complete [2024-03-11T01:37:41.365Z] 988bab9f4d93: Pull complete [2024-03-11T01:37:41.624Z] 1469e6f7b9e6: Pull complete [2024-03-11T01:37:41.624Z] eaf3925da568: Pull complete [2024-03-11T01:37:43.539Z] bab4dde63d76: Pull complete [2024-03-11T01:37:43.539Z] bde34c3a00c8: Pull complete [2024-03-11T01:37:43.539Z] b352a97aabf1: Pull complete [2024-03-11T01:37:43.799Z] 4872d77fe225: Pull complete [2024-03-11T01:37:43.799Z] 5851b861e8e6: Pull complete [2024-03-11T01:37:43.799Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-11T01:37:43.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-11T01:37:43.799Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:37:44.131Z] prd-ubuntu20.04-docker-8c-8g-5404 does not seem to be running inside a container [2024-03-11T01:37:44.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-665 -v /w/workspace/gexfoundry_device-mqtt-go_PR-665:/w/workspace/gexfoundry_device-mqtt-go_PR-665:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-11T01:37:47.764Z] $ docker top 0c80075392cb8291a0e374e615f0e18d7cecd80f88ff71ae75f3d9723ff86ad6 -eo pid,comm [2024-03-11T01:37:47.820Z] 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). [2024-03-11T01:37:47.820Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-11T01:37:48.019Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-11T01:37:48.019Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-11T01:37:48.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-11T01:37:48.137Z] $ docker exec 0c80075392cb8291a0e374e615f0e18d7cecd80f88ff71ae75f3d9723ff86ad6 ssh-agent [2024-03-11T01:37:48.242Z] SSH_AUTH_SOCK=/tmp/ssh-RZ4lcZ7NpXwF/agent.32 [2024-03-11T01:37:48.242Z] SSH_AGENT_PID=38 [2024-03-11T01:37:48.248Z] Running ssh-add (command line suppressed) [2024-03-11T01:37:48.336Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp/private_key_7010877066689356396.key (/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp/private_key_7010877066689356396.key) [2024-03-11T01:37:48.352Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-11T01:37:48.704Z] + git tag --points-at HEAD [Pipeline] } [2024-03-11T01:37:48.732Z] $ docker exec --env ******** --env ******** 0c80075392cb8291a0e374e615f0e18d7cecd80f88ff71ae75f3d9723ff86ad6 ssh-agent -k [2024-03-11T01:37:48.824Z] unset SSH_AUTH_SOCK; [2024-03-11T01:37:48.824Z] unset SSH_AGENT_PID; [2024-03-11T01:37:48.825Z] echo Agent pid 38 killed; [2024-03-11T01:37:48.837Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-11T01:37:48.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-11T01:37:48.993Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-11T01:37:49.093Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-11T01:37:49.093Z] $ docker exec 0c80075392cb8291a0e374e615f0e18d7cecd80f88ff71ae75f3d9723ff86ad6 ssh-agent [2024-03-11T01:37:49.209Z] SSH_AUTH_SOCK=/tmp/ssh-eqqQFMr8HNl4/agent.70 [2024-03-11T01:37:49.209Z] SSH_AGENT_PID=76 [2024-03-11T01:37:49.214Z] Running ssh-add (command line suppressed) [2024-03-11T01:37:49.312Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp/private_key_4466317829834497769.key (/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp/private_key_4466317829834497769.key) [2024-03-11T01:37:49.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-11T01:37:49.698Z] + git semver init [2024-03-11T01:37:50.271Z] 2024-03-11 01:37:50,023 [run_init] DEBUG init version:0.0.0 force:False [2024-03-11T01:37:50.271Z] 2024-03-11 01:37:50,024 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-665/.semver [2024-03-11T01:37:50.271Z] 2024-03-11 01:37:50,024 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-665/.semver [2024-03-11T01:37:50.271Z] 2024-03-11 01:37:50,024 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-665/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-665, universal_newlines=False, shell=None, istream=None) [2024-03-11T01:37:51.212Z] 2024-03-11 01:37:51,126 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-665/.git/info/exclude [2024-03-11T01:37:51.212Z] 2024-03-11 01:37:51,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-665/.semver/PR-665 with force:False [2024-03-11T01:37:51.212Z] 2024-03-11 01:37:51,126 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-665/.semver/PR-665 [2024-03-11T01:37:51.212Z] 2024-03-11 01:37:51,131 [execute] INFO git cat-file --batch-check [2024-03-11T01:37:51.212Z] 2024-03-11 01:37:51,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-665/.semver, universal_newlines=False, shell=None, istream=) [2024-03-11T01:37:51.212Z] 2024-03-11 01:37:51,137 [execute] INFO git cat-file --batch [2024-03-11T01:37:51.212Z] 2024-03-11 01:37:51,138 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-665/.semver, universal_newlines=False, shell=None, istream=) [2024-03-11T01:37:51.212Z] 2024-03-11 01:37:51,143 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-665/.semver/PR-665 [2024-03-11T01:37:51.212Z] 0.0.0 [Pipeline] } [2024-03-11T01:37:51.237Z] $ docker exec --env ******** --env ******** 0c80075392cb8291a0e374e615f0e18d7cecd80f88ff71ae75f3d9723ff86ad6 ssh-agent -k [2024-03-11T01:37:51.322Z] unset SSH_AUTH_SOCK; [2024-03-11T01:37:51.322Z] unset SSH_AGENT_PID; [2024-03-11T01:37:51.322Z] echo Agent pid 76 killed; [2024-03-11T01:37:51.334Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-11T01:37:51.872Z] + git semver [Pipeline] } [2024-03-11T01:37:52.165Z] $ docker stop --time=1 0c80075392cb8291a0e374e615f0e18d7cecd80f88ff71ae75f3d9723ff86ad6 [2024-03-11T01:37:53.444Z] $ docker rm -f --volumes 0c80075392cb8291a0e374e615f0e18d7cecd80f88ff71ae75f3d9723ff86ad6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-11T01:37:53.889Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-11T01:37:54.202Z] Stashed 1 file(s) [Pipeline] echo [2024-03-11T01:37:54.218Z] [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 [2024-03-11T01:37:55.129Z] provisioning config files... [2024-03-11T01:37:55.138Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp/config16712811108035680024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:37:55.532Z] ---> ****-login.sh [2024-03-11T01:37:55.533Z] nexus3.edgexfoundry.org:10001 [2024-03-11T01:37:55.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:55.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:55.533Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:55.533Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:55.533Z] [2024-03-11T01:37:55.533Z] Login Succeeded [2024-03-11T01:37:55.533Z] nexus3.edgexfoundry.org:10002 [2024-03-11T01:37:55.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:55.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:55.533Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:55.533Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:55.533Z] [2024-03-11T01:37:55.533Z] Login Succeeded [2024-03-11T01:37:55.533Z] nexus3.edgexfoundry.org:10003 [2024-03-11T01:37:55.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:55.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:55.794Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:55.794Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:55.794Z] [2024-03-11T01:37:55.794Z] Login Succeeded [2024-03-11T01:37:55.794Z] nexus3.edgexfoundry.org:10004 [2024-03-11T01:37:55.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:55.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:55.795Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:55.795Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:55.795Z] [2024-03-11T01:37:55.795Z] Login Succeeded [2024-03-11T01:37:55.795Z] ****.io [2024-03-11T01:37:56.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:37:56.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:37:56.056Z] Configure a credential helper to remove this warning. See [2024-03-11T01:37:56.056Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:37:56.056Z] [2024-03-11T01:37:56.056Z] Login Succeeded [2024-03-11T01:37:56.056Z] ---> ****-login.sh ends [Pipeline] } [2024-03-11T01:37:56.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-11T01:37:56.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T01:37:56.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T01:37:56.558Z] ========================================================= [2024-03-11T01:37:56.558Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-11T01:37:56.558Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:37:57.135Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-11T01:37:57.135Z] Sending build context to Docker daemon 14.93MB [2024-03-11T01:37:57.135Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T01:37:57.135Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-11T01:37:57.135Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-11T01:37:57.135Z] 7264a8db6415: Pulling fs layer [2024-03-11T01:37:57.135Z] c4d48a809fc2: Pulling fs layer [2024-03-11T01:37:57.135Z] 4f1c88b9dad5: Pulling fs layer [2024-03-11T01:37:57.135Z] ad3a456e5733: Pulling fs layer [2024-03-11T01:37:57.135Z] 69c7f0334f64: Pulling fs layer [2024-03-11T01:37:57.135Z] 1f1c1a5573a3: Pulling fs layer [2024-03-11T01:37:57.135Z] ce7588e14bc9: Pulling fs layer [2024-03-11T01:37:57.135Z] b5e4710f87ac: Pulling fs layer [2024-03-11T01:37:57.135Z] ce7588e14bc9: Waiting [2024-03-11T01:37:57.135Z] b5e4710f87ac: Waiting [2024-03-11T01:37:57.135Z] 1f1c1a5573a3: Waiting [2024-03-11T01:37:57.135Z] ad3a456e5733: Waiting [2024-03-11T01:37:57.135Z] 69c7f0334f64: Waiting [2024-03-11T01:37:57.402Z] c4d48a809fc2: Download complete [2024-03-11T01:37:57.403Z] ad3a456e5733: Verifying Checksum [2024-03-11T01:37:57.403Z] ad3a456e5733: Download complete [2024-03-11T01:37:57.403Z] 69c7f0334f64: Verifying Checksum [2024-03-11T01:37:57.403Z] 69c7f0334f64: Download complete [2024-03-11T01:37:57.403Z] 7264a8db6415: Verifying Checksum [2024-03-11T01:37:57.403Z] 7264a8db6415: Download complete [2024-03-11T01:37:57.403Z] 1f1c1a5573a3: Verifying Checksum [2024-03-11T01:37:57.403Z] 1f1c1a5573a3: Download complete [2024-03-11T01:37:57.403Z] 7264a8db6415: Pull complete [2024-03-11T01:37:57.666Z] b5e4710f87ac: Verifying Checksum [2024-03-11T01:37:57.666Z] b5e4710f87ac: Download complete [2024-03-11T01:37:57.666Z] c4d48a809fc2: Pull complete [2024-03-11T01:37:57.666Z] 4f1c88b9dad5: Verifying Checksum [2024-03-11T01:37:57.666Z] 4f1c88b9dad5: Download complete [2024-03-11T01:37:58.278Z] ce7588e14bc9: Verifying Checksum [2024-03-11T01:37:58.278Z] ce7588e14bc9: Download complete [2024-03-11T01:38:00.811Z] 4f1c88b9dad5: Pull complete [2024-03-11T01:38:00.811Z] ad3a456e5733: Pull complete [2024-03-11T01:38:00.811Z] 69c7f0334f64: Pull complete [2024-03-11T01:38:00.811Z] 1f1c1a5573a3: Pull complete [2024-03-11T01:38:03.342Z] ce7588e14bc9: Pull complete [2024-03-11T01:38:03.601Z] b5e4710f87ac: Pull complete [2024-03-11T01:38:03.601Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-11T01:38:03.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-11T01:38:03.601Z] ---> 88b5674ff536 [2024-03-11T01:38:03.601Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-11T01:38:07.798Z] ---> Running in f68cf93bbec4 [2024-03-11T01:38:08.058Z] Removing intermediate container f68cf93bbec4 [2024-03-11T01:38:08.058Z] ---> f91e3ef3f594 [2024-03-11T01:38:08.058Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T01:38:08.058Z] ---> Running in dc091c5bbcfa [2024-03-11T01:38:08.058Z] Removing intermediate container dc091c5bbcfa [2024-03-11T01:38:08.058Z] ---> bbb4e112affd [2024-03-11T01:38:08.058Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-11T01:38:08.058Z] ---> Running in a4d9ad3ec546 [2024-03-11T01:38:08.058Z] Removing intermediate container a4d9ad3ec546 [2024-03-11T01:38:08.058Z] ---> 25e8976ecb7c [2024-03-11T01:38:08.058Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T01:38:08.058Z] ---> Running in 4966388cfa90 [2024-03-11T01:38:08.318Z] Removing intermediate container 4966388cfa90 [2024-03-11T01:38:08.318Z] ---> 0c25969a6c61 [2024-03-11T01:38:08.318Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T01:38:08.318Z] ---> Running in 36d59e0fbcbb [2024-03-11T01:38:08.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T01:38:08.578Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T01:38:08.838Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-11T01:38:08.838Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-11T01:38:08.838Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-11T01:38:08.838Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-11T01:38:08.838Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T01:38:08.838Z] OK: 268 MiB in 56 packages [2024-03-11T01:38:09.409Z] Removing intermediate container 36d59e0fbcbb [2024-03-11T01:38:09.409Z] ---> 87a00f34e282 [2024-03-11T01:38:09.409Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-03-11T01:38:09.409Z] ---> Running in d2f81ad9905a [2024-03-11T01:38:09.409Z] Removing intermediate container d2f81ad9905a [2024-03-11T01:38:09.409Z] ---> 306c60c27b01 [2024-03-11T01:38:09.409Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-11T01:38:09.670Z] ---> 5dafd1890e09 [2024-03-11T01:38:09.670Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T01:38:09.670Z] ---> Running in d44a9d951b4d [2024-03-11T01:38:09.892Z] Still waiting to schedule task [2024-03-11T01:38:09.892Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-11T01:38:36.342Z] Removing intermediate container d44a9d951b4d [2024-03-11T01:38:36.342Z] ---> e78d92d95166 [2024-03-11T01:38:36.342Z] Step 11/12 : COPY . . [2024-03-11T01:38:36.342Z] ---> c3ce57bc7c41 [2024-03-11T01:38:36.342Z] Step 12/12 : RUN $MAKE [2024-03-11T01:38:36.342Z] ---> Running in 313e6c69c8b7 [2024-03-11T01:38:36.342Z] noop [2024-03-11T01:38:36.342Z] Removing intermediate container 313e6c69c8b7 [2024-03-11T01:38:36.342Z] ---> 12c7c80c0315 [2024-03-11T01:38:36.342Z] Successfully built 12c7c80c0315 [2024-03-11T01:38:36.342Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:38:36.895Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-11T01:38:36.895Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:38:37.107Z] prd-ubuntu20.04-docker-8c-8g-5404 does not seem to be running inside a container [2024-03-11T01:38:37.136Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-665 -v /w/workspace/gexfoundry_device-mqtt-go_PR-665:/w/workspace/gexfoundry_device-mqtt-go_PR-665:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-11T01:38:37.463Z] $ docker top 1ddeae9716e82d02de958f5f23bc394444c5cd54db878c70d77fd3d77f45db48 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:38:37.921Z] + go version [2024-03-11T01:38:37.921Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-11T01:38:37.953Z] $ docker stop --time=1 1ddeae9716e82d02de958f5f23bc394444c5cd54db878c70d77fd3d77f45db48 [2024-03-11T01:38:39.220Z] $ docker rm -f --volumes 1ddeae9716e82d02de958f5f23bc394444c5cd54db878c70d77fd3d77f45db48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:38:40.175Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-11T01:38:40.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:38:40.383Z] prd-ubuntu20.04-docker-8c-8g-5404 does not seem to be running inside a container [2024-03-11T01:38:40.414Z] $ 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-665 -v /w/workspace/gexfoundry_device-mqtt-go_PR-665:/w/workspace/gexfoundry_device-mqtt-go_PR-665:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-11T01:38:40.753Z] $ docker top e45800c57b42f422761f9a783ad095d8f46007b0d119442e7ebaaf544660041b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:38:41.216Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-665 [Pipeline] fileExists [Pipeline] sh [2024-03-11T01:38:41.619Z] + make test [2024-03-11T01:38:41.619Z] go test ./... -coverprofile=coverage.out ./... [2024-03-11T01:38:43.006Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-03-11T01:38:52.980Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-03-11T01:38:52.980Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-03-11T01:38:52.980Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2024-03-11T01:38:59.548Z] go vet ./... [2024-03-11T01:39:02.831Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-11T01:39:02.831Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-11T01:39:02.831Z] ./bin/test-attribution-txt.sh [2024-03-11T01:39:02.831Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-11T01:39:02.876Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-11T01:39:02.941Z] $ docker stop --time=1 e45800c57b42f422761f9a783ad095d8f46007b0d119442e7ebaaf544660041b [2024-03-11T01:39:06.064Z] $ docker rm -f --volumes e45800c57b42f422761f9a783ad095d8f46007b0d119442e7ebaaf544660041b [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-11T01:39:06.675Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-11T01:39:06.750Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-11T01:39:07.804Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-11T01:39:08.115Z] + ls -al . [2024-03-11T01:39:08.115Z] total 184 [2024-03-11T01:39:08.115Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 01:38 . [2024-03-11T01:39:08.115Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 01:37 .. [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 01:37 .dockerignore [2024-03-11T01:39:08.115Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:38 .git [2024-03-11T01:39:08.115Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:37 .github [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 11 01:37 .gitignore [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 01:37 .golangci.yml [2024-03-11T01:39:08.115Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 01:37 .semver [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 10386 Mar 11 01:37 Attribution.txt [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 18574 Mar 11 01:37 CHANGELOG.md [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 1798 Mar 11 01:37 Dockerfile [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 01:37 GOVERNANCE.md [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 11 01:37 Jenkinsfile [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 01:37 LICENSE [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 1963 Mar 11 01:37 Makefile [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 11 01:37 OWNERS.md [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 3599 Mar 11 01:37 README.md [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 01:37 VERSION [2024-03-11T01:39:08.115Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:37 bin [2024-03-11T01:39:08.115Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:37 cmd [2024-03-11T01:39:08.115Z] -rw-r--r-- 1 jenkins jenkins 18506 Mar 11 01:38 coverage.out [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 3867 Mar 11 01:37 go.mod [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 36216 Mar 11 01:37 go.sum [2024-03-11T01:39:08.115Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:37 internal [2024-03-11T01:39:08.115Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:37 mock [2024-03-11T01:39:08.115Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 11 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:39:08.600Z] + 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=ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f --label arch=amd64 --label version=0.0.0 . [2024-03-11T01:39:08.600Z] Sending build context to Docker daemon 14.95MB [2024-03-11T01:39:08.600Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T01:39:08.600Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-11T01:39:08.600Z] ---> 12c7c80c0315 [2024-03-11T01:39:08.600Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-11T01:39:08.862Z] ---> Running in 2e34b57b8c2f [2024-03-11T01:39:08.862Z] Removing intermediate container 2e34b57b8c2f [2024-03-11T01:39:08.862Z] ---> a1f240b4e9c4 [2024-03-11T01:39:08.862Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T01:39:08.862Z] ---> Running in 76e76ca9f880 [2024-03-11T01:39:09.127Z] Removing intermediate container 76e76ca9f880 [2024-03-11T01:39:09.127Z] ---> e1c071e4eb9b [2024-03-11T01:39:09.127Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-11T01:39:09.127Z] ---> Running in d04e8d5940a8 [2024-03-11T01:39:09.127Z] Removing intermediate container d04e8d5940a8 [2024-03-11T01:39:09.127Z] ---> 86357bcf44df [2024-03-11T01:39:09.127Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T01:39:09.127Z] ---> Running in 6a662e2007ea [2024-03-11T01:39:09.127Z] Removing intermediate container 6a662e2007ea [2024-03-11T01:39:09.127Z] ---> 8188512285da [2024-03-11T01:39:09.127Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T01:39:09.127Z] ---> Running in 765594c8cadf [2024-03-11T01:39:09.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T01:39:09.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T01:39:09.904Z] OK: 268 MiB in 56 packages [2024-03-11T01:39:10.164Z] Removing intermediate container 765594c8cadf [2024-03-11T01:39:10.164Z] ---> 17fe6a4d3a9c [2024-03-11T01:39:10.164Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-03-11T01:39:10.164Z] ---> Running in adbafa4d1b4d [2024-03-11T01:39:10.422Z] Removing intermediate container adbafa4d1b4d [2024-03-11T01:39:10.422Z] ---> 15efdc6f52c7 [2024-03-11T01:39:10.422Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-11T01:39:10.422Z] ---> 4482eed1c946 [2024-03-11T01:39:10.422Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T01:39:10.422Z] ---> Running in db9b2682c7f2 [2024-03-11T01:39:10.996Z] Removing intermediate container db9b2682c7f2 [2024-03-11T01:39:10.996Z] ---> 8dffc414b356 [2024-03-11T01:39:10.996Z] Step 11/25 : COPY . . [2024-03-11T01:39:11.568Z] ---> e6af53455fa6 [2024-03-11T01:39:11.568Z] Step 12/25 : RUN $MAKE [2024-03-11T01:39:11.568Z] ---> Running in fb2bc69c6ca7 [2024-03-11T01:39:11.827Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-03-11T01:39:29.915Z] Removing intermediate container fb2bc69c6ca7 [2024-03-11T01:39:29.915Z] ---> 0bf272bc74fc [2024-03-11T01:39:29.915Z] Step 13/25 : FROM alpine:3.18 [2024-03-11T01:39:30.175Z] 3.18: Pulling from library/alpine [2024-03-11T01:39:30.436Z] 619be1103602: Pulling fs layer [2024-03-11T01:39:30.778Z] 619be1103602: Verifying Checksum [2024-03-11T01:39:30.778Z] 619be1103602: Download complete [2024-03-11T01:39:30.778Z] 619be1103602: Pull complete [2024-03-11T01:39:30.778Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-11T01:39:30.778Z] Status: Downloaded newer image for alpine:3.18 [2024-03-11T01:39:30.778Z] ---> d3782b16ccc9 [2024-03-11T01:39:30.778Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-03-11T01:39:31.036Z] ---> Running in 0f0aab4812f4 [2024-03-11T01:39:31.036Z] Removing intermediate container 0f0aab4812f4 [2024-03-11T01:39:31.036Z] ---> 2ccd27d7ad5d [2024-03-11T01:39:31.036Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-03-11T01:39:31.036Z] ---> Running in b9d0dc596804 [2024-03-11T01:39:31.295Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T01:39:31.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T01:39:31.815Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-11T01:39:31.815Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T01:39:31.815Z] OK: 7 MiB in 16 packages [2024-03-11T01:39:32.075Z] Removing intermediate container b9d0dc596804 [2024-03-11T01:39:32.075Z] ---> 83f5b0fad0f6 [2024-03-11T01:39:32.075Z] Step 16/25 : RUN apk --no-cache upgrade [2024-03-11T01:39:32.075Z] ---> Running in df076d1eeb83 [2024-03-11T01:39:32.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-11T01:39:32.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-11T01:39:32.593Z] OK: 7 MiB in 16 packages [2024-03-11T01:39:32.854Z] Removing intermediate container df076d1eeb83 [2024-03-11T01:39:32.854Z] ---> 4ab29f864798 [2024-03-11T01:39:32.854Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-03-11T01:39:33.796Z] ---> 45250d565c41 [2024-03-11T01:39:33.796Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-03-11T01:39:33.796Z] ---> 9bbe3e43fbd7 [2024-03-11T01:39:33.796Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-03-11T01:39:34.055Z] ---> 723274b9ab2c [2024-03-11T01:39:34.055Z] Step 20/25 : EXPOSE 59982 [2024-03-11T01:39:34.055Z] ---> Running in 079d0cd9440c [2024-03-11T01:39:34.055Z] Removing intermediate container 079d0cd9440c [2024-03-11T01:39:34.055Z] ---> d499ec27ead6 [2024-03-11T01:39:34.055Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-03-11T01:39:34.055Z] ---> Running in 3bc3675cfc13 [2024-03-11T01:39:34.055Z] Removing intermediate container 3bc3675cfc13 [2024-03-11T01:39:34.055Z] ---> 5bae29230342 [2024-03-11T01:39:34.055Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-11T01:39:34.316Z] ---> Running in 5058523d8463 [2024-03-11T01:39:34.316Z] Removing intermediate container 5058523d8463 [2024-03-11T01:39:34.316Z] ---> 388f0c37055f [2024-03-11T01:39:34.316Z] Step 23/25 : LABEL arch=amd64 [2024-03-11T01:39:34.316Z] ---> Running in 4ea7ae9b6a49 [2024-03-11T01:39:34.316Z] Removing intermediate container 4ea7ae9b6a49 [2024-03-11T01:39:34.316Z] ---> ab8878a410fa [2024-03-11T01:39:34.316Z] Step 24/25 : LABEL git_sha=ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [2024-03-11T01:39:34.316Z] ---> Running in bd3ee939bda1 [2024-03-11T01:39:34.316Z] Removing intermediate container bd3ee939bda1 [2024-03-11T01:39:34.316Z] ---> 56eebb5aad0a [2024-03-11T01:39:34.316Z] Step 25/25 : LABEL version=0.0.0 [2024-03-11T01:39:34.316Z] ---> Running in 4c81383f7a6c [2024-03-11T01:39:34.576Z] Removing intermediate container 4c81383f7a6c [2024-03-11T01:39:34.576Z] ---> 07c2e11c7f65 [2024-03-11T01:39:34.576Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-11T01:39:34.576Z] Successfully built 07c2e11c7f65 [2024-03-11T01:39:34.576Z] 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 [2024-03-11T01:39:35.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T01:39:35.856Z] [2024-03-11T01:39:35.856Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:39:36.276Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T01:39:36.276Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-11T01:39:36.276Z] 5eb5b503b376: Pulling fs layer [2024-03-11T01:39:36.276Z] 5c69ac0246d0: Pulling fs layer [2024-03-11T01:39:36.276Z] ec43610c2a17: Pulling fs layer [2024-03-11T01:39:36.276Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-11T01:39:36.276Z] 33b1e0a273af: Pulling fs layer [2024-03-11T01:39:36.276Z] 5d3b04190fa2: Pulling fs layer [2024-03-11T01:39:36.276Z] 2f39f015ded8: Pulling fs layer [2024-03-11T01:39:36.276Z] 3a2ae6a8a46f: Waiting [2024-03-11T01:39:36.276Z] 33b1e0a273af: Waiting [2024-03-11T01:39:36.276Z] 5d3b04190fa2: Waiting [2024-03-11T01:39:36.276Z] 2f39f015ded8: Waiting [2024-03-11T01:39:36.276Z] 5c69ac0246d0: Verifying Checksum [2024-03-11T01:39:36.276Z] 5c69ac0246d0: Download complete [2024-03-11T01:39:36.276Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-11T01:39:36.276Z] 3a2ae6a8a46f: Download complete [2024-03-11T01:39:36.535Z] 33b1e0a273af: Verifying Checksum [2024-03-11T01:39:36.535Z] 33b1e0a273af: Download complete [2024-03-11T01:39:36.535Z] 5d3b04190fa2: Verifying Checksum [2024-03-11T01:39:36.535Z] 5d3b04190fa2: Download complete [2024-03-11T01:39:36.535Z] ec43610c2a17: Verifying Checksum [2024-03-11T01:39:36.535Z] ec43610c2a17: Download complete [2024-03-11T01:39:36.535Z] 5eb5b503b376: Verifying Checksum [2024-03-11T01:39:36.535Z] 5eb5b503b376: Download complete [2024-03-11T01:39:37.101Z] 2f39f015ded8: Download complete [2024-03-11T01:39:37.667Z] 5eb5b503b376: Pull complete [2024-03-11T01:39:37.928Z] 5c69ac0246d0: Pull complete [2024-03-11T01:39:38.189Z] ec43610c2a17: Pull complete [2024-03-11T01:39:38.189Z] 3a2ae6a8a46f: Pull complete [2024-03-11T01:39:38.446Z] 33b1e0a273af: Pull complete [2024-03-11T01:39:38.446Z] 5d3b04190fa2: Pull complete [2024-03-11T01:39:42.630Z] 2f39f015ded8: Pull complete [2024-03-11T01:39:42.630Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-11T01:39:42.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T01:39:42.630Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:39:42.994Z] prd-ubuntu20.04-docker-8c-8g-5404 does not seem to be running inside a container [2024-03-11T01:39:43.024Z] $ 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-665 -v /w/workspace/gexfoundry_device-mqtt-go_PR-665:/w/workspace/gexfoundry_device-mqtt-go_PR-665:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-11T01:39:47.693Z] $ docker top 50518c392f29d55e6cccf8dd99daeda89bdb4df178dffac2a735996dad0236b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:39:48.239Z] ---> job-cost.sh [2024-03-11T01:39:48.239Z] lf-activate-venv: SKIPPING [2024-03-11T01:39:48.239Z] INFO: No Stack... [2024-03-11T01:39:48.501Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-11T01:39:49.069Z] INFO: Archiving Costs [Pipeline] sh [2024-03-11T01:39:49.391Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-665/archives/cost.csv [2024-03-11T01:39:49.391Z] + cut -d, -f6 [Pipeline] lock [2024-03-11T01:39:49.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-665-1-stack-cost] [2024-03-11T01:39:49.441Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-665-1-stack-cost] did not exist. Created. [2024-03-11T01:39:49.447Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-665-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-11T01:39:49.916Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-11T01:39:49.977Z] Stashed 1 file(s) [Pipeline] } [2024-03-11T01:39:50.046Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-665-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-11T01:39:50.214Z] $ docker stop --time=1 50518c392f29d55e6cccf8dd99daeda89bdb4df178dffac2a735996dad0236b0 [2024-03-11T01:39:51.366Z] $ docker rm -f --volumes 50518c392f29d55e6cccf8dd99daeda89bdb4df178dffac2a735996dad0236b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-11T01:41:34.695Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5405 in /w/workspace/gexfoundry_device-mqtt-go_PR-665 [Pipeline] { [Pipeline] ws [2024-03-11T01:41:34.800Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-03-11T01:41:34.929Z] The recommended git tool is: git [2024-03-11T01:41:39.895Z] using credential edgex-jenkins-ssh [2024-03-11T01:41:39.915Z] Cloning the remote Git repository [2024-03-11T01:41:39.961Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-11T01:41:40.061Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-03-11T01:41:40.201Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-11T01:41:40.202Z] > git --version # timeout=10 [2024-03-11T01:41:40.244Z] > git --version # 'git version 2.25.1' [2024-03-11T01:41:40.247Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-11T01:41:40.410Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-11T01:41:42.075Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-03-11T01:41:42.098Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-11T01:41:43.621Z] Merging remotes/origin/main commit f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 into PR head commit ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [2024-03-11T01:41:42.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-03-11T01:41:43.030Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-11T01:41:43.030Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-11T01:41:43.046Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/665/head:refs/remotes/origin/PR-665 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-11T01:41:43.634Z] > git config core.sparsecheckout # timeout=10 [2024-03-11T01:41:43.902Z] Merge succeeded, producing ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [2024-03-11T01:41:43.903Z] Checking out Revision ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f (PR-665) [2024-03-11T01:41:44.403Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-03-11T01:41:44.447Z] > git --version # timeout=10 [2024-03-11T01:41:44.458Z] > git --version # 'git version 2.25.1' [2024-03-11T01:41:44.486Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-03-11T01:41:43.700Z] > git checkout -f ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f # timeout=10 [2024-03-11T01:41:43.790Z] > git remote # timeout=10 [2024-03-11T01:41:43.811Z] > git config --get remote.origin.url # timeout=10 [2024-03-11T01:41:43.839Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-11T01:41:43.853Z] > git merge f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 # timeout=10 [2024-03-11T01:41:43.883Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-11T01:41:43.908Z] > git config core.sparsecheckout # timeout=10 [2024-03-11T01:41:43.930Z] > git checkout -f ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-11T01:41:45.811Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-11T01:41:45.811Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-11T01:41:45.811Z] Dload Upload Total Spent Left Speed [2024-03-11T01:41:45.811Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97181 0 --:--:-- --:--:-- --:--:-- 97181 [Pipeline] sh [2024-03-11T01:41:46.156Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-11T01:41:46.502Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-11T01:41:46.502Z] + sudo tee /etc/docker/daemon.new [2024-03-11T01:41:46.502Z] { [2024-03-11T01:41:46.502Z] "registry-mirrors": [ [2024-03-11T01:41:46.502Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-11T01:41:46.502Z] ], [2024-03-11T01:41:46.502Z] "bip": "10.250.0.254/24", [2024-03-11T01:41:46.502Z] "hosts": [ [2024-03-11T01:41:46.502Z] "tcp://0.0.0.0:5555", [2024-03-11T01:41:46.502Z] "unix:///var/run/docker.sock" [2024-03-11T01:41:46.502Z] ], [2024-03-11T01:41:46.502Z] "mtu": 1458, [2024-03-11T01:41:46.502Z] "selinux-enabled": true, [2024-03-11T01:41:46.502Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-11T01:41:46.502Z] } [Pipeline] sh [2024-03-11T01:41:46.836Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-11T01:41:47.179Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-11T01:42:05.549Z] provisioning config files... [2024-03-11T01:42:05.586Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1456099640635245575tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:42:06.074Z] ---> ****-login.sh [2024-03-11T01:42:06.074Z] nexus3.edgexfoundry.org:10001 [2024-03-11T01:42:06.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:42:06.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:42:06.617Z] Configure a credential helper to remove this warning. See [2024-03-11T01:42:06.617Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:42:06.617Z] [2024-03-11T01:42:06.617Z] Login Succeeded [2024-03-11T01:42:06.617Z] nexus3.edgexfoundry.org:10002 [2024-03-11T01:42:06.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:42:07.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:42:07.151Z] Configure a credential helper to remove this warning. See [2024-03-11T01:42:07.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:42:07.151Z] [2024-03-11T01:42:07.151Z] Login Succeeded [2024-03-11T01:42:07.151Z] nexus3.edgexfoundry.org:10003 [2024-03-11T01:42:07.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:42:07.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:42:07.421Z] Configure a credential helper to remove this warning. See [2024-03-11T01:42:07.421Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:42:07.421Z] [2024-03-11T01:42:07.421Z] Login Succeeded [2024-03-11T01:42:07.421Z] nexus3.edgexfoundry.org:10004 [2024-03-11T01:42:07.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:42:07.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:42:07.697Z] Configure a credential helper to remove this warning. See [2024-03-11T01:42:07.697Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:42:07.697Z] [2024-03-11T01:42:07.697Z] Login Succeeded [2024-03-11T01:42:07.697Z] ****.io [2024-03-11T01:42:07.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-11T01:42:08.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-11T01:42:08.549Z] Configure a credential helper to remove this warning. See [2024-03-11T01:42:08.549Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-11T01:42:08.549Z] [2024-03-11T01:42:08.549Z] Login Succeeded [2024-03-11T01:42:08.550Z] ---> ****-login.sh ends [Pipeline] } [2024-03-11T01:42:08.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-11T01:42:09.121Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T01:42:09.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-11T01:42:09.283Z] ========================================================= [2024-03-11T01:42:09.283Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-11T01:42:09.283Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:42:09.955Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-11T01:42:10.226Z] Sending build context to Docker daemon 7.571MB [2024-03-11T01:42:10.226Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T01:42:10.226Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-11T01:42:10.498Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-11T01:42:10.498Z] 9fda8d8052c6: Pulling fs layer [2024-03-11T01:42:10.498Z] 5d54e960e981: Pulling fs layer [2024-03-11T01:42:10.498Z] c4a7e357bf2a: Pulling fs layer [2024-03-11T01:42:10.498Z] f0e02332f6b5: Pulling fs layer [2024-03-11T01:42:10.498Z] 872ee5b61b7b: Pulling fs layer [2024-03-11T01:42:10.498Z] f0e02332f6b5: Waiting [2024-03-11T01:42:10.498Z] 0c6a40ed1a82: Pulling fs layer [2024-03-11T01:42:10.498Z] 94ae7d8d031c: Pulling fs layer [2024-03-11T01:42:10.498Z] 872ee5b61b7b: Waiting [2024-03-11T01:42:10.498Z] 94ae7d8d031c: Waiting [2024-03-11T01:42:10.498Z] 0c6a40ed1a82: Waiting [2024-03-11T01:42:10.498Z] 5d54e960e981: Verifying Checksum [2024-03-11T01:42:10.498Z] 5d54e960e981: Download complete [2024-03-11T01:42:10.498Z] f0e02332f6b5: Verifying Checksum [2024-03-11T01:42:10.498Z] f0e02332f6b5: Download complete [2024-03-11T01:42:10.498Z] 872ee5b61b7b: Verifying Checksum [2024-03-11T01:42:10.498Z] 872ee5b61b7b: Download complete [2024-03-11T01:42:10.498Z] 9fda8d8052c6: Verifying Checksum [2024-03-11T01:42:10.498Z] 9fda8d8052c6: Download complete [2024-03-11T01:42:11.094Z] 94ae7d8d031c: Verifying Checksum [2024-03-11T01:42:11.094Z] 94ae7d8d031c: Download complete [2024-03-11T01:42:11.685Z] 9fda8d8052c6: Pull complete [2024-03-11T01:42:12.272Z] 5d54e960e981: Pull complete [2024-03-11T01:42:12.541Z] c4a7e357bf2a: Download complete [2024-03-11T01:42:13.508Z] 0c6a40ed1a82: Verifying Checksum [2024-03-11T01:42:13.508Z] 0c6a40ed1a82: Download complete [2024-03-11T01:42:25.839Z] c4a7e357bf2a: Pull complete [2024-03-11T01:42:25.839Z] f0e02332f6b5: Pull complete [2024-03-11T01:42:25.839Z] 872ee5b61b7b: Pull complete [2024-03-11T01:42:34.053Z] 0c6a40ed1a82: Pull complete [2024-03-11T01:42:35.470Z] 94ae7d8d031c: Pull complete [2024-03-11T01:42:35.470Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-11T01:42:35.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-11T01:42:35.470Z] ---> 86de565de09d [2024-03-11T01:42:35.470Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-11T01:42:36.425Z] ---> Running in 50ef09c36823 [2024-03-11T01:42:36.699Z] Removing intermediate container 50ef09c36823 [2024-03-11T01:42:36.699Z] ---> 476e3d1402fc [2024-03-11T01:42:36.699Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T01:42:36.699Z] ---> Running in 5eaa966da5b0 [2024-03-11T01:42:36.966Z] Removing intermediate container 5eaa966da5b0 [2024-03-11T01:42:36.966Z] ---> 841f17094d5e [2024-03-11T01:42:36.966Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-11T01:42:37.234Z] ---> Running in 127d180c7356 [2024-03-11T01:42:37.501Z] Removing intermediate container 127d180c7356 [2024-03-11T01:42:37.501Z] ---> 6cc182b4723f [2024-03-11T01:42:37.501Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T01:42:37.501Z] ---> Running in 1f1fd75604c0 [2024-03-11T01:42:37.769Z] Removing intermediate container 1f1fd75604c0 [2024-03-11T01:42:37.769Z] ---> 9cc4deb36d25 [2024-03-11T01:42:37.769Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T01:42:37.769Z] ---> Running in 46d12c19118b [2024-03-11T01:42:39.178Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T01:42:39.443Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T01:42:40.403Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-11T01:42:40.403Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-11T01:42:40.403Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-11T01:42:40.403Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-11T01:42:40.668Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T01:42:40.668Z] OK: 271 MiB in 56 packages [2024-03-11T01:42:41.642Z] Removing intermediate container 46d12c19118b [2024-03-11T01:42:41.642Z] ---> 172a918a9198 [2024-03-11T01:42:41.642Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-03-11T01:42:41.642Z] ---> Running in a7f7b93a3d82 [2024-03-11T01:42:41.912Z] Removing intermediate container a7f7b93a3d82 [2024-03-11T01:42:41.912Z] ---> 1783f212097e [2024-03-11T01:42:41.912Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-11T01:42:42.497Z] ---> c43424d1e086 [2024-03-11T01:42:42.497Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T01:42:42.497Z] ---> Running in 52dc8b1cf0eb [2024-03-11T01:43:50.509Z] Removing intermediate container 52dc8b1cf0eb [2024-03-11T01:43:50.509Z] ---> d454e3a95c4a [2024-03-11T01:43:50.509Z] Step 11/12 : COPY . . [2024-03-11T01:43:50.509Z] ---> 8e09460b8bf6 [2024-03-11T01:43:50.509Z] Step 12/12 : RUN $MAKE [2024-03-11T01:43:50.509Z] ---> Running in 88b569e5f04a [2024-03-11T01:43:50.509Z] noop [2024-03-11T01:43:50.509Z] Removing intermediate container 88b569e5f04a [2024-03-11T01:43:50.509Z] ---> 37f7175cd9c8 [2024-03-11T01:43:50.509Z] Successfully built 37f7175cd9c8 [2024-03-11T01:43:50.509Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:43:51.118Z] + docker inspect -f . ci-base-image-arm64 [2024-03-11T01:43:51.118Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:43:51.497Z] prd-ubuntu20.04-docker-arm64-4c-16g-5405 does not seem to be running inside a container [2024-03-11T01:43:51.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-11T01:43:52.776Z] $ docker top c963a8f7919639588ef676479e866839e59f75382e7b859f8c17bada9987378f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:43:53.752Z] + go version [2024-03-11T01:43:53.752Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-11T01:43:53.788Z] $ docker stop --time=1 c963a8f7919639588ef676479e866839e59f75382e7b859f8c17bada9987378f [2024-03-11T01:43:55.385Z] $ docker rm -f --volumes c963a8f7919639588ef676479e866839e59f75382e7b859f8c17bada9987378f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:43:56.638Z] + docker inspect -f . ci-base-image-arm64 [2024-03-11T01:43:56.638Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:43:56.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-5405 does not seem to be running inside a container [2024-03-11T01:43:57.062Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-11T01:43:58.280Z] $ docker top 2e37b738a9c47f36f8442bc35698915c3be0065300be648ff5cda82d5c8dbcb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:43:58.944Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-11T01:43:59.714Z] + make test [2024-03-11T01:43:59.714Z] go test ./... -coverprofile=coverage.out ./... [2024-03-11T01:44:03.061Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-03-11T01:45:39.703Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-03-11T01:45:39.703Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-03-11T01:45:39.703Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.8% of statements [2024-03-11T01:45:39.703Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-11T01:45:39.703Z] go vet ./... [2024-03-11T01:45:54.698Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-11T01:45:54.698Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-11T01:45:54.698Z] ./bin/test-attribution-txt.sh [2024-03-11T01:45:54.698Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-11T01:45:54.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-11T01:45:54.826Z] $ docker stop --time=1 2e37b738a9c47f36f8442bc35698915c3be0065300be648ff5cda82d5c8dbcb9 [2024-03-11T01:45:56.666Z] $ docker rm -f --volumes 2e37b738a9c47f36f8442bc35698915c3be0065300be648ff5cda82d5c8dbcb9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-11T01:45:57.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-11T01:45:57.947Z] Warning: overwriting stash ‘coverage-report’ [2024-03-11T01:45:58.353Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-11T01:45:59.205Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-11T01:45:59.541Z] + ls -al . [2024-03-11T01:45:59.541Z] total 180 [2024-03-11T01:45:59.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:44 . [2024-03-11T01:45:59.541Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 01:41 .. [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 01:41 .dockerignore [2024-03-11T01:45:59.541Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:41 .git [2024-03-11T01:45:59.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:41 .github [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 11 01:41 .gitignore [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 01:41 .golangci.yml [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 10386 Mar 11 01:41 Attribution.txt [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 18574 Mar 11 01:41 CHANGELOG.md [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 1798 Mar 11 01:41 Dockerfile [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 01:41 GOVERNANCE.md [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 11 01:41 Jenkinsfile [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 01:41 LICENSE [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 1963 Mar 11 01:41 Makefile [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 11 01:41 OWNERS.md [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 3599 Mar 11 01:41 README.md [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 11 01:37 VERSION [2024-03-11T01:45:59.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:41 bin [2024-03-11T01:45:59.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:41 cmd [2024-03-11T01:45:59.541Z] -rw-r--r-- 1 jenkins jenkins 18506 Mar 11 01:45 coverage.out [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 3867 Mar 11 01:41 go.mod [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 36216 Mar 11 01:41 go.sum [2024-03-11T01:45:59.541Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:41 internal [2024-03-11T01:45:59.541Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:41 mock [2024-03-11T01:45:59.541Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 11 01:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:46:00.042Z] + 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=ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f --label arch=arm64 --label version=0.0.0 . [2024-03-11T01:46:00.324Z] Sending build context to Docker daemon 7.591MB [2024-03-11T01:46:00.324Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-11T01:46:00.324Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-11T01:46:00.324Z] ---> 37f7175cd9c8 [2024-03-11T01:46:00.324Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-11T01:46:00.592Z] ---> Running in 7a10e6e15d39 [2024-03-11T01:46:00.859Z] Removing intermediate container 7a10e6e15d39 [2024-03-11T01:46:00.859Z] ---> 225a0ba20fdb [2024-03-11T01:46:00.859Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-11T01:46:00.859Z] ---> Running in 7ca4bb54e86c [2024-03-11T01:46:01.126Z] Removing intermediate container 7ca4bb54e86c [2024-03-11T01:46:01.126Z] ---> 8d69d9d6f722 [2024-03-11T01:46:01.126Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-11T01:46:01.126Z] ---> Running in 8eb2a4b2c53c [2024-03-11T01:46:01.711Z] Removing intermediate container 8eb2a4b2c53c [2024-03-11T01:46:01.711Z] ---> 5f0086962cd6 [2024-03-11T01:46:01.711Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-11T01:46:01.711Z] ---> Running in 2e10e45c6113 [2024-03-11T01:46:01.980Z] Removing intermediate container 2e10e45c6113 [2024-03-11T01:46:01.980Z] ---> 6998bc8253f0 [2024-03-11T01:46:01.980Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-11T01:46:01.980Z] ---> Running in a647030b6c30 [2024-03-11T01:46:02.939Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T01:46:03.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T01:46:04.486Z] OK: 271 MiB in 56 packages [2024-03-11T01:46:05.069Z] Removing intermediate container a647030b6c30 [2024-03-11T01:46:05.069Z] ---> f0c74a3e8239 [2024-03-11T01:46:05.069Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-03-11T01:46:05.338Z] ---> Running in 86cf6100d174 [2024-03-11T01:46:05.604Z] Removing intermediate container 86cf6100d174 [2024-03-11T01:46:05.604Z] ---> f83cae84370e [2024-03-11T01:46:05.604Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-11T01:46:06.192Z] ---> d7989a15584d [2024-03-11T01:46:06.192Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-11T01:46:06.192Z] ---> Running in beca7535a3ae [2024-03-11T01:46:08.131Z] Removing intermediate container beca7535a3ae [2024-03-11T01:46:08.131Z] ---> 01f1d38c7892 [2024-03-11T01:46:08.131Z] Step 11/25 : COPY . . [2024-03-11T01:46:09.090Z] ---> 96772a45937b [2024-03-11T01:46:09.090Z] Step 12/25 : RUN $MAKE [2024-03-11T01:46:09.090Z] ---> Running in 4c78a28f4677 [2024-03-11T01:46:10.052Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-03-11T01:48:01.722Z] Removing intermediate container 4c78a28f4677 [2024-03-11T01:48:01.722Z] ---> 4e51c0ef9ed6 [2024-03-11T01:48:01.722Z] Step 13/25 : FROM alpine:3.18 [2024-03-11T01:48:01.722Z] 3.18: Pulling from library/alpine [2024-03-11T01:48:01.722Z] c6b39de5b339: Pulling fs layer [2024-03-11T01:48:01.722Z] c6b39de5b339: Verifying Checksum [2024-03-11T01:48:01.722Z] c6b39de5b339: Download complete [2024-03-11T01:48:01.722Z] c6b39de5b339: Pull complete [2024-03-11T01:48:01.722Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-11T01:48:01.722Z] Status: Downloaded newer image for alpine:3.18 [2024-03-11T01:48:01.722Z] ---> 33abbf032149 [2024-03-11T01:48:01.722Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-03-11T01:48:01.722Z] ---> Running in 2952cf1f34de [2024-03-11T01:48:01.722Z] Removing intermediate container 2952cf1f34de [2024-03-11T01:48:01.722Z] ---> 170a9727c124 [2024-03-11T01:48:01.722Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-03-11T01:48:01.722Z] ---> Running in cf0d5360c589 [2024-03-11T01:48:01.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T01:48:01.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T01:48:01.722Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-11T01:48:01.722Z] Executing busybox-1.36.1-r5.trigger [2024-03-11T01:48:01.722Z] OK: 8 MiB in 16 packages [2024-03-11T01:48:01.722Z] Removing intermediate container cf0d5360c589 [2024-03-11T01:48:01.722Z] ---> ace599a704df [2024-03-11T01:48:01.722Z] Step 16/25 : RUN apk --no-cache upgrade [2024-03-11T01:48:01.722Z] ---> Running in 0d30545ea70b [2024-03-11T01:48:02.314Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-11T01:48:02.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-11T01:48:03.996Z] OK: 8 MiB in 16 packages [2024-03-11T01:48:04.583Z] Removing intermediate container 0d30545ea70b [2024-03-11T01:48:04.583Z] ---> e7539965f5eb [2024-03-11T01:48:04.583Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-03-11T01:48:06.529Z] ---> 30786cbbe5dc [2024-03-11T01:48:06.529Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-03-11T01:48:06.529Z] ---> 676c52d9222c [2024-03-11T01:48:06.529Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-03-11T01:48:07.113Z] ---> 91b07b8334a0 [2024-03-11T01:48:07.113Z] Step 20/25 : EXPOSE 59982 [2024-03-11T01:48:07.113Z] ---> Running in 190468576bfb [2024-03-11T01:48:07.695Z] Removing intermediate container 190468576bfb [2024-03-11T01:48:07.695Z] ---> 23a7b433a390 [2024-03-11T01:48:07.695Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-03-11T01:48:07.695Z] ---> Running in 527faabcc91f [2024-03-11T01:48:07.962Z] Removing intermediate container 527faabcc91f [2024-03-11T01:48:07.962Z] ---> a04a4c7e8e78 [2024-03-11T01:48:07.962Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-11T01:48:07.962Z] ---> Running in 282e96bfc0cd [2024-03-11T01:48:08.227Z] Removing intermediate container 282e96bfc0cd [2024-03-11T01:48:08.227Z] ---> 534d3c8f7412 [2024-03-11T01:48:08.227Z] Step 23/25 : LABEL arch=arm64 [2024-03-11T01:48:08.227Z] ---> Running in ada2d9d2ebae [2024-03-11T01:48:08.494Z] Removing intermediate container ada2d9d2ebae [2024-03-11T01:48:08.494Z] ---> 00dda6ad6f29 [2024-03-11T01:48:08.494Z] Step 24/25 : LABEL git_sha=ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [2024-03-11T01:48:08.764Z] ---> Running in ff79eacb43da [2024-03-11T01:48:09.029Z] Removing intermediate container ff79eacb43da [2024-03-11T01:48:09.029Z] ---> 090512c2f53b [2024-03-11T01:48:09.029Z] Step 25/25 : LABEL version=0.0.0 [2024-03-11T01:48:09.029Z] ---> Running in 9f289b23e057 [2024-03-11T01:48:09.294Z] Removing intermediate container 9f289b23e057 [2024-03-11T01:48:09.294Z] ---> c21fcad2dd00 [2024-03-11T01:48:09.294Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-11T01:48:09.295Z] Successfully built c21fcad2dd00 [2024-03-11T01:48:09.295Z] 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 [2024-03-11T01:48:10.579Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-11T01:48:10.579Z] [2024-03-11T01:48:10.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:48:11.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-11T01:48:11.037Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-11T01:48:11.037Z] 8998bd30e6a1: Pulling fs layer [2024-03-11T01:48:11.037Z] 04944245beec: Pulling fs layer [2024-03-11T01:48:11.037Z] 699f458cf7ca: Pulling fs layer [2024-03-11T01:48:11.037Z] 765212b225bb: Pulling fs layer [2024-03-11T01:48:11.037Z] f23df028b6ca: Pulling fs layer [2024-03-11T01:48:11.037Z] d65c8cfc05b1: Pulling fs layer [2024-03-11T01:48:11.037Z] 2437ff75d9bd: Pulling fs layer [2024-03-11T01:48:11.037Z] 765212b225bb: Waiting [2024-03-11T01:48:11.037Z] f23df028b6ca: Waiting [2024-03-11T01:48:11.037Z] d65c8cfc05b1: Waiting [2024-03-11T01:48:11.037Z] 2437ff75d9bd: Waiting [2024-03-11T01:48:11.307Z] 04944245beec: Verifying Checksum [2024-03-11T01:48:11.307Z] 04944245beec: Download complete [2024-03-11T01:48:11.307Z] 765212b225bb: Verifying Checksum [2024-03-11T01:48:11.307Z] 765212b225bb: Download complete [2024-03-11T01:48:11.307Z] f23df028b6ca: Verifying Checksum [2024-03-11T01:48:11.307Z] f23df028b6ca: Download complete [2024-03-11T01:48:11.307Z] d65c8cfc05b1: Verifying Checksum [2024-03-11T01:48:11.307Z] d65c8cfc05b1: Download complete [2024-03-11T01:48:11.307Z] 699f458cf7ca: Verifying Checksum [2024-03-11T01:48:11.307Z] 699f458cf7ca: Download complete [2024-03-11T01:48:11.900Z] 8998bd30e6a1: Verifying Checksum [2024-03-11T01:48:11.900Z] 8998bd30e6a1: Download complete [2024-03-11T01:48:14.481Z] 2437ff75d9bd: Verifying Checksum [2024-03-11T01:48:14.481Z] 2437ff75d9bd: Download complete [2024-03-11T01:48:16.425Z] 8998bd30e6a1: Pull complete [2024-03-11T01:48:17.007Z] 04944245beec: Pull complete [2024-03-11T01:48:18.414Z] 699f458cf7ca: Pull complete [2024-03-11T01:48:18.680Z] 765212b225bb: Pull complete [2024-03-11T01:48:19.637Z] f23df028b6ca: Pull complete [2024-03-11T01:48:19.637Z] d65c8cfc05b1: Pull complete [2024-03-11T01:48:37.827Z] 2437ff75d9bd: Pull complete [2024-03-11T01:48:37.827Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-11T01:48:37.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-11T01:48:37.827Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:48:38.320Z] prd-ubuntu20.04-docker-arm64-4c-16g-5405 does not seem to be running inside a container [2024-03-11T01:48:38.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-11T01:48:40.934Z] $ docker top 48fcbad484030c5c2590463377d4780e609e04853dff2b693159212b5f08a516 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:48:41.609Z] ---> job-cost.sh [2024-03-11T01:48:41.875Z] lf-activate-venv: SKIPPING [2024-03-11T01:48:41.875Z] INFO: No Stack... [2024-03-11T01:48:42.139Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-11T01:48:43.091Z] INFO: Archiving Costs [Pipeline] sh [2024-03-11T01:48:43.429Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-03-11T01:48:43.429Z] + cut -d, -f6 [Pipeline] lock [2024-03-11T01:48:43.769Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-665-1-stack-cost] [2024-03-11T01:48:43.774Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-665-1-stack-cost] did not exist. Created. [2024-03-11T01:48:43.784Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-665-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-11T01:48:44.603Z] /w/workspace/device-mqtt-go/1@tmp/durable-61cd654c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-11T01:48:44.950Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-11T01:48:44.990Z] Warning: overwriting stash ‘stack-cost’ [2024-03-11T01:48:45.033Z] Stashed 1 file(s) [Pipeline] } [2024-03-11T01:48:45.080Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-665-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-11T01:48:45.250Z] $ docker stop --time=1 48fcbad484030c5c2590463377d4780e609e04853dff2b693159212b5f08a516 [2024-03-11T01:48:46.788Z] $ docker rm -f --volumes 48fcbad484030c5c2590463377d4780e609e04853dff2b693159212b5f08a516 [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 [2024-03-11T01:48:48.852Z] provisioning config files... [2024-03-11T01:48:48.861Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp/config4144004221252030709tmp [Pipeline] { [Pipeline] sh [2024-03-11T01:48:49.292Z] + set +x [2024-03-11T01:48:49.292Z] + curl -s https://codecov.io/bash [2024-03-11T01:48:49.292Z] + bash -s -- [2024-03-11T01:48:49.292Z] [2024-03-11T01:48:49.292Z] _____ _ [2024-03-11T01:48:49.292Z] / ____| | | [2024-03-11T01:48:49.292Z] | | ___ __| | ___ ___ _____ __ [2024-03-11T01:48:49.292Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-11T01:48:49.292Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-11T01:48:49.292Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-11T01:48:49.292Z] Bash-1.0.6 [2024-03-11T01:48:49.292Z] [2024-03-11T01:48:49.292Z] [2024-03-11T01:48:49.292Z] ==> git version 2.25.1 found [2024-03-11T01:48:49.292Z] ==> 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 [2024-03-11T01:48:49.292Z] Release-Date: 2020-01-08 [2024-03-11T01:48:49.292Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-11T01:48:49.292Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-11T01:48:49.292Z] ==> Jenkins CI detected. [2024-03-11T01:48:49.292Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-665 [2024-03-11T01:48:49.292Z] project root: . [2024-03-11T01:48:49.292Z] --> token set from env [2024-03-11T01:48:49.292Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-11T01:48:49.292Z] ==> Running gcov in . (disable via -X gcov) [2024-03-11T01:48:49.551Z] ==> Python coveragepy not found [2024-03-11T01:48:49.551Z] ==> Searching for coverage reports in: [2024-03-11T01:48:49.551Z] + . [2024-03-11T01:48:49.551Z] -> Found 1 reports [2024-03-11T01:48:49.551Z] ==> Detecting git/mercurial file structure [2024-03-11T01:48:49.551Z] ==> Reading reports [2024-03-11T01:48:49.551Z] + ./coverage.out bytes=18506 [2024-03-11T01:48:49.551Z] ==> Appending adjustments [2024-03-11T01:48:49.551Z] https://docs.codecov.io/docs/fixing-reports [2024-03-11T01:48:49.551Z] + Found adjustments [2024-03-11T01:48:49.551Z] ==> Gzipping contents [2024-03-11T01:48:49.551Z] 4.0K /tmp/codecov.yPlbYO.gz [2024-03-11T01:48:49.551Z] ==> Uploading reports [2024-03-11T01:48:49.551Z] url: https://codecov.io [2024-03-11T01:48:49.551Z] query: branch=PR-665&commit=ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-665%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=665&job=&cmd_args= [2024-03-11T01:48:49.551Z] -> Pinging Codecov [2024-03-11T01:48:49.551Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-665&commit=ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-665%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=665&job=&cmd_args= [2024-03-11T01:48:49.811Z] -> Uploading to [2024-03-11T01:48:49.811Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-11/7D719EC7BBE17E464838252E33014C33/ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f/ddc1966f-395a-4a49-995c-59266ec69903.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240311T014849Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2f6b65d2bdcb063f8f18f911601d094ecf0d1fcc461f27b972ce93ba45f9d46f [2024-03-11T01:48:49.811Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-11T01:48:49.811Z] Dload Upload Total Spent Left Speed [2024-03-11T01:48:50.072Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11505 --:--:-- --:--:-- --:--:-- 11505 [2024-03-11T01:48:50.072Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ff7b4e8baa9daacae7fc32c26fb0090d5c5e5f1f [Pipeline] } [2024-03-11T01:48:50.102Z] 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 [2024-03-11T01:48:53.409Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-665/archives ] [2024-03-11T01:48:53.410Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-665/archives [2024-03-11T01:48:53.410Z] total 16 [2024-03-11T01:48:53.410Z] drwxr-xr-x 3 root root 4096 Mar 11 01:39 . [2024-03-11T01:48:53.410Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 01:39 .. [2024-03-11T01:48:53.410Z] drwxr-xr-x 2 root root 4096 Mar 11 01:39 cost [2024-03-11T01:48:53.410Z] -rw-r--r-- 1 root root 86 Mar 11 01:39 cost.csv [2024-03-11T01:48:53.410Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-665/archives [2024-03-11T01:48:53.410Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-665/archives [2024-03-11T01:48:53.410Z] total 16 [2024-03-11T01:48:53.410Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 01:39 . [2024-03-11T01:48:53.410Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 01:39 .. [2024-03-11T01:48:53.410Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 01:39 cost [2024-03-11T01:48:53.410Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 11 01:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:48:53.736Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:48:54.721Z] ---> package-listing.sh [2024-03-11T01:48:54.722Z] ++ facter osfamily [2024-03-11T01:48:54.722Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-11T01:48:54.980Z] + OS_FAMILY=debian [2024-03-11T01:48:54.980Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-665 [2024-03-11T01:48:54.980Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-11T01:48:54.980Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-11T01:48:54.980Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-11T01:48:54.980Z] + PACKAGES=/tmp/packages_start.txt [2024-03-11T01:48:54.980Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-665 ']' [2024-03-11T01:48:54.980Z] + PACKAGES=/tmp/packages_end.txt [2024-03-11T01:48:54.980Z] + case "${OS_FAMILY}" in [2024-03-11T01:48:54.980Z] + dpkg -l [2024-03-11T01:48:54.980Z] + grep '^ii' [2024-03-11T01:48:54.980Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-11T01:48:54.980Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-11T01:48:54.980Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-11T01:48:54.980Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-665 ']' [2024-03-11T01:48:54.980Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-665/archives/ [2024-03-11T01:48:54.980Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-665/archives/ [Pipeline] echo [2024-03-11T01:48:55.015Z] 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-665/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-11T01:48:55.307Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-11T01:48:56.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-11T01:48:56.001Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-11T01:48:56.249Z] prd-ubuntu20.04-docker-8c-8g-5404 does not seem to be running inside a container [2024-03-11T01:48:56.275Z] $ 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-665/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-665 -v /w/workspace/gexfoundry_device-mqtt-go_PR-665:/w/workspace/gexfoundry_device-mqtt-go_PR-665:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-11T01:48:56.467Z] $ docker top ff592c0a04accd8c83e07186213763874763451150c4f003dfa3448cd987dfca -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-11T01:48:56.965Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-11T01:48:57.275Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-11T01:48:57.585Z] + ls /var/log/sa-host [2024-03-11T01:48:57.585Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-11T01:48:57.799Z] provisioning config files... [2024-03-11T01:48:57.809Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-665@tmp/config7949342674176187096tmp [Pipeline] { [Pipeline] echo [2024-03-11T01:48:57.964Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:48:58.273Z] ---> create-netrc.sh [Pipeline] } [2024-03-11T01:48:58.301Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:48:58.790Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-11T01:48:58.824Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:48:59.137Z] ---> sudo-logs.sh [2024-03-11T01:48:59.137Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-11T01:48:59.265Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:48:59.585Z] ---> job-cost.sh [2024-03-11T01:48:59.585Z] lf-activate-venv: SKIPPING [2024-03-11T01:48:59.585Z] DEBUG: total: 0.2199999988079071 [2024-03-11T01:48:59.585Z] INFO: Retrieving Stack Cost... [2024-03-11T01:48:59.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-11T01:49:00.412Z] INFO: Archiving Costs [Pipeline] echo [2024-03-11T01:49:00.446Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-11T01:49:00.756Z] ---> logs-deploy.sh [2024-03-11T01:49:00.756Z] lf-activate-venv: SKIPPING [2024-03-11T01:49:00.756Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-665/1 [2024-03-11T01:49:00.756Z] INFO: archiving workspace using pattern(s): [2024-03-11T01:49:01.693Z] Archives upload complete. [2024-03-11T01:49:01.693Z] INFO: archiving logs to Nexus