Pull request #705 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 weichou1229 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from b35bedd1f3478e6ee9832909a33ee3e010ee194a+a2016d423b1c70de9c1bd91a5949c98d975b79e0 (effb69cb6b1ffbf82958f3bc771dda31eb5fcc32) 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-ssh1744891683154316387.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-ssh8200854836343682240.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-705/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-705/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5123964541847337141.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-705/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7222978633985024400.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-ssh10611769031382673351.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-705/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-705/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11306747988091878062.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-24085’ Running on prd-ubuntu20.04-docker-8c-8g-24087 in /w/workspace/gexfoundry_device-mqtt-go_PR-705 [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-705 # 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 Merging remotes/origin/main commit a2016d423b1c70de9c1bd91a5949c98d975b79e0 into PR head commit b35bedd1f3478e6ee9832909a33ee3e010ee194a > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/705/head:refs/remotes/origin/PR-705 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b35bedd1f3478e6ee9832909a33ee3e010ee194a # timeout=10 Merge succeeded, producing b35bedd1f3478e6ee9832909a33ee3e010ee194a Checking out Revision b35bedd1f3478e6ee9832909a33ee3e010ee194a (PR-705) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a2016d423b1c70de9c1bd91a5949c98d975b79e0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b35bedd1f3478e6ee9832909a33ee3e010ee194a # timeout=10 Commit message: "refactor!: update module to v4" 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-10-30T06:10:28.027Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-30T06:10:28.247Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-30T06:10:28.376Z] ========================================================= [2024-10-30T06:10:28.376Z] EdgeX Global Pipelines Version Info [2024-10-30T06:10:28.376Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:10:29.135Z] ------------------- [2024-10-30T06:10:29.135Z] stable info: [2024-10-30T06:10:29.135Z] ------------------- [2024-10-30T06:10:29.135Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-30T06:10:29.135Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-30T06:10:29.135Z] Message: update stable to v1.0.265 [2024-10-30T06:10:29.710Z] ------------------- [2024-10-30T06:10:29.710Z] experimental info: [2024-10-30T06:10:29.710Z] ------------------- [2024-10-30T06:10:29.710Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-30T06:10:29.710Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-30T06:10:29.710Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-30T06:10:29.936Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-10-30T06:10:29.995Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-10-30T06:10:30.061Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-30T06:10:30.121Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-30T06:10:30.179Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-30T06:10:30.243Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-30T06:10:30.303Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-30T06:10:30.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-30T06:10:30.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-30T06:10:30.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-30T06:10:30.544Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-30T06:10:30.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-10-30T06:10:30.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-30T06:10:30.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-30T06:10:30.796Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T06:10:30.857Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-30T06:10:30.914Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T06:10:30.978Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-30T06:10:31.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-30T06:10:31.106Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-30T06:10:31.165Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-30T06:10:31.228Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-30T06:10:31.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-30T06:10:31.347Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-30T06:10:31.407Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-30T06:10:31.473Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-30T06:10:31.531Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-30T06:10:31.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-705 [Pipeline] echo [2024-10-30T06:10:31.653Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-705 [Pipeline] echo [2024-10-30T06:10:31.712Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-705 [Pipeline] echo [2024-10-30T06:10:31.776Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b35bedd1f3478e6ee9832909a33ee3e010ee194a [Pipeline] echo [2024-10-30T06:10:31.840Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b35bedd [Pipeline] echo [2024-10-30T06:10:31.887Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:10:32.043Z] provisioning config files... [2024-10-30T06:10:32.059Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp/config1329480176574497068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:10:32.460Z] ---> ****-login.sh [2024-10-30T06:10:32.461Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:10:32.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:32.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:32.728Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:32.728Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:32.728Z] [2024-10-30T06:10:32.728Z] Login Succeeded [2024-10-30T06:10:32.728Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:10:32.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:32.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:32.991Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:32.991Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:32.991Z] [2024-10-30T06:10:32.991Z] Login Succeeded [2024-10-30T06:10:32.991Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:10:32.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:32.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:32.992Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:32.992Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:32.992Z] [2024-10-30T06:10:32.992Z] Login Succeeded [2024-10-30T06:10:32.992Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:10:32.992Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:32.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:32.992Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:32.992Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:32.992Z] [2024-10-30T06:10:32.992Z] Login Succeeded [2024-10-30T06:10:32.992Z] ****.io [2024-10-30T06:10:33.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:33.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:33.255Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:33.255Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:33.255Z] [2024-10-30T06:10:33.255Z] Login Succeeded [2024-10-30T06:10:33.255Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:10:33.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-30T06:10:33.963Z] + git rev-list -1 --merges b35bedd1f3478e6ee9832909a33ee3e010ee194a~1..b35bedd1f3478e6ee9832909a33ee3e010ee194a [Pipeline] echo [2024-10-30T06:10:34.016Z] -----------> git rev-list -1 --merges b35bedd1f3478e6ee9832909a33ee3e010ee194a~1..b35bedd1f3478e6ee9832909a33ee3e010ee194a b35bedd1f3478e6ee9832909a33ee3e010ee194a [false] [Pipeline] sh [2024-10-30T06:10:34.345Z] + git log --format=format:%s -1 b35bedd1f3478e6ee9832909a33ee3e010ee194a [Pipeline] echo [2024-10-30T06:10:34.388Z] ========================================================= [2024-10-30T06:10:34.388Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-30T06:10:34.388Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:10:34.854Z] + git log --format=format:%s -1 b35bedd1f3478e6ee9832909a33ee3e010ee194a [Pipeline] echo [2024-10-30T06:10:34.900Z] [semverPrep] GIT_COMMIT: b35bedd1f3478e6ee9832909a33ee3e010ee194a, Commit Message: refactor!: update module to v4 [Pipeline] echo [2024-10-30T06:10:34.950Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-30T06:10:35.357Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-30T06:10:35.358Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-30T06:10:35.358Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-30T06:10:35.358Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-30T06:10:35.358Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-30T06:10:35.358Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-30T06:10:35.358Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:10:35.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:10:35.822Z] [2024-10-30T06:10:35.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:10:36.218Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:10:36.218Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-30T06:10:36.218Z] b85a868b505f: Pulling fs layer [2024-10-30T06:10:36.218Z] e2be974225ed: Pulling fs layer [2024-10-30T06:10:36.218Z] 339a4e72a1f5: Pulling fs layer [2024-10-30T06:10:36.218Z] 988bab9f4d93: Pulling fs layer [2024-10-30T06:10:36.218Z] 1469e6f7b9e6: Pulling fs layer [2024-10-30T06:10:36.218Z] eaf3925da568: Pulling fs layer [2024-10-30T06:10:36.218Z] bab4dde63d76: Pulling fs layer [2024-10-30T06:10:36.218Z] bde34c3a00c8: Pulling fs layer [2024-10-30T06:10:36.218Z] b352a97aabf1: Pulling fs layer [2024-10-30T06:10:36.218Z] 4872d77fe225: Pulling fs layer [2024-10-30T06:10:36.218Z] 5851b861e8e6: Pulling fs layer [2024-10-30T06:10:36.218Z] bab4dde63d76: Waiting [2024-10-30T06:10:36.218Z] 1469e6f7b9e6: Waiting [2024-10-30T06:10:36.218Z] eaf3925da568: Waiting [2024-10-30T06:10:36.218Z] bde34c3a00c8: Waiting [2024-10-30T06:10:36.218Z] b352a97aabf1: Waiting [2024-10-30T06:10:36.218Z] 988bab9f4d93: Waiting [2024-10-30T06:10:36.218Z] 4872d77fe225: Waiting [2024-10-30T06:10:36.218Z] 5851b861e8e6: Waiting [2024-10-30T06:10:36.218Z] e2be974225ed: Verifying Checksum [2024-10-30T06:10:36.218Z] e2be974225ed: Download complete [2024-10-30T06:10:36.218Z] 988bab9f4d93: Verifying Checksum [2024-10-30T06:10:36.218Z] 988bab9f4d93: Download complete [2024-10-30T06:10:36.483Z] 1469e6f7b9e6: Verifying Checksum [2024-10-30T06:10:36.483Z] 1469e6f7b9e6: Download complete [2024-10-30T06:10:36.483Z] 339a4e72a1f5: Verifying Checksum [2024-10-30T06:10:36.483Z] 339a4e72a1f5: Download complete [2024-10-30T06:10:36.483Z] eaf3925da568: Download complete [2024-10-30T06:10:36.483Z] bde34c3a00c8: Verifying Checksum [2024-10-30T06:10:36.483Z] bde34c3a00c8: Download complete [2024-10-30T06:10:36.483Z] b352a97aabf1: Download complete [2024-10-30T06:10:36.483Z] 4872d77fe225: Download complete [2024-10-30T06:10:36.483Z] 5851b861e8e6: Verifying Checksum [2024-10-30T06:10:36.483Z] 5851b861e8e6: Download complete [2024-10-30T06:10:36.483Z] b85a868b505f: Verifying Checksum [2024-10-30T06:10:36.483Z] b85a868b505f: Download complete [2024-10-30T06:10:36.742Z] bab4dde63d76: Verifying Checksum [2024-10-30T06:10:36.742Z] bab4dde63d76: Download complete [2024-10-30T06:10:38.119Z] b85a868b505f: Pull complete [2024-10-30T06:10:38.119Z] e2be974225ed: Pull complete [2024-10-30T06:10:38.380Z] 339a4e72a1f5: Pull complete [2024-10-30T06:10:38.380Z] 988bab9f4d93: Pull complete [2024-10-30T06:10:38.950Z] 1469e6f7b9e6: Pull complete [2024-10-30T06:10:38.950Z] eaf3925da568: Pull complete [2024-10-30T06:10:40.859Z] bab4dde63d76: Pull complete [2024-10-30T06:10:40.859Z] bde34c3a00c8: Pull complete [2024-10-30T06:10:40.859Z] b352a97aabf1: Pull complete [2024-10-30T06:10:41.122Z] 4872d77fe225: Pull complete [2024-10-30T06:10:41.122Z] 5851b861e8e6: Pull complete [2024-10-30T06:10:41.122Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-30T06:10:41.122Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-30T06:10:41.122Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:10:41.415Z] prd-ubuntu20.04-docker-8c-8g-24087 does not seem to be running inside a container [2024-10-30T06:10:41.433Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-705 -v /w/workspace/gexfoundry_device-mqtt-go_PR-705:/w/workspace/gexfoundry_device-mqtt-go_PR-705:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-705@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-10-30T06:10:45.079Z] $ docker top 294dfa39f69344ff6a72c8a43e0daa4ed0eebc5998fb3351670d9cbf03b7b147 -eo pid,comm [2024-10-30T06:10:45.139Z] 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-10-30T06:10:45.139Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-30T06:10:45.318Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T06:10:45.318Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T06:10:45.447Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T06:10:45.445Z] $ docker exec 294dfa39f69344ff6a72c8a43e0daa4ed0eebc5998fb3351670d9cbf03b7b147 ssh-agent [2024-10-30T06:10:45.575Z] SSH_AUTH_SOCK=/tmp/ssh-aVi8FR2g89hP/agent.32 [2024-10-30T06:10:45.575Z] SSH_AGENT_PID=38 [2024-10-30T06:10:45.583Z] Running ssh-add (command line suppressed) [2024-10-30T06:10:45.672Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp/private_key_14013435988317441209.key (/w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp/private_key_14013435988317441209.key) [2024-10-30T06:10:45.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T06:10:46.041Z] + git tag --points-at HEAD [Pipeline] } [2024-10-30T06:10:46.064Z] $ docker exec --env ******** --env ******** 294dfa39f69344ff6a72c8a43e0daa4ed0eebc5998fb3351670d9cbf03b7b147 ssh-agent -k [2024-10-30T06:10:46.164Z] unset SSH_AUTH_SOCK; [2024-10-30T06:10:46.165Z] unset SSH_AGENT_PID; [2024-10-30T06:10:46.165Z] echo Agent pid 38 killed; [2024-10-30T06:10:46.180Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-30T06:10:46.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-30T06:10:46.295Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-30T06:10:46.406Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-30T06:10:46.403Z] $ docker exec 294dfa39f69344ff6a72c8a43e0daa4ed0eebc5998fb3351670d9cbf03b7b147 ssh-agent [2024-10-30T06:10:46.517Z] SSH_AUTH_SOCK=/tmp/ssh-6ZzRtyAi5qx7/agent.71 [2024-10-30T06:10:46.517Z] SSH_AGENT_PID=77 [2024-10-30T06:10:46.522Z] Running ssh-add (command line suppressed) [2024-10-30T06:10:46.631Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp/private_key_5975974120719222167.key (/w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp/private_key_5975974120719222167.key) [2024-10-30T06:10:46.653Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-30T06:10:47.006Z] + git semver init [2024-10-30T06:10:47.267Z] 2024-10-30 06:10:47,173 [run_init] DEBUG init version:0.0.0 force:False [2024-10-30T06:10:47.267Z] 2024-10-30 06:10:47,174 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-705/.semver [2024-10-30T06:10:47.267Z] 2024-10-30 06:10:47,174 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-705/.semver [2024-10-30T06:10:47.267Z] 2024-10-30 06:10:47,175 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-705/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-705, universal_newlines=False, shell=None, istream=None) [2024-10-30T06:10:49.171Z] 2024-10-30 06:10:48,781 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-705/.git/info/exclude [2024-10-30T06:10:49.171Z] 2024-10-30 06:10:48,782 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-705/.semver/PR-705 with force:False [2024-10-30T06:10:49.171Z] 2024-10-30 06:10:48,782 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-705/.semver/PR-705 [2024-10-30T06:10:49.171Z] 2024-10-30 06:10:48,785 [execute] INFO git cat-file --batch-check [2024-10-30T06:10:49.171Z] 2024-10-30 06:10:48,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-705/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T06:10:49.171Z] 2024-10-30 06:10:48,791 [execute] INFO git cat-file --batch [2024-10-30T06:10:49.171Z] 2024-10-30 06:10:48,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-705/.semver, universal_newlines=False, shell=None, istream=) [2024-10-30T06:10:49.171Z] 2024-10-30 06:10:48,799 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-705/.semver/PR-705 [2024-10-30T06:10:49.171Z] 0.0.0 [Pipeline] } [2024-10-30T06:10:49.197Z] $ docker exec --env ******** --env ******** 294dfa39f69344ff6a72c8a43e0daa4ed0eebc5998fb3351670d9cbf03b7b147 ssh-agent -k [2024-10-30T06:10:49.305Z] unset SSH_AUTH_SOCK; [2024-10-30T06:10:49.306Z] unset SSH_AGENT_PID; [2024-10-30T06:10:49.307Z] echo Agent pid 77 killed; [2024-10-30T06:10:49.319Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-30T06:10:49.780Z] + git semver [Pipeline] } [2024-10-30T06:10:50.066Z] $ docker stop --time=1 294dfa39f69344ff6a72c8a43e0daa4ed0eebc5998fb3351670d9cbf03b7b147 [2024-10-30T06:10:51.404Z] $ docker rm -f --volumes 294dfa39f69344ff6a72c8a43e0daa4ed0eebc5998fb3351670d9cbf03b7b147 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:10:51.845Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-30T06:10:52.162Z] Stashed 1 file(s) [Pipeline] echo [2024-10-30T06:10:52.190Z] [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-10-30T06:10:53.070Z] provisioning config files... [2024-10-30T06:10:53.080Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp/config4153519887225803683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:10:53.445Z] ---> ****-login.sh [2024-10-30T06:10:53.445Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:10:53.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:53.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:53.445Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:53.445Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:53.445Z] [2024-10-30T06:10:53.445Z] Login Succeeded [2024-10-30T06:10:53.445Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:10:53.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:53.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:53.445Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:53.445Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:53.445Z] [2024-10-30T06:10:53.445Z] Login Succeeded [2024-10-30T06:10:53.445Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:10:53.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:53.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:53.705Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:53.705Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:53.705Z] [2024-10-30T06:10:53.705Z] Login Succeeded [2024-10-30T06:10:53.705Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:10:53.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:53.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:53.705Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:53.706Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:53.706Z] [2024-10-30T06:10:53.706Z] Login Succeeded [2024-10-30T06:10:53.706Z] ****.io [2024-10-30T06:10:53.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:10:53.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:10:53.966Z] Configure a credential helper to remove this warning. See [2024-10-30T06:10:53.967Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:10:53.967Z] [2024-10-30T06:10:53.967Z] Login Succeeded [2024-10-30T06:10:53.967Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:10:53.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T06:10:54.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:10:54.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:10:54.335Z] ========================================================= [2024-10-30T06:10:54.335Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-30T06:10:54.335Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:10:54.875Z] + 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-10-30T06:10:54.875Z] Sending build context to Docker daemon 21.01MB [2024-10-30T06:10:54.875Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:10:54.875Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T06:10:55.140Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-30T06:10:55.140Z] 43c4264eed91: Pulling fs layer [2024-10-30T06:10:55.140Z] 4cc291be95ef: Pulling fs layer [2024-10-30T06:10:55.141Z] 2ac1f1163629: Pulling fs layer [2024-10-30T06:10:55.141Z] 5c3c966382ef: Pulling fs layer [2024-10-30T06:10:55.141Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T06:10:55.141Z] 5d5c8e513c77: Pulling fs layer [2024-10-30T06:10:55.141Z] 9f66e0745190: Pulling fs layer [2024-10-30T06:10:55.141Z] f49a43e4bbc0: Pulling fs layer [2024-10-30T06:10:55.141Z] 561ebcabdf7f: Pulling fs layer [2024-10-30T06:10:55.141Z] f49a43e4bbc0: Waiting [2024-10-30T06:10:55.141Z] 4f4fb700ef54: Waiting [2024-10-30T06:10:55.141Z] 5d5c8e513c77: Waiting [2024-10-30T06:10:55.141Z] 561ebcabdf7f: Waiting [2024-10-30T06:10:55.141Z] 9f66e0745190: Waiting [2024-10-30T06:10:55.141Z] 5c3c966382ef: Waiting [2024-10-30T06:10:55.141Z] 4cc291be95ef: Verifying Checksum [2024-10-30T06:10:55.141Z] 4cc291be95ef: Download complete [2024-10-30T06:10:55.141Z] 5c3c966382ef: Verifying Checksum [2024-10-30T06:10:55.141Z] 5c3c966382ef: Download complete [2024-10-30T06:10:55.141Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T06:10:55.141Z] 4f4fb700ef54: Download complete [2024-10-30T06:10:55.141Z] 5d5c8e513c77: Verifying Checksum [2024-10-30T06:10:55.141Z] 5d5c8e513c77: Download complete [2024-10-30T06:10:55.141Z] 43c4264eed91: Verifying Checksum [2024-10-30T06:10:55.141Z] 43c4264eed91: Download complete [2024-10-30T06:10:55.141Z] 9f66e0745190: Verifying Checksum [2024-10-30T06:10:55.141Z] 9f66e0745190: Download complete [2024-10-30T06:10:55.400Z] 43c4264eed91: Pull complete [2024-10-30T06:10:55.400Z] 561ebcabdf7f: Download complete [2024-10-30T06:10:55.400Z] 4cc291be95ef: Pull complete [2024-10-30T06:10:55.659Z] 2ac1f1163629: Download complete [2024-10-30T06:10:55.917Z] f49a43e4bbc0: Verifying Checksum [2024-10-30T06:10:55.917Z] f49a43e4bbc0: Download complete [2024-10-30T06:10:59.209Z] 2ac1f1163629: Pull complete [2024-10-30T06:10:59.209Z] 5c3c966382ef: Pull complete [2024-10-30T06:10:59.471Z] 4f4fb700ef54: Pull complete [2024-10-30T06:10:59.471Z] 5d5c8e513c77: Pull complete [2024-10-30T06:10:59.471Z] 9f66e0745190: Pull complete [2024-10-30T06:11:02.018Z] f49a43e4bbc0: Pull complete [2024-10-30T06:11:02.585Z] 561ebcabdf7f: Pull complete [2024-10-30T06:11:02.586Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-30T06:11:02.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-30T06:11:02.586Z] ---> 3a752c3f9dda [2024-10-30T06:11:02.586Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:11:07.840Z] Still waiting to schedule task [2024-10-30T06:11:07.841Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-24086’ is offline [2024-10-30T06:11:07.897Z] ---> Running in a64a12611590 [2024-10-30T06:11:07.897Z] Removing intermediate container a64a12611590 [2024-10-30T06:11:07.897Z] ---> f5e5af2f7327 [2024-10-30T06:11:07.897Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:11:07.897Z] ---> Running in 959525fb7f13 [2024-10-30T06:11:07.897Z] Removing intermediate container 959525fb7f13 [2024-10-30T06:11:07.897Z] ---> 60eb5430d0f3 [2024-10-30T06:11:07.897Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:11:07.897Z] ---> Running in c1a2c138e739 [2024-10-30T06:11:07.897Z] Removing intermediate container c1a2c138e739 [2024-10-30T06:11:07.897Z] ---> d89c1fbf8f3c [2024-10-30T06:11:07.897Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:11:07.897Z] ---> Running in e32fc8e0735b [2024-10-30T06:11:07.897Z] Removing intermediate container e32fc8e0735b [2024-10-30T06:11:07.897Z] ---> 026ad51aeda6 [2024-10-30T06:11:07.897Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:11:07.897Z] ---> Running in 7bcc6e173953 [2024-10-30T06:11:07.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:11:08.157Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:11:08.416Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T06:11:08.416Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T06:11:08.416Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T06:11:08.416Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T06:11:08.416Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:11:08.416Z] OK: 250 MiB in 58 packages [2024-10-30T06:11:08.985Z] Removing intermediate container 7bcc6e173953 [2024-10-30T06:11:08.986Z] ---> 7b88d5d89a6a [2024-10-30T06:11:08.986Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-30T06:11:08.986Z] ---> Running in a1e5643fce88 [2024-10-30T06:11:08.986Z] Removing intermediate container a1e5643fce88 [2024-10-30T06:11:08.986Z] ---> ee5ae33ef117 [2024-10-30T06:11:08.986Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-30T06:11:09.244Z] ---> 722d47ace85d [2024-10-30T06:11:09.244Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:11:09.244Z] ---> Running in 7c99750db333 [2024-10-30T06:12:05.488Z] Removing intermediate container 7c99750db333 [2024-10-30T06:12:05.488Z] ---> 818a3471c696 [2024-10-30T06:12:05.488Z] Step 11/12 : COPY . . [2024-10-30T06:12:05.488Z] ---> a07e6b93fa31 [2024-10-30T06:12:05.488Z] Step 12/12 : RUN $MAKE [2024-10-30T06:12:05.488Z] ---> Running in c289e346538d [2024-10-30T06:12:05.488Z] noop [2024-10-30T06:12:05.488Z] Removing intermediate container c289e346538d [2024-10-30T06:12:05.488Z] ---> 5d9a8b103425 [2024-10-30T06:12:05.488Z] Successfully built 5d9a8b103425 [2024-10-30T06:12:05.488Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:12:05.963Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T06:12:05.963Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:12:06.132Z] prd-ubuntu20.04-docker-8c-8g-24087 does not seem to be running inside a container [2024-10-30T06:12:06.163Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-705 -v /w/workspace/gexfoundry_device-mqtt-go_PR-705:/w/workspace/gexfoundry_device-mqtt-go_PR-705:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-705@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-10-30T06:12:06.518Z] $ docker top 4b4b5f81b861e7a463ce645ccb1663b5fb705610ce95be5adc1b72969de6cfde -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:12:06.921Z] + go version [2024-10-30T06:12:06.921Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-30T06:12:06.957Z] $ docker stop --time=1 4b4b5f81b861e7a463ce645ccb1663b5fb705610ce95be5adc1b72969de6cfde [2024-10-30T06:12:08.236Z] $ docker rm -f --volumes 4b4b5f81b861e7a463ce645ccb1663b5fb705610ce95be5adc1b72969de6cfde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:12:09.033Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-30T06:12:09.033Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:12:09.200Z] prd-ubuntu20.04-docker-8c-8g-24087 does not seem to be running inside a container [2024-10-30T06:12:09.235Z] $ 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-705 -v /w/workspace/gexfoundry_device-mqtt-go_PR-705:/w/workspace/gexfoundry_device-mqtt-go_PR-705:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-705@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-10-30T06:12:09.567Z] $ docker top 99685596c9d3b9d21d4bd92bcb8df2a26a0d531187a392e3b4957ec8eb8da99d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:12:09.981Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-705 [Pipeline] fileExists [Pipeline] sh [2024-10-30T06:12:10.355Z] + make test [2024-10-30T06:12:10.355Z] go test ./... -coverprofile=coverage.out ./... [2024-10-30T06:12:11.728Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-30T06:12:33.651Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-30T06:12:33.651Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-30T06:12:33.651Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements [2024-10-30T06:12:36.589Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-24089 in /w/workspace/gexfoundry_device-mqtt-go_PR-705 [Pipeline] { [Pipeline] ws [2024-10-30T06:12:36.661Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-10-30T06:12:39.770Z] The recommended git tool is: git [2024-10-30T06:12:43.621Z] go vet ./... [2024-10-30T06:12:45.513Z] using credential edgex-jenkins-ssh [2024-10-30T06:12:45.543Z] Cloning the remote Git repository [2024-10-30T06:12:45.599Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-30T06:12:45.717Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-10-30T06:12:45.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-30T06:12:45.909Z] > git --version # timeout=10 [2024-10-30T06:12:45.937Z] > git --version # 'git version 2.25.1' [2024-10-30T06:12:45.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:12:46.127Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T06:12:48.886Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T06:12:48.886Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T06:12:48.886Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T06:12:49.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T06:12:49.230Z] $ docker stop --time=1 99685596c9d3b9d21d4bd92bcb8df2a26a0d531187a392e3b4957ec8eb8da99d [2024-10-30T06:12:48.858Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-30T06:12:48.878Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-30T06:12:49.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-30T06:12:49.799Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-30T06:12:49.800Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:12:49.825Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/705/head:refs/remotes/origin/PR-705 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-30T06:12:50.428Z] Merging remotes/origin/main commit a2016d423b1c70de9c1bd91a5949c98d975b79e0 into PR head commit b35bedd1f3478e6ee9832909a33ee3e010ee194a [2024-10-30T06:12:50.731Z] Merge succeeded, producing b35bedd1f3478e6ee9832909a33ee3e010ee194a [2024-10-30T06:12:50.732Z] Checking out Revision b35bedd1f3478e6ee9832909a33ee3e010ee194a (PR-705) [2024-10-30T06:12:50.449Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T06:12:50.528Z] > git checkout -f b35bedd1f3478e6ee9832909a33ee3e010ee194a # timeout=10 [2024-10-30T06:12:50.622Z] > git remote # timeout=10 [2024-10-30T06:12:50.643Z] > git config --get remote.origin.url # timeout=10 [2024-10-30T06:12:50.666Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-30T06:12:50.685Z] > git merge a2016d423b1c70de9c1bd91a5949c98d975b79e0 # timeout=10 [2024-10-30T06:12:50.712Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-30T06:12:50.737Z] > git config core.sparsecheckout # timeout=10 [2024-10-30T06:12:50.751Z] > git checkout -f b35bedd1f3478e6ee9832909a33ee3e010ee194a # timeout=10 [2024-10-30T06:12:53.006Z] $ docker rm -f --volumes 99685596c9d3b9d21d4bd92bcb8df2a26a0d531187a392e3b4957ec8eb8da99d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:12:53.670Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T06:12:53.742Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-30T06:12:54.379Z] Commit message: "refactor!: update module to v4" [2024-10-30T06:12:54.426Z] > git --version # timeout=10 [2024-10-30T06:12:54.439Z] > git --version # 'git version 2.25.1' [2024-10-30T06:12:54.452Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-30T06:12:54.517Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T06:12:54.851Z] + ls -al . [2024-10-30T06:12:54.851Z] total 264 [2024-10-30T06:12:54.851Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 06:12 . [2024-10-30T06:12:54.851Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:10 .. [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 06:10 .dockerignore [2024-10-30T06:12:54.851Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:12 .git [2024-10-30T06:12:54.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:10 .github [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 06:10 .gitignore [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 06:10 .golangci.yml [2024-10-30T06:12:54.851Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:10 .semver [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 30 06:10 Attribution.txt [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 30 06:10 CHANGELOG.md [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 1803 Oct 30 06:10 Dockerfile [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:10 GOVERNANCE.md [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 30 06:10 Jenkinsfile [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:10 LICENSE [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 2500 Oct 30 06:10 Makefile [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 06:10 OWNERS.md [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 30 06:10 README.md [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 06:10 VERSION [2024-10-30T06:12:54.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:10 bin [2024-10-30T06:12:54.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:10 cmd [2024-10-30T06:12:54.851Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 30 06:12 coverage.out [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 7030 Oct 30 06:10 go.mod [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 06:10 go.sum [2024-10-30T06:12:54.851Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:10 internal [2024-10-30T06:12:54.851Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:10 mock [2024-10-30T06:12:54.851Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 30 06:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:12:55.271Z] + 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=b35bedd1f3478e6ee9832909a33ee3e010ee194a --label arch=amd64 --label version=0.0.0 . [2024-10-30T06:12:55.271Z] Sending build context to Docker daemon 21.03MB [2024-10-30T06:12:55.271Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:12:55.271Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-30T06:12:55.271Z] ---> 5d9a8b103425 [2024-10-30T06:12:55.271Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-10-30T06:12:55.840Z] ---> Running in 2d9ebd27e174 [2024-10-30T06:12:55.840Z] Removing intermediate container 2d9ebd27e174 [2024-10-30T06:12:55.840Z] ---> eea2ee21b561 [2024-10-30T06:12:55.840Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:12:55.840Z] ---> Running in 8f46f386d37c [2024-10-30T06:12:55.840Z] Removing intermediate container 8f46f386d37c [2024-10-30T06:12:55.840Z] ---> 3ca3a67482eb [2024-10-30T06:12:55.840Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [Pipeline] sh [2024-10-30T06:12:56.098Z] ---> Running in 3df07eba63ad [2024-10-30T06:12:56.099Z] Removing intermediate container 3df07eba63ad [2024-10-30T06:12:56.099Z] ---> fd95dcca6dbb [2024-10-30T06:12:56.099Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:12:56.099Z] ---> Running in 1317f09f522c [2024-10-30T06:12:56.099Z] Removing intermediate container 1317f09f522c [2024-10-30T06:12:56.099Z] ---> a2d633327c31 [2024-10-30T06:12:56.099Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:12:56.099Z] ---> Running in 6b7bbc4a29f2 [2024-10-30T06:12:56.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:12:56.396Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-30T06:12:56.396Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T06:12:56.396Z] Dload Upload Total Spent Left Speed [2024-10-30T06:12:56.396Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh [2024-10-30T06:12:56.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:12:56.747Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-30T06:12:57.099Z] + sudo tee /etc/docker/daemon.new [2024-10-30T06:12:57.099Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-30T06:12:57.099Z] { [2024-10-30T06:12:57.099Z] "registry-mirrors": [ [2024-10-30T06:12:57.099Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-30T06:12:57.099Z] ], [2024-10-30T06:12:57.099Z] "bip": "10.250.0.254/24", [2024-10-30T06:12:57.099Z] "hosts": [ [2024-10-30T06:12:57.099Z] "tcp://0.0.0.0:5555", [2024-10-30T06:12:57.099Z] "unix:///var/run/docker.sock" [2024-10-30T06:12:57.099Z] ], [2024-10-30T06:12:57.099Z] "mtu": 1458, [2024-10-30T06:12:57.099Z] "selinux-enabled": true, [2024-10-30T06:12:57.099Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-30T06:12:57.099Z] } [Pipeline] sh [2024-10-30T06:12:57.189Z] OK: 250 MiB in 58 packages [2024-10-30T06:12:57.448Z] Removing intermediate container 6b7bbc4a29f2 [2024-10-30T06:12:57.448Z] ---> f447722a9ae6 [2024-10-30T06:12:57.448Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-30T06:12:57.448Z] ---> Running in 38d348894c15 [2024-10-30T06:12:57.448Z] Removing intermediate container 38d348894c15 [2024-10-30T06:12:57.448Z] ---> 2670e1e794fe [2024-10-30T06:12:57.448Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-30T06:12:57.455Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-30T06:12:57.707Z] ---> ee7cbe0dbeea [2024-10-30T06:12:57.707Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:12:57.707Z] ---> Running in 3e50c8207357 [2024-10-30T06:12:57.831Z] + sudo service docker restart [2024-10-30T06:12:58.274Z] Removing intermediate container 3e50c8207357 [2024-10-30T06:12:58.274Z] ---> 071618b2bd42 [2024-10-30T06:12:58.274Z] Step 11/25 : COPY . . [2024-10-30T06:12:59.300Z] ---> b63bd19fc2d9 [2024-10-30T06:12:59.300Z] Step 12/25 : RUN $MAKE [2024-10-30T06:12:59.300Z] ---> Running in a7a0ca985d6d [2024-10-30T06:12:59.558Z] 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.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:13:16.205Z] provisioning config files... [2024-10-30T06:13:16.232Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15042962358294433118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:13:16.748Z] ---> ****-login.sh [2024-10-30T06:13:16.748Z] nexus3.edgexfoundry.org:10001 [2024-10-30T06:13:17.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:13:17.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:13:17.336Z] Configure a credential helper to remove this warning. See [2024-10-30T06:13:17.336Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:13:17.336Z] [2024-10-30T06:13:17.336Z] Login Succeeded [2024-10-30T06:13:17.336Z] nexus3.edgexfoundry.org:10002 [2024-10-30T06:13:17.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:13:17.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:13:17.875Z] Configure a credential helper to remove this warning. See [2024-10-30T06:13:17.875Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:13:17.875Z] [2024-10-30T06:13:17.875Z] Login Succeeded [2024-10-30T06:13:17.875Z] nexus3.edgexfoundry.org:10003 [2024-10-30T06:13:18.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:13:18.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:13:18.151Z] Configure a credential helper to remove this warning. See [2024-10-30T06:13:18.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:13:18.151Z] [2024-10-30T06:13:18.151Z] Login Succeeded [2024-10-30T06:13:18.151Z] nexus3.edgexfoundry.org:10004 [2024-10-30T06:13:18.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:13:18.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:13:18.421Z] Configure a credential helper to remove this warning. See [2024-10-30T06:13:18.421Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:13:18.421Z] [2024-10-30T06:13:18.421Z] Login Succeeded [2024-10-30T06:13:18.421Z] ****.io [2024-10-30T06:13:18.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-30T06:13:18.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-30T06:13:18.958Z] Configure a credential helper to remove this warning. See [2024-10-30T06:13:18.958Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-30T06:13:18.958Z] [2024-10-30T06:13:18.958Z] Login Succeeded [2024-10-30T06:13:18.958Z] ---> ****-login.sh ends [Pipeline] } [2024-10-30T06:13:18.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-30T06:13:19.455Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:13:19.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-30T06:13:19.552Z] ========================================================= [2024-10-30T06:13:19.552Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-30T06:13:19.552Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:13:20.095Z] + 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-10-30T06:13:20.373Z] Sending build context to Docker daemon 10.66MB [2024-10-30T06:13:20.641Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:13:20.641Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-30T06:13:20.641Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-30T06:13:20.641Z] cf04c63912e1: Pulling fs layer [2024-10-30T06:13:20.641Z] 55b35a11ae5e: Pulling fs layer [2024-10-30T06:13:20.641Z] a37a00ec5f00: Pulling fs layer [2024-10-30T06:13:20.641Z] 50b3750afda1: Pulling fs layer [2024-10-30T06:13:20.641Z] 4f4fb700ef54: Pulling fs layer [2024-10-30T06:13:20.641Z] 80978eb59214: Pulling fs layer [2024-10-30T06:13:20.642Z] 50b3750afda1: Waiting [2024-10-30T06:13:20.642Z] c9f46d7d2bd2: Pulling fs layer [2024-10-30T06:13:20.642Z] 80978eb59214: Waiting [2024-10-30T06:13:20.642Z] c9f46d7d2bd2: Waiting [2024-10-30T06:13:20.642Z] c5a475d317c9: Pulling fs layer [2024-10-30T06:13:20.642Z] c5a475d317c9: Waiting [2024-10-30T06:13:20.642Z] 55b35a11ae5e: Verifying Checksum [2024-10-30T06:13:20.642Z] 55b35a11ae5e: Download complete [2024-10-30T06:13:20.642Z] 50b3750afda1: Verifying Checksum [2024-10-30T06:13:20.642Z] 50b3750afda1: Download complete [2024-10-30T06:13:20.912Z] 4f4fb700ef54: Verifying Checksum [2024-10-30T06:13:20.912Z] 4f4fb700ef54: Download complete [2024-10-30T06:13:20.912Z] 80978eb59214: Verifying Checksum [2024-10-30T06:13:20.912Z] 80978eb59214: Download complete [2024-10-30T06:13:20.912Z] cf04c63912e1: Verifying Checksum [2024-10-30T06:13:20.912Z] cf04c63912e1: Download complete [2024-10-30T06:13:21.183Z] c5a475d317c9: Verifying Checksum [2024-10-30T06:13:21.183Z] c5a475d317c9: Download complete [2024-10-30T06:13:21.771Z] cf04c63912e1: Pull complete [2024-10-30T06:13:22.359Z] 55b35a11ae5e: Pull complete [2024-10-30T06:13:22.627Z] a37a00ec5f00: Verifying Checksum [2024-10-30T06:13:22.627Z] a37a00ec5f00: Download complete [2024-10-30T06:13:23.590Z] c9f46d7d2bd2: Verifying Checksum [2024-10-30T06:13:23.590Z] c9f46d7d2bd2: Download complete [2024-10-30T06:13:35.939Z] a37a00ec5f00: Pull complete [2024-10-30T06:13:36.208Z] 50b3750afda1: Pull complete [2024-10-30T06:13:36.476Z] 4f4fb700ef54: Pull complete [2024-10-30T06:13:36.745Z] 80978eb59214: Pull complete [2024-10-30T06:13:38.276Z] Removing intermediate container a7a0ca985d6d [2024-10-30T06:13:38.276Z] ---> 165a6385741a [2024-10-30T06:13:38.276Z] Step 13/25 : FROM alpine:3.20 [2024-10-30T06:13:38.276Z] 3.20: Pulling from library/alpine [2024-10-30T06:13:38.276Z] 43c4264eed91: Already exists [2024-10-30T06:13:38.276Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T06:13:38.276Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T06:13:38.276Z] ---> 91ef0af61f39 [2024-10-30T06:13:38.276Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-30T06:13:38.276Z] ---> Running in e08a68bb4491 [2024-10-30T06:13:38.276Z] Removing intermediate container e08a68bb4491 [2024-10-30T06:13:38.276Z] ---> 95509106d3e9 [2024-10-30T06:13:38.276Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-30T06:13:38.276Z] ---> Running in f1074ab27e7f [2024-10-30T06:13:38.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:13:38.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:13:38.276Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T06:13:38.276Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:13:38.276Z] OK: 8 MiB in 15 packages [2024-10-30T06:13:38.276Z] Removing intermediate container f1074ab27e7f [2024-10-30T06:13:38.276Z] ---> b6306f9caa68 [2024-10-30T06:13:38.276Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-30T06:13:38.276Z] ---> Running in 48efaf4a2219 [2024-10-30T06:13:38.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:13:38.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:13:38.276Z] Upgrading critical system libraries and apk-tools: [2024-10-30T06:13:38.276Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T06:13:38.276Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:13:38.276Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T06:13:38.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-30T06:13:38.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-30T06:13:38.276Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:13:38.276Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:13:38.276Z] OK: 8 MiB in 15 packages [2024-10-30T06:13:38.276Z] Removing intermediate container 48efaf4a2219 [2024-10-30T06:13:38.276Z] ---> 7e4ba8bb3ecc [2024-10-30T06:13:38.276Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-30T06:13:39.255Z] ---> 6d4c0090d0d4 [2024-10-30T06:13:39.255Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-30T06:13:39.255Z] ---> 9e92f469085a [2024-10-30T06:13:39.255Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-30T06:13:39.515Z] ---> b3f281762a4f [2024-10-30T06:13:39.515Z] Step 20/25 : EXPOSE 59982 [2024-10-30T06:13:39.515Z] ---> Running in 98ec4a03e4bf [2024-10-30T06:13:39.515Z] Removing intermediate container 98ec4a03e4bf [2024-10-30T06:13:39.515Z] ---> e7738f0ad94b [2024-10-30T06:13:39.515Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-30T06:13:39.515Z] ---> Running in eabdd9cb3d9e [2024-10-30T06:13:39.776Z] Removing intermediate container eabdd9cb3d9e [2024-10-30T06:13:39.776Z] ---> 6401331eeda4 [2024-10-30T06:13:39.776Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T06:13:39.776Z] ---> Running in 1fa5e609d27d [2024-10-30T06:13:39.776Z] Removing intermediate container 1fa5e609d27d [2024-10-30T06:13:39.776Z] ---> b7e240f8485f [2024-10-30T06:13:39.776Z] Step 23/25 : LABEL arch=amd64 [2024-10-30T06:13:39.776Z] ---> Running in 3228c46140b8 [2024-10-30T06:13:39.776Z] Removing intermediate container 3228c46140b8 [2024-10-30T06:13:39.776Z] ---> 2778abcdb923 [2024-10-30T06:13:39.776Z] Step 24/25 : LABEL git_sha=b35bedd1f3478e6ee9832909a33ee3e010ee194a [2024-10-30T06:13:39.776Z] ---> Running in 392e3a9186de [2024-10-30T06:13:40.035Z] Removing intermediate container 392e3a9186de [2024-10-30T06:13:40.035Z] ---> 98a4a51862bb [2024-10-30T06:13:40.035Z] Step 25/25 : LABEL version=0.0.0 [2024-10-30T06:13:40.035Z] ---> Running in 916ac08df0da [2024-10-30T06:13:40.035Z] Removing intermediate container 916ac08df0da [2024-10-30T06:13:40.035Z] ---> 3358cf83df4e [2024-10-30T06:13:40.035Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T06:13:40.035Z] Successfully built 3358cf83df4e [2024-10-30T06:13:40.035Z] 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-10-30T06:13:41.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:13:41.065Z] [2024-10-30T06:13:41.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:13:41.457Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:13:41.457Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-30T06:13:41.457Z] 5eb5b503b376: Pulling fs layer [2024-10-30T06:13:41.457Z] 5c69ac0246d0: Pulling fs layer [2024-10-30T06:13:41.457Z] ec43610c2a17: Pulling fs layer [2024-10-30T06:13:41.457Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-30T06:13:41.457Z] 33b1e0a273af: Pulling fs layer [2024-10-30T06:13:41.457Z] 5d3b04190fa2: Pulling fs layer [2024-10-30T06:13:41.457Z] 2f39f015ded8: Pulling fs layer [2024-10-30T06:13:41.457Z] 3a2ae6a8a46f: Waiting [2024-10-30T06:13:41.457Z] 2f39f015ded8: Waiting [2024-10-30T06:13:41.457Z] 33b1e0a273af: Waiting [2024-10-30T06:13:41.457Z] 5d3b04190fa2: Waiting [2024-10-30T06:13:41.457Z] 5c69ac0246d0: Verifying Checksum [2024-10-30T06:13:41.457Z] 5c69ac0246d0: Download complete [2024-10-30T06:13:41.457Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-30T06:13:41.457Z] 3a2ae6a8a46f: Download complete [2024-10-30T06:13:41.457Z] 33b1e0a273af: Verifying Checksum [2024-10-30T06:13:41.457Z] 33b1e0a273af: Download complete [2024-10-30T06:13:41.457Z] 5d3b04190fa2: Download complete [2024-10-30T06:13:41.457Z] ec43610c2a17: Verifying Checksum [2024-10-30T06:13:41.457Z] ec43610c2a17: Download complete [2024-10-30T06:13:41.716Z] 5eb5b503b376: Verifying Checksum [2024-10-30T06:13:41.716Z] 5eb5b503b376: Download complete [2024-10-30T06:13:42.283Z] 2f39f015ded8: Download complete [2024-10-30T06:13:42.851Z] 5eb5b503b376: Pull complete [2024-10-30T06:13:43.110Z] 5c69ac0246d0: Pull complete [2024-10-30T06:13:43.677Z] ec43610c2a17: Pull complete [2024-10-30T06:13:43.677Z] 3a2ae6a8a46f: Pull complete [2024-10-30T06:13:43.936Z] 33b1e0a273af: Pull complete [2024-10-30T06:13:43.936Z] 5d3b04190fa2: Pull complete [2024-10-30T06:13:44.960Z] c9f46d7d2bd2: Pull complete [2024-10-30T06:13:45.918Z] c5a475d317c9: Pull complete [2024-10-30T06:13:45.918Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-30T06:13:45.918Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-30T06:13:45.918Z] ---> be29e6b0f0d4 [2024-10-30T06:13:45.918Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:13:47.866Z] ---> Running in 384b9279a66f [2024-10-30T06:13:48.125Z] 2f39f015ded8: Pull complete [2024-10-30T06:13:48.125Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-30T06:13:48.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:13:48.125Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:13:48.133Z] Removing intermediate container 384b9279a66f [2024-10-30T06:13:48.133Z] ---> c1fc9e58e7d7 [2024-10-30T06:13:48.133Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:13:48.401Z] ---> Running in e0b10e2977e5 [2024-10-30T06:13:48.426Z] prd-ubuntu20.04-docker-8c-8g-24087 does not seem to be running inside a container [2024-10-30T06:13:48.454Z] $ 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-705 -v /w/workspace/gexfoundry_device-mqtt-go_PR-705:/w/workspace/gexfoundry_device-mqtt-go_PR-705:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-705@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-10-30T06:13:48.667Z] Removing intermediate container e0b10e2977e5 [2024-10-30T06:13:48.667Z] ---> 96acb7807a8a [2024-10-30T06:13:48.667Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:13:48.667Z] ---> Running in 3dc7c9cbb1ae [2024-10-30T06:13:49.252Z] Removing intermediate container 3dc7c9cbb1ae [2024-10-30T06:13:49.252Z] ---> 20624833f66b [2024-10-30T06:13:49.252Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:13:49.252Z] ---> Running in 6375d1361a80 [2024-10-30T06:13:49.518Z] Removing intermediate container 6375d1361a80 [2024-10-30T06:13:49.518Z] ---> 319c5ca77043 [2024-10-30T06:13:49.518Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:13:50.478Z] ---> Running in 1e60a91c43a8 [2024-10-30T06:13:51.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:13:51.641Z] $ docker top d803dad6564c5f5f7964039f576f6022f01e3bb7050db7de8da9d24c4417511f -eo pid,comm [Pipeline] { [2024-10-30T06:13:51.717Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:13:52.243Z] ---> job-cost.sh [2024-10-30T06:13:52.243Z] lf-activate-venv: SKIPPING [2024-10-30T06:13:52.243Z] INFO: No Stack... [2024-10-30T06:13:52.503Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T06:13:52.762Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T06:13:53.091Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-705/archives/cost.csv [2024-10-30T06:13:53.091Z] + cut -d, -f6 [2024-10-30T06:13:53.135Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-30T06:13:53.135Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-30T06:13:53.135Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-30T06:13:53.135Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-30T06:13:53.135Z] Executing busybox-1.36.1-r29.trigger [Pipeline] lock [2024-10-30T06:13:53.145Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-705-1-stack-cost] [2024-10-30T06:13:53.152Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-705-1-stack-cost] did not exist. Created. [2024-10-30T06:13:53.160Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-705-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T06:13:53.405Z] OK: 242 MiB in 58 packages [2024-10-30T06:13:53.596Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-30T06:13:53.658Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T06:13:53.700Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-705-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T06:13:53.799Z] $ docker stop --time=1 d803dad6564c5f5f7964039f576f6022f01e3bb7050db7de8da9d24c4417511f [2024-10-30T06:13:54.378Z] Removing intermediate container 1e60a91c43a8 [2024-10-30T06:13:54.378Z] ---> 0914b17c2f57 [2024-10-30T06:13:54.378Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-30T06:13:54.378Z] ---> Running in 56ee1883ec04 [2024-10-30T06:13:54.648Z] Removing intermediate container 56ee1883ec04 [2024-10-30T06:13:54.648Z] ---> a8d64c899bd5 [2024-10-30T06:13:54.648Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-30T06:13:54.983Z] $ docker rm -f --volumes d803dad6564c5f5f7964039f576f6022f01e3bb7050db7de8da9d24c4417511f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2024-10-30T06:13:55.243Z] ---> 0d597dbf1f78 [2024-10-30T06:13:55.243Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-30T06:13:55.516Z] ---> Running in 80c8fdbc01ee [2024-10-30T06:15:47.204Z] Removing intermediate container 80c8fdbc01ee [2024-10-30T06:15:47.204Z] ---> 5fb2b92038ab [2024-10-30T06:15:47.204Z] Step 11/12 : COPY . . [2024-10-30T06:15:47.204Z] ---> 55dde6970aa8 [2024-10-30T06:15:47.204Z] Step 12/12 : RUN $MAKE [2024-10-30T06:15:47.204Z] ---> Running in 401a4a130d2e [2024-10-30T06:15:47.204Z] noop [2024-10-30T06:15:47.204Z] Removing intermediate container 401a4a130d2e [2024-10-30T06:15:47.204Z] ---> b678bd92d2b6 [2024-10-30T06:15:47.204Z] Successfully built b678bd92d2b6 [2024-10-30T06:15:47.204Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:15:47.715Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T06:15:47.715Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:15:48.011Z] prd-ubuntu20.04-docker-arm64-4c-16g-24089 does not seem to be running inside a container [2024-10-30T06:15:48.073Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-30T06:15:49.185Z] $ docker top 78f6ce3c7a220f69fe98d6b2087e97b246bc0cff457101cf983f1696210252ce -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:15:50.074Z] + go version [2024-10-30T06:15:50.074Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-30T06:15:50.113Z] $ docker stop --time=1 78f6ce3c7a220f69fe98d6b2087e97b246bc0cff457101cf983f1696210252ce [2024-10-30T06:15:51.669Z] $ docker rm -f --volumes 78f6ce3c7a220f69fe98d6b2087e97b246bc0cff457101cf983f1696210252ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:15:52.652Z] + docker inspect -f . ci-base-image-arm64 [2024-10-30T06:15:52.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:15:52.902Z] prd-ubuntu20.04-docker-arm64-4c-16g-24089 does not seem to be running inside a container [2024-10-30T06:15:52.973Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-30T06:15:54.104Z] $ docker top 413673f334a6a47baa17ff6086daa67bb6e96da987514d95aa76a4e0ae16e37c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:15:54.657Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-30T06:15:55.384Z] + make test [2024-10-30T06:15:55.384Z] go test ./... -coverprofile=coverage.out ./... [2024-10-30T06:16:00.846Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-30T06:19:37.654Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-30T06:19:37.654Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-30T06:19:37.654Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.8% of statements [2024-10-30T06:19:37.654Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-30T06:19:37.654Z] go vet ./... [2024-10-30T06:20:24.513Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-30T06:20:24.513Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-30T06:20:24.513Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-30T06:20:24.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-30T06:20:24.608Z] $ docker stop --time=1 413673f334a6a47baa17ff6086daa67bb6e96da987514d95aa76a4e0ae16e37c [2024-10-30T06:20:26.440Z] $ docker rm -f --volumes 413673f334a6a47baa17ff6086daa67bb6e96da987514d95aa76a4e0ae16e37c [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-30T06:20:28.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-30T06:20:28.071Z] Warning: overwriting stash ‘coverage-report’ [2024-10-30T06:20:28.541Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-30T06:20:29.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-30T06:20:29.549Z] + ls -al . [2024-10-30T06:20:29.549Z] total 260 [2024-10-30T06:20:29.549Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:15 . [2024-10-30T06:20:29.549Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 06:12 .. [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 30 06:12 .dockerignore [2024-10-30T06:20:29.549Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 06:12 .git [2024-10-30T06:20:29.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:12 .github [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 30 06:12 .gitignore [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 30 06:12 .golangci.yml [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 30 06:12 Attribution.txt [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 30 06:12 CHANGELOG.md [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 1803 Oct 30 06:12 Dockerfile [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 30 06:12 GOVERNANCE.md [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 30 06:12 Jenkinsfile [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 30 06:12 LICENSE [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 2500 Oct 30 06:12 Makefile [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 30 06:12 OWNERS.md [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 30 06:12 README.md [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 30 06:10 VERSION [2024-10-30T06:20:29.549Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:12 bin [2024-10-30T06:20:29.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:12 cmd [2024-10-30T06:20:29.549Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 30 06:19 coverage.out [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 7030 Oct 30 06:12 go.mod [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 100162 Oct 30 06:12 go.sum [2024-10-30T06:20:29.549Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 06:12 internal [2024-10-30T06:20:29.549Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 06:12 mock [2024-10-30T06:20:29.549Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 30 06:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:20:30.005Z] + 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=b35bedd1f3478e6ee9832909a33ee3e010ee194a --label arch=arm64 --label version=0.0.0 . [2024-10-30T06:20:31.821Z] Sending build context to Docker daemon 10.69MB [2024-10-30T06:20:31.821Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-30T06:20:31.821Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-30T06:20:31.821Z] ---> b678bd92d2b6 [2024-10-30T06:20:31.821Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-30T06:20:31.821Z] ---> Running in e6c60087788c [2024-10-30T06:20:31.821Z] Removing intermediate container e6c60087788c [2024-10-30T06:20:31.821Z] ---> d5a7bdafaf7d [2024-10-30T06:20:31.821Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-30T06:20:31.821Z] ---> Running in 5f7bd9691901 [2024-10-30T06:20:31.821Z] Removing intermediate container 5f7bd9691901 [2024-10-30T06:20:31.821Z] ---> 5f9b43108547 [2024-10-30T06:20:31.821Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-30T06:20:31.821Z] ---> Running in e09766015c81 [2024-10-30T06:20:31.821Z] Removing intermediate container e09766015c81 [2024-10-30T06:20:31.821Z] ---> fd6d6890e548 [2024-10-30T06:20:31.821Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-30T06:20:31.821Z] ---> Running in 7c6724548aea [2024-10-30T06:20:32.093Z] Removing intermediate container 7c6724548aea [2024-10-30T06:20:32.093Z] ---> 7f2027a072f6 [2024-10-30T06:20:32.093Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-30T06:20:32.093Z] ---> Running in f74b2b5d3335 [2024-10-30T06:20:33.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:20:33.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:20:35.052Z] OK: 242 MiB in 58 packages [2024-10-30T06:20:36.022Z] Removing intermediate container f74b2b5d3335 [2024-10-30T06:20:36.022Z] ---> 841f2cdcc476 [2024-10-30T06:20:36.022Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-30T06:20:36.022Z] ---> Running in dc7de53aaaa7 [2024-10-30T06:20:36.291Z] Removing intermediate container dc7de53aaaa7 [2024-10-30T06:20:36.291Z] ---> 75e8ed339089 [2024-10-30T06:20:36.291Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-30T06:20:36.876Z] ---> f08ff14e21df [2024-10-30T06:20:36.876Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-30T06:20:36.876Z] ---> Running in 27f53100749a [2024-10-30T06:20:38.817Z] Removing intermediate container 27f53100749a [2024-10-30T06:20:38.817Z] ---> cf836ab3f6a3 [2024-10-30T06:20:38.817Z] Step 11/25 : COPY . . [2024-10-30T06:20:40.224Z] ---> 3cad256f6293 [2024-10-30T06:20:40.224Z] Step 12/25 : RUN $MAKE [2024-10-30T06:20:40.224Z] ---> Running in b8359881da00 [2024-10-30T06:20:41.185Z] 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.1" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [2024-10-30T06:24:02.953Z] Removing intermediate container b8359881da00 [2024-10-30T06:24:02.953Z] ---> 297993f5fc00 [2024-10-30T06:24:02.953Z] Step 13/25 : FROM alpine:3.20 [2024-10-30T06:24:02.953Z] 3.20: Pulling from library/alpine [2024-10-30T06:24:02.953Z] cf04c63912e1: Already exists [2024-10-30T06:24:02.953Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-30T06:24:02.953Z] Status: Downloaded newer image for alpine:3.20 [2024-10-30T06:24:02.953Z] ---> c157a85ed455 [2024-10-30T06:24:02.953Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-30T06:24:02.953Z] ---> Running in c5bc05714b01 [2024-10-30T06:24:02.953Z] Removing intermediate container c5bc05714b01 [2024-10-30T06:24:02.953Z] ---> c0b37d56e080 [2024-10-30T06:24:02.953Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-30T06:24:02.953Z] ---> Running in ded6457d66f2 [2024-10-30T06:24:03.549Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:24:03.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:24:05.763Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-30T06:24:05.763Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:24:05.763Z] OK: 9 MiB in 15 packages [2024-10-30T06:24:06.350Z] Removing intermediate container ded6457d66f2 [2024-10-30T06:24:06.350Z] ---> 4be21ba64903 [2024-10-30T06:24:06.350Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-30T06:24:06.618Z] ---> Running in e239be0a962a [2024-10-30T06:24:07.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:24:07.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:24:09.257Z] Upgrading critical system libraries and apk-tools: [2024-10-30T06:24:09.257Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-30T06:24:09.257Z] Executing busybox-1.36.1-r29.trigger [2024-10-30T06:24:09.524Z] Continuing the upgrade transaction with new apk-tools: [2024-10-30T06:24:09.524Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-30T06:24:09.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-30T06:24:11.203Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:24:11.203Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-10-30T06:24:11.203Z] OK: 9 MiB in 15 packages [2024-10-30T06:24:12.655Z] Removing intermediate container e239be0a962a [2024-10-30T06:24:12.655Z] ---> b2fef80ba899 [2024-10-30T06:24:12.655Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-30T06:24:15.230Z] ---> b9b3ce07bd18 [2024-10-30T06:24:15.230Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-30T06:24:15.230Z] ---> 84728390ace3 [2024-10-30T06:24:15.230Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-30T06:24:15.812Z] ---> a3364e9207e9 [2024-10-30T06:24:15.812Z] Step 20/25 : EXPOSE 59982 [2024-10-30T06:24:15.812Z] ---> Running in 1d56fc257ab5 [2024-10-30T06:24:16.080Z] Removing intermediate container 1d56fc257ab5 [2024-10-30T06:24:16.080Z] ---> 3c3a21247fc1 [2024-10-30T06:24:16.080Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-30T06:24:16.080Z] ---> Running in c0e8fae1d02e [2024-10-30T06:24:16.665Z] Removing intermediate container c0e8fae1d02e [2024-10-30T06:24:16.665Z] ---> c52f553f745f [2024-10-30T06:24:16.665Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-10-30T06:24:16.665Z] ---> Running in 3d6ad458563d [2024-10-30T06:24:16.935Z] Removing intermediate container 3d6ad458563d [2024-10-30T06:24:16.935Z] ---> 68584feaa935 [2024-10-30T06:24:16.935Z] Step 23/25 : LABEL arch=arm64 [2024-10-30T06:24:16.935Z] ---> Running in 2b74901a6dd1 [2024-10-30T06:24:17.210Z] Removing intermediate container 2b74901a6dd1 [2024-10-30T06:24:17.211Z] ---> a6b7a97fe6bb [2024-10-30T06:24:17.211Z] Step 24/25 : LABEL git_sha=b35bedd1f3478e6ee9832909a33ee3e010ee194a [2024-10-30T06:24:17.211Z] ---> Running in 66577810bad7 [2024-10-30T06:24:17.477Z] Removing intermediate container 66577810bad7 [2024-10-30T06:24:17.477Z] ---> ade6c2570fc1 [2024-10-30T06:24:17.477Z] Step 25/25 : LABEL version=0.0.0 [2024-10-30T06:24:17.742Z] ---> Running in 53dca2c58827 [2024-10-30T06:24:18.007Z] Removing intermediate container 53dca2c58827 [2024-10-30T06:24:18.007Z] ---> 4058dbb50d63 [2024-10-30T06:24:18.007Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-30T06:24:18.007Z] Successfully built 4058dbb50d63 [2024-10-30T06:24:18.007Z] 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-10-30T06:24:19.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T06:24:19.050Z] [2024-10-30T06:24:19.050Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:24:19.471Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T06:24:19.471Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-30T06:24:19.471Z] 8998bd30e6a1: Pulling fs layer [2024-10-30T06:24:19.471Z] 04944245beec: Pulling fs layer [2024-10-30T06:24:19.471Z] 699f458cf7ca: Pulling fs layer [2024-10-30T06:24:19.471Z] 765212b225bb: Pulling fs layer [2024-10-30T06:24:19.471Z] f23df028b6ca: Pulling fs layer [2024-10-30T06:24:19.471Z] d65c8cfc05b1: Pulling fs layer [2024-10-30T06:24:19.471Z] 2437ff75d9bd: Pulling fs layer [2024-10-30T06:24:19.471Z] 765212b225bb: Waiting [2024-10-30T06:24:19.471Z] f23df028b6ca: Waiting [2024-10-30T06:24:19.471Z] d65c8cfc05b1: Waiting [2024-10-30T06:24:19.471Z] 2437ff75d9bd: Waiting [2024-10-30T06:24:19.738Z] 04944245beec: Verifying Checksum [2024-10-30T06:24:19.738Z] 04944245beec: Download complete [2024-10-30T06:24:19.738Z] 765212b225bb: Verifying Checksum [2024-10-30T06:24:19.738Z] 765212b225bb: Download complete [2024-10-30T06:24:19.738Z] f23df028b6ca: Download complete [2024-10-30T06:24:19.738Z] d65c8cfc05b1: Verifying Checksum [2024-10-30T06:24:19.738Z] d65c8cfc05b1: Download complete [2024-10-30T06:24:19.738Z] 699f458cf7ca: Verifying Checksum [2024-10-30T06:24:19.738Z] 699f458cf7ca: Download complete [2024-10-30T06:24:20.321Z] 8998bd30e6a1: Verifying Checksum [2024-10-30T06:24:20.321Z] 8998bd30e6a1: Download complete [2024-10-30T06:24:22.893Z] 2437ff75d9bd: Verifying Checksum [2024-10-30T06:24:22.893Z] 2437ff75d9bd: Download complete [2024-10-30T06:24:24.829Z] 8998bd30e6a1: Pull complete [2024-10-30T06:24:25.096Z] 04944245beec: Pull complete [2024-10-30T06:24:27.041Z] 699f458cf7ca: Pull complete [2024-10-30T06:24:27.041Z] 765212b225bb: Pull complete [2024-10-30T06:24:27.625Z] f23df028b6ca: Pull complete [2024-10-30T06:24:27.893Z] d65c8cfc05b1: Pull complete [2024-10-30T06:24:46.102Z] 2437ff75d9bd: Pull complete [2024-10-30T06:24:46.102Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-30T06:24:46.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-30T06:24:46.102Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:24:46.460Z] prd-ubuntu20.04-docker-arm64-4c-16g-24089 does not seem to be running inside a container [2024-10-30T06:24:46.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-30T06:24:49.083Z] $ docker top 13f7acb9e002da3f9aa955593d2fe00f94d820c19d8bb77ce30ddc4728fd6e29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:24:49.980Z] ---> job-cost.sh [2024-10-30T06:24:49.980Z] lf-activate-venv: SKIPPING [2024-10-30T06:24:49.980Z] INFO: No Stack... [2024-10-30T06:25:12.004Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-30T06:25:12.004Z] INFO: Archiving Costs [Pipeline] sh [2024-10-30T06:25:12.353Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-10-30T06:25:12.353Z] + cut -d, -f6 [Pipeline] lock [2024-10-30T06:25:12.436Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-705-1-stack-cost] [2024-10-30T06:25:12.442Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-705-1-stack-cost] did not exist. Created. [2024-10-30T06:25:12.447Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-705-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-30T06:25:13.191Z] /w/workspace/device-mqtt-go/1@tmp/durable-f7a2cac5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-30T06:25:13.539Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-30T06:25:13.581Z] Warning: overwriting stash ‘stack-cost’ [2024-10-30T06:25:13.667Z] Stashed 1 file(s) [Pipeline] } [2024-10-30T06:25:13.691Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-705-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-30T06:25:13.775Z] $ docker stop --time=1 13f7acb9e002da3f9aa955593d2fe00f94d820c19d8bb77ce30ddc4728fd6e29 [2024-10-30T06:25:15.350Z] $ docker rm -f --volumes 13f7acb9e002da3f9aa955593d2fe00f94d820c19d8bb77ce30ddc4728fd6e29 [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-10-30T06:25:16.579Z] provisioning config files... [2024-10-30T06:25:16.587Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp/config17594598707497669901tmp [Pipeline] { [Pipeline] sh [2024-10-30T06:25:16.946Z] + set +x [2024-10-30T06:25:16.946Z] + curl -s https://codecov.io/bash [2024-10-30T06:25:16.946Z] + bash -s -- [2024-10-30T06:25:16.946Z] [2024-10-30T06:25:16.946Z] _____ _ [2024-10-30T06:25:16.946Z] / ____| | | [2024-10-30T06:25:16.946Z] | | ___ __| | ___ ___ _____ __ [2024-10-30T06:25:16.946Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-30T06:25:16.946Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-30T06:25:16.946Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-30T06:25:16.946Z] Bash-1.0.6 [2024-10-30T06:25:16.946Z] [2024-10-30T06:25:16.946Z] [2024-10-30T06:25:16.946Z] ==> git version 2.25.1 found [2024-10-30T06:25:16.946Z] ==> 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-10-30T06:25:16.946Z] Release-Date: 2020-01-08 [2024-10-30T06:25:16.946Z] 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-10-30T06:25:16.946Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-30T06:25:16.946Z] ==> Jenkins CI detected. [2024-10-30T06:25:16.946Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-705 [2024-10-30T06:25:16.946Z] project root: . [2024-10-30T06:25:16.946Z] --> token set from env [2024-10-30T06:25:16.946Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-30T06:25:16.946Z] ==> Running gcov in . (disable via -X gcov) [2024-10-30T06:25:16.946Z] ==> Python coveragepy not found [2024-10-30T06:25:16.946Z] ==> Searching for coverage reports in: [2024-10-30T06:25:16.946Z] + . [2024-10-30T06:25:16.946Z] -> Found 1 reports [2024-10-30T06:25:16.946Z] ==> Detecting git/mercurial file structure [2024-10-30T06:25:16.946Z] ==> Reading reports [2024-10-30T06:25:17.206Z] + ./coverage.out bytes=21039 [2024-10-30T06:25:17.206Z] ==> Appending adjustments [2024-10-30T06:25:17.206Z] https://docs.codecov.io/docs/fixing-reports [2024-10-30T06:25:17.206Z] + Found adjustments [2024-10-30T06:25:17.206Z] ==> Gzipping contents [2024-10-30T06:25:17.206Z] 4.0K /tmp/codecov.zc7XS1.gz [2024-10-30T06:25:17.206Z] ==> Uploading reports [2024-10-30T06:25:17.206Z] url: https://codecov.io [2024-10-30T06:25:17.206Z] query: branch=PR-705&commit=b35bedd1f3478e6ee9832909a33ee3e010ee194a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-705%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=705&job=&cmd_args= [2024-10-30T06:25:17.206Z] -> Pinging Codecov [2024-10-30T06:25:17.206Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-705&commit=b35bedd1f3478e6ee9832909a33ee3e010ee194a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-705%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=705&job=&cmd_args= [2024-10-30T06:25:17.465Z] -> Uploading to [2024-10-30T06:25:17.465Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/b35bedd1f3478e6ee9832909a33ee3e010ee194a/8c6b8806-b989-48c3-b5d9-5e0cffda813f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T062517Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=be546ee8c3b7c876077e550fd8064ec38389afcdf6bbddb6acb92da4a5a6cfcd [2024-10-30T06:25:17.465Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-30T06:25:17.465Z] Dload Upload Total Spent Left Speed [2024-10-30T06:25:17.725Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 16482 --:--:-- --:--:-- --:--:-- 16401 100 3346 0 0 100 3346 0 15140 --:--:-- --:--:-- --:--:-- 15072 [2024-10-30T06:25:17.725Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b35bedd1f3478e6ee9832909a33ee3e010ee194a [Pipeline] } [2024-10-30T06:25:17.760Z] 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-10-30T06:25:20.005Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-705/archives ] [2024-10-30T06:25:20.005Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-705/archives [2024-10-30T06:25:20.005Z] total 16 [2024-10-30T06:25:20.005Z] drwxr-xr-x 3 root root 4096 Oct 30 06:13 . [2024-10-30T06:25:20.005Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 06:13 .. [2024-10-30T06:25:20.005Z] drwxr-xr-x 2 root root 4096 Oct 30 06:13 cost [2024-10-30T06:25:20.005Z] -rw-r--r-- 1 root root 86 Oct 30 06:13 cost.csv [2024-10-30T06:25:20.005Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-705/archives [2024-10-30T06:25:20.005Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-705/archives [2024-10-30T06:25:20.005Z] total 16 [2024-10-30T06:25:20.005Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 06:13 . [2024-10-30T06:25:20.005Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 06:13 .. [2024-10-30T06:25:20.005Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 06:13 cost [2024-10-30T06:25:20.005Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 30 06:13 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:25:20.346Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:25:21.247Z] ---> package-listing.sh [2024-10-30T06:25:21.247Z] ++ facter osfamily [2024-10-30T06:25:21.247Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-30T06:25:21.506Z] + OS_FAMILY=debian [2024-10-30T06:25:21.506Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-705 [2024-10-30T06:25:21.506Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-30T06:25:21.506Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-30T06:25:21.506Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-30T06:25:21.506Z] + PACKAGES=/tmp/packages_start.txt [2024-10-30T06:25:21.506Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-705 ']' [2024-10-30T06:25:21.506Z] + PACKAGES=/tmp/packages_end.txt [2024-10-30T06:25:21.506Z] + case "${OS_FAMILY}" in [2024-10-30T06:25:21.506Z] + dpkg -l [2024-10-30T06:25:21.506Z] + grep '^ii' [2024-10-30T06:25:21.506Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-30T06:25:21.506Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-30T06:25:21.506Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-30T06:25:21.506Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-705 ']' [2024-10-30T06:25:21.506Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-705/archives/ [2024-10-30T06:25:21.506Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-705/archives/ [Pipeline] echo [2024-10-30T06:25:21.552Z] 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-705/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-30T06:25:21.855Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-30T06:25:22.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-30T06:25:22.509Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-30T06:25:22.685Z] prd-ubuntu20.04-docker-8c-8g-24087 does not seem to be running inside a container [2024-10-30T06:25:22.725Z] $ 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-705/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-705 -v /w/workspace/gexfoundry_device-mqtt-go_PR-705:/w/workspace/gexfoundry_device-mqtt-go_PR-705:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-705@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-10-30T06:25:22.938Z] $ docker top 409f2b2be12b3e4d9a9479b9a4ba52b45610fafd507213f76c24b5f6aba732e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-30T06:25:23.344Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-30T06:25:23.721Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-30T06:25:24.076Z] + ls /var/log/sa-host [2024-10-30T06:25:24.076Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-30T06:25:24.237Z] provisioning config files... [2024-10-30T06:25:24.257Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-705@tmp/config14156861900350413113tmp [Pipeline] { [Pipeline] echo [2024-10-30T06:25:24.315Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:25:24.683Z] ---> create-netrc.sh [Pipeline] } [2024-10-30T06:25:24.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:25:25.144Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-30T06:25:25.184Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:25:25.507Z] ---> sudo-logs.sh [2024-10-30T06:25:25.507Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-30T06:25:25.621Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:25:25.947Z] ---> job-cost.sh [2024-10-30T06:25:25.947Z] lf-activate-venv: SKIPPING [2024-10-30T06:25:25.947Z] DEBUG: total: 0.2199999988079071 [2024-10-30T06:25:25.947Z] INFO: Retrieving Stack Cost... [2024-10-30T06:25:26.206Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-30T06:25:26.776Z] INFO: Archiving Costs [Pipeline] echo [2024-10-30T06:25:26.828Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-30T06:25:27.159Z] ---> logs-deploy.sh [2024-10-30T06:25:27.159Z] lf-activate-venv: SKIPPING [2024-10-30T06:25:27.159Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-705/1 [2024-10-30T06:25:27.159Z] INFO: archiving workspace using pattern(s): [2024-10-30T06:25:28.113Z] Archives upload complete. [2024-10-30T06:25:28.373Z] INFO: archiving logs to Nexus