Pull request #624 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 1022449141eb978b53fbecf18e8b317fe7218e26+996c7dc504458e30104dd4fabba147269fefd7c5 (844a625fcdc8ac3019f063e7144a04b3eddaf8c3) 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-ssh3417523652492267931.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13170098567618482288.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-624/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-624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9347800313937919087.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-624/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17038655298336469720.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1178245858084250498.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-624/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-624/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh737964472536290172.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Running on prd-ubuntu20.04-docker-8c-8g-6011 in /w/workspace/gexfoundry_device-mqtt-go_PR-624 [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-624 # 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 Merging remotes/origin/main commit 996c7dc504458e30104dd4fabba147269fefd7c5 into PR head commit 1022449141eb978b53fbecf18e8b317fe7218e26 Merge succeeded, producing 1022449141eb978b53fbecf18e8b317fe7218e26 Checking out Revision 1022449141eb978b53fbecf18e8b317fe7218e26 (PR-624) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/624/head:refs/remotes/origin/PR-624 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1022449141eb978b53fbecf18e8b317fe7218e26 # 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 996c7dc504458e30104dd4fabba147269fefd7c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1022449141eb978b53fbecf18e8b317fe7218e26 # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T21:48:46.814Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T21:48:46.989Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T21:48:47.095Z] ========================================================= [2023-09-12T21:48:47.095Z] EdgeX Global Pipelines Version Info [2023-09-12T21:48:47.095Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:48:48.558Z] ------------------- [2023-09-12T21:48:48.558Z] stable info: [2023-09-12T21:48:48.558Z] ------------------- [2023-09-12T21:48:48.558Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T21:48:48.558Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:48:48.558Z] Message: update stable to v1.0.254 [2023-09-12T21:48:49.128Z] ------------------- [2023-09-12T21:48:49.128Z] experimental info: [2023-09-12T21:48:49.128Z] ------------------- [2023-09-12T21:48:49.128Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T21:48:49.128Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T21:48:49.128Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T21:48:49.428Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-09-12T21:48:49.475Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-09-12T21:48:49.512Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T21:48:49.554Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T21:48:49.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T21:48:49.633Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T21:48:49.672Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T21:48:49.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-12T21:48:49.751Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T21:48:49.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T21:48:49.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T21:48:49.885Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-09-12T21:48:49.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T21:48:49.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T21:48:50.003Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:48:50.050Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T21:48:50.094Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:48:50.135Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T21:48:50.178Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T21:48:50.220Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T21:48:50.263Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-12T21:48:50.309Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-12T21:48:50.366Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T21:48:50.412Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T21:48:50.457Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T21:48:50.507Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T21:48:50.549Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T21:48:50.592Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-624 [Pipeline] echo [2023-09-12T21:48:50.635Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-624 [Pipeline] echo [2023-09-12T21:48:50.676Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-624 [Pipeline] echo [2023-09-12T21:48:50.720Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1022449141eb978b53fbecf18e8b317fe7218e26 [Pipeline] echo [2023-09-12T21:48:50.761Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1022449 [Pipeline] echo [2023-09-12T21:48:50.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:48:50.924Z] provisioning config files... [2023-09-12T21:48:50.948Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp/config3916553883770888837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:48:51.295Z] ---> docker-login.sh [2023-09-12T21:48:51.295Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:48:51.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:51.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:51.557Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:51.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:51.557Z] [2023-09-12T21:48:51.557Z] Login Succeeded [2023-09-12T21:48:51.557Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:48:51.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:51.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:51.557Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:51.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:51.557Z] [2023-09-12T21:48:51.557Z] Login Succeeded [2023-09-12T21:48:51.557Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:48:51.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:51.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:51.817Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:51.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:51.817Z] [2023-09-12T21:48:51.817Z] Login Succeeded [2023-09-12T21:48:51.817Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:48:51.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:51.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:51.817Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:51.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:51.817Z] [2023-09-12T21:48:51.817Z] Login Succeeded [2023-09-12T21:48:51.817Z] docker.io [2023-09-12T21:48:52.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:48:52.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:48:52.078Z] Configure a credential helper to remove this warning. See [2023-09-12T21:48:52.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:48:52.078Z] [2023-09-12T21:48:52.078Z] Login Succeeded [2023-09-12T21:48:52.078Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:48:52.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T21:48:52.741Z] + git rev-list -1 --merges 1022449141eb978b53fbecf18e8b317fe7218e26~1..1022449141eb978b53fbecf18e8b317fe7218e26 [Pipeline] echo [2023-09-12T21:48:52.798Z] -----------> git rev-list -1 --merges 1022449141eb978b53fbecf18e8b317fe7218e26~1..1022449141eb978b53fbecf18e8b317fe7218e26 1022449141eb978b53fbecf18e8b317fe7218e26 [false] [Pipeline] sh [2023-09-12T21:48:53.104Z] + git log --format=format:%s -1 1022449141eb978b53fbecf18e8b317fe7218e26 [Pipeline] echo [2023-09-12T21:48:53.135Z] ========================================================= [2023-09-12T21:48:53.135Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T21:48:53.135Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:48:53.567Z] + git log --format=format:%s -1 1022449141eb978b53fbecf18e8b317fe7218e26 [Pipeline] echo [2023-09-12T21:48:53.600Z] [semverPrep] GIT_COMMIT: 1022449141eb978b53fbecf18e8b317fe7218e26, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo [2023-09-12T21:48:53.627Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T21:48:53.994Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T21:48:53.994Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T21:48:53.994Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T21:48:53.994Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T21:48:53.994Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T21:48:53.994Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T21:48:53.994Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:48:54.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:48:54.421Z] [2023-09-12T21:48:54.421Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:48:54.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:48:54.799Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T21:48:54.799Z] b85a868b505f: Pulling fs layer [2023-09-12T21:48:54.799Z] e2be974225ed: Pulling fs layer [2023-09-12T21:48:54.799Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T21:48:54.799Z] 988bab9f4d93: Pulling fs layer [2023-09-12T21:48:54.799Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T21:48:54.799Z] eaf3925da568: Pulling fs layer [2023-09-12T21:48:54.799Z] bab4dde63d76: Pulling fs layer [2023-09-12T21:48:54.799Z] bde34c3a00c8: Pulling fs layer [2023-09-12T21:48:54.799Z] b352a97aabf1: Pulling fs layer [2023-09-12T21:48:54.799Z] 4872d77fe225: Pulling fs layer [2023-09-12T21:48:54.799Z] 5851b861e8e6: Pulling fs layer [2023-09-12T21:48:54.799Z] bab4dde63d76: Waiting [2023-09-12T21:48:54.799Z] 5851b861e8e6: Waiting [2023-09-12T21:48:54.799Z] 4872d77fe225: Waiting [2023-09-12T21:48:54.799Z] bde34c3a00c8: Waiting [2023-09-12T21:48:54.799Z] b352a97aabf1: Waiting [2023-09-12T21:48:54.799Z] 1469e6f7b9e6: Waiting [2023-09-12T21:48:54.799Z] eaf3925da568: Waiting [2023-09-12T21:48:54.799Z] e2be974225ed: Verifying Checksum [2023-09-12T21:48:54.799Z] e2be974225ed: Download complete [2023-09-12T21:48:54.799Z] 988bab9f4d93: Verifying Checksum [2023-09-12T21:48:54.799Z] 988bab9f4d93: Download complete [2023-09-12T21:48:54.799Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T21:48:54.799Z] 1469e6f7b9e6: Download complete [2023-09-12T21:48:54.799Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T21:48:54.799Z] 339a4e72a1f5: Download complete [2023-09-12T21:48:55.059Z] eaf3925da568: Verifying Checksum [2023-09-12T21:48:55.059Z] eaf3925da568: Download complete [2023-09-12T21:48:55.059Z] bde34c3a00c8: Download complete [2023-09-12T21:48:55.059Z] b352a97aabf1: Verifying Checksum [2023-09-12T21:48:55.059Z] b352a97aabf1: Download complete [2023-09-12T21:48:55.059Z] 4872d77fe225: Verifying Checksum [2023-09-12T21:48:55.059Z] 4872d77fe225: Download complete [2023-09-12T21:48:55.059Z] 5851b861e8e6: Download complete [2023-09-12T21:48:55.059Z] b85a868b505f: Verifying Checksum [2023-09-12T21:48:55.059Z] b85a868b505f: Download complete [2023-09-12T21:48:55.318Z] bab4dde63d76: Verifying Checksum [2023-09-12T21:48:55.318Z] bab4dde63d76: Download complete [2023-09-12T21:48:56.254Z] b85a868b505f: Pull complete [2023-09-12T21:48:56.514Z] e2be974225ed: Pull complete [2023-09-12T21:48:57.084Z] 339a4e72a1f5: Pull complete [2023-09-12T21:48:57.084Z] 988bab9f4d93: Pull complete [2023-09-12T21:48:57.345Z] 1469e6f7b9e6: Pull complete [2023-09-12T21:48:57.345Z] eaf3925da568: Pull complete [2023-09-12T21:48:59.252Z] bab4dde63d76: Pull complete [2023-09-12T21:48:59.252Z] bde34c3a00c8: Pull complete [2023-09-12T21:48:59.252Z] b352a97aabf1: Pull complete [2023-09-12T21:48:59.512Z] 4872d77fe225: Pull complete [2023-09-12T21:48:59.512Z] 5851b861e8e6: Pull complete [2023-09-12T21:48:59.512Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T21:48:59.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T21:48:59.512Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:48:59.749Z] prd-ubuntu20.04-docker-8c-8g-6011 does not seem to be running inside a container [2023-09-12T21:48:59.795Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-624 -v /w/workspace/gexfoundry_device-mqtt-go_PR-624:/w/workspace/gexfoundry_device-mqtt-go_PR-624:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-624@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-devops/py-git-semver:0.1.4 cat [2023-09-12T21:49:02.442Z] $ docker top 435592361f0609fdf54cfcb191e6b1ae6f0b2b42bb0b0ebe44c90825cbe7fee4 -eo pid,comm [2023-09-12T21:49:02.489Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-12T21:49:02.489Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T21:49:02.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:49:02.612Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:49:02.711Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:49:02.718Z] $ docker exec 435592361f0609fdf54cfcb191e6b1ae6f0b2b42bb0b0ebe44c90825cbe7fee4 ssh-agent [2023-09-12T21:49:02.819Z] SSH_AUTH_SOCK=/tmp/ssh-j1YbOTV3dMdK/agent.32 [2023-09-12T21:49:02.819Z] SSH_AGENT_PID=39 [2023-09-12T21:49:02.826Z] Running ssh-add (command line suppressed) [2023-09-12T21:49:02.932Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp/private_key_6303744581840928390.key (/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp/private_key_6303744581840928390.key) [2023-09-12T21:49:02.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:49:03.277Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T21:49:03.308Z] $ docker exec --env ******** --env ******** 435592361f0609fdf54cfcb191e6b1ae6f0b2b42bb0b0ebe44c90825cbe7fee4 ssh-agent -k [2023-09-12T21:49:03.404Z] unset SSH_AUTH_SOCK; [2023-09-12T21:49:03.405Z] unset SSH_AGENT_PID; [2023-09-12T21:49:03.405Z] echo Agent pid 39 killed; [2023-09-12T21:49:03.412Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T21:49:03.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T21:49:03.509Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T21:49:03.610Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T21:49:03.617Z] $ docker exec 435592361f0609fdf54cfcb191e6b1ae6f0b2b42bb0b0ebe44c90825cbe7fee4 ssh-agent [2023-09-12T21:49:03.711Z] SSH_AUTH_SOCK=/tmp/ssh-bbkzCv4fwVWx/agent.71 [2023-09-12T21:49:03.711Z] SSH_AGENT_PID=77 [2023-09-12T21:49:03.715Z] Running ssh-add (command line suppressed) [2023-09-12T21:49:03.814Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp/private_key_4135276553500863162.key (/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp/private_key_4135276553500863162.key) [2023-09-12T21:49:03.825Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T21:49:04.148Z] + git semver init [2023-09-12T21:49:04.407Z] 2023-09-12 21:49:04,342 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T21:49:04.407Z] 2023-09-12 21:49:04,342 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-624/.semver [2023-09-12T21:49:04.407Z] 2023-09-12 21:49:04,343 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-624/.semver [2023-09-12T21:49:04.407Z] 2023-09-12 21:49:04,343 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-624/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-624, universal_newlines=False, shell=None, istream=None) [2023-09-12T21:49:05.345Z] 2023-09-12 21:49:05,111 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-624/.git/info/exclude [2023-09-12T21:49:05.345Z] 2023-09-12 21:49:05,112 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-624/.semver/PR-624 with force:False [2023-09-12T21:49:05.345Z] 2023-09-12 21:49:05,112 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-624/.semver/PR-624 [2023-09-12T21:49:05.345Z] 2023-09-12 21:49:05,117 [execute] INFO git cat-file --batch-check [2023-09-12T21:49:05.345Z] 2023-09-12 21:49:05,118 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-624/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:49:05.345Z] 2023-09-12 21:49:05,124 [execute] INFO git cat-file --batch [2023-09-12T21:49:05.345Z] 2023-09-12 21:49:05,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-624/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T21:49:05.345Z] 2023-09-12 21:49:05,130 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-624/.semver/PR-624 [2023-09-12T21:49:05.345Z] 0.0.0 [Pipeline] } [2023-09-12T21:49:05.377Z] $ docker exec --env ******** --env ******** 435592361f0609fdf54cfcb191e6b1ae6f0b2b42bb0b0ebe44c90825cbe7fee4 ssh-agent -k [2023-09-12T21:49:05.470Z] unset SSH_AUTH_SOCK; [2023-09-12T21:49:05.470Z] unset SSH_AGENT_PID; [2023-09-12T21:49:05.471Z] echo Agent pid 77 killed; [2023-09-12T21:49:05.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T21:49:05.900Z] + git semver [Pipeline] } [2023-09-12T21:49:06.188Z] $ docker stop --time=1 435592361f0609fdf54cfcb191e6b1ae6f0b2b42bb0b0ebe44c90825cbe7fee4 [2023-09-12T21:49:07.454Z] $ docker rm -f --volumes 435592361f0609fdf54cfcb191e6b1ae6f0b2b42bb0b0ebe44c90825cbe7fee4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:49:07.856Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T21:49:08.140Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T21:49:08.158Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:49:08.767Z] provisioning config files... [2023-09-12T21:49:08.777Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp/config4739000889751848459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:49:09.124Z] ---> docker-login.sh [2023-09-12T21:49:09.124Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:49:09.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:49:09.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:49:09.124Z] Configure a credential helper to remove this warning. See [2023-09-12T21:49:09.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:49:09.124Z] [2023-09-12T21:49:09.124Z] Login Succeeded [2023-09-12T21:49:09.124Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:49:09.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:49:09.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:49:09.124Z] Configure a credential helper to remove this warning. See [2023-09-12T21:49:09.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:49:09.124Z] [2023-09-12T21:49:09.124Z] Login Succeeded [2023-09-12T21:49:09.124Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:49:09.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:49:09.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:49:09.384Z] Configure a credential helper to remove this warning. See [2023-09-12T21:49:09.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:49:09.384Z] [2023-09-12T21:49:09.384Z] Login Succeeded [2023-09-12T21:49:09.384Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:49:09.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:49:09.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:49:09.384Z] Configure a credential helper to remove this warning. See [2023-09-12T21:49:09.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:49:09.384Z] [2023-09-12T21:49:09.384Z] Login Succeeded [2023-09-12T21:49:09.384Z] docker.io [2023-09-12T21:49:09.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:49:09.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:49:09.643Z] Configure a credential helper to remove this warning. See [2023-09-12T21:49:09.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:49:09.643Z] [2023-09-12T21:49:09.643Z] Login Succeeded [2023-09-12T21:49:09.643Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:49:09.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:49:09.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:49:09.915Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:49:09.955Z] ========================================================= [2023-09-12T21:49:09.955Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T21:49:09.955Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:49:10.423Z] + 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 . [2023-09-12T21:49:10.423Z] Sending build context to Docker daemon 6.478MB [2023-09-12T21:49:10.423Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:49:10.423Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T21:49:10.423Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T21:49:10.423Z] 7264a8db6415: Pulling fs layer [2023-09-12T21:49:10.423Z] c4d48a809fc2: Pulling fs layer [2023-09-12T21:49:10.423Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T21:49:10.423Z] ad3a456e5733: Pulling fs layer [2023-09-12T21:49:10.423Z] 9e4f439ed901: Pulling fs layer [2023-09-12T21:49:10.423Z] feaf6a47b606: Pulling fs layer [2023-09-12T21:49:10.423Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T21:49:10.423Z] 8ac70367396e: Pulling fs layer [2023-09-12T21:49:10.423Z] 6db16350a2e2: Pulling fs layer [2023-09-12T21:49:10.423Z] 9250d5d63582: Pulling fs layer [2023-09-12T21:49:10.423Z] feaf6a47b606: Waiting [2023-09-12T21:49:10.423Z] 5e8b037d7d82: Waiting [2023-09-12T21:49:10.423Z] 8ac70367396e: Waiting [2023-09-12T21:49:10.423Z] 6db16350a2e2: Waiting [2023-09-12T21:49:10.423Z] 9250d5d63582: Waiting [2023-09-12T21:49:10.423Z] ad3a456e5733: Waiting [2023-09-12T21:49:10.423Z] 9e4f439ed901: Waiting [2023-09-12T21:49:10.423Z] c4d48a809fc2: Download complete [2023-09-12T21:49:10.683Z] ad3a456e5733: Verifying Checksum [2023-09-12T21:49:10.683Z] ad3a456e5733: Download complete [2023-09-12T21:49:10.683Z] 9e4f439ed901: Verifying Checksum [2023-09-12T21:49:10.683Z] 9e4f439ed901: Download complete [2023-09-12T21:49:10.683Z] 7264a8db6415: Verifying Checksum [2023-09-12T21:49:10.683Z] 7264a8db6415: Download complete [2023-09-12T21:49:10.683Z] feaf6a47b606: Verifying Checksum [2023-09-12T21:49:10.683Z] feaf6a47b606: Download complete [2023-09-12T21:49:10.683Z] 7264a8db6415: Pull complete [2023-09-12T21:49:10.942Z] c4d48a809fc2: Pull complete [2023-09-12T21:49:10.942Z] 8ac70367396e: Verifying Checksum [2023-09-12T21:49:10.942Z] 8ac70367396e: Download complete [2023-09-12T21:49:10.942Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T21:49:10.942Z] 4f1c88b9dad5: Download complete [2023-09-12T21:49:10.942Z] 6db16350a2e2: Verifying Checksum [2023-09-12T21:49:10.942Z] 6db16350a2e2: Download complete [2023-09-12T21:49:11.199Z] 9250d5d63582: Verifying Checksum [2023-09-12T21:49:11.199Z] 9250d5d63582: Download complete [2023-09-12T21:49:11.457Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T21:49:11.457Z] 5e8b037d7d82: Download complete [2023-09-12T21:49:13.986Z] 4f1c88b9dad5: Pull complete [2023-09-12T21:49:13.986Z] ad3a456e5733: Pull complete [2023-09-12T21:49:13.986Z] 9e4f439ed901: Pull complete [2023-09-12T21:49:14.247Z] feaf6a47b606: Pull complete [2023-09-12T21:49:16.778Z] 5e8b037d7d82: Pull complete [2023-09-12T21:49:16.778Z] 8ac70367396e: Pull complete [2023-09-12T21:49:17.343Z] 6db16350a2e2: Pull complete [2023-09-12T21:49:17.911Z] 9250d5d63582: Pull complete [2023-09-12T21:49:17.911Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T21:49:17.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T21:49:17.911Z] ---> fa269f55d9b9 [2023-09-12T21:49:17.911Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:49:21.247Z] ---> Running in 9e4919106a42 [2023-09-12T21:49:21.247Z] Removing intermediate container 9e4919106a42 [2023-09-12T21:49:21.247Z] ---> acfa45d697cf [2023-09-12T21:49:21.247Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:49:21.247Z] ---> Running in 6ba69bc8d4f2 [2023-09-12T21:49:21.529Z] Removing intermediate container 6ba69bc8d4f2 [2023-09-12T21:49:21.529Z] ---> 1f869a0b79d0 [2023-09-12T21:49:21.529Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:49:21.529Z] ---> Running in e3ec8419e33b [2023-09-12T21:49:21.529Z] Removing intermediate container e3ec8419e33b [2023-09-12T21:49:21.529Z] ---> f581070152a9 [2023-09-12T21:49:21.529Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:49:21.529Z] ---> Running in 1e55a9acb6ce [2023-09-12T21:49:21.529Z] Removing intermediate container 1e55a9acb6ce [2023-09-12T21:49:21.529Z] ---> 384e27858626 [2023-09-12T21:49:21.529Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:49:21.529Z] ---> Running in b853e1caeb02 [2023-09-12T21:49:21.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:49:22.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:49:22.077Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T21:49:22.374Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T21:49:22.374Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T21:49:22.374Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T21:49:22.374Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:49:22.374Z] OK: 270 MiB in 60 packages [2023-09-12T21:49:22.645Z] Removing intermediate container b853e1caeb02 [2023-09-12T21:49:22.645Z] ---> d129a3d1c3aa [2023-09-12T21:49:22.645Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-12T21:49:22.904Z] ---> Running in 69583c8164d3 [2023-09-12T21:49:22.904Z] Removing intermediate container 69583c8164d3 [2023-09-12T21:49:22.904Z] ---> 3545088f2bc2 [2023-09-12T21:49:22.904Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T21:49:22.904Z] ---> 3be63669bdcf [2023-09-12T21:49:22.904Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:49:22.904Z] ---> Running in 348807330c5a [2023-09-12T21:49:23.588Z] Still waiting to schedule task [2023-09-12T21:49:23.589Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-12T21:49:55.207Z] Removing intermediate container 348807330c5a [2023-09-12T21:49:55.207Z] ---> 07bbec486364 [2023-09-12T21:49:55.207Z] Step 11/12 : COPY . . [2023-09-12T21:49:55.207Z] ---> 58b4e07b0725 [2023-09-12T21:49:55.207Z] Step 12/12 : RUN $MAKE [2023-09-12T21:49:55.207Z] ---> Running in c35dbc5b28a8 [2023-09-12T21:49:55.207Z] noop [2023-09-12T21:49:55.207Z] Removing intermediate container c35dbc5b28a8 [2023-09-12T21:49:55.207Z] ---> ff8620f3ee24 [2023-09-12T21:49:55.207Z] Successfully built ff8620f3ee24 [2023-09-12T21:49:55.207Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:49:55.659Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:49:55.659Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:49:55.815Z] prd-ubuntu20.04-docker-8c-8g-6011 does not seem to be running inside a container [2023-09-12T21:49:55.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-624 -v /w/workspace/gexfoundry_device-mqtt-go_PR-624:/w/workspace/gexfoundry_device-mqtt-go_PR-624:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:49:56.187Z] $ docker top 9c5dffa14c671537c0e3a60c3e5197bf0aaea2cdabe0e05a21a1a378027f4730 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:49:56.567Z] + go version [2023-09-12T21:49:56.567Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T21:49:56.600Z] $ docker stop --time=1 9c5dffa14c671537c0e3a60c3e5197bf0aaea2cdabe0e05a21a1a378027f4730 [2023-09-12T21:49:57.875Z] $ docker rm -f --volumes 9c5dffa14c671537c0e3a60c3e5197bf0aaea2cdabe0e05a21a1a378027f4730 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:49:58.590Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T21:49:58.590Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:49:58.747Z] prd-ubuntu20.04-docker-8c-8g-6011 does not seem to be running inside a container [2023-09-12T21:49:58.780Z] $ 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-624 -v /w/workspace/gexfoundry_device-mqtt-go_PR-624:/w/workspace/gexfoundry_device-mqtt-go_PR-624:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T21:49:59.108Z] $ docker top a30e975dc85a53a1b800b62332f62620a8be73d9d2e93abe838ccfd1a2b504f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:49:59.495Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-624 [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:49:59.854Z] + make test [2023-09-12T21:49:59.854Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T21:50:01.229Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-12T21:50:11.191Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-12T21:50:11.191Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-12T21:50:11.191Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements [2023-09-12T21:50:16.447Z] go vet ./... [2023-09-12T21:50:18.973Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:50:18.973Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:50:18.974Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:50:19.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:50:19.036Z] $ docker stop --time=1 a30e975dc85a53a1b800b62332f62620a8be73d9d2e93abe838ccfd1a2b504f3 [2023-09-12T21:50:22.386Z] $ docker rm -f --volumes a30e975dc85a53a1b800b62332f62620a8be73d9d2e93abe838ccfd1a2b504f3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:50:22.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:50:22.993Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T21:50:23.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:50:23.898Z] + ls -al . [2023-09-12T21:50:23.898Z] total 188 [2023-09-12T21:50:23.898Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 21:50 . [2023-09-12T21:50:23.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 .. [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 21:48 .dockerignore [2023-09-12T21:50:23.898Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:50 .git [2023-09-12T21:50:23.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 .github [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 21:48 .gitignore [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:48 .golangci.yml [2023-09-12T21:50:23.898Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:49 .semver [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 12 21:48 Attribution.txt [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 12 21:48 CHANGELOG.md [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 12 21:48 Dockerfile [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:48 GOVERNANCE.md [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 12 21:48 Jenkinsfile [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:48 LICENSE [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 12 21:48 Makefile [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 21:48 OWNERS.md [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 12 21:48 README.md [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:49 VERSION [2023-09-12T21:50:23.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:48 bin [2023-09-12T21:50:23.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 cmd [2023-09-12T21:50:23.898Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 12 21:50 coverage.out [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 3820 Sep 12 21:48 go.mod [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 21:48 go.sum [2023-09-12T21:50:23.898Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:48 internal [2023-09-12T21:50:23.898Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:48 mock [2023-09-12T21:50:23.898Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:48 snap [2023-09-12T21:50:23.898Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 12 21:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:24.280Z] + 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=1022449141eb978b53fbecf18e8b317fe7218e26 --label arch=amd64 --label version=0.0.0 . [2023-09-12T21:50:24.280Z] Sending build context to Docker daemon 6.498MB [2023-09-12T21:50:24.280Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:50:24.280Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-12T21:50:24.280Z] ---> ff8620f3ee24 [2023-09-12T21:50:24.280Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:50:24.539Z] ---> Running in 120252b5de24 [2023-09-12T21:50:24.539Z] Removing intermediate container 120252b5de24 [2023-09-12T21:50:24.539Z] ---> e7ad531b4116 [2023-09-12T21:50:24.539Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:50:24.539Z] ---> Running in 24357a55e1a0 [2023-09-12T21:50:24.797Z] Removing intermediate container 24357a55e1a0 [2023-09-12T21:50:24.797Z] ---> 2f8a197d3ff7 [2023-09-12T21:50:24.797Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:50:24.797Z] ---> Running in 6cdde932e7b6 [2023-09-12T21:50:24.797Z] Removing intermediate container 6cdde932e7b6 [2023-09-12T21:50:24.797Z] ---> 8bd4aaf3d4ad [2023-09-12T21:50:24.797Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:50:24.797Z] ---> Running in 81be773e383a [2023-09-12T21:50:24.797Z] Removing intermediate container 81be773e383a [2023-09-12T21:50:24.797Z] ---> 4fd6860ac2c0 [2023-09-12T21:50:24.797Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:50:24.797Z] ---> Running in 7f32a124d90e [2023-09-12T21:50:25.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:25.313Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:25.571Z] OK: 270 MiB in 60 packages [2023-09-12T21:50:25.829Z] Removing intermediate container 7f32a124d90e [2023-09-12T21:50:25.829Z] ---> aec12504ff1d [2023-09-12T21:50:25.829Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-12T21:50:25.829Z] ---> Running in 52242f0cb4d7 [2023-09-12T21:50:26.087Z] Removing intermediate container 52242f0cb4d7 [2023-09-12T21:50:26.087Z] ---> b3451f0a3224 [2023-09-12T21:50:26.087Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-12T21:50:26.087Z] ---> 03b12105c61e [2023-09-12T21:50:26.087Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:50:26.087Z] ---> Running in e2cc7793c7aa [2023-09-12T21:50:26.657Z] Removing intermediate container e2cc7793c7aa [2023-09-12T21:50:26.657Z] ---> 9af1f1e3539c [2023-09-12T21:50:26.657Z] Step 11/24 : COPY . . [2023-09-12T21:50:27.247Z] ---> f6db22f67b36 [2023-09-12T21:50:27.247Z] Step 12/24 : RUN $MAKE [2023-09-12T21:50:27.247Z] ---> Running in 7fbc4be60643 [2023-09-12T21:50:27.505Z] 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.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-12T21:50:45.588Z] Removing intermediate container 7fbc4be60643 [2023-09-12T21:50:45.588Z] ---> eb47281c1034 [2023-09-12T21:50:45.588Z] Step 13/24 : FROM alpine:3.18 [2023-09-12T21:50:45.848Z] 3.18: Pulling from library/alpine [2023-09-12T21:50:45.848Z] 7264a8db6415: Already exists [2023-09-12T21:50:45.848Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:50:46.107Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:50:46.107Z] ---> 7e01a0d0a1dc [2023-09-12T21:50:46.107Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-12T21:50:46.107Z] ---> Running in 7d6ac28a7ab2 [2023-09-12T21:50:46.107Z] Removing intermediate container 7d6ac28a7ab2 [2023-09-12T21:50:46.107Z] ---> d2251972e177 [2023-09-12T21:50:46.107Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:50:46.107Z] ---> Running in c009f608d09a [2023-09-12T21:50:46.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:46.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T21:50:46.889Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:50:46.889Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:50:46.889Z] OK: 7 MiB in 16 packages [2023-09-12T21:50:47.149Z] Removing intermediate container c009f608d09a [2023-09-12T21:50:47.149Z] ---> 9a1f15d96d96 [2023-09-12T21:50:47.149Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-12T21:50:48.086Z] ---> 49f79f2145f2 [2023-09-12T21:50:48.086Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-12T21:50:48.086Z] ---> 2e2c5a9f9c92 [2023-09-12T21:50:48.086Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-12T21:50:48.345Z] ---> 7f87f0af7680 [2023-09-12T21:50:48.345Z] Step 19/24 : EXPOSE 59982 [2023-09-12T21:50:48.345Z] ---> Running in a220ce9be966 [2023-09-12T21:50:48.345Z] Removing intermediate container a220ce9be966 [2023-09-12T21:50:48.345Z] ---> d580f5598ab9 [2023-09-12T21:50:48.345Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-12T21:50:48.345Z] ---> Running in 81d8e7181976 [2023-09-12T21:50:48.345Z] Removing intermediate container 81d8e7181976 [2023-09-12T21:50:48.345Z] ---> 867d072ba47e [2023-09-12T21:50:48.345Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T21:50:48.604Z] ---> Running in 69465d760b39 [2023-09-12T21:50:48.604Z] Removing intermediate container 69465d760b39 [2023-09-12T21:50:48.604Z] ---> 817b32c4bb23 [2023-09-12T21:50:48.604Z] Step 22/24 : LABEL arch=amd64 [2023-09-12T21:50:48.604Z] ---> Running in 40097b79f142 [2023-09-12T21:50:48.604Z] Removing intermediate container 40097b79f142 [2023-09-12T21:50:48.604Z] ---> 1ccb742dffba [2023-09-12T21:50:48.604Z] Step 23/24 : LABEL git_sha=1022449141eb978b53fbecf18e8b317fe7218e26 [2023-09-12T21:50:48.604Z] ---> Running in 5ee107d123f8 [2023-09-12T21:50:48.864Z] Removing intermediate container 5ee107d123f8 [2023-09-12T21:50:48.864Z] ---> 155cf26c1b31 [2023-09-12T21:50:48.864Z] Step 24/24 : LABEL version=0.0.0 [2023-09-12T21:50:48.864Z] ---> Running in 18113bf5d79f [2023-09-12T21:50:48.864Z] Removing intermediate container 18113bf5d79f [2023-09-12T21:50:48.864Z] ---> 8a44e7523df2 [2023-09-12T21:50:48.864Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:50:48.864Z] Successfully built 8a44e7523df2 [2023-09-12T21:50:48.864Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:49.736Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:50:49.736Z] [2023-09-12T21:50:49.736Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:50:50.117Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:50:50.117Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T21:50:50.117Z] 5eb5b503b376: Pulling fs layer [2023-09-12T21:50:50.117Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T21:50:50.117Z] ec43610c2a17: Pulling fs layer [2023-09-12T21:50:50.117Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T21:50:50.117Z] 33b1e0a273af: Pulling fs layer [2023-09-12T21:50:50.117Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T21:50:50.117Z] 2f39f015ded8: Pulling fs layer [2023-09-12T21:50:50.117Z] 33b1e0a273af: Waiting [2023-09-12T21:50:50.117Z] 5d3b04190fa2: Waiting [2023-09-12T21:50:50.117Z] 2f39f015ded8: Waiting [2023-09-12T21:50:50.117Z] 3a2ae6a8a46f: Waiting [2023-09-12T21:50:50.117Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T21:50:50.117Z] 5c69ac0246d0: Download complete [2023-09-12T21:50:50.117Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T21:50:50.117Z] 3a2ae6a8a46f: Download complete [2023-09-12T21:50:50.117Z] 33b1e0a273af: Verifying Checksum [2023-09-12T21:50:50.117Z] 33b1e0a273af: Download complete [2023-09-12T21:50:50.117Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T21:50:50.117Z] 5d3b04190fa2: Download complete [2023-09-12T21:50:50.117Z] ec43610c2a17: Verifying Checksum [2023-09-12T21:50:50.117Z] ec43610c2a17: Download complete [2023-09-12T21:50:50.375Z] 5eb5b503b376: Verifying Checksum [2023-09-12T21:50:50.375Z] 5eb5b503b376: Download complete [2023-09-12T21:50:50.944Z] 2f39f015ded8: Download complete [2023-09-12T21:50:51.530Z] 5eb5b503b376: Pull complete [2023-09-12T21:50:51.787Z] 5c69ac0246d0: Pull complete [2023-09-12T21:50:52.046Z] ec43610c2a17: Pull complete [2023-09-12T21:50:52.046Z] 3a2ae6a8a46f: Pull complete [2023-09-12T21:50:52.304Z] 33b1e0a273af: Pull complete [2023-09-12T21:50:52.304Z] 5d3b04190fa2: Pull complete [2023-09-12T21:50:56.482Z] 2f39f015ded8: Pull complete [2023-09-12T21:50:56.482Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T21:50:56.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T21:50:56.482Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:50:56.702Z] prd-ubuntu20.04-docker-8c-8g-6011 does not seem to be running inside a container [2023-09-12T21:50:56.723Z] $ 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-624 -v /w/workspace/gexfoundry_device-mqtt-go_PR-624:/w/workspace/gexfoundry_device-mqtt-go_PR-624:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T21:51:01.281Z] $ docker top 0289c11960c7c767d27b16a90a5825e439778a312d12415c6fe2a5461cc326e6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:51:01.746Z] ---> job-cost.sh [2023-09-12T21:51:01.746Z] lf-activate-venv: SKIPPING [2023-09-12T21:51:01.746Z] INFO: No Stack... [2023-09-12T21:51:02.004Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T21:51:02.262Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T21:51:02.570Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-624/archives/cost.csv [2023-09-12T21:51:02.570Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T21:51:02.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-624-1-stack-cost] [2023-09-12T21:51:02.615Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-624-1-stack-cost] did not exist. Created. [2023-09-12T21:51:02.616Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-624-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T21:51:02.997Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T21:51:03.047Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T21:51:03.072Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-624-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T21:51:03.129Z] $ docker stop --time=1 0289c11960c7c767d27b16a90a5825e439778a312d12415c6fe2a5461cc326e6 [2023-09-12T21:51:04.289Z] $ docker rm -f --volumes 0289c11960c7c767d27b16a90a5825e439778a312d12415c6fe2a5461cc326e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T21:51:54.209Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6017 in /w/workspace/gexfoundry_device-mqtt-go_PR-624 [Pipeline] { [Pipeline] ws [2023-09-12T21:51:54.267Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-09-12T21:51:54.347Z] The recommended git tool is: git [2023-09-12T21:52:00.839Z] using credential edgex-jenkins-ssh [2023-09-12T21:52:00.862Z] Cloning the remote Git repository [2023-09-12T21:52:00.895Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-12T21:52:00.996Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-09-12T21:52:01.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-12T21:52:01.157Z] > git --version # timeout=10 [2023-09-12T21:52:01.181Z] > git --version # 'git version 2.25.1' [2023-09-12T21:52:01.184Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:52:01.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:52:02.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-12T21:52:02.470Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T21:52:04.028Z] Merging remotes/origin/main commit 996c7dc504458e30104dd4fabba147269fefd7c5 into PR head commit 1022449141eb978b53fbecf18e8b317fe7218e26 [2023-09-12T21:52:04.402Z] Merge succeeded, producing 1022449141eb978b53fbecf18e8b317fe7218e26 [2023-09-12T21:52:04.403Z] Checking out Revision 1022449141eb978b53fbecf18e8b317fe7218e26 (PR-624) [2023-09-12T21:52:03.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-09-12T21:52:03.429Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-09-12T21:52:03.430Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:52:03.447Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/624/head:refs/remotes/origin/PR-624 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T21:52:04.028Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T21:52:04.103Z] > git checkout -f 1022449141eb978b53fbecf18e8b317fe7218e26 # timeout=10 [2023-09-12T21:52:04.193Z] > git remote # timeout=10 [2023-09-12T21:52:04.212Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T21:52:04.232Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T21:52:04.302Z] > git merge 996c7dc504458e30104dd4fabba147269fefd7c5 # timeout=10 [2023-09-12T21:52:04.335Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T21:52:04.391Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T21:52:04.423Z] > git checkout -f 1022449141eb978b53fbecf18e8b317fe7218e26 # timeout=10 [2023-09-12T21:52:07.943Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" [2023-09-12T21:52:07.987Z] > git --version # timeout=10 [2023-09-12T21:52:08.001Z] > git --version # 'git version 2.25.1' [2023-09-12T21:52:08.025Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:52:09.072Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T21:52:09.072Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T21:52:09.072Z] Dload Upload Total Spent Left Speed [2023-09-12T21:52:09.072Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-09-12T21:52:09.729Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T21:52:10.086Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T21:52:10.086Z] + sudo tee /etc/docker/daemon.new [2023-09-12T21:52:10.086Z] { [2023-09-12T21:52:10.086Z] "registry-mirrors": [ [2023-09-12T21:52:10.086Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T21:52:10.086Z] ], [2023-09-12T21:52:10.086Z] "bip": "10.250.0.254/24", [2023-09-12T21:52:10.086Z] "hosts": [ [2023-09-12T21:52:10.086Z] "tcp://0.0.0.0:5555", [2023-09-12T21:52:10.086Z] "unix:///var/run/docker.sock" [2023-09-12T21:52:10.086Z] ], [2023-09-12T21:52:10.086Z] "mtu": 1458, [2023-09-12T21:52:10.086Z] "selinux-enabled": true, [2023-09-12T21:52:10.086Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T21:52:10.086Z] } [Pipeline] sh [2023-09-12T21:52:10.440Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T21:52:10.798Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T21:52:29.176Z] provisioning config files... [2023-09-12T21:52:29.211Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config9790871966368976579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T21:52:29.623Z] ---> docker-login.sh [2023-09-12T21:52:29.623Z] nexus3.edgexfoundry.org:10001 [2023-09-12T21:52:30.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:52:30.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:52:30.223Z] Configure a credential helper to remove this warning. See [2023-09-12T21:52:30.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:52:30.223Z] [2023-09-12T21:52:30.223Z] Login Succeeded [2023-09-12T21:52:30.223Z] nexus3.edgexfoundry.org:10002 [2023-09-12T21:52:30.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:52:30.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:52:30.777Z] Configure a credential helper to remove this warning. See [2023-09-12T21:52:30.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:52:30.777Z] [2023-09-12T21:52:30.777Z] Login Succeeded [2023-09-12T21:52:30.777Z] nexus3.edgexfoundry.org:10003 [2023-09-12T21:52:31.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:52:31.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:52:31.051Z] Configure a credential helper to remove this warning. See [2023-09-12T21:52:31.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:52:31.051Z] [2023-09-12T21:52:31.051Z] Login Succeeded [2023-09-12T21:52:31.051Z] nexus3.edgexfoundry.org:10004 [2023-09-12T21:52:31.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:52:31.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:52:31.606Z] Configure a credential helper to remove this warning. See [2023-09-12T21:52:31.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:52:31.606Z] [2023-09-12T21:52:31.606Z] Login Succeeded [2023-09-12T21:52:31.606Z] docker.io [2023-09-12T21:52:31.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T21:52:32.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T21:52:32.154Z] Configure a credential helper to remove this warning. See [2023-09-12T21:52:32.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T21:52:32.154Z] [2023-09-12T21:52:32.154Z] Login Succeeded [2023-09-12T21:52:32.154Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T21:52:32.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T21:52:32.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:52:32.660Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T21:52:32.692Z] ========================================================= [2023-09-12T21:52:32.692Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T21:52:32.692Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:52:33.214Z] + 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 . [2023-09-12T21:52:33.486Z] Sending build context to Docker daemon 3.353MB [2023-09-12T21:52:33.486Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:52:33.486Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-12T21:52:33.759Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T21:52:33.759Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T21:52:33.759Z] 5d54e960e981: Pulling fs layer [2023-09-12T21:52:33.759Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T21:52:33.759Z] f0e02332f6b5: Pulling fs layer [2023-09-12T21:52:33.759Z] 66412af1f25a: Pulling fs layer [2023-09-12T21:52:33.759Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T21:52:33.759Z] 9a37bb91b891: Pulling fs layer [2023-09-12T21:52:33.759Z] a29adfc67d43: Pulling fs layer [2023-09-12T21:52:33.759Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T21:52:33.759Z] f0e02332f6b5: Waiting [2023-09-12T21:52:33.759Z] 1baf3a5c0e64: Waiting [2023-09-12T21:52:33.759Z] 9a37bb91b891: Waiting [2023-09-12T21:52:33.759Z] a29adfc67d43: Waiting [2023-09-12T21:52:33.759Z] d5de9f91c1a4: Waiting [2023-09-12T21:52:33.759Z] 66412af1f25a: Waiting [2023-09-12T21:52:33.759Z] 5d54e960e981: Verifying Checksum [2023-09-12T21:52:33.759Z] 5d54e960e981: Download complete [2023-09-12T21:52:33.759Z] f0e02332f6b5: Verifying Checksum [2023-09-12T21:52:33.759Z] f0e02332f6b5: Download complete [2023-09-12T21:52:33.759Z] 66412af1f25a: Verifying Checksum [2023-09-12T21:52:33.759Z] 66412af1f25a: Download complete [2023-09-12T21:52:33.759Z] 9fda8d8052c6: Verifying Checksum [2023-09-12T21:52:33.759Z] 9fda8d8052c6: Download complete [2023-09-12T21:52:34.357Z] 9a37bb91b891: Verifying Checksum [2023-09-12T21:52:34.357Z] 9a37bb91b891: Download complete [2023-09-12T21:52:34.962Z] 9fda8d8052c6: Pull complete [2023-09-12T21:52:34.962Z] a29adfc67d43: Verifying Checksum [2023-09-12T21:52:34.962Z] a29adfc67d43: Download complete [2023-09-12T21:52:35.569Z] 5d54e960e981: Pull complete [2023-09-12T21:52:35.844Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T21:52:35.844Z] d5de9f91c1a4: Download complete [2023-09-12T21:52:35.844Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T21:52:35.844Z] c4a7e357bf2a: Download complete [2023-09-12T21:52:36.814Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T21:52:36.814Z] 1baf3a5c0e64: Download complete [2023-09-12T21:52:46.914Z] c4a7e357bf2a: Pull complete [2023-09-12T21:52:46.914Z] f0e02332f6b5: Pull complete [2023-09-12T21:52:46.914Z] 66412af1f25a: Pull complete [2023-09-12T21:52:54.748Z] 1baf3a5c0e64: Pull complete [2023-09-12T21:52:54.748Z] 9a37bb91b891: Pull complete [2023-09-12T21:52:56.190Z] a29adfc67d43: Pull complete [2023-09-12T21:52:57.616Z] d5de9f91c1a4: Pull complete [2023-09-12T21:52:57.886Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T21:52:57.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T21:52:57.886Z] ---> 746ca1b523b5 [2023-09-12T21:52:57.886Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:52:59.854Z] ---> Running in 091287bb8f3e [2023-09-12T21:53:00.451Z] Removing intermediate container 091287bb8f3e [2023-09-12T21:53:00.451Z] ---> 8f60cdcceb70 [2023-09-12T21:53:00.451Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:53:00.451Z] ---> Running in 95f231f7c4f6 [2023-09-12T21:53:00.725Z] Removing intermediate container 95f231f7c4f6 [2023-09-12T21:53:00.725Z] ---> 03ad0baac8b0 [2023-09-12T21:53:00.725Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:53:00.725Z] ---> Running in d88079a7e660 [2023-09-12T21:53:01.318Z] Removing intermediate container d88079a7e660 [2023-09-12T21:53:01.318Z] ---> ebdfa8871ad2 [2023-09-12T21:53:01.318Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:53:01.318Z] ---> Running in a185dec157a3 [2023-09-12T21:53:01.591Z] Removing intermediate container a185dec157a3 [2023-09-12T21:53:01.591Z] ---> b8bfadb52b59 [2023-09-12T21:53:01.591Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:53:01.881Z] ---> Running in 293b1adbdfd5 [2023-09-12T21:53:03.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:53:03.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:53:04.731Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-12T21:53:04.731Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-12T21:53:04.731Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-12T21:53:04.731Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-12T21:53:04.731Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:53:04.731Z] OK: 272 MiB in 60 packages [2023-09-12T21:53:05.700Z] Removing intermediate container 293b1adbdfd5 [2023-09-12T21:53:05.700Z] ---> c59a60a35e36 [2023-09-12T21:53:05.700Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-09-12T21:53:05.978Z] ---> Running in 76f17ff2abbe [2023-09-12T21:53:06.249Z] Removing intermediate container 76f17ff2abbe [2023-09-12T21:53:06.249Z] ---> f1adad6919d1 [2023-09-12T21:53:06.249Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-12T21:53:06.839Z] ---> 47ca782d96d7 [2023-09-12T21:53:06.839Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:53:07.118Z] ---> Running in 328f5ecb503e [2023-09-12T21:54:28.800Z] Removing intermediate container 328f5ecb503e [2023-09-12T21:54:28.800Z] ---> 64b933558a39 [2023-09-12T21:54:28.800Z] Step 11/12 : COPY . . [2023-09-12T21:54:28.800Z] ---> 75cdb327ba11 [2023-09-12T21:54:28.800Z] Step 12/12 : RUN $MAKE [2023-09-12T21:54:28.800Z] ---> Running in 4fa3ccbda131 [2023-09-12T21:54:28.800Z] noop [2023-09-12T21:54:28.800Z] Removing intermediate container 4fa3ccbda131 [2023-09-12T21:54:28.800Z] ---> 3eba29c48c64 [2023-09-12T21:54:28.800Z] Successfully built 3eba29c48c64 [2023-09-12T21:54:28.800Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:54:29.289Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:54:29.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:54:29.611Z] prd-ubuntu20.04-docker-arm64-4c-16g-6017 does not seem to be running inside a container [2023-09-12T21:54:29.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T21:54:31.088Z] $ docker top d4eaf255c247b75175ffda079f83a1fecb3ed609c7d925e700fdc24840f30177 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:54:32.070Z] + go version [2023-09-12T21:54:32.070Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T21:54:32.067Z] $ docker stop --time=1 d4eaf255c247b75175ffda079f83a1fecb3ed609c7d925e700fdc24840f30177 [2023-09-12T21:54:34.362Z] $ docker rm -f --volumes d4eaf255c247b75175ffda079f83a1fecb3ed609c7d925e700fdc24840f30177 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:54:35.265Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T21:54:35.266Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T21:54:35.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-6017 does not seem to be running inside a container [2023-09-12T21:54:35.584Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T21:54:36.820Z] $ docker top aa183d8e34fe53abd56efef5a332d0ab0da198c4528763243f76f9a711380d43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T21:54:37.766Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-12T21:54:38.475Z] + make test [2023-09-12T21:54:38.475Z] go test ./... -coverprofile=coverage.out ./... [2023-09-12T21:54:42.739Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-09-12T21:56:49.446Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-09-12T21:56:49.446Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-09-12T21:56:49.446Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 22.8% of statements [2023-09-12T21:56:49.446Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T21:56:49.446Z] go vet ./... [2023-09-12T21:57:11.539Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T21:57:11.539Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T21:57:11.539Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T21:57:11.581Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T21:57:11.600Z] $ docker stop --time=1 aa183d8e34fe53abd56efef5a332d0ab0da198c4528763243f76f9a711380d43 [2023-09-12T21:57:14.483Z] $ docker rm -f --volumes aa183d8e34fe53abd56efef5a332d0ab0da198c4528763243f76f9a711380d43 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T21:57:16.061Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T21:57:16.097Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T21:57:17.025Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T21:57:17.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T21:57:18.031Z] + ls -al . [2023-09-12T21:57:18.031Z] total 184 [2023-09-12T21:57:18.031Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 12 21:54 . [2023-09-12T21:57:18.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:52 .. [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 21:52 .dockerignore [2023-09-12T21:57:18.031Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 21:52 .git [2023-09-12T21:57:18.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:52 .github [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 12 21:52 .gitignore [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 12 21:52 .golangci.yml [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 12 21:52 Attribution.txt [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 17522 Sep 12 21:52 CHANGELOG.md [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 1689 Sep 12 21:52 Dockerfile [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 21:52 GOVERNANCE.md [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 12 21:52 Jenkinsfile [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 12 21:52 LICENSE [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 12 21:52 Makefile [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 12 21:52 OWNERS.md [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 3695 Sep 12 21:52 README.md [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 21:49 VERSION [2023-09-12T21:57:18.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:52 bin [2023-09-12T21:57:18.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:52 cmd [2023-09-12T21:57:18.031Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 12 21:56 coverage.out [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 3820 Sep 12 21:52 go.mod [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 34092 Sep 12 21:52 go.sum [2023-09-12T21:57:18.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 21:52 internal [2023-09-12T21:57:18.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 21:52 mock [2023-09-12T21:57:18.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 21:52 snap [2023-09-12T21:57:18.031Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 12 21:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:57:18.491Z] + 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=1022449141eb978b53fbecf18e8b317fe7218e26 --label arch=arm64 --label version=0.0.0 . [2023-09-12T21:57:18.777Z] Sending build context to Docker daemon 3.373MB [2023-09-12T21:57:19.053Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T21:57:19.053Z] Step 2/24 : FROM ${BASE} AS builder [2023-09-12T21:57:19.053Z] ---> 3eba29c48c64 [2023-09-12T21:57:19.053Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-09-12T21:57:19.053Z] ---> Running in 8c3475e36111 [2023-09-12T21:57:19.320Z] Removing intermediate container 8c3475e36111 [2023-09-12T21:57:19.320Z] ---> cc1f601ddab6 [2023-09-12T21:57:19.320Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-12T21:57:19.594Z] ---> Running in 7fe3d88f6846 [2023-09-12T21:57:19.861Z] Removing intermediate container 7fe3d88f6846 [2023-09-12T21:57:19.861Z] ---> 31cc95cf5f98 [2023-09-12T21:57:19.861Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-12T21:57:19.861Z] ---> Running in e16f558e5e32 [2023-09-12T21:57:20.131Z] Removing intermediate container e16f558e5e32 [2023-09-12T21:57:20.131Z] ---> 499a37d72d60 [2023-09-12T21:57:20.131Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-09-12T21:57:20.402Z] ---> Running in 41e0317f2290 [2023-09-12T21:57:20.669Z] Removing intermediate container 41e0317f2290 [2023-09-12T21:57:20.669Z] ---> 27f4b27614ad [2023-09-12T21:57:20.669Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-12T21:57:20.669Z] ---> Running in bb47287e0631 [2023-09-12T21:57:21.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:57:22.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:57:23.169Z] OK: 272 MiB in 60 packages [2023-09-12T21:57:24.142Z] Removing intermediate container bb47287e0631 [2023-09-12T21:57:24.142Z] ---> 1ed5b3c090cb [2023-09-12T21:57:24.142Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-09-12T21:57:24.142Z] ---> Running in 5b91157f878f [2023-09-12T21:57:24.726Z] Removing intermediate container 5b91157f878f [2023-09-12T21:57:24.726Z] ---> b78a81d4534c [2023-09-12T21:57:24.726Z] Step 9/24 : COPY go.mod vendor* ./ [2023-09-12T21:57:24.992Z] ---> 6814de9a5c80 [2023-09-12T21:57:24.992Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T21:57:25.261Z] ---> Running in 1ab0549b323f [2023-09-12T21:57:29.309Z] Removing intermediate container 1ab0549b323f [2023-09-12T21:57:29.309Z] ---> a62df887405f [2023-09-12T21:57:29.309Z] Step 11/24 : COPY . . [2023-09-12T21:57:29.893Z] ---> 44b81e0898b5 [2023-09-12T21:57:29.893Z] Step 12/24 : RUN $MAKE [2023-09-12T21:57:30.160Z] ---> Running in 3a03087a5bd6 [2023-09-12T21:57:31.120Z] 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.1.0-dev.20" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-09-12T21:59:37.829Z] Removing intermediate container 3a03087a5bd6 [2023-09-12T21:59:37.829Z] ---> 32fb98bfe6d8 [2023-09-12T21:59:37.829Z] Step 13/24 : FROM alpine:3.18 [2023-09-12T21:59:37.829Z] 3.18: Pulling from library/alpine [2023-09-12T21:59:37.829Z] 9fda8d8052c6: Already exists [2023-09-12T21:59:37.829Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T21:59:37.829Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T21:59:37.829Z] ---> f6648c04cd6c [2023-09-12T21:59:37.829Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-09-12T21:59:37.829Z] ---> Running in 05242d412b31 [2023-09-12T21:59:37.829Z] Removing intermediate container 05242d412b31 [2023-09-12T21:59:37.829Z] ---> e98d87a7a247 [2023-09-12T21:59:37.829Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-09-12T21:59:37.829Z] ---> Running in 173be4d40cdf [2023-09-12T21:59:37.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T21:59:37.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T21:59:37.829Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-12T21:59:37.829Z] Executing busybox-1.36.1-r2.trigger [2023-09-12T21:59:37.829Z] OK: 8 MiB in 16 packages [2023-09-12T21:59:37.829Z] Removing intermediate container 173be4d40cdf [2023-09-12T21:59:37.829Z] ---> aa27cc243618 [2023-09-12T21:59:37.829Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-09-12T21:59:37.829Z] ---> cc85180b8a59 [2023-09-12T21:59:37.829Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-09-12T21:59:37.829Z] ---> ef38e86f3e40 [2023-09-12T21:59:37.829Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-09-12T21:59:37.829Z] ---> 917ade610a52 [2023-09-12T21:59:37.829Z] Step 19/24 : EXPOSE 59982 [2023-09-12T21:59:37.829Z] ---> Running in 10354da7bef3 [2023-09-12T21:59:37.829Z] Removing intermediate container 10354da7bef3 [2023-09-12T21:59:37.829Z] ---> 6bd992035504 [2023-09-12T21:59:37.829Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-09-12T21:59:37.829Z] ---> Running in 1d04e2a5b05e [2023-09-12T21:59:37.829Z] Removing intermediate container 1d04e2a5b05e [2023-09-12T21:59:37.829Z] ---> 7340318ade29 [2023-09-12T21:59:37.829Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-12T21:59:37.829Z] ---> Running in 78e4dc3651b0 [2023-09-12T21:59:37.829Z] Removing intermediate container 78e4dc3651b0 [2023-09-12T21:59:37.829Z] ---> 132d64be6d77 [2023-09-12T21:59:37.829Z] Step 22/24 : LABEL arch=arm64 [2023-09-12T21:59:37.829Z] ---> Running in 47e2a1cf33d3 [2023-09-12T21:59:37.829Z] Removing intermediate container 47e2a1cf33d3 [2023-09-12T21:59:37.829Z] ---> a3caabcd58f2 [2023-09-12T21:59:37.829Z] Step 23/24 : LABEL git_sha=1022449141eb978b53fbecf18e8b317fe7218e26 [2023-09-12T21:59:37.829Z] ---> Running in 2526463ee4d4 [2023-09-12T21:59:37.829Z] Removing intermediate container 2526463ee4d4 [2023-09-12T21:59:37.829Z] ---> a85f050e107b [2023-09-12T21:59:37.829Z] Step 24/24 : LABEL version=0.0.0 [2023-09-12T21:59:37.829Z] ---> Running in 50b2a9599ebd [2023-09-12T21:59:37.829Z] Removing intermediate container 50b2a9599ebd [2023-09-12T21:59:37.829Z] ---> 0ebc5af93b4c [2023-09-12T21:59:37.829Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T21:59:37.829Z] Successfully built 0ebc5af93b4c [2023-09-12T21:59:37.829Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:38.628Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:59:38.628Z] [2023-09-12T21:59:38.628Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T21:59:39.029Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T21:59:39.029Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T21:59:39.029Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T21:59:39.029Z] 04944245beec: Pulling fs layer [2023-09-12T21:59:39.029Z] 699f458cf7ca: Pulling fs layer [2023-09-12T21:59:39.029Z] 765212b225bb: Pulling fs layer [2023-09-12T21:59:39.029Z] f23df028b6ca: Pulling fs layer [2023-09-12T21:59:39.029Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T21:59:39.029Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T21:59:39.029Z] 765212b225bb: Waiting [2023-09-12T21:59:39.029Z] f23df028b6ca: Waiting [2023-09-12T21:59:39.029Z] d65c8cfc05b1: Waiting [2023-09-12T21:59:39.029Z] 2437ff75d9bd: Waiting [2023-09-12T21:59:39.298Z] 04944245beec: Verifying Checksum [2023-09-12T21:59:39.298Z] 04944245beec: Download complete [2023-09-12T21:59:39.298Z] 765212b225bb: Verifying Checksum [2023-09-12T21:59:39.298Z] 765212b225bb: Download complete [2023-09-12T21:59:39.298Z] f23df028b6ca: Verifying Checksum [2023-09-12T21:59:39.298Z] f23df028b6ca: Download complete [2023-09-12T21:59:39.298Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T21:59:39.298Z] d65c8cfc05b1: Download complete [2023-09-12T21:59:39.298Z] 699f458cf7ca: Verifying Checksum [2023-09-12T21:59:39.566Z] 699f458cf7ca: Download complete [2023-09-12T21:59:39.835Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T21:59:39.835Z] 8998bd30e6a1: Download complete [2023-09-12T21:59:42.418Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T21:59:42.418Z] 2437ff75d9bd: Download complete [2023-09-12T21:59:43.827Z] 8998bd30e6a1: Pull complete [2023-09-12T21:59:44.093Z] 04944245beec: Pull complete [2023-09-12T21:59:45.507Z] 699f458cf7ca: Pull complete [2023-09-12T21:59:45.776Z] 765212b225bb: Pull complete [2023-09-12T21:59:46.362Z] f23df028b6ca: Pull complete [2023-09-12T21:59:46.640Z] d65c8cfc05b1: Pull complete [2023-09-12T22:00:01.639Z] 2437ff75d9bd: Pull complete [2023-09-12T22:00:01.639Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T22:00:01.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T22:00:01.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:00:01.955Z] prd-ubuntu20.04-docker-arm64-4c-16g-6017 does not seem to be running inside a container [2023-09-12T22:00:01.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T22:00:04.575Z] $ docker top c8e6556e3ecdbc836efcfb907fb772e855bd7754254f8dd035b379af24b99c2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:05.496Z] ---> job-cost.sh [2023-09-12T22:00:05.496Z] lf-activate-venv: SKIPPING [2023-09-12T22:00:05.496Z] INFO: No Stack... [2023-09-12T22:00:05.763Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T22:00:06.720Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T22:00:07.060Z] + cut -d, -f6 [2023-09-12T22:00:07.329Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-09-12T22:00:07.414Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-624-1-stack-cost] [2023-09-12T22:00:07.418Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-624-1-stack-cost] did not exist. Created. [2023-09-12T22:00:07.418Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-624-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T22:00:07.818Z] /w/workspace/device-mqtt-go/1@tmp/durable-c61ae9dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T22:00:08.185Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T22:00:08.222Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T22:00:08.349Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T22:00:08.373Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-624-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T22:00:08.435Z] $ docker stop --time=1 c8e6556e3ecdbc836efcfb907fb772e855bd7754254f8dd035b379af24b99c2d [2023-09-12T22:00:10.045Z] $ docker rm -f --volumes c8e6556e3ecdbc836efcfb907fb772e855bd7754254f8dd035b379af24b99c2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-12T22:00:11.015Z] provisioning config files... [2023-09-12T22:00:11.021Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp/config14360831966675722213tmp [Pipeline] { [Pipeline] sh [2023-09-12T22:00:11.365Z] + set +x [2023-09-12T22:00:11.365Z] + curl -s https://codecov.io/bash [2023-09-12T22:00:11.365Z] + bash -s -- [2023-09-12T22:00:11.365Z] [2023-09-12T22:00:11.365Z] _____ _ [2023-09-12T22:00:11.365Z] / ____| | | [2023-09-12T22:00:11.365Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T22:00:11.365Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T22:00:11.365Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T22:00:11.365Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T22:00:11.365Z] Bash-1.0.6 [2023-09-12T22:00:11.365Z] [2023-09-12T22:00:11.365Z] [2023-09-12T22:00:11.365Z] ==> git version 2.25.1 found [2023-09-12T22:00:11.365Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-12T22:00:11.365Z] Release-Date: 2020-01-08 [2023-09-12T22:00:11.365Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-12T22:00:11.365Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T22:00:11.365Z] ==> Jenkins CI detected. [2023-09-12T22:00:11.365Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-624 [2023-09-12T22:00:11.365Z] project root: . [2023-09-12T22:00:11.365Z] --> token set from env [2023-09-12T22:00:11.365Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T22:00:11.365Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T22:00:11.365Z] ==> Python coveragepy not found [2023-09-12T22:00:11.365Z] ==> Searching for coverage reports in: [2023-09-12T22:00:11.365Z] + . [2023-09-12T22:00:11.365Z] -> Found 1 reports [2023-09-12T22:00:11.365Z] ==> Detecting git/mercurial file structure [2023-09-12T22:00:11.365Z] ==> Reading reports [2023-09-12T22:00:11.365Z] + ./coverage.out bytes=18506 [2023-09-12T22:00:11.365Z] ==> Appending adjustments [2023-09-12T22:00:11.365Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T22:00:11.625Z] + Found adjustments [2023-09-12T22:00:11.625Z] ==> Gzipping contents [2023-09-12T22:00:11.625Z] 4.0K /tmp/codecov.R7aoyj.gz [2023-09-12T22:00:11.625Z] ==> Uploading reports [2023-09-12T22:00:11.625Z] url: https://codecov.io [2023-09-12T22:00:11.625Z] query: branch=PR-624&commit=1022449141eb978b53fbecf18e8b317fe7218e26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-624%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=624&job=&cmd_args= [2023-09-12T22:00:11.625Z] -> Pinging Codecov [2023-09-12T22:00:11.625Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-624&commit=1022449141eb978b53fbecf18e8b317fe7218e26&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-624%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=624&job=&cmd_args= [2023-09-12T22:00:11.625Z] -> Uploading to [2023-09-12T22:00:11.625Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7D719EC7BBE17E464838252E33014C33/1022449141eb978b53fbecf18e8b317fe7218e26/524ded68-0138-45d4-bae8-c09f50726441.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T220011Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b38c46399460086a545fa757b79115d85aaf8c691305ba3ac9a3e1f28c84b347 [2023-09-12T22:00:11.625Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T22:00:11.625Z] Dload Upload Total Spent Left Speed [2023-09-12T22:00:11.884Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 18289 --:--:-- --:--:-- --:--:-- 18289 [2023-09-12T22:00:11.884Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1022449141eb978b53fbecf18e8b317fe7218e26 [Pipeline] } [2023-09-12T22:00:11.910Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-12T22:00:13.586Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-624/archives ] [2023-09-12T22:00:13.587Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-624/archives [2023-09-12T22:00:13.587Z] total 16 [2023-09-12T22:00:13.587Z] drwxr-xr-x 3 root root 4096 Sep 12 21:51 . [2023-09-12T22:00:13.587Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 21:51 .. [2023-09-12T22:00:13.587Z] drwxr-xr-x 2 root root 4096 Sep 12 21:51 cost [2023-09-12T22:00:13.587Z] -rw-r--r-- 1 root root 86 Sep 12 21:51 cost.csv [2023-09-12T22:00:13.587Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-624/archives [2023-09-12T22:00:13.587Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-624/archives [2023-09-12T22:00:13.587Z] total 16 [2023-09-12T22:00:13.587Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 21:51 . [2023-09-12T22:00:13.587Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 21:51 .. [2023-09-12T22:00:13.587Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 21:51 cost [2023-09-12T22:00:13.587Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 12 21:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:13.910Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:14.802Z] ---> package-listing.sh [2023-09-12T22:00:14.802Z] ++ facter osfamily [2023-09-12T22:00:14.802Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T22:00:15.062Z] + OS_FAMILY=debian [2023-09-12T22:00:15.062Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-624 [2023-09-12T22:00:15.062Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T22:00:15.062Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T22:00:15.062Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T22:00:15.062Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T22:00:15.062Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-624 ']' [2023-09-12T22:00:15.062Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T22:00:15.062Z] + case "${OS_FAMILY}" in [2023-09-12T22:00:15.062Z] + dpkg -l [2023-09-12T22:00:15.062Z] + grep '^ii' [2023-09-12T22:00:15.062Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T22:00:15.062Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T22:00:15.062Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T22:00:15.062Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-624 ']' [2023-09-12T22:00:15.062Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-624/archives/ [2023-09-12T22:00:15.062Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-624/archives/ [Pipeline] echo [2023-09-12T22:00:15.094Z] 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-624/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T22:00:15.387Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T22:00:16.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T22:00:16.031Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T22:00:16.179Z] prd-ubuntu20.04-docker-8c-8g-6011 does not seem to be running inside a container [2023-09-12T22:00:16.196Z] $ 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-624/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-624 -v /w/workspace/gexfoundry_device-mqtt-go_PR-624:/w/workspace/gexfoundry_device-mqtt-go_PR-624:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T22:00:16.354Z] $ docker top ffe84527c15758bf103a3cfaaf694cdf98f84f2c1104ef0ef74182ed46e9d432 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T22:00:16.763Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T22:00:17.070Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T22:00:17.381Z] + ls /var/log/sa-host [2023-09-12T22:00:17.381Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T22:00:17.522Z] provisioning config files... [2023-09-12T22:00:17.531Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-624@tmp/config13849527467006225739tmp [Pipeline] { [Pipeline] echo [2023-09-12T22:00:17.579Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:17.891Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T22:00:17.921Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:18.323Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T22:00:18.360Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:18.668Z] ---> sudo-logs.sh [2023-09-12T22:00:18.668Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T22:00:18.748Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:19.063Z] ---> job-cost.sh [2023-09-12T22:00:19.063Z] lf-activate-venv: SKIPPING [2023-09-12T22:00:19.063Z] DEBUG: total: 0.2199999988079071 [2023-09-12T22:00:19.063Z] INFO: Retrieving Stack Cost... [2023-09-12T22:00:19.322Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T22:00:19.889Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T22:00:19.923Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T22:00:20.231Z] ---> logs-deploy.sh [2023-09-12T22:00:20.231Z] lf-activate-venv: SKIPPING [2023-09-12T22:00:20.231Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-624/1 [2023-09-12T22:00:20.231Z] INFO: archiving workspace using pattern(s): [2023-09-12T22:00:21.169Z] Archives upload complete. [2023-09-12T22:00:21.169Z] INFO: archiving logs to Nexus