Pull request #708 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from ed01671be0093de828f24a3204fbac8305532b8d+6320066227888112c6c0a181794f3c9cc54daea1 (5f525b1d36634814ce765006f34dab6a8e19932f) 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-ssh3577962042728833447.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh8040423241257786859.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-708/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-708/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17113604514475483608.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-708/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9372290816037339598.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh14769133410222250663.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-708/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-708/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13825748192013350472.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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 ‘prd-ubuntu20.04-docker-8c-8g-24732’ Running on prd-ubuntu20.04-docker-8c-8g-24733 in /w/workspace/gexfoundry_device-mqtt-go_PR-708 [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-708 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6320066227888112c6c0a181794f3c9cc54daea1 into PR head commit ed01671be0093de828f24a3204fbac8305532b8d Merge succeeded, producing ed01671be0093de828f24a3204fbac8305532b8d Checking out Revision ed01671be0093de828f24a3204fbac8305532b8d (PR-708) > 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/708/head:refs/remotes/origin/PR-708 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed01671be0093de828f24a3204fbac8305532b8d # 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 6320066227888112c6c0a181794f3c9cc54daea1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed01671be0093de828f24a3204fbac8305532b8d # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-07T09:11:40.465Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-07T09:11:40.684Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-07T09:11:40.802Z] ========================================================= [2024-11-07T09:11:40.802Z] EdgeX Global Pipelines Version Info [2024-11-07T09:11:40.802Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:11:41.573Z] ------------------- [2024-11-07T09:11:41.573Z] stable info: [2024-11-07T09:11:41.573Z] ------------------- [2024-11-07T09:11:41.573Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-07T09:11:41.573Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-07T09:11:41.573Z] Message: update stable to v1.0.265 [2024-11-07T09:11:42.144Z] ------------------- [2024-11-07T09:11:42.144Z] experimental info: [2024-11-07T09:11:42.144Z] ------------------- [2024-11-07T09:11:42.144Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-07T09:11:42.144Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-07T09:11:42.144Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-07T09:11:42.359Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-11-07T09:11:42.418Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-11-07T09:11:42.478Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-07T09:11:42.537Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-07T09:11:42.598Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-07T09:11:42.659Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-07T09:11:42.716Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-07T09:11:42.773Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-07T09:11:42.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-07T09:11:42.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-07T09:11:42.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-07T09:11:43.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-11-07T09:11:43.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-07T09:11:43.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-07T09:11:43.177Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:11:43.235Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-07T09:11:43.292Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:11:43.345Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-07T09:11:43.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-07T09:11:43.461Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-07T09:11:43.515Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-07T09:11:43.574Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-07T09:11:43.632Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-07T09:11:43.692Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-07T09:11:43.749Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-07T09:11:43.802Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-07T09:11:43.862Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-07T09:11:43.921Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-708 [Pipeline] echo [2024-11-07T09:11:43.982Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-708 [Pipeline] echo [2024-11-07T09:11:44.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-708 [Pipeline] echo [2024-11-07T09:11:44.101Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed01671be0093de828f24a3204fbac8305532b8d [Pipeline] echo [2024-11-07T09:11:44.167Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed01671 [Pipeline] echo [2024-11-07T09:11:44.226Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:11:44.378Z] provisioning config files... [2024-11-07T09:11:44.392Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/config18004528259424815572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:11:44.788Z] ---> ****-login.sh [2024-11-07T09:11:44.788Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:11:45.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:11:45.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:11:45.051Z] Configure a credential helper to remove this warning. See [2024-11-07T09:11:45.051Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:11:45.051Z] [2024-11-07T09:11:45.051Z] Login Succeeded [2024-11-07T09:11:45.051Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:11:45.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:11:45.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:11:45.312Z] Configure a credential helper to remove this warning. See [2024-11-07T09:11:45.313Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:11:45.313Z] [2024-11-07T09:11:45.313Z] Login Succeeded [2024-11-07T09:11:45.313Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:11:45.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:11:45.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:11:45.313Z] Configure a credential helper to remove this warning. See [2024-11-07T09:11:45.313Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:11:45.313Z] [2024-11-07T09:11:45.313Z] Login Succeeded [2024-11-07T09:11:45.313Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:11:45.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:11:45.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:11:45.573Z] Configure a credential helper to remove this warning. See [2024-11-07T09:11:45.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:11:45.573Z] [2024-11-07T09:11:45.573Z] Login Succeeded [2024-11-07T09:11:45.573Z] ****.io [2024-11-07T09:11:45.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:11:45.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:11:45.834Z] Configure a credential helper to remove this warning. See [2024-11-07T09:11:45.834Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:11:45.834Z] [2024-11-07T09:11:45.834Z] Login Succeeded [2024-11-07T09:11:45.834Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:11:45.867Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-07T09:11:46.529Z] + git rev-list -1 --merges ed01671be0093de828f24a3204fbac8305532b8d~1..ed01671be0093de828f24a3204fbac8305532b8d [Pipeline] echo [2024-11-07T09:11:46.579Z] -----------> git rev-list -1 --merges ed01671be0093de828f24a3204fbac8305532b8d~1..ed01671be0093de828f24a3204fbac8305532b8d ed01671be0093de828f24a3204fbac8305532b8d [false] [Pipeline] sh [2024-11-07T09:11:46.903Z] + git log --format=format:%s -1 ed01671be0093de828f24a3204fbac8305532b8d [Pipeline] echo [2024-11-07T09:11:46.944Z] ========================================================= [2024-11-07T09:11:46.944Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-07T09:11:46.944Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:11:47.393Z] + git log --format=format:%s -1 ed01671be0093de828f24a3204fbac8305532b8d [Pipeline] echo [2024-11-07T09:11:47.435Z] [semverPrep] GIT_COMMIT: ed01671be0093de828f24a3204fbac8305532b8d, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo [2024-11-07T09:11:47.478Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-07T09:11:47.872Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-07T09:11:47.872Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-07T09:11:47.872Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-07T09:11:47.872Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-07T09:11:47.872Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-07T09:11:47.872Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-07T09:11:47.872Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:11:48.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:11:48.318Z] [2024-11-07T09:11:48.318Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:11:48.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:11:48.716Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-07T09:11:48.716Z] b85a868b505f: Pulling fs layer [2024-11-07T09:11:48.716Z] e2be974225ed: Pulling fs layer [2024-11-07T09:11:48.716Z] 339a4e72a1f5: Pulling fs layer [2024-11-07T09:11:48.716Z] 988bab9f4d93: Pulling fs layer [2024-11-07T09:11:48.716Z] 1469e6f7b9e6: Pulling fs layer [2024-11-07T09:11:48.716Z] eaf3925da568: Pulling fs layer [2024-11-07T09:11:48.716Z] bab4dde63d76: Pulling fs layer [2024-11-07T09:11:48.716Z] bde34c3a00c8: Pulling fs layer [2024-11-07T09:11:48.717Z] b352a97aabf1: Pulling fs layer [2024-11-07T09:11:48.717Z] 988bab9f4d93: Waiting [2024-11-07T09:11:48.717Z] eaf3925da568: Waiting [2024-11-07T09:11:48.717Z] bab4dde63d76: Waiting [2024-11-07T09:11:48.717Z] bde34c3a00c8: Waiting [2024-11-07T09:11:48.717Z] 1469e6f7b9e6: Waiting [2024-11-07T09:11:48.717Z] b352a97aabf1: Waiting [2024-11-07T09:11:48.717Z] 4872d77fe225: Pulling fs layer [2024-11-07T09:11:48.717Z] 5851b861e8e6: Pulling fs layer [2024-11-07T09:11:48.717Z] 4872d77fe225: Waiting [2024-11-07T09:11:48.717Z] 5851b861e8e6: Waiting [2024-11-07T09:11:48.717Z] e2be974225ed: Verifying Checksum [2024-11-07T09:11:48.717Z] e2be974225ed: Download complete [2024-11-07T09:11:48.717Z] 988bab9f4d93: Verifying Checksum [2024-11-07T09:11:48.717Z] 988bab9f4d93: Download complete [2024-11-07T09:11:48.717Z] 1469e6f7b9e6: Download complete [2024-11-07T09:11:48.717Z] eaf3925da568: Download complete [2024-11-07T09:11:48.980Z] 339a4e72a1f5: Verifying Checksum [2024-11-07T09:11:48.980Z] 339a4e72a1f5: Download complete [2024-11-07T09:11:48.980Z] bde34c3a00c8: Verifying Checksum [2024-11-07T09:11:48.980Z] bde34c3a00c8: Download complete [2024-11-07T09:11:48.980Z] b352a97aabf1: Verifying Checksum [2024-11-07T09:11:48.980Z] b352a97aabf1: Download complete [2024-11-07T09:11:48.980Z] 4872d77fe225: Verifying Checksum [2024-11-07T09:11:48.980Z] 4872d77fe225: Download complete [2024-11-07T09:11:48.980Z] 5851b861e8e6: Verifying Checksum [2024-11-07T09:11:48.980Z] 5851b861e8e6: Download complete [2024-11-07T09:11:48.980Z] b85a868b505f: Verifying Checksum [2024-11-07T09:11:48.980Z] b85a868b505f: Download complete [2024-11-07T09:11:49.238Z] bab4dde63d76: Verifying Checksum [2024-11-07T09:11:49.238Z] bab4dde63d76: Download complete [2024-11-07T09:11:50.181Z] b85a868b505f: Pull complete [2024-11-07T09:11:50.444Z] e2be974225ed: Pull complete [2024-11-07T09:11:50.705Z] 339a4e72a1f5: Pull complete [2024-11-07T09:11:50.964Z] 988bab9f4d93: Pull complete [2024-11-07T09:11:51.223Z] 1469e6f7b9e6: Pull complete [2024-11-07T09:11:51.223Z] eaf3925da568: Pull complete [2024-11-07T09:11:53.130Z] bab4dde63d76: Pull complete [2024-11-07T09:11:53.130Z] bde34c3a00c8: Pull complete [2024-11-07T09:11:53.130Z] b352a97aabf1: Pull complete [2024-11-07T09:11:53.130Z] 4872d77fe225: Pull complete [2024-11-07T09:11:53.130Z] 5851b861e8e6: Pull complete [2024-11-07T09:11:53.130Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-07T09:11:53.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-07T09:11:53.130Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:11:53.431Z] prd-ubuntu20.04-docker-8c-8g-24733 does not seem to be running inside a container [2024-11-07T09:11:53.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-07T09:11:57.797Z] $ docker top 43f700cd2c0bc88726031850b47441141bba6d925459b310b7abd954a4537b2c -eo pid,comm [2024-11-07T09:11:57.855Z] 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-11-07T09:11:57.855Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-07T09:11:58.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:11:58.020Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:11:58.128Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:11:58.130Z] $ docker exec 43f700cd2c0bc88726031850b47441141bba6d925459b310b7abd954a4537b2c ssh-agent [2024-11-07T09:11:58.254Z] SSH_AUTH_SOCK=/tmp/ssh-7cG2eZInoKcg/agent.32 [2024-11-07T09:11:58.254Z] SSH_AGENT_PID=38 [2024-11-07T09:11:58.261Z] Running ssh-add (command line suppressed) [2024-11-07T09:11:58.362Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/private_key_227181309676967425.key (/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/private_key_227181309676967425.key) [2024-11-07T09:11:58.376Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:11:58.738Z] + git tag --points-at HEAD [Pipeline] } [2024-11-07T09:11:58.819Z] $ docker exec --env ******** --env ******** 43f700cd2c0bc88726031850b47441141bba6d925459b310b7abd954a4537b2c ssh-agent -k [2024-11-07T09:11:58.899Z] unset SSH_AUTH_SOCK; [2024-11-07T09:11:58.899Z] unset SSH_AGENT_PID; [2024-11-07T09:11:58.899Z] echo Agent pid 38 killed; [2024-11-07T09:11:58.908Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-07T09:11:59.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-07T09:11:59.027Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-07T09:11:59.148Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-07T09:11:59.151Z] $ docker exec 43f700cd2c0bc88726031850b47441141bba6d925459b310b7abd954a4537b2c ssh-agent [2024-11-07T09:11:59.257Z] SSH_AUTH_SOCK=/tmp/ssh-23ZhmWeFMm1t/agent.72 [2024-11-07T09:11:59.257Z] SSH_AGENT_PID=78 [2024-11-07T09:11:59.260Z] Running ssh-add (command line suppressed) [2024-11-07T09:11:59.361Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/private_key_6904414310897826609.key (/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/private_key_6904414310897826609.key) [2024-11-07T09:11:59.373Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-07T09:11:59.714Z] + git semver init [2024-11-07T09:11:59.973Z] 2024-11-07 09:11:59,873 [run_init] DEBUG init version:0.0.0 force:False [2024-11-07T09:11:59.973Z] 2024-11-07 09:11:59,874 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver [2024-11-07T09:11:59.973Z] 2024-11-07 09:11:59,874 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver [2024-11-07T09:11:59.973Z] 2024-11-07 09:11:59,874 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-708, universal_newlines=False, shell=None, istream=None) [2024-11-07T09:12:01.884Z] 2024-11-07 09:12:01,566 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708/.git/info/exclude [2024-11-07T09:12:01.884Z] 2024-11-07 09:12:01,566 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver/PR-708 with force:False [2024-11-07T09:12:01.884Z] 2024-11-07 09:12:01,567 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver/PR-708 [2024-11-07T09:12:01.884Z] 2024-11-07 09:12:01,571 [execute] INFO git cat-file --batch-check [2024-11-07T09:12:01.884Z] 2024-11-07 09:12:01,571 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:12:01.884Z] 2024-11-07 09:12:01,577 [execute] INFO git cat-file --batch [2024-11-07T09:12:01.884Z] 2024-11-07 09:12:01,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver, universal_newlines=False, shell=None, istream=) [2024-11-07T09:12:01.884Z] 2024-11-07 09:12:01,584 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-708/.semver/PR-708 [2024-11-07T09:12:01.884Z] 0.0.0 [Pipeline] } [2024-11-07T09:12:01.905Z] $ docker exec --env ******** --env ******** 43f700cd2c0bc88726031850b47441141bba6d925459b310b7abd954a4537b2c ssh-agent -k [2024-11-07T09:12:02.004Z] unset SSH_AUTH_SOCK; [2024-11-07T09:12:02.004Z] unset SSH_AGENT_PID; [2024-11-07T09:12:02.005Z] echo Agent pid 78 killed; [2024-11-07T09:12:02.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-07T09:12:02.472Z] + git semver [Pipeline] } [2024-11-07T09:12:02.759Z] $ docker stop --time=1 43f700cd2c0bc88726031850b47441141bba6d925459b310b7abd954a4537b2c [2024-11-07T09:12:04.673Z] $ docker rm -f --volumes 43f700cd2c0bc88726031850b47441141bba6d925459b310b7abd954a4537b2c [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:12:05.159Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-07T09:12:05.468Z] Stashed 1 file(s) [Pipeline] echo [2024-11-07T09:12:05.497Z] [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-11-07T09:12:06.287Z] provisioning config files... [2024-11-07T09:12:06.297Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/config5173203798531288613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:12:06.669Z] ---> ****-login.sh [2024-11-07T09:12:06.669Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:12:06.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:12:06.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:12:06.669Z] Configure a credential helper to remove this warning. See [2024-11-07T09:12:06.669Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:12:06.669Z] [2024-11-07T09:12:06.669Z] Login Succeeded [2024-11-07T09:12:06.669Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:12:06.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:12:06.669Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:12:06.669Z] Configure a credential helper to remove this warning. See [2024-11-07T09:12:06.669Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:12:06.669Z] [2024-11-07T09:12:06.669Z] Login Succeeded [2024-11-07T09:12:06.670Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:12:06.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:12:06.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:12:06.930Z] Configure a credential helper to remove this warning. See [2024-11-07T09:12:06.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:12:06.930Z] [2024-11-07T09:12:06.930Z] Login Succeeded [2024-11-07T09:12:06.930Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:12:06.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:12:06.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:12:06.930Z] Configure a credential helper to remove this warning. See [2024-11-07T09:12:06.930Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:12:06.930Z] [2024-11-07T09:12:06.930Z] Login Succeeded [2024-11-07T09:12:06.930Z] ****.io [2024-11-07T09:12:06.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:12:07.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:12:07.191Z] Configure a credential helper to remove this warning. See [2024-11-07T09:12:07.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:12:07.191Z] [2024-11-07T09:12:07.191Z] Login Succeeded [2024-11-07T09:12:07.191Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:12:07.224Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:12:07.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:12:07.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:12:07.518Z] ========================================================= [2024-11-07T09:12:07.518Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-07T09:12:07.518Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:12:08.056Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-07T09:12:08.056Z] Sending build context to Docker daemon 20.98MB [2024-11-07T09:12:08.056Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:12:08.056Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-07T09:12:08.056Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-07T09:12:08.056Z] 43c4264eed91: Pulling fs layer [2024-11-07T09:12:08.056Z] 4cc291be95ef: Pulling fs layer [2024-11-07T09:12:08.056Z] 2ac1f1163629: Pulling fs layer [2024-11-07T09:12:08.056Z] 5c3c966382ef: Pulling fs layer [2024-11-07T09:12:08.056Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:12:08.056Z] 5d5c8e513c77: Pulling fs layer [2024-11-07T09:12:08.056Z] 9f66e0745190: Pulling fs layer [2024-11-07T09:12:08.056Z] f49a43e4bbc0: Pulling fs layer [2024-11-07T09:12:08.056Z] 561ebcabdf7f: Pulling fs layer [2024-11-07T09:12:08.056Z] 5c3c966382ef: Waiting [2024-11-07T09:12:08.056Z] 4f4fb700ef54: Waiting [2024-11-07T09:12:08.056Z] 5d5c8e513c77: Waiting [2024-11-07T09:12:08.056Z] 9f66e0745190: Waiting [2024-11-07T09:12:08.056Z] f49a43e4bbc0: Waiting [2024-11-07T09:12:08.056Z] 561ebcabdf7f: Waiting [2024-11-07T09:12:08.315Z] 4cc291be95ef: Download complete [2024-11-07T09:12:08.315Z] 5c3c966382ef: Verifying Checksum [2024-11-07T09:12:08.315Z] 5c3c966382ef: Download complete [2024-11-07T09:12:08.315Z] 4f4fb700ef54: Verifying Checksum [2024-11-07T09:12:08.315Z] 4f4fb700ef54: Download complete [2024-11-07T09:12:08.315Z] 5d5c8e513c77: Download complete [2024-11-07T09:12:08.315Z] 43c4264eed91: Download complete [2024-11-07T09:12:08.315Z] 9f66e0745190: Verifying Checksum [2024-11-07T09:12:08.315Z] 9f66e0745190: Download complete [2024-11-07T09:12:08.575Z] 43c4264eed91: Pull complete [2024-11-07T09:12:08.575Z] 561ebcabdf7f: Download complete [2024-11-07T09:12:08.575Z] 4cc291be95ef: Pull complete [2024-11-07T09:12:08.842Z] 2ac1f1163629: Verifying Checksum [2024-11-07T09:12:08.842Z] 2ac1f1163629: Download complete [2024-11-07T09:12:09.099Z] f49a43e4bbc0: Verifying Checksum [2024-11-07T09:12:09.100Z] f49a43e4bbc0: Download complete [2024-11-07T09:12:12.383Z] 2ac1f1163629: Pull complete [2024-11-07T09:12:12.383Z] 5c3c966382ef: Pull complete [2024-11-07T09:12:12.383Z] 4f4fb700ef54: Pull complete [2024-11-07T09:12:12.383Z] 5d5c8e513c77: Pull complete [2024-11-07T09:12:12.383Z] 9f66e0745190: Pull complete [2024-11-07T09:12:14.279Z] f49a43e4bbc0: Pull complete [2024-11-07T09:12:14.896Z] 561ebcabdf7f: Pull complete [2024-11-07T09:12:14.896Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-07T09:12:14.896Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-07T09:12:14.896Z] ---> 3a752c3f9dda [2024-11-07T09:12:14.896Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:12:21.049Z] Still waiting to schedule task [2024-11-07T09:12:21.049Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-11-07T09:12:21.499Z] ---> Running in 12d41addce04 [2024-11-07T09:12:21.499Z] Removing intermediate container 12d41addce04 [2024-11-07T09:12:21.499Z] ---> 6a3c18649da9 [2024-11-07T09:12:21.499Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:12:21.499Z] ---> Running in c37895772f1b [2024-11-07T09:12:21.499Z] Removing intermediate container c37895772f1b [2024-11-07T09:12:21.499Z] ---> f4f7fa6f7b99 [2024-11-07T09:12:21.499Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:12:21.499Z] ---> Running in 42c38bdd88b1 [2024-11-07T09:12:21.499Z] Removing intermediate container 42c38bdd88b1 [2024-11-07T09:12:21.499Z] ---> 05be71795c0e [2024-11-07T09:12:21.499Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:12:21.499Z] ---> Running in 48f886d07675 [2024-11-07T09:12:21.499Z] Removing intermediate container 48f886d07675 [2024-11-07T09:12:21.499Z] ---> 55fecde8e2a1 [2024-11-07T09:12:21.499Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:12:21.499Z] ---> Running in 2bece563a403 [2024-11-07T09:12:21.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:12:21.499Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:12:21.759Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-07T09:12:21.759Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-07T09:12:21.759Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-07T09:12:21.759Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-07T09:12:21.759Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:12:21.759Z] OK: 250 MiB in 58 packages [2024-11-07T09:12:22.328Z] Removing intermediate container 2bece563a403 [2024-11-07T09:12:22.328Z] ---> 6b34952ecf18 [2024-11-07T09:12:22.328Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-07T09:12:22.328Z] ---> Running in b8359da9e2e7 [2024-11-07T09:12:22.588Z] Removing intermediate container b8359da9e2e7 [2024-11-07T09:12:22.588Z] ---> c33a9e33354a [2024-11-07T09:12:22.588Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-07T09:12:22.588Z] ---> d5c0353a873f [2024-11-07T09:12:22.588Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:12:22.588Z] ---> Running in 6fdd34b1b886 [2024-11-07T09:13:18.833Z] Removing intermediate container 6fdd34b1b886 [2024-11-07T09:13:18.833Z] ---> fe4603982275 [2024-11-07T09:13:18.833Z] Step 11/12 : COPY . . [2024-11-07T09:13:18.833Z] ---> 8592e1688766 [2024-11-07T09:13:18.833Z] Step 12/12 : RUN $MAKE [2024-11-07T09:13:18.833Z] ---> Running in a0bcd0673753 [2024-11-07T09:13:18.833Z] noop [2024-11-07T09:13:18.833Z] Removing intermediate container a0bcd0673753 [2024-11-07T09:13:18.833Z] ---> 9f0f0c0cc4cb [2024-11-07T09:13:18.833Z] Successfully built 9f0f0c0cc4cb [2024-11-07T09:13:18.833Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:13:19.323Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:13:19.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:13:19.481Z] prd-ubuntu20.04-docker-8c-8g-24733 does not seem to be running inside a container [2024-11-07T09:13:19.515Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-07T09:13:19.859Z] $ docker top 7d299aa33726dd61b5f9f3150fd9f5cbf02b4d167163a0e98b594065fcad9869 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:13:20.271Z] + go version [2024-11-07T09:13:20.271Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-07T09:13:20.303Z] $ docker stop --time=1 7d299aa33726dd61b5f9f3150fd9f5cbf02b4d167163a0e98b594065fcad9869 [2024-11-07T09:13:21.546Z] $ docker rm -f --volumes 7d299aa33726dd61b5f9f3150fd9f5cbf02b4d167163a0e98b594065fcad9869 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:13:22.354Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-07T09:13:22.354Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:13:22.527Z] prd-ubuntu20.04-docker-8c-8g-24733 does not seem to be running inside a container [2024-11-07T09:13:22.555Z] $ 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-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-07T09:13:22.884Z] $ docker top 242b31256906cc8685c3ed3428ff13e3d2467a1e8ef96e3b3156dc55210d1b53 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:13:23.284Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-708 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:13:23.664Z] + make test [2024-11-07T09:13:23.664Z] go test ./... -coverprofile=coverage.out ./... [2024-11-07T09:13:25.565Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-07T09:13:43.640Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-07T09:13:43.640Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-07T09:13:43.640Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.8% of statements [2024-11-07T09:13:51.746Z] go vet ./... [2024-11-07T09:13:58.381Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:13:58.382Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:13:58.382Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:13:58.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:13:58.464Z] $ docker stop --time=1 242b31256906cc8685c3ed3428ff13e3d2467a1e8ef96e3b3156dc55210d1b53 [2024-11-07T09:14:02.209Z] $ docker rm -f --volumes 242b31256906cc8685c3ed3428ff13e3d2467a1e8ef96e3b3156dc55210d1b53 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:14:02.855Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:14:02.929Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-07T09:14:03.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:14:03.912Z] + ls -al . [2024-11-07T09:14:03.912Z] total 252 [2024-11-07T09:14:03.912Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 09:13 . [2024-11-07T09:14:03.912Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:11 .. [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:11 .dockerignore [2024-11-07T09:14:03.912Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:13 .git [2024-11-07T09:14:03.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:11 .github [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 09:11 .gitignore [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:11 .golangci.yml [2024-11-07T09:14:03.912Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:12 .semver [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 7 09:11 Attribution.txt [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 7 09:11 CHANGELOG.md [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 7 09:11 Dockerfile [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:11 GOVERNANCE.md [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 7 09:11 Jenkinsfile [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:11 LICENSE [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 2553 Nov 7 09:11 Makefile [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 09:11 OWNERS.md [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 7 09:11 README.md [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:12 VERSION [2024-11-07T09:14:03.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:11 bin [2024-11-07T09:14:03.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:11 cmd [2024-11-07T09:14:03.912Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 7 09:13 coverage.out [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 7 09:11 go.mod [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 7 09:11 go.sum [2024-11-07T09:14:03.912Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:11 internal [2024-11-07T09:14:03.912Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:11 mock [2024-11-07T09:14:03.912Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 09:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:14:04.353Z] + 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=ed01671be0093de828f24a3204fbac8305532b8d --label arch=amd64 --label version=0.0.0 . [2024-11-07T09:14:04.353Z] Sending build context to Docker daemon 21MB [2024-11-07T09:14:04.353Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:14:04.353Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-07T09:14:04.353Z] ---> 9f0f0c0cc4cb [2024-11-07T09:14:04.353Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:14:04.920Z] ---> Running in 59d18bd3ac72 [2024-11-07T09:14:05.177Z] Removing intermediate container 59d18bd3ac72 [2024-11-07T09:14:05.177Z] ---> 6a0b2d219f4b [2024-11-07T09:14:05.177Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:14:05.177Z] ---> Running in e339c8293e5e [2024-11-07T09:14:05.177Z] Removing intermediate container e339c8293e5e [2024-11-07T09:14:05.177Z] ---> ed3016ee5eb7 [2024-11-07T09:14:05.177Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:14:05.177Z] ---> Running in af6b1080514d [2024-11-07T09:14:05.177Z] Removing intermediate container af6b1080514d [2024-11-07T09:14:05.177Z] ---> de837eec2eb1 [2024-11-07T09:14:05.177Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:14:05.177Z] ---> Running in 17bc70fffa46 [2024-11-07T09:14:05.435Z] Removing intermediate container 17bc70fffa46 [2024-11-07T09:14:05.435Z] ---> 89f8f83b9063 [2024-11-07T09:14:05.435Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:14:05.435Z] ---> Running in b20a4bd29cb9 [2024-11-07T09:14:05.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:05.694Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:05.954Z] OK: 250 MiB in 58 packages [2024-11-07T09:14:06.212Z] Removing intermediate container b20a4bd29cb9 [2024-11-07T09:14:06.212Z] ---> a937a29b3ef0 [2024-11-07T09:14:06.212Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-07T09:14:06.212Z] ---> Running in 9895d3fb0b31 [2024-11-07T09:14:06.471Z] Removing intermediate container 9895d3fb0b31 [2024-11-07T09:14:06.471Z] ---> b4dc698ce12f [2024-11-07T09:14:06.471Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-07T09:14:06.471Z] ---> 2d607f90c19b [2024-11-07T09:14:06.471Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:14:06.471Z] ---> Running in 758bc23eaf1f [2024-11-07T09:14:07.764Z] Removing intermediate container 758bc23eaf1f [2024-11-07T09:14:07.764Z] ---> 5a3df941bf58 [2024-11-07T09:14:07.764Z] Step 11/25 : COPY . . [2024-11-07T09:14:08.022Z] ---> 74661dbc7572 [2024-11-07T09:14:08.022Z] Step 12/25 : RUN $MAKE [2024-11-07T09:14:08.281Z] ---> Running in f876ddd30187 [2024-11-07T09:14:08.540Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-07T09:14:13.084Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24735 in /w/workspace/gexfoundry_device-mqtt-go_PR-708 [Pipeline] { [Pipeline] ws [2024-11-07T09:14:13.161Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-11-07T09:14:13.255Z] The recommended git tool is: git [2024-11-07T09:14:21.629Z] using credential edgex-jenkins-ssh [2024-11-07T09:14:21.651Z] Cloning the remote Git repository [2024-11-07T09:14:21.712Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-07T09:14:21.853Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-11-07T09:14:22.246Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-07T09:14:22.248Z] > git --version # timeout=10 [2024-11-07T09:14:22.378Z] > git --version # 'git version 2.25.1' [2024-11-07T09:14:22.385Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:14:22.597Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:14:25.438Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-07T09:14:25.488Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-07T09:14:26.733Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-07T09:14:26.777Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-07T09:14:26.778Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:14:26.802Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/708/head:refs/remotes/origin/PR-708 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-07T09:14:27.383Z] Merging remotes/origin/main commit 6320066227888112c6c0a181794f3c9cc54daea1 into PR head commit ed01671be0093de828f24a3204fbac8305532b8d [2024-11-07T09:14:27.684Z] Merge succeeded, producing ed01671be0093de828f24a3204fbac8305532b8d [2024-11-07T09:14:27.685Z] Checking out Revision ed01671be0093de828f24a3204fbac8305532b8d (PR-708) [2024-11-07T09:14:27.399Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:14:27.478Z] > git checkout -f ed01671be0093de828f24a3204fbac8305532b8d # timeout=10 [2024-11-07T09:14:27.566Z] > git remote # timeout=10 [2024-11-07T09:14:27.587Z] > git config --get remote.origin.url # timeout=10 [2024-11-07T09:14:27.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-07T09:14:27.634Z] > git merge 6320066227888112c6c0a181794f3c9cc54daea1 # timeout=10 [2024-11-07T09:14:27.663Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-07T09:14:27.688Z] > git config core.sparsecheckout # timeout=10 [2024-11-07T09:14:27.703Z] > git checkout -f ed01671be0093de828f24a3204fbac8305532b8d # timeout=10 [2024-11-07T09:14:31.358Z] Commit message: "fix: Only one ldflags flag is allowed" [2024-11-07T09:14:31.410Z] > git --version # timeout=10 [2024-11-07T09:14:31.420Z] > git --version # 'git version 2.25.1' [2024-11-07T09:14:31.493Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:14:33.287Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-07T09:14:33.287Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:14:33.287Z] Dload Upload Total Spent Left Speed [2024-11-07T09:14:33.287Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 54820 0 --:--:-- --:--:-- --:--:-- 55055 [Pipeline] sh [2024-11-07T09:14:33.650Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-07T09:14:34.007Z] + sudo tee /etc/docker/daemon.new [2024-11-07T09:14:34.007Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-07T09:14:34.007Z] { [2024-11-07T09:14:34.007Z] "registry-mirrors": [ [2024-11-07T09:14:34.007Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-07T09:14:34.007Z] ], [2024-11-07T09:14:34.007Z] "bip": "10.250.0.254/24", [2024-11-07T09:14:34.007Z] "hosts": [ [2024-11-07T09:14:34.007Z] "tcp://0.0.0.0:5555", [2024-11-07T09:14:34.007Z] "unix:///var/run/docker.sock" [2024-11-07T09:14:34.007Z] ], [2024-11-07T09:14:34.007Z] "mtu": 1458, [2024-11-07T09:14:34.007Z] "selinux-enabled": true, [2024-11-07T09:14:34.007Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-07T09:14:34.007Z] } [Pipeline] sh [2024-11-07T09:14:34.365Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-07T09:14:34.727Z] + sudo service docker restart [2024-11-07T09:14:40.599Z] Removing intermediate container f876ddd30187 [2024-11-07T09:14:40.600Z] ---> 20bd360cf5b6 [2024-11-07T09:14:40.600Z] Step 13/25 : FROM alpine:3.20 [2024-11-07T09:14:40.600Z] 3.20: Pulling from library/alpine [2024-11-07T09:14:40.600Z] 43c4264eed91: Already exists [2024-11-07T09:14:40.600Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:14:40.600Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:14:40.600Z] ---> 91ef0af61f39 [2024-11-07T09:14:40.600Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-07T09:14:40.600Z] ---> Running in 19929fc505bb [2024-11-07T09:14:40.600Z] Removing intermediate container 19929fc505bb [2024-11-07T09:14:40.600Z] ---> b6c53131834e [2024-11-07T09:14:40.600Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:14:40.600Z] ---> Running in e7b115548de6 [2024-11-07T09:14:40.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:40.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:40.860Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:14:40.860Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:14:40.860Z] OK: 8 MiB in 15 packages [2024-11-07T09:14:41.119Z] Removing intermediate container e7b115548de6 [2024-11-07T09:14:41.119Z] ---> b4fa960f6301 [2024-11-07T09:14:41.119Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-07T09:14:41.119Z] ---> Running in c7656c0d1add [2024-11-07T09:14:41.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:41.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:41.950Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:14:41.950Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:14:41.950Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:14:42.210Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:14:42.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:42.210Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-07T09:14:42.470Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:14:42.470Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:14:42.470Z] OK: 8 MiB in 15 packages [2024-11-07T09:14:43.038Z] Removing intermediate container c7656c0d1add [2024-11-07T09:14:43.038Z] ---> 313009597e98 [2024-11-07T09:14:43.038Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-07T09:14:46.327Z] ---> 636041f33104 [2024-11-07T09:14:46.328Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-07T09:14:46.587Z] ---> 7ded790d971b [2024-11-07T09:14:46.587Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-07T09:14:47.524Z] ---> c73d9d1cd9f1 [2024-11-07T09:14:47.524Z] Step 20/25 : EXPOSE 59982 [2024-11-07T09:14:48.094Z] ---> Running in 4c52ee8e6c1f [2024-11-07T09:14:48.663Z] Removing intermediate container 4c52ee8e6c1f [2024-11-07T09:14:48.663Z] ---> 3a66db525119 [2024-11-07T09:14:48.663Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-07T09:14:48.923Z] ---> Running in 760ade7be261 [2024-11-07T09:14:49.183Z] Removing intermediate container 760ade7be261 [2024-11-07T09:14:49.183Z] ---> 5aadc96fc692 [2024-11-07T09:14:49.183Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:14:49.442Z] ---> Running in 9a8468343d89 [2024-11-07T09:14:49.442Z] Removing intermediate container 9a8468343d89 [2024-11-07T09:14:49.442Z] ---> 7b7ac49c4f83 [2024-11-07T09:14:49.442Z] Step 23/25 : LABEL arch=amd64 [2024-11-07T09:14:49.442Z] ---> Running in 13486f60d64a [2024-11-07T09:14:49.701Z] Removing intermediate container 13486f60d64a [2024-11-07T09:14:49.701Z] ---> b77eac1f91a7 [2024-11-07T09:14:49.701Z] Step 24/25 : LABEL git_sha=ed01671be0093de828f24a3204fbac8305532b8d [2024-11-07T09:14:49.701Z] ---> Running in 898b267eb72d [2024-11-07T09:14:49.701Z] Removing intermediate container 898b267eb72d [2024-11-07T09:14:49.701Z] ---> f58327fbd6ae [2024-11-07T09:14:49.701Z] Step 25/25 : LABEL version=0.0.0 [2024-11-07T09:14:49.701Z] ---> Running in 0d12009978da [2024-11-07T09:14:49.701Z] Removing intermediate container 0d12009978da [2024-11-07T09:14:49.701Z] ---> a739b8cd78d3 [2024-11-07T09:14:49.701Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:14:49.960Z] Successfully built a739b8cd78d3 [2024-11-07T09:14:49.960Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:14:50.988Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:14:50.988Z] [2024-11-07T09:14:50.988Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:14:51.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:14:51.392Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-07T09:14:51.392Z] 5eb5b503b376: Pulling fs layer [2024-11-07T09:14:51.392Z] 5c69ac0246d0: Pulling fs layer [2024-11-07T09:14:51.392Z] ec43610c2a17: Pulling fs layer [2024-11-07T09:14:51.392Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-07T09:14:51.392Z] 33b1e0a273af: Pulling fs layer [2024-11-07T09:14:51.392Z] 5d3b04190fa2: Pulling fs layer [2024-11-07T09:14:51.392Z] 2f39f015ded8: Pulling fs layer [2024-11-07T09:14:51.392Z] 2f39f015ded8: Waiting [2024-11-07T09:14:51.392Z] 5d3b04190fa2: Waiting [2024-11-07T09:14:51.392Z] 3a2ae6a8a46f: Waiting [2024-11-07T09:14:51.392Z] 33b1e0a273af: Waiting [2024-11-07T09:14:51.392Z] 5c69ac0246d0: Download complete [2024-11-07T09:14:51.392Z] 3a2ae6a8a46f: Download complete [2024-11-07T09:14:51.392Z] 33b1e0a273af: Verifying Checksum [2024-11-07T09:14:51.392Z] 33b1e0a273af: Download complete [2024-11-07T09:14:51.392Z] 5d3b04190fa2: Verifying Checksum [2024-11-07T09:14:51.392Z] 5d3b04190fa2: Download complete [2024-11-07T09:14:51.392Z] ec43610c2a17: Verifying Checksum [2024-11-07T09:14:51.392Z] ec43610c2a17: Download complete [2024-11-07T09:14:51.651Z] 5eb5b503b376: Verifying Checksum [2024-11-07T09:14:51.651Z] 5eb5b503b376: Download complete [2024-11-07T09:14:52.217Z] 2f39f015ded8: Verifying Checksum [2024-11-07T09:14:52.217Z] 2f39f015ded8: Download complete [2024-11-07T09:14:52.804Z] 5eb5b503b376: Pull complete [2024-11-07T09:14:52.804Z] 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:14:53.052Z] provisioning config files... [2024-11-07T09:14:53.061Z] ec43610c2a17: Pull complete [2024-11-07T09:14:53.080Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config12864114585234362419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:14:53.340Z] 3a2ae6a8a46f: Pull complete [2024-11-07T09:14:53.598Z] 33b1e0a273af: Pull complete [2024-11-07T09:14:53.598Z] 5d3b04190fa2: Pull complete [2024-11-07T09:14:53.601Z] ---> ****-login.sh [2024-11-07T09:14:53.601Z] nexus3.edgexfoundry.org:10001 [2024-11-07T09:14:54.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:54.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:54.191Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:54.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:54.191Z] [2024-11-07T09:14:54.191Z] Login Succeeded [2024-11-07T09:14:54.191Z] nexus3.edgexfoundry.org:10002 [2024-11-07T09:14:54.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:54.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:54.731Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:54.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:54.731Z] [2024-11-07T09:14:54.731Z] Login Succeeded [2024-11-07T09:14:54.731Z] nexus3.edgexfoundry.org:10003 [2024-11-07T09:14:55.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:55.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:55.007Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:55.008Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:55.008Z] [2024-11-07T09:14:55.008Z] Login Succeeded [2024-11-07T09:14:55.008Z] nexus3.edgexfoundry.org:10004 [2024-11-07T09:14:55.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:55.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:55.558Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:55.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:55.558Z] [2024-11-07T09:14:55.558Z] Login Succeeded [2024-11-07T09:14:55.558Z] ****.io [2024-11-07T09:14:55.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-07T09:14:56.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-07T09:14:56.099Z] Configure a credential helper to remove this warning. See [2024-11-07T09:14:56.099Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-07T09:14:56.099Z] [2024-11-07T09:14:56.099Z] Login Succeeded [2024-11-07T09:14:56.099Z] ---> ****-login.sh ends [Pipeline] } [2024-11-07T09:14:56.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-07T09:14:56.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:14:56.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-07T09:14:56.711Z] ========================================================= [2024-11-07T09:14:56.711Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-07T09:14:56.711Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:14:57.265Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-07T09:14:57.538Z] Sending build context to Docker daemon 10.61MB [2024-11-07T09:14:57.797Z] 2f39f015ded8: Pull complete [2024-11-07T09:14:57.797Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-07T09:14:57.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:14:57.797Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:14:57.806Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:14:57.807Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-07T09:14:57.807Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-07T09:14:57.807Z] cf04c63912e1: Pulling fs layer [2024-11-07T09:14:57.807Z] 55b35a11ae5e: Pulling fs layer [2024-11-07T09:14:57.807Z] a37a00ec5f00: Pulling fs layer [2024-11-07T09:14:57.807Z] 50b3750afda1: Pulling fs layer [2024-11-07T09:14:57.807Z] 4f4fb700ef54: Pulling fs layer [2024-11-07T09:14:57.807Z] 80978eb59214: Pulling fs layer [2024-11-07T09:14:57.807Z] 50b3750afda1: Waiting [2024-11-07T09:14:57.807Z] 4f4fb700ef54: Waiting [2024-11-07T09:14:57.807Z] 80978eb59214: Waiting [2024-11-07T09:14:57.807Z] c9f46d7d2bd2: Pulling fs layer [2024-11-07T09:14:57.807Z] c5a475d317c9: Pulling fs layer [2024-11-07T09:14:57.807Z] c9f46d7d2bd2: Waiting [2024-11-07T09:14:57.807Z] c5a475d317c9: Waiting [2024-11-07T09:14:57.807Z] 55b35a11ae5e: Download complete [2024-11-07T09:14:57.807Z] 50b3750afda1: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:14:58.073Z] prd-ubuntu20.04-docker-8c-8g-24733 does not seem to be running inside a container [2024-11-07T09:14:58.088Z] 4f4fb700ef54: Download complete [2024-11-07T09:14:58.088Z] 80978eb59214: Verifying Checksum [2024-11-07T09:14:58.088Z] 80978eb59214: Download complete [2024-11-07T09:14:58.088Z] cf04c63912e1: Verifying Checksum [2024-11-07T09:14:58.088Z] cf04c63912e1: Download complete [2024-11-07T09:14:58.102Z] $ 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-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:14:58.680Z] c5a475d317c9: Verifying Checksum [2024-11-07T09:14:58.680Z] c5a475d317c9: Download complete [2024-11-07T09:14:58.950Z] cf04c63912e1: Pull complete [2024-11-07T09:14:59.538Z] 55b35a11ae5e: Pull complete [2024-11-07T09:15:00.125Z] a37a00ec5f00: Verifying Checksum [2024-11-07T09:15:00.125Z] a37a00ec5f00: Download complete [2024-11-07T09:15:00.721Z] c9f46d7d2bd2: Verifying Checksum [2024-11-07T09:15:00.721Z] c9f46d7d2bd2: Download complete [2024-11-07T09:15:01.449Z] $ docker top 3b0bcbd5848a980cfe1908beb1c6e5d666625ca63c26df44b3bfe52e1a9be5a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:15:02.024Z] ---> job-cost.sh [2024-11-07T09:15:02.024Z] lf-activate-venv: SKIPPING [2024-11-07T09:15:02.024Z] INFO: No Stack... [2024-11-07T09:15:02.283Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:15:02.849Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:15:03.166Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives/cost.csv [2024-11-07T09:15:03.166Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:15:03.216Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-1-stack-cost] [2024-11-07T09:15:03.224Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-708-1-stack-cost] did not exist. Created. [2024-11-07T09:15:03.231Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:15:03.644Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-07T09:15:03.699Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:15:03.737Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:15:03.830Z] $ docker stop --time=1 3b0bcbd5848a980cfe1908beb1c6e5d666625ca63c26df44b3bfe52e1a9be5a3 [2024-11-07T09:15:04.995Z] $ docker rm -f --volumes 3b0bcbd5848a980cfe1908beb1c6e5d666625ca63c26df44b3bfe52e1a9be5a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-07T09:15:15.734Z] a37a00ec5f00: Pull complete [2024-11-07T09:15:15.734Z] 50b3750afda1: Pull complete [2024-11-07T09:15:15.734Z] 4f4fb700ef54: Pull complete [2024-11-07T09:15:15.734Z] 80978eb59214: Pull complete [2024-11-07T09:15:22.390Z] c9f46d7d2bd2: Pull complete [2024-11-07T09:15:23.797Z] c5a475d317c9: Pull complete [2024-11-07T09:15:23.797Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-07T09:15:23.797Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-07T09:15:23.797Z] ---> be29e6b0f0d4 [2024-11-07T09:15:23.797Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:15:25.197Z] ---> Running in bf1b9408912c [2024-11-07T09:15:25.477Z] Removing intermediate container bf1b9408912c [2024-11-07T09:15:25.477Z] ---> db6bd14f1fe4 [2024-11-07T09:15:25.477Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:15:25.745Z] ---> Running in 64038de7915d [2024-11-07T09:15:26.011Z] Removing intermediate container 64038de7915d [2024-11-07T09:15:26.011Z] ---> fa1e694e553b [2024-11-07T09:15:26.011Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:15:26.011Z] ---> Running in 460a445c2fb7 [2024-11-07T09:15:26.276Z] Removing intermediate container 460a445c2fb7 [2024-11-07T09:15:26.276Z] ---> 1f448cafc6db [2024-11-07T09:15:26.276Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:15:26.276Z] ---> Running in 3cb4356bb065 [2024-11-07T09:15:26.543Z] Removing intermediate container 3cb4356bb065 [2024-11-07T09:15:26.543Z] ---> 54e4fe5e1f7d [2024-11-07T09:15:26.543Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:15:26.814Z] ---> Running in d6426fb519c2 [2024-11-07T09:15:28.764Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:15:29.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:15:30.754Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-07T09:15:30.754Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-07T09:15:30.754Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-07T09:15:30.754Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-07T09:15:30.754Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:15:30.754Z] OK: 242 MiB in 58 packages [2024-11-07T09:15:31.729Z] Removing intermediate container d6426fb519c2 [2024-11-07T09:15:31.729Z] ---> a749b13b3abe [2024-11-07T09:15:31.729Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-07T09:15:31.729Z] ---> Running in 19cc8099126d [2024-11-07T09:15:31.996Z] Removing intermediate container 19cc8099126d [2024-11-07T09:15:31.996Z] ---> e054f34452db [2024-11-07T09:15:31.996Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-07T09:15:32.577Z] ---> 1fc8b1541e15 [2024-11-07T09:15:32.577Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:15:32.577Z] ---> Running in 9b9d1a97ac8b [2024-11-07T09:17:24.302Z] Removing intermediate container 9b9d1a97ac8b [2024-11-07T09:17:24.302Z] ---> bffcbf5e68f1 [2024-11-07T09:17:24.302Z] Step 11/12 : COPY . . [2024-11-07T09:17:24.302Z] ---> b2cafbdaa014 [2024-11-07T09:17:24.302Z] Step 12/12 : RUN $MAKE [2024-11-07T09:17:24.302Z] ---> Running in 4d035418758f [2024-11-07T09:17:24.302Z] noop [2024-11-07T09:17:24.302Z] Removing intermediate container 4d035418758f [2024-11-07T09:17:24.302Z] ---> 11f6f6861903 [2024-11-07T09:17:24.302Z] Successfully built 11f6f6861903 [2024-11-07T09:17:24.302Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:17:24.840Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:17:24.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:17:25.168Z] prd-ubuntu20.04-docker-arm64-4c-16g-24735 does not seem to be running inside a container [2024-11-07T09:17:25.243Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:17:26.600Z] $ docker top 3341117202d86703e2a44e1ec0882dde7ee167f89e77b2460077894f6e21434a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:17:27.558Z] + go version [2024-11-07T09:17:27.558Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-07T09:17:27.596Z] $ docker stop --time=1 3341117202d86703e2a44e1ec0882dde7ee167f89e77b2460077894f6e21434a [2024-11-07T09:17:29.283Z] $ docker rm -f --volumes 3341117202d86703e2a44e1ec0882dde7ee167f89e77b2460077894f6e21434a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:17:30.289Z] + docker inspect -f . ci-base-image-arm64 [2024-11-07T09:17:30.289Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:17:30.589Z] prd-ubuntu20.04-docker-arm64-4c-16g-24735 does not seem to be running inside a container [2024-11-07T09:17:30.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-07T09:17:31.970Z] $ docker top 70d6cfba619ff051e57d628f90789f0c7caeeb6777b1e18b87838f634378d5fd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:17:32.888Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-07T09:17:33.664Z] + make test [2024-11-07T09:17:33.665Z] go test ./... -coverprofile=coverage.out ./... [2024-11-07T09:17:40.397Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-07T09:21:47.490Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-07T09:21:47.490Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-07T09:21:47.490Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.058s coverage: 22.8% of statements [2024-11-07T09:21:47.490Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-07T09:21:47.490Z] go vet ./... [2024-11-07T09:22:44.036Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-07T09:22:44.036Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-07T09:22:44.036Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-07T09:22:44.079Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-07T09:22:44.122Z] $ docker stop --time=1 70d6cfba619ff051e57d628f90789f0c7caeeb6777b1e18b87838f634378d5fd [2024-11-07T09:22:46.316Z] $ docker rm -f --volumes 70d6cfba619ff051e57d628f90789f0c7caeeb6777b1e18b87838f634378d5fd [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-07T09:22:48.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-07T09:22:48.506Z] Warning: overwriting stash ‘coverage-report’ [2024-11-07T09:22:49.286Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-07T09:22:49.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-07T09:22:50.363Z] + ls -al . [2024-11-07T09:22:50.363Z] total 248 [2024-11-07T09:22:50.363Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:17 . [2024-11-07T09:22:50.363Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:14 .. [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:14 .dockerignore [2024-11-07T09:22:50.363Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:14 .git [2024-11-07T09:22:50.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:14 .github [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 7 09:14 .gitignore [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 09:14 .golangci.yml [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 7 09:14 Attribution.txt [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 7 09:14 CHANGELOG.md [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 7 09:14 Dockerfile [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:14 GOVERNANCE.md [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 7 09:14 Jenkinsfile [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 09:14 LICENSE [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 2553 Nov 7 09:14 Makefile [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 09:14 OWNERS.md [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 7 09:14 README.md [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:12 VERSION [2024-11-07T09:22:50.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:14 bin [2024-11-07T09:22:50.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:14 cmd [2024-11-07T09:22:50.363Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 7 09:21 coverage.out [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 6370 Nov 7 09:14 go.mod [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 7 09:14 go.sum [2024-11-07T09:22:50.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:14 internal [2024-11-07T09:22:50.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:14 mock [2024-11-07T09:22:50.363Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 09:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:22:50.860Z] + 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=ed01671be0093de828f24a3204fbac8305532b8d --label arch=arm64 --label version=0.0.0 . [2024-11-07T09:22:51.457Z] Sending build context to Docker daemon 10.63MB [2024-11-07T09:22:51.457Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-07T09:22:51.457Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-07T09:22:51.457Z] ---> 11f6f6861903 [2024-11-07T09:22:51.457Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-07T09:22:52.432Z] ---> Running in d695d2e8d229 [2024-11-07T09:22:52.704Z] Removing intermediate container d695d2e8d229 [2024-11-07T09:22:52.704Z] ---> a2ff0f49c461 [2024-11-07T09:22:52.704Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-07T09:22:52.704Z] ---> Running in a6fb17074c31 [2024-11-07T09:22:53.297Z] Removing intermediate container a6fb17074c31 [2024-11-07T09:22:53.297Z] ---> e9099a597e86 [2024-11-07T09:22:53.298Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-07T09:22:53.298Z] ---> Running in d1ec3e372bbd [2024-11-07T09:22:53.569Z] Removing intermediate container d1ec3e372bbd [2024-11-07T09:22:53.569Z] ---> 8b088651b6c8 [2024-11-07T09:22:53.569Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-07T09:22:53.840Z] ---> Running in 2cdb89f1ed30 [2024-11-07T09:22:54.113Z] Removing intermediate container 2cdb89f1ed30 [2024-11-07T09:22:54.113Z] ---> 7692a4de9cdb [2024-11-07T09:22:54.113Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-07T09:22:54.384Z] ---> Running in ff7b796cbb47 [2024-11-07T09:22:55.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:22:56.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:22:58.022Z] OK: 242 MiB in 58 packages [2024-11-07T09:22:58.986Z] Removing intermediate container ff7b796cbb47 [2024-11-07T09:22:58.986Z] ---> b98cc4aa4663 [2024-11-07T09:22:58.986Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-07T09:22:59.263Z] ---> Running in 3a2eef3bd1f1 [2024-11-07T09:22:59.536Z] Removing intermediate container 3a2eef3bd1f1 [2024-11-07T09:22:59.536Z] ---> 21e868128928 [2024-11-07T09:22:59.536Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-07T09:23:00.127Z] ---> c30cda5e5743 [2024-11-07T09:23:00.127Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-07T09:23:00.127Z] ---> Running in 220ce3c61fbe [2024-11-07T09:23:02.747Z] Removing intermediate container 220ce3c61fbe [2024-11-07T09:23:02.747Z] ---> 665ce8857d67 [2024-11-07T09:23:02.747Z] Step 11/25 : COPY . . [2024-11-07T09:23:04.171Z] ---> e8fa6bd06f0b [2024-11-07T09:23:04.171Z] Step 12/25 : RUN $MAKE [2024-11-07T09:23:04.171Z] ---> Running in 13274a40d1d8 [2024-11-07T09:23:05.582Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.2 " -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-07T09:27:57.651Z] Removing intermediate container 13274a40d1d8 [2024-11-07T09:27:57.651Z] ---> 4a8283fb1cce [2024-11-07T09:27:57.651Z] Step 13/25 : FROM alpine:3.20 [2024-11-07T09:27:57.651Z] 3.20: Pulling from library/alpine [2024-11-07T09:27:57.651Z] cf04c63912e1: Already exists [2024-11-07T09:27:57.651Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-07T09:27:57.651Z] Status: Downloaded newer image for alpine:3.20 [2024-11-07T09:27:57.651Z] ---> c157a85ed455 [2024-11-07T09:27:57.651Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-07T09:27:57.651Z] ---> Running in e6aeb65e5c4f [2024-11-07T09:27:57.651Z] Removing intermediate container e6aeb65e5c4f [2024-11-07T09:27:57.651Z] ---> 7ebe66a87aae [2024-11-07T09:27:57.651Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-07T09:27:57.651Z] ---> Running in 0cf3defe038a [2024-11-07T09:27:57.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:27:57.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:27:57.651Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-07T09:27:57.651Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:27:57.651Z] OK: 9 MiB in 15 packages [2024-11-07T09:27:57.651Z] Removing intermediate container 0cf3defe038a [2024-11-07T09:27:57.651Z] ---> f66779eec812 [2024-11-07T09:27:57.651Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-07T09:27:57.651Z] ---> Running in 7060382286e9 [2024-11-07T09:27:57.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:27:57.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:27:58.653Z] Upgrading critical system libraries and apk-tools: [2024-11-07T09:27:58.653Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-07T09:27:58.653Z] Executing busybox-1.36.1-r29.trigger [2024-11-07T09:27:58.930Z] Continuing the upgrade transaction with new apk-tools: [2024-11-07T09:27:58.930Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-07T09:27:59.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-07T09:28:02.174Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:28:02.174Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-07T09:28:02.174Z] OK: 9 MiB in 15 packages [2024-11-07T09:28:03.620Z] Removing intermediate container 7060382286e9 [2024-11-07T09:28:03.620Z] ---> 30df4e37d01c [2024-11-07T09:28:03.620Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-07T09:28:06.226Z] ---> 815cbef386a0 [2024-11-07T09:28:06.226Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-07T09:28:06.809Z] ---> 4d1104dd9463 [2024-11-07T09:28:06.809Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-07T09:28:07.395Z] ---> 4f2f88cead8c [2024-11-07T09:28:07.395Z] Step 20/25 : EXPOSE 59982 [2024-11-07T09:28:07.395Z] ---> Running in 5eef87220d5b [2024-11-07T09:28:07.980Z] Removing intermediate container 5eef87220d5b [2024-11-07T09:28:07.980Z] ---> 5b47ee60debe [2024-11-07T09:28:07.980Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-07T09:28:07.980Z] ---> Running in ee09810fee2f [2024-11-07T09:28:08.248Z] Removing intermediate container ee09810fee2f [2024-11-07T09:28:08.248Z] ---> 12c1f3e019db [2024-11-07T09:28:08.248Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-07T09:28:08.515Z] ---> Running in 0d64aee33dc4 [2024-11-07T09:28:08.785Z] Removing intermediate container 0d64aee33dc4 [2024-11-07T09:28:08.785Z] ---> 0938b438d4d2 [2024-11-07T09:28:08.785Z] Step 23/25 : LABEL arch=arm64 [2024-11-07T09:28:08.785Z] ---> Running in 94bfe2df9b23 [2024-11-07T09:28:09.380Z] Removing intermediate container 94bfe2df9b23 [2024-11-07T09:28:09.380Z] ---> 698454dadeae [2024-11-07T09:28:09.380Z] Step 24/25 : LABEL git_sha=ed01671be0093de828f24a3204fbac8305532b8d [2024-11-07T09:28:09.380Z] ---> Running in bddc80ac54a9 [2024-11-07T09:28:09.656Z] Removing intermediate container bddc80ac54a9 [2024-11-07T09:28:09.656Z] ---> 0578b6f52f4d [2024-11-07T09:28:09.656Z] Step 25/25 : LABEL version=0.0.0 [2024-11-07T09:28:09.656Z] ---> Running in 127aa369297f [2024-11-07T09:28:09.929Z] Removing intermediate container 127aa369297f [2024-11-07T09:28:09.929Z] ---> 49a6a494d2ce [2024-11-07T09:28:09.929Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-07T09:28:10.207Z] Successfully built 49a6a494d2ce [2024-11-07T09:28:10.207Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:28:11.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:28:11.197Z] [2024-11-07T09:28:11.197Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:28:11.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:28:11.628Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-07T09:28:11.628Z] 8998bd30e6a1: Pulling fs layer [2024-11-07T09:28:11.628Z] 04944245beec: Pulling fs layer [2024-11-07T09:28:11.628Z] 699f458cf7ca: Pulling fs layer [2024-11-07T09:28:11.628Z] 765212b225bb: Pulling fs layer [2024-11-07T09:28:11.628Z] f23df028b6ca: Pulling fs layer [2024-11-07T09:28:11.628Z] d65c8cfc05b1: Pulling fs layer [2024-11-07T09:28:11.628Z] 2437ff75d9bd: Pulling fs layer [2024-11-07T09:28:11.628Z] 765212b225bb: Waiting [2024-11-07T09:28:11.628Z] d65c8cfc05b1: Waiting [2024-11-07T09:28:11.628Z] 2437ff75d9bd: Waiting [2024-11-07T09:28:11.628Z] f23df028b6ca: Waiting [2024-11-07T09:28:11.896Z] 04944245beec: Verifying Checksum [2024-11-07T09:28:11.896Z] 04944245beec: Download complete [2024-11-07T09:28:11.896Z] 765212b225bb: Verifying Checksum [2024-11-07T09:28:11.896Z] 765212b225bb: Download complete [2024-11-07T09:28:11.896Z] f23df028b6ca: Download complete [2024-11-07T09:28:11.896Z] d65c8cfc05b1: Verifying Checksum [2024-11-07T09:28:11.896Z] d65c8cfc05b1: Download complete [2024-11-07T09:28:12.164Z] 699f458cf7ca: Verifying Checksum [2024-11-07T09:28:12.164Z] 699f458cf7ca: Download complete [2024-11-07T09:28:12.430Z] 8998bd30e6a1: Verifying Checksum [2024-11-07T09:28:12.430Z] 8998bd30e6a1: Download complete [2024-11-07T09:28:15.142Z] 2437ff75d9bd: Verifying Checksum [2024-11-07T09:28:15.142Z] 2437ff75d9bd: Download complete [2024-11-07T09:28:18.550Z] 8998bd30e6a1: Pull complete [2024-11-07T09:28:18.550Z] 04944245beec: Pull complete [2024-11-07T09:28:20.503Z] 699f458cf7ca: Pull complete [2024-11-07T09:28:20.503Z] 765212b225bb: Pull complete [2024-11-07T09:28:21.481Z] f23df028b6ca: Pull complete [2024-11-07T09:28:21.755Z] d65c8cfc05b1: Pull complete [2024-11-07T09:28:40.063Z] 2437ff75d9bd: Pull complete [2024-11-07T09:28:40.063Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-07T09:28:40.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-07T09:28:40.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:28:40.473Z] prd-ubuntu20.04-docker-arm64-4c-16g-24735 does not seem to be running inside a container [2024-11-07T09:28:40.593Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-07T09:28:44.107Z] $ docker top 65a50d874f958657a55d8b50359163140202c92a91fa1ee00febf8eedcae7720 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:28:45.140Z] ---> job-cost.sh [2024-11-07T09:28:45.141Z] lf-activate-venv: SKIPPING [2024-11-07T09:28:45.141Z] INFO: No Stack... [2024-11-07T09:28:45.727Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-07T09:28:46.311Z] INFO: Archiving Costs [Pipeline] sh [2024-11-07T09:28:46.988Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-11-07T09:28:46.988Z] + cut -d, -f6 [Pipeline] lock [2024-11-07T09:28:47.051Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-1-stack-cost] [2024-11-07T09:28:47.058Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-708-1-stack-cost] did not exist. Created. [2024-11-07T09:28:47.064Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-07T09:28:47.814Z] /w/workspace/device-mqtt-go/1@tmp/durable-2f21b6ee/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-07T09:28:48.498Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-07T09:28:48.542Z] Warning: overwriting stash ‘stack-cost’ [2024-11-07T09:28:48.604Z] Stashed 1 file(s) [Pipeline] } [2024-11-07T09:28:48.625Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-708-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-07T09:28:48.712Z] $ docker stop --time=1 65a50d874f958657a55d8b50359163140202c92a91fa1ee00febf8eedcae7720 [2024-11-07T09:28:50.273Z] $ docker rm -f --volumes 65a50d874f958657a55d8b50359163140202c92a91fa1ee00febf8eedcae7720 [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-11-07T09:28:51.413Z] provisioning config files... [2024-11-07T09:28:51.422Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/config15286409393680037092tmp [Pipeline] { [Pipeline] sh [2024-11-07T09:28:51.795Z] + set +x [2024-11-07T09:28:51.795Z] + curl -s https://codecov.io/bash [2024-11-07T09:28:51.795Z] + bash -s -- [2024-11-07T09:28:51.795Z] [2024-11-07T09:28:51.795Z] _____ _ [2024-11-07T09:28:51.795Z] / ____| | | [2024-11-07T09:28:51.795Z] | | ___ __| | ___ ___ _____ __ [2024-11-07T09:28:51.795Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-07T09:28:51.795Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-07T09:28:51.795Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-07T09:28:51.795Z] Bash-1.0.6 [2024-11-07T09:28:51.795Z] [2024-11-07T09:28:51.795Z] [2024-11-07T09:28:51.795Z] ==> git version 2.25.1 found [2024-11-07T09:28:51.795Z] ==> 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-11-07T09:28:51.795Z] Release-Date: 2020-01-08 [2024-11-07T09:28:51.795Z] 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-11-07T09:28:51.795Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-07T09:28:51.795Z] ==> Jenkins CI detected. [2024-11-07T09:28:51.795Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-708 [2024-11-07T09:28:51.795Z] project root: . [2024-11-07T09:28:51.795Z] --> token set from env [2024-11-07T09:28:51.795Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-07T09:28:52.052Z] ==> Running gcov in . (disable via -X gcov) [2024-11-07T09:28:52.052Z] ==> Python coveragepy not found [2024-11-07T09:28:52.052Z] ==> Searching for coverage reports in: [2024-11-07T09:28:52.052Z] + . [2024-11-07T09:28:52.052Z] -> Found 1 reports [2024-11-07T09:28:52.052Z] ==> Detecting git/mercurial file structure [2024-11-07T09:28:52.052Z] ==> Reading reports [2024-11-07T09:28:52.052Z] + ./coverage.out bytes=21039 [2024-11-07T09:28:52.052Z] ==> Appending adjustments [2024-11-07T09:28:52.052Z] https://docs.codecov.io/docs/fixing-reports [2024-11-07T09:28:52.052Z] + Found adjustments [2024-11-07T09:28:52.052Z] ==> Gzipping contents [2024-11-07T09:28:52.052Z] 4.0K /tmp/codecov.Z9LCWi.gz [2024-11-07T09:28:52.052Z] ==> Uploading reports [2024-11-07T09:28:52.052Z] url: https://codecov.io [2024-11-07T09:28:52.052Z] query: branch=PR-708&commit=ed01671be0093de828f24a3204fbac8305532b8d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-708%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=708&job=&cmd_args= [2024-11-07T09:28:52.052Z] -> Pinging Codecov [2024-11-07T09:28:52.053Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-708&commit=ed01671be0093de828f24a3204fbac8305532b8d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-708%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=708&job=&cmd_args= [2024-11-07T09:28:52.311Z] -> Uploading to [2024-11-07T09:28:52.311Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/ed01671be0093de828f24a3204fbac8305532b8d/c68f92da-e7aa-497e-8807-dfcc83eecd4b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T092852Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=f98a5fc67b7c8fc3e0acd33a700723a251e6ccea865712500d955b6f69895c04 [2024-11-07T09:28:52.311Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-07T09:28:52.311Z] Dload Upload Total Spent Left Speed [2024-11-07T09:28:52.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 13491 --:--:-- --:--:-- --:--:-- 13491 [2024-11-07T09:28:52.570Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ed01671be0093de828f24a3204fbac8305532b8d [Pipeline] } [2024-11-07T09:28:52.604Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [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-11-07T09:28:54.689Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives ] [2024-11-07T09:28:54.689Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives [2024-11-07T09:28:54.689Z] total 16 [2024-11-07T09:28:54.689Z] drwxr-xr-x 3 root root 4096 Nov 7 09:15 . [2024-11-07T09:28:54.689Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:15 .. [2024-11-07T09:28:54.689Z] drwxr-xr-x 2 root root 4096 Nov 7 09:15 cost [2024-11-07T09:28:54.689Z] -rw-r--r-- 1 root root 86 Nov 7 09:15 cost.csv [2024-11-07T09:28:54.689Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives [2024-11-07T09:28:54.689Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives [2024-11-07T09:28:54.689Z] total 16 [2024-11-07T09:28:54.689Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:15 . [2024-11-07T09:28:54.689Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:15 .. [2024-11-07T09:28:54.689Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:15 cost [2024-11-07T09:28:54.689Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 09:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:28:55.028Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:28:55.931Z] ---> package-listing.sh [2024-11-07T09:28:55.931Z] ++ facter osfamily [2024-11-07T09:28:55.931Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-07T09:28:56.191Z] + OS_FAMILY=debian [2024-11-07T09:28:56.191Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-708 [2024-11-07T09:28:56.191Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-07T09:28:56.191Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-07T09:28:56.191Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-07T09:28:56.191Z] + PACKAGES=/tmp/packages_start.txt [2024-11-07T09:28:56.191Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-708 ']' [2024-11-07T09:28:56.191Z] + PACKAGES=/tmp/packages_end.txt [2024-11-07T09:28:56.191Z] + case "${OS_FAMILY}" in [2024-11-07T09:28:56.191Z] + dpkg -l [2024-11-07T09:28:56.191Z] + grep '^ii' [2024-11-07T09:28:56.191Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-07T09:28:56.191Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-07T09:28:56.191Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-07T09:28:56.191Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-708 ']' [2024-11-07T09:28:56.191Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives/ [2024-11-07T09:28:56.191Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-708/archives/ [Pipeline] echo [2024-11-07T09:28:56.233Z] 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-708/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-07T09:28:56.531Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-07T09:28:57.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-07T09:28:57.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-07T09:28:57.355Z] prd-ubuntu20.04-docker-8c-8g-24733 does not seem to be running inside a container [2024-11-07T09:28:57.377Z] $ 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-708/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-708 -v /w/workspace/gexfoundry_device-mqtt-go_PR-708:/w/workspace/gexfoundry_device-mqtt-go_PR-708:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-07T09:28:57.582Z] $ docker top 3c12437e729057ed7cf7ab7a04095bc1ebd1a03298082668c49ffe617e139b64 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-07T09:28:57.996Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-07T09:28:58.317Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-07T09:28:58.633Z] + ls /var/log/sa-host [2024-11-07T09:28:58.633Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-07T09:28:58.796Z] provisioning config files... [2024-11-07T09:28:58.805Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-708@tmp/config753999267993858966tmp [Pipeline] { [Pipeline] echo [2024-11-07T09:28:58.877Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:28:59.515Z] ---> create-netrc.sh [Pipeline] } [2024-11-07T09:28:59.548Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:28:59.968Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-07T09:29:00.007Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:29:00.332Z] ---> sudo-logs.sh [2024-11-07T09:29:00.332Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-07T09:29:00.442Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:29:00.768Z] ---> job-cost.sh [2024-11-07T09:29:00.768Z] lf-activate-venv: SKIPPING [2024-11-07T09:29:00.768Z] DEBUG: total: 0.2199999988079071 [2024-11-07T09:29:00.768Z] INFO: Retrieving Stack Cost... [2024-11-07T09:29:01.337Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-07T09:29:01.599Z] INFO: Archiving Costs [Pipeline] echo [2024-11-07T09:29:01.638Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-07T09:29:01.952Z] ---> logs-deploy.sh [2024-11-07T09:29:01.952Z] lf-activate-venv: SKIPPING [2024-11-07T09:29:01.952Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-708/1 [2024-11-07T09:29:01.952Z] INFO: archiving workspace using pattern(s): [2024-11-07T09:29:02.890Z] Archives upload complete. [2024-11-07T09:29:03.149Z] INFO: archiving logs to Nexus