Pull request #663 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 208ba27f1fe1151b43b6f6ff6ef48e3209b27899+f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 (84ef6c1a54094f9f180d740a000dda6a7714f794) 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-ssh17148211654087301582.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6694890138034245049.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-663/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-663/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18388443142243862374.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-663/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8995812101451410665.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2083555391016527855.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-663/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-663/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6741599721348805483.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2141 in /w/workspace/gexfoundry_device-mqtt-go_PR-663 [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-663 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/663/head:refs/remotes/origin/PR-663 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 into PR head commit 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 Merge succeeded, producing 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 Checking out Revision 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 (PR-663) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-04T01:54:39.472Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-04T01:54:39.690Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-04T01:54:39.802Z] ========================================================= [2024-03-04T01:54:39.802Z] EdgeX Global Pipelines Version Info [2024-03-04T01:54:39.802Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-04T01:54:40.576Z] ------------------- [2024-03-04T01:54:40.576Z] stable info: [2024-03-04T01:54:40.576Z] ------------------- [2024-03-04T01:54:40.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-04T01:54:40.577Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-04T01:54:40.577Z] Message: update stable to v1.0.258 [2024-03-04T01:54:41.516Z] ------------------- [2024-03-04T01:54:41.516Z] experimental info: [2024-03-04T01:54:41.516Z] ------------------- [2024-03-04T01:54:41.516Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-04T01:54:41.517Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-04T01:54:41.517Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-04T01:54:41.778Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-03-04T01:54:41.836Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-03-04T01:54:41.895Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-04T01:54:41.952Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-04T01:54:42.014Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-04T01:54:42.076Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-04T01:54:42.137Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-04T01:54:42.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-04T01:54:42.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-04T01:54:42.313Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-04T01:54:42.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-04T01:54:42.446Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-03-04T01:54:42.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-04T01:54:42.581Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-04T01:54:42.651Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-04T01:54:42.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-04T01:54:42.785Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-04T01:54:42.856Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-04T01:54:42.925Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-04T01:54:42.989Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-04T01:54:43.052Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-04T01:54:43.124Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-04T01:54:43.189Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-04T01:54:43.257Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-04T01:54:43.326Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-04T01:54:43.397Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-04T01:54:43.500Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-04T01:54:43.574Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-663 [Pipeline] echo [2024-03-04T01:54:43.655Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-663 [Pipeline] echo [2024-03-04T01:54:43.731Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-663 [Pipeline] echo [2024-03-04T01:54:43.812Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [Pipeline] echo [2024-03-04T01:54:43.895Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 208ba27 [Pipeline] echo [2024-03-04T01:54:43.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-04T01:54:44.138Z] provisioning config files... [2024-03-04T01:54:44.154Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp/config10141742640008621603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T01:54:44.553Z] ---> ****-login.sh [2024-03-04T01:54:44.553Z] nexus3.edgexfoundry.org:10001 [2024-03-04T01:54:44.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:54:44.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:54:44.814Z] Configure a credential helper to remove this warning. See [2024-03-04T01:54:44.814Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:54:44.814Z] [2024-03-04T01:54:44.814Z] Login Succeeded [2024-03-04T01:54:44.814Z] nexus3.edgexfoundry.org:10002 [2024-03-04T01:54:44.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:54:44.814Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:54:44.814Z] Configure a credential helper to remove this warning. See [2024-03-04T01:54:44.814Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:54:44.814Z] [2024-03-04T01:54:44.814Z] Login Succeeded [2024-03-04T01:54:44.814Z] nexus3.edgexfoundry.org:10003 [2024-03-04T01:54:45.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:54:45.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:54:45.075Z] Configure a credential helper to remove this warning. See [2024-03-04T01:54:45.075Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:54:45.075Z] [2024-03-04T01:54:45.075Z] Login Succeeded [2024-03-04T01:54:45.075Z] nexus3.edgexfoundry.org:10004 [2024-03-04T01:54:45.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:54:45.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:54:45.075Z] Configure a credential helper to remove this warning. See [2024-03-04T01:54:45.075Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:54:45.075Z] [2024-03-04T01:54:45.075Z] Login Succeeded [2024-03-04T01:54:45.075Z] ****.io [2024-03-04T01:54:45.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:54:45.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:54:45.338Z] Configure a credential helper to remove this warning. See [2024-03-04T01:54:45.338Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:54:45.338Z] [2024-03-04T01:54:45.338Z] Login Succeeded [2024-03-04T01:54:45.338Z] ---> ****-login.sh ends [Pipeline] } [2024-03-04T01:54:45.367Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-04T01:54:46.171Z] + git rev-list -1 --merges 208ba27f1fe1151b43b6f6ff6ef48e3209b27899~1..208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [Pipeline] echo [2024-03-04T01:54:46.216Z] -----------> git rev-list -1 --merges 208ba27f1fe1151b43b6f6ff6ef48e3209b27899~1..208ba27f1fe1151b43b6f6ff6ef48e3209b27899 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [false] [Pipeline] sh [2024-03-04T01:54:46.545Z] + git log --format=format:%s -1 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [Pipeline] echo [2024-03-04T01:54:46.581Z] ========================================================= [2024-03-04T01:54:46.581Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-04T01:54:46.581Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-04T01:54:47.074Z] + git log --format=format:%s -1 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [Pipeline] echo [2024-03-04T01:54:47.109Z] [semverPrep] GIT_COMMIT: 208ba27f1fe1151b43b6f6ff6ef48e3209b27899, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 [Pipeline] echo [2024-03-04T01:54:47.155Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-04T01:54:47.577Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-04T01:54:47.577Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-04T01:54:47.577Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-04T01:54:47.577Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-04T01:54:47.577Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-04T01:54:47.577Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-04T01:54:47.577Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T01:54:48.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-04T01:54:48.102Z] [2024-03-04T01:54:48.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T01:54:48.505Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-04T01:54:48.505Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-04T01:54:48.505Z] b85a868b505f: Pulling fs layer [2024-03-04T01:54:48.505Z] e2be974225ed: Pulling fs layer [2024-03-04T01:54:48.505Z] 339a4e72a1f5: Pulling fs layer [2024-03-04T01:54:48.505Z] 988bab9f4d93: Pulling fs layer [2024-03-04T01:54:48.505Z] 1469e6f7b9e6: Pulling fs layer [2024-03-04T01:54:48.505Z] eaf3925da568: Pulling fs layer [2024-03-04T01:54:48.505Z] bab4dde63d76: Pulling fs layer [2024-03-04T01:54:48.505Z] bde34c3a00c8: Pulling fs layer [2024-03-04T01:54:48.505Z] 988bab9f4d93: Waiting [2024-03-04T01:54:48.505Z] 1469e6f7b9e6: Waiting [2024-03-04T01:54:48.505Z] eaf3925da568: Waiting [2024-03-04T01:54:48.505Z] bab4dde63d76: Waiting [2024-03-04T01:54:48.505Z] b352a97aabf1: Pulling fs layer [2024-03-04T01:54:48.505Z] 4872d77fe225: Pulling fs layer [2024-03-04T01:54:48.505Z] bde34c3a00c8: Waiting [2024-03-04T01:54:48.505Z] b352a97aabf1: Waiting [2024-03-04T01:54:48.505Z] 5851b861e8e6: Pulling fs layer [2024-03-04T01:54:48.505Z] 4872d77fe225: Waiting [2024-03-04T01:54:48.505Z] 5851b861e8e6: Waiting [2024-03-04T01:54:48.505Z] e2be974225ed: Verifying Checksum [2024-03-04T01:54:48.505Z] e2be974225ed: Download complete [2024-03-04T01:54:48.505Z] 988bab9f4d93: Download complete [2024-03-04T01:54:48.505Z] 1469e6f7b9e6: Verifying Checksum [2024-03-04T01:54:48.505Z] 1469e6f7b9e6: Download complete [2024-03-04T01:54:48.505Z] 339a4e72a1f5: Verifying Checksum [2024-03-04T01:54:48.505Z] 339a4e72a1f5: Download complete [2024-03-04T01:54:48.505Z] eaf3925da568: Verifying Checksum [2024-03-04T01:54:48.505Z] eaf3925da568: Download complete [2024-03-04T01:54:48.765Z] bde34c3a00c8: Verifying Checksum [2024-03-04T01:54:48.765Z] bde34c3a00c8: Download complete [2024-03-04T01:54:48.765Z] b352a97aabf1: Verifying Checksum [2024-03-04T01:54:48.765Z] b352a97aabf1: Download complete [2024-03-04T01:54:48.765Z] 4872d77fe225: Download complete [2024-03-04T01:54:48.765Z] 5851b861e8e6: Verifying Checksum [2024-03-04T01:54:48.765Z] 5851b861e8e6: Download complete [2024-03-04T01:54:48.765Z] b85a868b505f: Verifying Checksum [2024-03-04T01:54:48.765Z] b85a868b505f: Download complete [2024-03-04T01:54:49.025Z] bab4dde63d76: Verifying Checksum [2024-03-04T01:54:49.025Z] bab4dde63d76: Download complete [2024-03-04T01:54:49.972Z] b85a868b505f: Pull complete [2024-03-04T01:54:50.233Z] e2be974225ed: Pull complete [2024-03-04T01:54:50.492Z] 339a4e72a1f5: Pull complete [2024-03-04T01:54:50.753Z] 988bab9f4d93: Pull complete [2024-03-04T01:54:51.011Z] 1469e6f7b9e6: Pull complete [2024-03-04T01:54:51.011Z] eaf3925da568: Pull complete [2024-03-04T01:54:52.919Z] bab4dde63d76: Pull complete [2024-03-04T01:54:52.919Z] bde34c3a00c8: Pull complete [2024-03-04T01:54:53.181Z] b352a97aabf1: Pull complete [2024-03-04T01:54:53.181Z] 4872d77fe225: Pull complete [2024-03-04T01:54:53.181Z] 5851b861e8e6: Pull complete [2024-03-04T01:54:53.181Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-04T01:54:53.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-04T01:54:53.181Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T01:54:53.526Z] prd-ubuntu20.04-docker-8c-8g-2141 does not seem to be running inside a container [2024-03-04T01:54:53.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-663 -v /w/workspace/gexfoundry_device-mqtt-go_PR-663:/w/workspace/gexfoundry_device-mqtt-go_PR-663:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-663@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-04T01:54:57.066Z] $ docker top 0f94dc28962fa8761ed0d4f2e651adb167266a50ef629882d6756f63885034a6 -eo pid,comm [2024-03-04T01:54:57.126Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-03-04T01:54:57.126Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-04T01:54:57.334Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-04T01:54:57.334Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-04T01:54:57.463Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-04T01:54:57.465Z] $ docker exec 0f94dc28962fa8761ed0d4f2e651adb167266a50ef629882d6756f63885034a6 ssh-agent [2024-03-04T01:54:57.578Z] SSH_AUTH_SOCK=/tmp/ssh-bxytyQ7DGpBC/agent.32 [2024-03-04T01:54:57.578Z] SSH_AGENT_PID=38 [2024-03-04T01:54:57.585Z] Running ssh-add (command line suppressed) [2024-03-04T01:54:57.690Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp/private_key_12013703607165944934.key (/w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp/private_key_12013703607165944934.key) [2024-03-04T01:54:57.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-04T01:54:58.069Z] + git tag --points-at HEAD [Pipeline] } [2024-03-04T01:54:58.098Z] $ docker exec --env ******** --env ******** 0f94dc28962fa8761ed0d4f2e651adb167266a50ef629882d6756f63885034a6 ssh-agent -k [2024-03-04T01:54:58.200Z] unset SSH_AUTH_SOCK; [2024-03-04T01:54:58.201Z] unset SSH_AGENT_PID; [2024-03-04T01:54:58.201Z] echo Agent pid 38 killed; [2024-03-04T01:54:58.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-04T01:54:58.341Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-04T01:54:58.341Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-04T01:54:58.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-04T01:54:58.463Z] $ docker exec 0f94dc28962fa8761ed0d4f2e651adb167266a50ef629882d6756f63885034a6 ssh-agent [2024-03-04T01:54:58.575Z] SSH_AUTH_SOCK=/tmp/ssh-frYcUIiwHjTe/agent.70 [2024-03-04T01:54:58.575Z] SSH_AGENT_PID=76 [2024-03-04T01:54:58.580Z] Running ssh-add (command line suppressed) [2024-03-04T01:54:58.694Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp/private_key_8359257747206292794.key (/w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp/private_key_8359257747206292794.key) [2024-03-04T01:54:58.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-04T01:54:59.065Z] + git semver init [2024-03-04T01:54:59.325Z] 2024-03-04 01:54:59,260 [run_init] DEBUG init version:0.0.0 force:False [2024-03-04T01:54:59.325Z] 2024-03-04 01:54:59,275 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-663/.semver [2024-03-04T01:54:59.325Z] 2024-03-04 01:54:59,276 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-663/.semver [2024-03-04T01:54:59.325Z] 2024-03-04 01:54:59,276 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-663/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-663, universal_newlines=False, shell=None, istream=None) [2024-03-04T01:55:00.269Z] 2024-03-04 01:55:00,259 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-663/.git/info/exclude [2024-03-04T01:55:00.269Z] 2024-03-04 01:55:00,260 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-663/.semver/PR-663 with force:False [2024-03-04T01:55:00.269Z] 2024-03-04 01:55:00,260 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-663/.semver/PR-663 [2024-03-04T01:55:00.269Z] 2024-03-04 01:55:00,265 [execute] INFO git cat-file --batch-check [2024-03-04T01:55:00.269Z] 2024-03-04 01:55:00,266 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-663/.semver, universal_newlines=False, shell=None, istream=) [2024-03-04T01:55:00.530Z] 2024-03-04 01:55:00,272 [execute] INFO git cat-file --batch [2024-03-04T01:55:00.530Z] 2024-03-04 01:55:00,273 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-663/.semver, universal_newlines=False, shell=None, istream=) [2024-03-04T01:55:00.530Z] 2024-03-04 01:55:00,278 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-663/.semver/PR-663 [2024-03-04T01:55:00.530Z] 0.0.0 [Pipeline] } [2024-03-04T01:55:00.560Z] $ docker exec --env ******** --env ******** 0f94dc28962fa8761ed0d4f2e651adb167266a50ef629882d6756f63885034a6 ssh-agent -k [2024-03-04T01:55:00.668Z] unset SSH_AUTH_SOCK; [2024-03-04T01:55:00.669Z] unset SSH_AGENT_PID; [2024-03-04T01:55:00.669Z] echo Agent pid 76 killed; [2024-03-04T01:55:00.678Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-04T01:55:01.214Z] + git semver [Pipeline] } [2024-03-04T01:55:01.500Z] $ docker stop --time=1 0f94dc28962fa8761ed0d4f2e651adb167266a50ef629882d6756f63885034a6 [2024-03-04T01:55:02.788Z] $ docker rm -f --volumes 0f94dc28962fa8761ed0d4f2e651adb167266a50ef629882d6756f63885034a6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-04T01:55:03.233Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-04T01:55:03.770Z] Stashed 1 file(s) [Pipeline] echo [2024-03-04T01:55:03.787Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-04T01:55:04.703Z] provisioning config files... [2024-03-04T01:55:04.714Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp/config16489012944435693131tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T01:55:05.117Z] ---> ****-login.sh [2024-03-04T01:55:05.117Z] nexus3.edgexfoundry.org:10001 [2024-03-04T01:55:05.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:55:05.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:55:05.117Z] Configure a credential helper to remove this warning. See [2024-03-04T01:55:05.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:55:05.117Z] [2024-03-04T01:55:05.117Z] Login Succeeded [2024-03-04T01:55:05.117Z] nexus3.edgexfoundry.org:10002 [2024-03-04T01:55:05.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:55:05.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:55:05.117Z] Configure a credential helper to remove this warning. See [2024-03-04T01:55:05.117Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:55:05.117Z] [2024-03-04T01:55:05.117Z] Login Succeeded [2024-03-04T01:55:05.117Z] nexus3.edgexfoundry.org:10003 [2024-03-04T01:55:05.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:55:05.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:55:05.378Z] Configure a credential helper to remove this warning. See [2024-03-04T01:55:05.378Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:55:05.378Z] [2024-03-04T01:55:05.378Z] Login Succeeded [2024-03-04T01:55:05.378Z] nexus3.edgexfoundry.org:10004 [2024-03-04T01:55:05.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:55:05.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:55:05.378Z] Configure a credential helper to remove this warning. See [2024-03-04T01:55:05.378Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:55:05.378Z] [2024-03-04T01:55:05.378Z] Login Succeeded [2024-03-04T01:55:05.378Z] ****.io [2024-03-04T01:55:05.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:55:05.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:55:05.637Z] Configure a credential helper to remove this warning. See [2024-03-04T01:55:05.637Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:55:05.637Z] [2024-03-04T01:55:05.637Z] Login Succeeded [2024-03-04T01:55:05.637Z] ---> ****-login.sh ends [Pipeline] } [2024-03-04T01:55:05.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-04T01:55:05.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T01:55:06.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T01:55:06.121Z] ========================================================= [2024-03-04T01:55:06.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-04T01:55:06.122Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T01:55:06.697Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-04T01:55:06.697Z] Sending build context to Docker daemon 14.91MB [2024-03-04T01:55:06.697Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T01:55:06.697Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-04T01:55:06.697Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-04T01:55:06.697Z] 7264a8db6415: Pulling fs layer [2024-03-04T01:55:06.697Z] c4d48a809fc2: Pulling fs layer [2024-03-04T01:55:06.697Z] 4f1c88b9dad5: Pulling fs layer [2024-03-04T01:55:06.697Z] ad3a456e5733: Pulling fs layer [2024-03-04T01:55:06.697Z] 69c7f0334f64: Pulling fs layer [2024-03-04T01:55:06.697Z] 1f1c1a5573a3: Pulling fs layer [2024-03-04T01:55:06.697Z] ce7588e14bc9: Pulling fs layer [2024-03-04T01:55:06.697Z] b5e4710f87ac: Pulling fs layer [2024-03-04T01:55:06.697Z] ad3a456e5733: Waiting [2024-03-04T01:55:06.697Z] 69c7f0334f64: Waiting [2024-03-04T01:55:06.697Z] 1f1c1a5573a3: Waiting [2024-03-04T01:55:06.697Z] ce7588e14bc9: Waiting [2024-03-04T01:55:06.697Z] b5e4710f87ac: Waiting [2024-03-04T01:55:06.697Z] c4d48a809fc2: Download complete [2024-03-04T01:55:06.956Z] ad3a456e5733: Verifying Checksum [2024-03-04T01:55:06.956Z] ad3a456e5733: Download complete [2024-03-04T01:55:06.956Z] 69c7f0334f64: Verifying Checksum [2024-03-04T01:55:06.956Z] 69c7f0334f64: Download complete [2024-03-04T01:55:06.956Z] 7264a8db6415: Verifying Checksum [2024-03-04T01:55:06.956Z] 7264a8db6415: Download complete [2024-03-04T01:55:06.956Z] 1f1c1a5573a3: Verifying Checksum [2024-03-04T01:55:06.956Z] 1f1c1a5573a3: Download complete [2024-03-04T01:55:06.956Z] 7264a8db6415: Pull complete [2024-03-04T01:55:07.217Z] b5e4710f87ac: Verifying Checksum [2024-03-04T01:55:07.217Z] b5e4710f87ac: Download complete [2024-03-04T01:55:07.217Z] c4d48a809fc2: Pull complete [2024-03-04T01:55:07.217Z] 4f1c88b9dad5: Verifying Checksum [2024-03-04T01:55:07.217Z] 4f1c88b9dad5: Download complete [2024-03-04T01:55:07.784Z] ce7588e14bc9: Verifying Checksum [2024-03-04T01:55:07.784Z] ce7588e14bc9: Download complete [2024-03-04T01:55:11.079Z] 4f1c88b9dad5: Pull complete [2024-03-04T01:55:11.079Z] ad3a456e5733: Pull complete [2024-03-04T01:55:11.079Z] 69c7f0334f64: Pull complete [2024-03-04T01:55:11.079Z] 1f1c1a5573a3: Pull complete [2024-03-04T01:55:13.615Z] ce7588e14bc9: Pull complete [2024-03-04T01:55:13.874Z] b5e4710f87ac: Pull complete [2024-03-04T01:55:13.875Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-04T01:55:13.875Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-04T01:55:13.875Z] ---> 88b5674ff536 [2024-03-04T01:55:13.875Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-04T01:55:19.149Z] ---> Running in 5ca4130a3fc8 [2024-03-04T01:55:19.149Z] Removing intermediate container 5ca4130a3fc8 [2024-03-04T01:55:19.149Z] ---> 7a771cb411f1 [2024-03-04T01:55:19.149Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-04T01:55:19.149Z] ---> Running in 5f75a48efc31 [2024-03-04T01:55:19.149Z] Removing intermediate container 5f75a48efc31 [2024-03-04T01:55:19.149Z] ---> 503e853d7a14 [2024-03-04T01:55:19.149Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-04T01:55:19.149Z] ---> Running in 975ed93b86f4 [2024-03-04T01:55:19.149Z] Removing intermediate container 975ed93b86f4 [2024-03-04T01:55:19.149Z] ---> fdb2b9835d9b [2024-03-04T01:55:19.149Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-04T01:55:19.149Z] ---> Running in 19bb74459913 [2024-03-04T01:55:19.149Z] Removing intermediate container 19bb74459913 [2024-03-04T01:55:19.149Z] ---> ad49d1e225e5 [2024-03-04T01:55:19.149Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-04T01:55:19.149Z] ---> Running in 6693f61f10bd [2024-03-04T01:55:19.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T01:55:19.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T01:55:19.432Z] Still waiting to schedule task [2024-03-04T01:55:19.432Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-03-04T01:55:19.668Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-04T01:55:19.668Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-04T01:55:19.668Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-04T01:55:19.668Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-04T01:55:19.668Z] Executing busybox-1.36.1-r5.trigger [2024-03-04T01:55:19.668Z] OK: 268 MiB in 56 packages [2024-03-04T01:55:20.236Z] Removing intermediate container 6693f61f10bd [2024-03-04T01:55:20.236Z] ---> 029f8f7c7cad [2024-03-04T01:55:20.236Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-03-04T01:55:20.236Z] ---> Running in 61768c6cf8b1 [2024-03-04T01:55:20.236Z] Removing intermediate container 61768c6cf8b1 [2024-03-04T01:55:20.236Z] ---> b7a7b13c2cc0 [2024-03-04T01:55:20.236Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-04T01:55:20.498Z] ---> c9cee8b01f76 [2024-03-04T01:55:20.498Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T01:55:20.498Z] ---> Running in 219f29230562 [2024-03-04T01:55:52.690Z] Removing intermediate container 219f29230562 [2024-03-04T01:55:52.690Z] ---> 706ca6e33288 [2024-03-04T01:55:52.690Z] Step 11/12 : COPY . . [2024-03-04T01:55:52.690Z] ---> 003226bf3c75 [2024-03-04T01:55:52.690Z] Step 12/12 : RUN $MAKE [2024-03-04T01:55:52.690Z] ---> Running in 49a9f828c97f [2024-03-04T01:55:52.690Z] noop [2024-03-04T01:55:52.690Z] Removing intermediate container 49a9f828c97f [2024-03-04T01:55:52.690Z] ---> 48991ae3c96e [2024-03-04T01:55:52.690Z] Successfully built 48991ae3c96e [2024-03-04T01:55:52.690Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T01:55:53.226Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-04T01:55:53.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T01:55:53.441Z] prd-ubuntu20.04-docker-8c-8g-2141 does not seem to be running inside a container [2024-03-04T01:55:53.481Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-663 -v /w/workspace/gexfoundry_device-mqtt-go_PR-663:/w/workspace/gexfoundry_device-mqtt-go_PR-663:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-04T01:55:53.827Z] $ docker top 77b78634b7a48c6833d81cd09b1c273127c4e62baa4fe937ca2d0b73afdbbd55 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T01:55:54.269Z] + go version [2024-03-04T01:55:54.269Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-04T01:55:54.311Z] $ docker stop --time=1 77b78634b7a48c6833d81cd09b1c273127c4e62baa4fe937ca2d0b73afdbbd55 [2024-03-04T01:55:55.557Z] $ docker rm -f --volumes 77b78634b7a48c6833d81cd09b1c273127c4e62baa4fe937ca2d0b73afdbbd55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T01:55:56.592Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-04T01:55:56.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T01:55:56.793Z] prd-ubuntu20.04-docker-8c-8g-2141 does not seem to be running inside a container [2024-03-04T01:55:56.830Z] $ 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-663 -v /w/workspace/gexfoundry_device-mqtt-go_PR-663:/w/workspace/gexfoundry_device-mqtt-go_PR-663:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-04T01:55:57.162Z] $ docker top 5764865de6616b4571a1892ee30d5ac95a26cdce428b269e70ff11911886547a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T01:55:57.606Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-663 [Pipeline] fileExists [Pipeline] sh [2024-03-04T01:55:57.995Z] + make test [2024-03-04T01:55:57.995Z] go test ./... -coverprofile=coverage.out ./... [2024-03-04T01:55:59.373Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-03-04T01:56:09.344Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-03-04T01:56:09.344Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-03-04T01:56:09.344Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.8% of statements [2024-03-04T01:56:15.898Z] go vet ./... [2024-03-04T01:56:19.178Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-04T01:56:19.178Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-04T01:56:19.178Z] ./bin/test-attribution-txt.sh [2024-03-04T01:56:19.178Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-04T01:56:19.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-04T01:56:19.289Z] $ docker stop --time=1 5764865de6616b4571a1892ee30d5ac95a26cdce428b269e70ff11911886547a [2024-03-04T01:56:22.798Z] $ docker rm -f --volumes 5764865de6616b4571a1892ee30d5ac95a26cdce428b269e70ff11911886547a [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-04T01:56:23.380Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-04T01:56:23.447Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-04T01:56:24.346Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-04T01:56:24.662Z] + ls -al . [2024-03-04T01:56:24.662Z] total 184 [2024-03-04T01:56:24.662Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 01:55 . [2024-03-04T01:56:24.662Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 01:54 .. [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 4 01:54 .dockerignore [2024-03-04T01:56:24.662Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 01:56 .git [2024-03-04T01:56:24.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 01:54 .github [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 4 01:54 .gitignore [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 4 01:54 .golangci.yml [2024-03-04T01:56:24.662Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 01:55 .semver [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 10386 Mar 4 01:54 Attribution.txt [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 18574 Mar 4 01:54 CHANGELOG.md [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 1798 Mar 4 01:54 Dockerfile [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 01:54 GOVERNANCE.md [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 4 01:54 Jenkinsfile [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 01:54 LICENSE [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 1963 Mar 4 01:54 Makefile [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 4 01:54 OWNERS.md [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 3599 Mar 4 01:54 README.md [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 01:55 VERSION [2024-03-04T01:56:24.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 01:54 bin [2024-03-04T01:56:24.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 01:54 cmd [2024-03-04T01:56:24.662Z] -rw-r--r-- 1 jenkins jenkins 18506 Mar 4 01:56 coverage.out [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 3866 Mar 4 01:54 go.mod [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 34334 Mar 4 01:54 go.sum [2024-03-04T01:56:24.662Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 01:54 internal [2024-03-04T01:56:24.662Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 01:54 mock [2024-03-04T01:56:24.662Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 4 01:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T01:56:25.101Z] + 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=208ba27f1fe1151b43b6f6ff6ef48e3209b27899 --label arch=amd64 --label version=0.0.0 . [2024-03-04T01:56:25.102Z] Sending build context to Docker daemon 14.93MB [2024-03-04T01:56:25.102Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T01:56:25.102Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-04T01:56:25.102Z] ---> 48991ae3c96e [2024-03-04T01:56:25.102Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-04T01:56:25.360Z] ---> Running in e5f931897db5 [2024-03-04T01:56:25.360Z] Removing intermediate container e5f931897db5 [2024-03-04T01:56:25.360Z] ---> aed432f3b80a [2024-03-04T01:56:25.360Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-04T01:56:25.360Z] ---> Running in 2d609b7138a0 [2024-03-04T01:56:25.620Z] Removing intermediate container 2d609b7138a0 [2024-03-04T01:56:25.620Z] ---> a633dbb96ef1 [2024-03-04T01:56:25.620Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-04T01:56:25.620Z] ---> Running in a7675a62ad26 [2024-03-04T01:56:25.620Z] Removing intermediate container a7675a62ad26 [2024-03-04T01:56:25.620Z] ---> f1804d0c1db1 [2024-03-04T01:56:25.620Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-04T01:56:25.620Z] ---> Running in bbeb9ba9bf20 [2024-03-04T01:56:25.620Z] Removing intermediate container bbeb9ba9bf20 [2024-03-04T01:56:25.620Z] ---> 73b8c5aab5fc [2024-03-04T01:56:25.620Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-04T01:56:25.620Z] ---> Running in bf286c80fe67 [2024-03-04T01:56:25.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T01:56:26.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T01:56:26.396Z] OK: 268 MiB in 56 packages [2024-03-04T01:56:26.655Z] Removing intermediate container bf286c80fe67 [2024-03-04T01:56:26.655Z] ---> b2f5f51babe4 [2024-03-04T01:56:26.655Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-03-04T01:56:26.655Z] ---> Running in f51e6b920baf [2024-03-04T01:56:26.914Z] Removing intermediate container f51e6b920baf [2024-03-04T01:56:26.914Z] ---> ba0eeb015751 [2024-03-04T01:56:26.914Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-04T01:56:26.914Z] ---> f4ba825d650d [2024-03-04T01:56:26.914Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T01:56:26.914Z] ---> Running in b6722179abad [2024-03-04T01:56:27.481Z] Removing intermediate container b6722179abad [2024-03-04T01:56:27.481Z] ---> ac76ca23d44d [2024-03-04T01:56:27.481Z] Step 11/25 : COPY . . [2024-03-04T01:56:28.047Z] ---> f2a368db5635 [2024-03-04T01:56:28.047Z] Step 12/25 : RUN $MAKE [2024-03-04T01:56:28.047Z] ---> Running in ada9113929ef [2024-03-04T01:56:28.306Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-03-04T01:56:50.354Z] Removing intermediate container ada9113929ef [2024-03-04T01:56:50.354Z] ---> 29e10617f132 [2024-03-04T01:56:50.354Z] Step 13/25 : FROM alpine:3.18 [2024-03-04T01:56:50.354Z] 3.18: Pulling from library/alpine [2024-03-04T01:56:50.354Z] 619be1103602: Pulling fs layer [2024-03-04T01:56:50.354Z] 619be1103602: Verifying Checksum [2024-03-04T01:56:50.354Z] 619be1103602: Download complete [2024-03-04T01:56:50.354Z] 619be1103602: Pull complete [2024-03-04T01:56:50.354Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-04T01:56:50.354Z] Status: Downloaded newer image for alpine:3.18 [2024-03-04T01:56:50.354Z] ---> d3782b16ccc9 [2024-03-04T01:56:50.354Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-03-04T01:56:50.354Z] ---> Running in b92d3ffdcfb4 [2024-03-04T01:56:50.354Z] Removing intermediate container b92d3ffdcfb4 [2024-03-04T01:56:50.354Z] ---> 3ab3f6c3bd91 [2024-03-04T01:56:50.354Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-03-04T01:56:50.354Z] ---> Running in cc46a9c6dc54 [2024-03-04T01:56:50.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T01:56:50.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T01:56:50.354Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-04T01:56:50.354Z] Executing busybox-1.36.1-r5.trigger [2024-03-04T01:56:50.354Z] OK: 7 MiB in 16 packages [2024-03-04T01:56:50.354Z] Removing intermediate container cc46a9c6dc54 [2024-03-04T01:56:50.354Z] ---> 5c55c0c45a28 [2024-03-04T01:56:50.354Z] Step 16/25 : RUN apk --no-cache upgrade [2024-03-04T01:56:50.354Z] ---> Running in 8b7a304d5d6b [2024-03-04T01:56:50.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T01:56:50.355Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T01:56:50.613Z] OK: 7 MiB in 16 packages [2024-03-04T01:56:50.872Z] Removing intermediate container 8b7a304d5d6b [2024-03-04T01:56:50.872Z] ---> 634c4586c847 [2024-03-04T01:56:50.872Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-03-04T01:56:52.030Z] ---> 19f6cc64eff6 [2024-03-04T01:56:52.030Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-03-04T01:56:52.030Z] ---> cf93536f096a [2024-03-04T01:56:52.030Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-03-04T01:56:52.030Z] ---> cbe5c3947639 [2024-03-04T01:56:52.030Z] Step 20/25 : EXPOSE 59982 [2024-03-04T01:56:52.030Z] ---> Running in 0dfe1e5cd18e [2024-03-04T01:56:52.030Z] Removing intermediate container 0dfe1e5cd18e [2024-03-04T01:56:52.030Z] ---> 64103ca017a0 [2024-03-04T01:56:52.030Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-03-04T01:56:52.030Z] ---> Running in b16dfe945fed [2024-03-04T01:56:52.288Z] Removing intermediate container b16dfe945fed [2024-03-04T01:56:52.288Z] ---> 92e623b08749 [2024-03-04T01:56:52.288Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-04T01:56:52.288Z] ---> Running in 74f0106ee3e8 [2024-03-04T01:56:52.288Z] Removing intermediate container 74f0106ee3e8 [2024-03-04T01:56:52.288Z] ---> 37acb1a3b3f7 [2024-03-04T01:56:52.288Z] Step 23/25 : LABEL arch=amd64 [2024-03-04T01:56:52.288Z] ---> Running in 007f17346442 [2024-03-04T01:56:52.288Z] Removing intermediate container 007f17346442 [2024-03-04T01:56:52.288Z] ---> 00c34fbcdf77 [2024-03-04T01:56:52.288Z] Step 24/25 : LABEL git_sha=208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [2024-03-04T01:56:52.288Z] ---> Running in 278198073cae [2024-03-04T01:56:52.546Z] Removing intermediate container 278198073cae [2024-03-04T01:56:52.546Z] ---> aab9b9de6b63 [2024-03-04T01:56:52.546Z] Step 25/25 : LABEL version=0.0.0 [2024-03-04T01:56:52.546Z] ---> Running in 016fff4023bd [2024-03-04T01:56:52.546Z] Removing intermediate container 016fff4023bd [2024-03-04T01:56:52.546Z] ---> 6fa1712f49c9 [2024-03-04T01:56:52.546Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-04T01:56:52.546Z] Successfully built 6fa1712f49c9 [2024-03-04T01:56:52.546Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T01:56:53.785Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T01:56:53.785Z] [2024-03-04T01:56:53.785Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T01:56:54.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T01:56:54.187Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-04T01:56:54.187Z] 5eb5b503b376: Pulling fs layer [2024-03-04T01:56:54.187Z] 5c69ac0246d0: Pulling fs layer [2024-03-04T01:56:54.187Z] ec43610c2a17: Pulling fs layer [2024-03-04T01:56:54.187Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-04T01:56:54.187Z] 33b1e0a273af: Pulling fs layer [2024-03-04T01:56:54.187Z] 5d3b04190fa2: Pulling fs layer [2024-03-04T01:56:54.187Z] 3a2ae6a8a46f: Waiting [2024-03-04T01:56:54.187Z] 2f39f015ded8: Pulling fs layer [2024-03-04T01:56:54.187Z] 5d3b04190fa2: Waiting [2024-03-04T01:56:54.187Z] 2f39f015ded8: Waiting [2024-03-04T01:56:54.187Z] 5c69ac0246d0: Download complete [2024-03-04T01:56:54.187Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-04T01:56:54.187Z] 3a2ae6a8a46f: Download complete [2024-03-04T01:56:54.187Z] 33b1e0a273af: Verifying Checksum [2024-03-04T01:56:54.187Z] 33b1e0a273af: Download complete [2024-03-04T01:56:54.187Z] 5d3b04190fa2: Verifying Checksum [2024-03-04T01:56:54.187Z] 5d3b04190fa2: Download complete [2024-03-04T01:56:54.187Z] ec43610c2a17: Verifying Checksum [2024-03-04T01:56:54.447Z] 5eb5b503b376: Verifying Checksum [2024-03-04T01:56:54.447Z] 5eb5b503b376: Download complete [2024-03-04T01:56:55.015Z] 2f39f015ded8: Download complete [2024-03-04T01:56:55.582Z] 5eb5b503b376: Pull complete [2024-03-04T01:56:55.840Z] 5c69ac0246d0: Pull complete [2024-03-04T01:56:56.099Z] ec43610c2a17: Pull complete [2024-03-04T01:56:56.358Z] 3a2ae6a8a46f: Pull complete [2024-03-04T01:56:56.358Z] 33b1e0a273af: Pull complete [2024-03-04T01:56:56.617Z] 5d3b04190fa2: Pull complete [2024-03-04T01:57:00.804Z] 2f39f015ded8: Pull complete [2024-03-04T01:57:00.804Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-04T01:57:00.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T01:57:00.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T01:57:01.173Z] prd-ubuntu20.04-docker-8c-8g-2141 does not seem to be running inside a container [2024-03-04T01:57:01.207Z] $ 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-663 -v /w/workspace/gexfoundry_device-mqtt-go_PR-663:/w/workspace/gexfoundry_device-mqtt-go_PR-663:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-04T01:57:06.978Z] $ docker top 3995b075aa95407ceb06904d819148ef8288d8d34937865a6d9e769549e67ead -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T01:57:07.493Z] ---> job-cost.sh [2024-03-04T01:57:07.493Z] lf-activate-venv: SKIPPING [2024-03-04T01:57:07.493Z] INFO: No Stack... [2024-03-04T01:57:07.753Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-04T01:57:08.320Z] INFO: Archiving Costs [Pipeline] sh [2024-03-04T01:57:08.636Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-663/archives/cost.csv [2024-03-04T01:57:08.636Z] + cut -d, -f6 [Pipeline] lock [2024-03-04T01:57:08.678Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-663-1-stack-cost] [2024-03-04T01:57:08.685Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-663-1-stack-cost] did not exist. Created. [2024-03-04T01:57:08.690Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-663-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-04T01:57:09.146Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-04T01:57:09.199Z] Stashed 1 file(s) [Pipeline] } [2024-03-04T01:57:09.265Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-663-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-04T01:57:09.417Z] $ docker stop --time=1 3995b075aa95407ceb06904d819148ef8288d8d34937865a6d9e769549e67ead [2024-03-04T01:57:10.573Z] $ docker rm -f --volumes 3995b075aa95407ceb06904d819148ef8288d8d34937865a6d9e769549e67ead [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-04T01:58:56.448Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2142 in /w/workspace/gexfoundry_device-mqtt-go_PR-663 [Pipeline] { [Pipeline] ws [2024-03-04T01:58:56.544Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-03-04T01:58:59.676Z] The recommended git tool is: git [2024-03-04T01:59:04.439Z] using credential edgex-jenkins-ssh [2024-03-04T01:59:04.461Z] Cloning the remote Git repository [2024-03-04T01:59:04.504Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-04T01:59:04.592Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-03-04T01:59:04.748Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-04T01:59:04.749Z] > git --version # timeout=10 [2024-03-04T01:59:04.766Z] > git --version # 'git version 2.25.1' [2024-03-04T01:59:04.768Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-04T01:59:04.901Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-04T01:59:06.508Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-03-04T01:59:06.537Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-04T01:59:07.892Z] Merging remotes/origin/main commit f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 into PR head commit 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [2024-03-04T01:59:08.139Z] Merge succeeded, producing 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [2024-03-04T01:59:08.140Z] Checking out Revision 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 (PR-663) [2024-03-04T01:59:07.376Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-03-04T01:59:07.411Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-04T01:59:07.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-04T01:59:07.427Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/663/head:refs/remotes/origin/PR-663 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-04T01:59:07.912Z] > git config core.sparsecheckout # timeout=10 [2024-03-04T01:59:07.975Z] > git checkout -f 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 # timeout=10 [2024-03-04T01:59:08.046Z] > git remote # timeout=10 [2024-03-04T01:59:08.069Z] > git config --get remote.origin.url # timeout=10 [2024-03-04T01:59:08.090Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-04T01:59:08.103Z] > git merge f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 # timeout=10 [2024-03-04T01:59:08.130Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-04T01:59:08.149Z] > git config core.sparsecheckout # timeout=10 [2024-03-04T01:59:08.160Z] > git checkout -f 208ba27f1fe1151b43b6f6ff6ef48e3209b27899 # timeout=10 [2024-03-04T01:59:08.610Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0" [2024-03-04T01:59:08.659Z] > git --version # timeout=10 [2024-03-04T01:59:08.670Z] > git --version # 'git version 2.25.1' [2024-03-04T01:59:08.689Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-04T01:59:09.971Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-04T01:59:09.971Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-04T01:59:09.971Z] Dload Upload Total Spent Left Speed [2024-03-04T01:59:09.971Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh [2024-03-04T01:59:10.313Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-04T01:59:10.660Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-04T01:59:10.660Z] + sudo tee /etc/docker/daemon.new [2024-03-04T01:59:10.660Z] { [2024-03-04T01:59:10.660Z] "registry-mirrors": [ [2024-03-04T01:59:10.660Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-04T01:59:10.660Z] ], [2024-03-04T01:59:10.660Z] "bip": "10.250.0.254/24", [2024-03-04T01:59:10.660Z] "hosts": [ [2024-03-04T01:59:10.660Z] "tcp://0.0.0.0:5555", [2024-03-04T01:59:10.660Z] "unix:///var/run/docker.sock" [2024-03-04T01:59:10.660Z] ], [2024-03-04T01:59:10.660Z] "mtu": 1458, [2024-03-04T01:59:10.660Z] "selinux-enabled": true, [2024-03-04T01:59:10.660Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-04T01:59:10.660Z] } [Pipeline] sh [2024-03-04T01:59:11.003Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-04T01:59:11.351Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-04T01:59:29.721Z] provisioning config files... [2024-03-04T01:59:29.751Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4663571398732988077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T01:59:30.277Z] ---> ****-login.sh [2024-03-04T01:59:30.277Z] nexus3.edgexfoundry.org:10001 [2024-03-04T01:59:30.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:59:31.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:59:31.133Z] Configure a credential helper to remove this warning. See [2024-03-04T01:59:31.133Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:59:31.133Z] [2024-03-04T01:59:31.133Z] Login Succeeded [2024-03-04T01:59:31.133Z] nexus3.edgexfoundry.org:10002 [2024-03-04T01:59:31.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:59:31.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:59:31.401Z] Configure a credential helper to remove this warning. See [2024-03-04T01:59:31.401Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:59:31.401Z] [2024-03-04T01:59:31.401Z] Login Succeeded [2024-03-04T01:59:31.401Z] nexus3.edgexfoundry.org:10003 [2024-03-04T01:59:31.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:59:31.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:59:31.671Z] Configure a credential helper to remove this warning. See [2024-03-04T01:59:31.671Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:59:31.671Z] [2024-03-04T01:59:31.671Z] Login Succeeded [2024-03-04T01:59:31.671Z] nexus3.edgexfoundry.org:10004 [2024-03-04T01:59:31.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:59:32.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:59:32.214Z] Configure a credential helper to remove this warning. See [2024-03-04T01:59:32.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:59:32.214Z] [2024-03-04T01:59:32.214Z] Login Succeeded [2024-03-04T01:59:32.214Z] ****.io [2024-03-04T01:59:32.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T01:59:32.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T01:59:32.799Z] Configure a credential helper to remove this warning. See [2024-03-04T01:59:32.799Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T01:59:32.799Z] [2024-03-04T01:59:32.799Z] Login Succeeded [2024-03-04T01:59:32.799Z] ---> ****-login.sh ends [Pipeline] } [2024-03-04T01:59:32.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-04T01:59:33.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T01:59:33.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T01:59:33.550Z] ========================================================= [2024-03-04T01:59:33.550Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-04T01:59:33.550Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T01:59:34.193Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-04T01:59:34.462Z] Sending build context to Docker daemon 7.557MB [2024-03-04T01:59:34.731Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T01:59:34.731Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-04T01:59:34.731Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-04T01:59:34.731Z] 9fda8d8052c6: Pulling fs layer [2024-03-04T01:59:34.731Z] 5d54e960e981: Pulling fs layer [2024-03-04T01:59:34.731Z] c4a7e357bf2a: Pulling fs layer [2024-03-04T01:59:34.731Z] f0e02332f6b5: Pulling fs layer [2024-03-04T01:59:34.731Z] 872ee5b61b7b: Pulling fs layer [2024-03-04T01:59:34.731Z] 0c6a40ed1a82: Pulling fs layer [2024-03-04T01:59:34.731Z] 94ae7d8d031c: Pulling fs layer [2024-03-04T01:59:34.731Z] f0e02332f6b5: Waiting [2024-03-04T01:59:34.731Z] 872ee5b61b7b: Waiting [2024-03-04T01:59:34.731Z] 0c6a40ed1a82: Waiting [2024-03-04T01:59:34.731Z] 94ae7d8d031c: Waiting [2024-03-04T01:59:34.731Z] 5d54e960e981: Download complete [2024-03-04T01:59:34.731Z] f0e02332f6b5: Verifying Checksum [2024-03-04T01:59:34.731Z] f0e02332f6b5: Download complete [2024-03-04T01:59:34.731Z] 872ee5b61b7b: Verifying Checksum [2024-03-04T01:59:34.731Z] 872ee5b61b7b: Download complete [2024-03-04T01:59:35.002Z] 9fda8d8052c6: Verifying Checksum [2024-03-04T01:59:35.002Z] 9fda8d8052c6: Download complete [2024-03-04T01:59:35.271Z] 94ae7d8d031c: Verifying Checksum [2024-03-04T01:59:35.272Z] 94ae7d8d031c: Download complete [2024-03-04T01:59:35.857Z] 9fda8d8052c6: Pull complete [2024-03-04T01:59:36.440Z] 5d54e960e981: Pull complete [2024-03-04T01:59:36.706Z] c4a7e357bf2a: Verifying Checksum [2024-03-04T01:59:36.706Z] c4a7e357bf2a: Download complete [2024-03-04T01:59:37.666Z] 0c6a40ed1a82: Verifying Checksum [2024-03-04T01:59:37.666Z] 0c6a40ed1a82: Download complete [2024-03-04T01:59:49.978Z] c4a7e357bf2a: Pull complete [2024-03-04T01:59:49.978Z] f0e02332f6b5: Pull complete [2024-03-04T01:59:49.978Z] 872ee5b61b7b: Pull complete [2024-03-04T01:59:58.213Z] 0c6a40ed1a82: Pull complete [2024-03-04T01:59:59.626Z] 94ae7d8d031c: Pull complete [2024-03-04T01:59:59.626Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-04T01:59:59.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-04T01:59:59.626Z] ---> 86de565de09d [2024-03-04T01:59:59.626Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-04T02:00:00.220Z] ---> Running in 0b5f8c04a2cf [2024-03-04T02:00:00.804Z] Removing intermediate container 0b5f8c04a2cf [2024-03-04T02:00:00.804Z] ---> d93a4c66b82c [2024-03-04T02:00:00.804Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-04T02:00:00.804Z] ---> Running in f46c74ff9a00 [2024-03-04T02:00:01.071Z] Removing intermediate container f46c74ff9a00 [2024-03-04T02:00:01.071Z] ---> 17e5dc51aa0b [2024-03-04T02:00:01.071Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-04T02:00:01.071Z] ---> Running in a5f8019f6e33 [2024-03-04T02:00:01.659Z] Removing intermediate container a5f8019f6e33 [2024-03-04T02:00:01.659Z] ---> 774ef48fec9a [2024-03-04T02:00:01.659Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-04T02:00:01.659Z] ---> Running in c4ac659b3a15 [2024-03-04T02:00:01.930Z] Removing intermediate container c4ac659b3a15 [2024-03-04T02:00:01.930Z] ---> fc810e50ce91 [2024-03-04T02:00:01.930Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-04T02:00:01.930Z] ---> Running in f6a1e02f05f1 [2024-03-04T02:00:03.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T02:00:03.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T02:00:04.793Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-04T02:00:04.793Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-04T02:00:04.793Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-04T02:00:04.793Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-04T02:00:04.793Z] Executing busybox-1.36.1-r5.trigger [2024-03-04T02:00:04.793Z] OK: 271 MiB in 56 packages [2024-03-04T02:00:05.755Z] Removing intermediate container f6a1e02f05f1 [2024-03-04T02:00:05.755Z] ---> c775babea633 [2024-03-04T02:00:05.755Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-03-04T02:00:05.755Z] ---> Running in e856ac823241 [2024-03-04T02:00:06.350Z] Removing intermediate container e856ac823241 [2024-03-04T02:00:06.350Z] ---> 68b94557e42f [2024-03-04T02:00:06.350Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-04T02:00:10.683Z] ---> 6c21177db967 [2024-03-04T02:00:10.683Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T02:00:10.683Z] ---> Running in 8c4546d1ba89 [2024-03-04T02:01:17.505Z] Removing intermediate container 8c4546d1ba89 [2024-03-04T02:01:17.505Z] ---> 21c518447b0a [2024-03-04T02:01:17.505Z] Step 11/12 : COPY . . [2024-03-04T02:01:17.505Z] ---> 32afda368d42 [2024-03-04T02:01:17.505Z] Step 12/12 : RUN $MAKE [2024-03-04T02:01:17.505Z] ---> Running in 48a036ef7ee7 [2024-03-04T02:01:17.505Z] noop [2024-03-04T02:01:17.505Z] Removing intermediate container 48a036ef7ee7 [2024-03-04T02:01:17.505Z] ---> b5d1c913c7ab [2024-03-04T02:01:17.505Z] Successfully built b5d1c913c7ab [2024-03-04T02:01:17.505Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T02:01:18.112Z] + docker inspect -f . ci-base-image-arm64 [2024-03-04T02:01:18.112Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T02:01:18.542Z] prd-ubuntu20.04-docker-arm64-4c-16g-2142 does not seem to be running inside a container [2024-03-04T02:01:18.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-04T02:01:19.939Z] $ docker top 0907d176b185df0ae04621e69abaa032eb25302ca8783870bf716787b7789a22 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T02:01:20.913Z] + go version [2024-03-04T02:01:20.913Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-04T02:01:20.951Z] $ docker stop --time=1 0907d176b185df0ae04621e69abaa032eb25302ca8783870bf716787b7789a22 [2024-03-04T02:01:22.988Z] $ docker rm -f --volumes 0907d176b185df0ae04621e69abaa032eb25302ca8783870bf716787b7789a22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T02:01:24.243Z] + docker inspect -f . ci-base-image-arm64 [2024-03-04T02:01:24.243Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T02:01:24.602Z] prd-ubuntu20.04-docker-arm64-4c-16g-2142 does not seem to be running inside a container [2024-03-04T02:01:24.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-04T02:01:25.923Z] $ docker top ff68dedf8cc50633f5e2d6f75c951b2aa51bc00a7667cdc0dbb97b8d3c0a032c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T02:01:26.898Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-03-04T02:01:27.333Z] + make test [2024-03-04T02:01:27.603Z] go test ./... -coverprofile=coverage.out ./... [2024-03-04T02:01:30.948Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-03-04T02:03:07.716Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-03-04T02:03:07.716Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-03-04T02:03:07.716Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.8% of statements [2024-03-04T02:03:07.716Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-04T02:03:07.716Z] go vet ./... [2024-03-04T02:03:34.397Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-04T02:03:34.397Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-04T02:03:34.397Z] ./bin/test-attribution-txt.sh [2024-03-04T02:03:34.397Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-04T02:03:34.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-04T02:03:34.520Z] $ docker stop --time=1 ff68dedf8cc50633f5e2d6f75c951b2aa51bc00a7667cdc0dbb97b8d3c0a032c [2024-03-04T02:03:36.436Z] $ docker rm -f --volumes ff68dedf8cc50633f5e2d6f75c951b2aa51bc00a7667cdc0dbb97b8d3c0a032c [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-04T02:03:37.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-04T02:03:37.790Z] Warning: overwriting stash ‘coverage-report’ [2024-03-04T02:03:38.278Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-04T02:03:39.133Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-04T02:03:39.478Z] + ls -al . [2024-03-04T02:03:39.478Z] total 180 [2024-03-04T02:03:39.478Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 02:01 . [2024-03-04T02:03:39.478Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 01:59 .. [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 4 01:59 .dockerignore [2024-03-04T02:03:39.478Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 01:59 .git [2024-03-04T02:03:39.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 01:59 .github [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 4 01:59 .gitignore [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 4 01:59 .golangci.yml [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 10386 Mar 4 01:59 Attribution.txt [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 18574 Mar 4 01:59 CHANGELOG.md [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 1798 Mar 4 01:59 Dockerfile [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 01:59 GOVERNANCE.md [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 4 01:59 Jenkinsfile [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 4 01:59 LICENSE [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 1963 Mar 4 01:59 Makefile [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 4 01:59 OWNERS.md [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 3599 Mar 4 01:59 README.md [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 01:55 VERSION [2024-03-04T02:03:39.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 01:59 bin [2024-03-04T02:03:39.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 01:59 cmd [2024-03-04T02:03:39.478Z] -rw-r--r-- 1 jenkins jenkins 18506 Mar 4 02:03 coverage.out [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 3866 Mar 4 01:59 go.mod [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 34334 Mar 4 01:59 go.sum [2024-03-04T02:03:39.478Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 01:59 internal [2024-03-04T02:03:39.478Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 01:59 mock [2024-03-04T02:03:39.478Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 4 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T02:03:39.994Z] + 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=208ba27f1fe1151b43b6f6ff6ef48e3209b27899 --label arch=arm64 --label version=0.0.0 . [2024-03-04T02:03:40.581Z] Sending build context to Docker daemon 7.577MB [2024-03-04T02:03:40.581Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T02:03:40.581Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-04T02:03:40.581Z] ---> b5d1c913c7ab [2024-03-04T02:03:40.581Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-04T02:03:40.581Z] ---> Running in cf4091df7607 [2024-03-04T02:03:42.528Z] Removing intermediate container cf4091df7607 [2024-03-04T02:03:42.529Z] ---> c79af33e0f27 [2024-03-04T02:03:42.529Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-04T02:03:42.529Z] ---> Running in 85bf6cb878b1 [2024-03-04T02:03:43.488Z] Removing intermediate container 85bf6cb878b1 [2024-03-04T02:03:43.488Z] ---> b6ede453b392 [2024-03-04T02:03:43.488Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-04T02:03:43.488Z] ---> Running in 52152b0bcd63 [2024-03-04T02:03:44.895Z] Removing intermediate container 52152b0bcd63 [2024-03-04T02:03:44.895Z] ---> b5cc4043409b [2024-03-04T02:03:44.895Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-04T02:03:44.895Z] ---> Running in 7048bf90c92f [2024-03-04T02:03:45.177Z] Removing intermediate container 7048bf90c92f [2024-03-04T02:03:45.177Z] ---> 00c1e135e042 [2024-03-04T02:03:45.177Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-04T02:03:45.177Z] ---> Running in 3650b7fa7c85 [2024-03-04T02:03:46.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T02:03:46.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T02:03:48.096Z] OK: 271 MiB in 56 packages [2024-03-04T02:03:50.675Z] Removing intermediate container 3650b7fa7c85 [2024-03-04T02:03:50.675Z] ---> 9fa77397aaca [2024-03-04T02:03:50.675Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-03-04T02:03:50.675Z] ---> Running in 0da24f15385c [2024-03-04T02:03:50.943Z] Removing intermediate container 0da24f15385c [2024-03-04T02:03:50.943Z] ---> 119744388ff5 [2024-03-04T02:03:50.943Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-04T02:03:51.523Z] ---> 7676d4b50f36 [2024-03-04T02:03:51.523Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T02:03:51.523Z] ---> Running in 7cd0669ecc48 [2024-03-04T02:03:53.468Z] Removing intermediate container 7cd0669ecc48 [2024-03-04T02:03:53.468Z] ---> 7fa403d76ad4 [2024-03-04T02:03:53.468Z] Step 11/25 : COPY . . [2024-03-04T02:03:54.425Z] ---> 4d27771175a1 [2024-03-04T02:03:54.425Z] Step 12/25 : RUN $MAKE [2024-03-04T02:03:54.425Z] ---> Running in 68580d11a57d [2024-03-04T02:03:55.844Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-03-04T02:06:02.515Z] Removing intermediate container 68580d11a57d [2024-03-04T02:06:02.515Z] ---> 2949b9f826ef [2024-03-04T02:06:02.515Z] Step 13/25 : FROM alpine:3.18 [2024-03-04T02:06:02.515Z] 3.18: Pulling from library/alpine [2024-03-04T02:06:02.515Z] c6b39de5b339: Pulling fs layer [2024-03-04T02:06:02.515Z] c6b39de5b339: Verifying Checksum [2024-03-04T02:06:02.515Z] c6b39de5b339: Download complete [2024-03-04T02:06:02.515Z] c6b39de5b339: Pull complete [2024-03-04T02:06:02.515Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-04T02:06:02.515Z] Status: Downloaded newer image for alpine:3.18 [2024-03-04T02:06:02.515Z] ---> 33abbf032149 [2024-03-04T02:06:02.515Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-03-04T02:06:02.515Z] ---> Running in cff814dc3204 [2024-03-04T02:06:02.515Z] Removing intermediate container cff814dc3204 [2024-03-04T02:06:02.515Z] ---> e55e285c014e [2024-03-04T02:06:02.515Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-03-04T02:06:02.515Z] ---> Running in 653328ebf842 [2024-03-04T02:06:02.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T02:06:02.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T02:06:02.515Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-04T02:06:02.515Z] Executing busybox-1.36.1-r5.trigger [2024-03-04T02:06:02.515Z] OK: 8 MiB in 16 packages [2024-03-04T02:06:02.515Z] Removing intermediate container 653328ebf842 [2024-03-04T02:06:02.515Z] ---> 0e19e4c713c8 [2024-03-04T02:06:02.516Z] Step 16/25 : RUN apk --no-cache upgrade [2024-03-04T02:06:02.516Z] ---> Running in b910aafd5d3f [2024-03-04T02:06:02.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T02:06:02.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T02:06:02.516Z] OK: 8 MiB in 16 packages [2024-03-04T02:06:02.516Z] Removing intermediate container b910aafd5d3f [2024-03-04T02:06:02.516Z] ---> 7133ec5c3d00 [2024-03-04T02:06:02.516Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-03-04T02:06:03.099Z] ---> 798ac5d8b0ca [2024-03-04T02:06:03.099Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-03-04T02:06:03.683Z] ---> 751336676cee [2024-03-04T02:06:03.683Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-03-04T02:06:04.270Z] ---> faec72cebcf8 [2024-03-04T02:06:04.270Z] Step 20/25 : EXPOSE 59982 [2024-03-04T02:06:04.270Z] ---> Running in 5e2bfaee1710 [2024-03-04T02:06:04.537Z] Removing intermediate container 5e2bfaee1710 [2024-03-04T02:06:04.537Z] ---> dbee200f43aa [2024-03-04T02:06:04.537Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-03-04T02:06:04.537Z] ---> Running in c7819ef2dec4 [2024-03-04T02:06:04.805Z] Removing intermediate container c7819ef2dec4 [2024-03-04T02:06:04.805Z] ---> 82098ba04c68 [2024-03-04T02:06:04.805Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-04T02:06:05.073Z] ---> Running in 716f211c12c9 [2024-03-04T02:06:05.341Z] Removing intermediate container 716f211c12c9 [2024-03-04T02:06:05.341Z] ---> f2a6f60ab22a [2024-03-04T02:06:05.341Z] Step 23/25 : LABEL arch=arm64 [2024-03-04T02:06:05.341Z] ---> Running in 1e345f5dee17 [2024-03-04T02:06:05.608Z] Removing intermediate container 1e345f5dee17 [2024-03-04T02:06:05.608Z] ---> 6eca8efe1c06 [2024-03-04T02:06:05.608Z] Step 24/25 : LABEL git_sha=208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [2024-03-04T02:06:05.608Z] ---> Running in d6a951be4a12 [2024-03-04T02:06:05.879Z] Removing intermediate container d6a951be4a12 [2024-03-04T02:06:05.879Z] ---> 6efa6feed53c [2024-03-04T02:06:05.879Z] Step 25/25 : LABEL version=0.0.0 [2024-03-04T02:06:05.879Z] ---> Running in b104848137b3 [2024-03-04T02:06:06.145Z] Removing intermediate container b104848137b3 [2024-03-04T02:06:06.145Z] ---> c0abb5547fae [2024-03-04T02:06:06.145Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-04T02:06:06.411Z] Successfully built c0abb5547fae [2024-03-04T02:06:06.411Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T02:06:07.694Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-04T02:06:07.694Z] [2024-03-04T02:06:07.694Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T02:06:08.146Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-04T02:06:08.146Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-04T02:06:08.146Z] 8998bd30e6a1: Pulling fs layer [2024-03-04T02:06:08.146Z] 04944245beec: Pulling fs layer [2024-03-04T02:06:08.146Z] 699f458cf7ca: Pulling fs layer [2024-03-04T02:06:08.146Z] 765212b225bb: Pulling fs layer [2024-03-04T02:06:08.146Z] f23df028b6ca: Pulling fs layer [2024-03-04T02:06:08.146Z] d65c8cfc05b1: Pulling fs layer [2024-03-04T02:06:08.146Z] 2437ff75d9bd: Pulling fs layer [2024-03-04T02:06:08.146Z] f23df028b6ca: Waiting [2024-03-04T02:06:08.146Z] 765212b225bb: Waiting [2024-03-04T02:06:08.146Z] d65c8cfc05b1: Waiting [2024-03-04T02:06:08.146Z] 2437ff75d9bd: Waiting [2024-03-04T02:06:08.411Z] 04944245beec: Verifying Checksum [2024-03-04T02:06:08.411Z] 04944245beec: Download complete [2024-03-04T02:06:08.411Z] 765212b225bb: Verifying Checksum [2024-03-04T02:06:08.411Z] 765212b225bb: Download complete [2024-03-04T02:06:08.411Z] f23df028b6ca: Download complete [2024-03-04T02:06:08.411Z] d65c8cfc05b1: Verifying Checksum [2024-03-04T02:06:08.411Z] d65c8cfc05b1: Download complete [2024-03-04T02:06:08.677Z] 699f458cf7ca: Verifying Checksum [2024-03-04T02:06:08.677Z] 699f458cf7ca: Download complete [2024-03-04T02:06:08.944Z] 8998bd30e6a1: Verifying Checksum [2024-03-04T02:06:08.944Z] 8998bd30e6a1: Download complete [2024-03-04T02:06:11.518Z] 2437ff75d9bd: Verifying Checksum [2024-03-04T02:06:11.518Z] 2437ff75d9bd: Download complete [2024-03-04T02:06:13.455Z] 8998bd30e6a1: Pull complete [2024-03-04T02:06:14.038Z] 04944245beec: Pull complete [2024-03-04T02:06:18.294Z] 699f458cf7ca: Pull complete [2024-03-04T02:06:18.560Z] 765212b225bb: Pull complete [2024-03-04T02:06:19.518Z] f23df028b6ca: Pull complete [2024-03-04T02:06:19.518Z] d65c8cfc05b1: Pull complete [2024-03-04T02:06:37.830Z] 2437ff75d9bd: Pull complete [2024-03-04T02:06:37.830Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-04T02:06:37.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-04T02:06:37.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T02:06:38.345Z] prd-ubuntu20.04-docker-arm64-4c-16g-2142 does not seem to be running inside a container [2024-03-04T02:06:38.414Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-04T02:06:41.017Z] $ docker top ab774845902b52a3fd4794b23b77d25d576cb10f9d7b94f878cedd9173c19f5c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T02:06:42.004Z] ---> job-cost.sh [2024-03-04T02:06:42.004Z] lf-activate-venv: SKIPPING [2024-03-04T02:06:42.004Z] INFO: No Stack... [2024-03-04T02:06:42.273Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-04T02:06:43.227Z] INFO: Archiving Costs [Pipeline] sh [2024-03-04T02:06:43.569Z] + cut -d, -f6 [2024-03-04T02:06:43.569Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2024-03-04T02:06:43.908Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-663-1-stack-cost] [2024-03-04T02:06:43.915Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-663-1-stack-cost] did not exist. Created. [2024-03-04T02:06:43.921Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-663-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-04T02:06:44.739Z] /w/workspace/device-mqtt-go/1@tmp/durable-607101a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-04T02:06:45.401Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-04T02:06:45.442Z] Warning: overwriting stash ‘stack-cost’ [2024-03-04T02:06:45.488Z] Stashed 1 file(s) [Pipeline] } [2024-03-04T02:06:45.532Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-663-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-04T02:06:45.712Z] $ docker stop --time=1 ab774845902b52a3fd4794b23b77d25d576cb10f9d7b94f878cedd9173c19f5c [2024-03-04T02:06:49.296Z] $ docker rm -f --volumes ab774845902b52a3fd4794b23b77d25d576cb10f9d7b94f878cedd9173c19f5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-03-04T02:06:51.361Z] provisioning config files... [2024-03-04T02:06:51.368Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp/config11780052871446726434tmp [Pipeline] { [Pipeline] sh [2024-03-04T02:06:51.801Z] + set +x [2024-03-04T02:06:51.801Z] + bash -s -- [2024-03-04T02:06:51.801Z] + curl -s https://codecov.io/bash [2024-03-04T02:06:51.801Z] [2024-03-04T02:06:51.801Z] _____ _ [2024-03-04T02:06:51.801Z] / ____| | | [2024-03-04T02:06:51.801Z] | | ___ __| | ___ ___ _____ __ [2024-03-04T02:06:51.801Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-04T02:06:51.801Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-04T02:06:51.801Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-04T02:06:51.801Z] Bash-1.0.6 [2024-03-04T02:06:51.801Z] [2024-03-04T02:06:51.801Z] [2024-03-04T02:06:51.801Z] ==> git version 2.25.1 found [2024-03-04T02:06:51.801Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-03-04T02:06:51.801Z] Release-Date: 2020-01-08 [2024-03-04T02:06:51.801Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-03-04T02:06:51.801Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-04T02:06:51.801Z] ==> Jenkins CI detected. [2024-03-04T02:06:51.801Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-663 [2024-03-04T02:06:51.801Z] project root: . [2024-03-04T02:06:51.801Z] --> token set from env [2024-03-04T02:06:51.801Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-04T02:06:52.061Z] ==> Running gcov in . (disable via -X gcov) [2024-03-04T02:06:52.061Z] ==> Python coveragepy not found [2024-03-04T02:06:52.061Z] ==> Searching for coverage reports in: [2024-03-04T02:06:52.061Z] + . [2024-03-04T02:06:52.061Z] -> Found 1 reports [2024-03-04T02:06:52.061Z] ==> Detecting git/mercurial file structure [2024-03-04T02:06:52.061Z] ==> Reading reports [2024-03-04T02:06:52.061Z] + ./coverage.out bytes=18506 [2024-03-04T02:06:52.061Z] ==> Appending adjustments [2024-03-04T02:06:52.061Z] https://docs.codecov.io/docs/fixing-reports [2024-03-04T02:06:52.061Z] + Found adjustments [2024-03-04T02:06:52.061Z] ==> Gzipping contents [2024-03-04T02:06:52.061Z] 4.0K /tmp/codecov.mCmK6P.gz [2024-03-04T02:06:52.061Z] ==> Uploading reports [2024-03-04T02:06:52.061Z] url: https://codecov.io [2024-03-04T02:06:52.061Z] query: branch=PR-663&commit=208ba27f1fe1151b43b6f6ff6ef48e3209b27899&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-663%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=663&job=&cmd_args= [2024-03-04T02:06:52.061Z] -> Pinging Codecov [2024-03-04T02:06:52.061Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-663&commit=208ba27f1fe1151b43b6f6ff6ef48e3209b27899&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-663%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=663&job=&cmd_args= [2024-03-04T02:06:52.322Z] -> Uploading to [2024-03-04T02:06:52.322Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-04/7D719EC7BBE17E464838252E33014C33/208ba27f1fe1151b43b6f6ff6ef48e3209b27899/9c87f986-de58-4df3-9e80-12149307a919.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240304%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240304T020652Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59bb1aa9f0e4269ae85f1b2740b4da59164347ca3638e12f50498cb23030db4f [2024-03-04T02:06:52.322Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-04T02:06:52.322Z] Dload Upload Total Spent Left Speed [2024-03-04T02:06:52.583Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 10735 --:--:-- --:--:-- --:--:-- 10735 [2024-03-04T02:06:52.583Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/208ba27f1fe1151b43b6f6ff6ef48e3209b27899 [Pipeline] } [2024-03-04T02:06:52.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-04T02:06:56.024Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-663/archives ] [2024-03-04T02:06:56.024Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-663/archives [2024-03-04T02:06:56.024Z] total 16 [2024-03-04T02:06:56.024Z] drwxr-xr-x 3 root root 4096 Mar 4 01:57 . [2024-03-04T02:06:56.024Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 4 01:57 .. [2024-03-04T02:06:56.024Z] drwxr-xr-x 2 root root 4096 Mar 4 01:57 cost [2024-03-04T02:06:56.024Z] -rw-r--r-- 1 root root 86 Mar 4 01:57 cost.csv [2024-03-04T02:06:56.024Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-663/archives [2024-03-04T02:06:56.024Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-663/archives [2024-03-04T02:06:56.024Z] total 16 [2024-03-04T02:06:56.024Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 01:57 . [2024-03-04T02:06:56.024Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 4 01:57 .. [2024-03-04T02:06:56.024Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 4 01:57 cost [2024-03-04T02:06:56.024Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 4 01:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-04T02:06:56.355Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T02:06:57.252Z] ---> package-listing.sh [2024-03-04T02:06:57.252Z] ++ facter osfamily [2024-03-04T02:06:57.252Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-04T02:06:57.511Z] + OS_FAMILY=debian [2024-03-04T02:06:57.511Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-663 [2024-03-04T02:06:57.511Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-04T02:06:57.511Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-04T02:06:57.511Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-04T02:06:57.511Z] + PACKAGES=/tmp/packages_start.txt [2024-03-04T02:06:57.511Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-663 ']' [2024-03-04T02:06:57.511Z] + PACKAGES=/tmp/packages_end.txt [2024-03-04T02:06:57.511Z] + case "${OS_FAMILY}" in [2024-03-04T02:06:57.511Z] + dpkg -l [2024-03-04T02:06:57.511Z] + grep '^ii' [2024-03-04T02:06:57.511Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-04T02:06:57.511Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-04T02:06:57.511Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-04T02:06:57.511Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-663 ']' [2024-03-04T02:06:57.511Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-663/archives/ [2024-03-04T02:06:57.511Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-663/archives/ [Pipeline] echo [2024-03-04T02:06:57.550Z] 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-663/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-04T02:06:57.841Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T02:06:58.265Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T02:06:58.265Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T02:06:58.528Z] prd-ubuntu20.04-docker-8c-8g-2141 does not seem to be running inside a container [2024-03-04T02:06:58.570Z] $ 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-663/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-663 -v /w/workspace/gexfoundry_device-mqtt-go_PR-663:/w/workspace/gexfoundry_device-mqtt-go_PR-663:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-663@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-04T02:06:58.745Z] $ docker top 91909f0550131d0286b16d8058c38b68c574057f95eb82681e34e4753f126714 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T02:06:59.227Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-04T02:06:59.537Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-04T02:06:59.848Z] + ls /var/log/sa-host [2024-03-04T02:06:59.849Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-04T02:07:00.125Z] provisioning config files... [2024-03-04T02:07:00.134Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-663@tmp/config459981994450155103tmp [Pipeline] { [Pipeline] echo [2024-03-04T02:07:00.292Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T02:07:00.605Z] ---> create-netrc.sh [Pipeline] } [2024-03-04T02:07:00.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-04T02:07:01.271Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-04T02:07:01.304Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T02:07:01.620Z] ---> sudo-logs.sh [2024-03-04T02:07:01.620Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-04T02:07:01.772Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T02:07:02.081Z] ---> job-cost.sh [2024-03-04T02:07:02.081Z] lf-activate-venv: SKIPPING [2024-03-04T02:07:02.081Z] DEBUG: total: 0.2199999988079071 [2024-03-04T02:07:02.081Z] INFO: Retrieving Stack Cost... [2024-03-04T02:07:02.650Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-04T02:07:02.910Z] INFO: Archiving Costs [Pipeline] echo [2024-03-04T02:07:02.945Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T02:07:03.249Z] ---> logs-deploy.sh [2024-03-04T02:07:03.249Z] lf-activate-venv: SKIPPING [2024-03-04T02:07:03.249Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-663/1 [2024-03-04T02:07:03.249Z] INFO: archiving workspace using pattern(s): [2024-03-04T02:07:04.187Z] Archives upload complete. [2024-03-04T02:07:04.187Z] INFO: archiving logs to Nexus