Pull request #697 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 jinlinGuan for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 43f794b456aa3735bbca56bd2373d27e91a7aa37+a7ea162f49cc88b1fd5543c209327df7c238676c (987dff4c297d513838df3414a6574edec04fa006) 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-ssh3158748424237988484.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-ssh8935629701909809838.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-697/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-697/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10667780810940938578.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-697/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15414026410461527137.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-ssh7169254818610065644.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-697/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-697/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10725961884042513440.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 Running on prd-ubuntu20.04-docker-8c-8g-15596 in /w/workspace/gexfoundry_device-mqtt-go_PR-697 [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-697 # 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 a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit 43f794b456aa3735bbca56bd2373d27e91a7aa37 > 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/697/head:refs/remotes/origin/PR-697 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43f794b456aa3735bbca56bd2373d27e91a7aa37 # timeout=10 Merge succeeded, producing 43f794b456aa3735bbca56bd2373d27e91a7aa37 Checking out Revision 43f794b456aa3735bbca56bd2373d27e91a7aa37 (PR-697) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43f794b456aa3735bbca56bd2373d27e91a7aa37 # timeout=10 Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" 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-04T05:36:09.216Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T05:36:09.437Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T05:36:09.556Z] ========================================================= [2024-10-04T05:36:09.556Z] EdgeX Global Pipelines Version Info [2024-10-04T05:36:09.556Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:36:10.328Z] ------------------- [2024-10-04T05:36:10.328Z] stable info: [2024-10-04T05:36:10.328Z] ------------------- [2024-10-04T05:36:10.328Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T05:36:10.328Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T05:36:10.328Z] Message: update stable to v1.0.265 [2024-10-04T05:36:10.901Z] ------------------- [2024-10-04T05:36:10.901Z] experimental info: [2024-10-04T05:36:10.901Z] ------------------- [2024-10-04T05:36:10.901Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T05:36:10.901Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T05:36:10.901Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T05:36:11.132Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-10-04T05:36:11.199Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-10-04T05:36:11.262Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T05:36:11.322Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T05:36:11.382Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T05:36:11.441Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T05:36:11.505Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T05:36:11.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-04T05:36:11.621Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T05:36:11.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T05:36:11.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T05:36:11.805Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-10-04T05:36:11.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T05:36:11.938Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T05:36:11.998Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T05:36:12.059Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T05:36:12.124Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T05:36:12.184Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T05:36:12.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T05:36:12.318Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T05:36:12.379Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-04T05:36:12.443Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-04T05:36:12.509Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T05:36:12.574Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T05:36:12.636Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T05:36:12.704Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T05:36:12.767Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T05:36:12.832Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-697 [Pipeline] echo [2024-10-04T05:36:12.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-697 [Pipeline] echo [2024-10-04T05:36:12.951Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-697 [Pipeline] echo [2024-10-04T05:36:13.008Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43f794b456aa3735bbca56bd2373d27e91a7aa37 [Pipeline] echo [2024-10-04T05:36:13.064Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43f794b [Pipeline] echo [2024-10-04T05:36:13.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T05:36:13.260Z] provisioning config files... [2024-10-04T05:36:13.274Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp/config8097372717763906357tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:36:13.669Z] ---> ****-login.sh [2024-10-04T05:36:13.669Z] nexus3.edgexfoundry.org:10001 [2024-10-04T05:36:13.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:14.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:14.197Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:14.197Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:14.197Z] [2024-10-04T05:36:14.197Z] Login Succeeded [2024-10-04T05:36:14.197Z] nexus3.edgexfoundry.org:10002 [2024-10-04T05:36:14.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:14.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:14.197Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:14.198Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:14.198Z] [2024-10-04T05:36:14.198Z] Login Succeeded [2024-10-04T05:36:14.198Z] nexus3.edgexfoundry.org:10003 [2024-10-04T05:36:14.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:14.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:14.198Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:14.198Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:14.198Z] [2024-10-04T05:36:14.198Z] Login Succeeded [2024-10-04T05:36:14.198Z] nexus3.edgexfoundry.org:10004 [2024-10-04T05:36:14.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:14.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:14.460Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:14.460Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:14.460Z] [2024-10-04T05:36:14.460Z] Login Succeeded [2024-10-04T05:36:14.460Z] ****.io [2024-10-04T05:36:14.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:14.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:14.721Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:14.721Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:14.721Z] [2024-10-04T05:36:14.721Z] Login Succeeded [2024-10-04T05:36:14.721Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T05:36:14.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T05:36:15.462Z] + git rev-list -1 --merges 43f794b456aa3735bbca56bd2373d27e91a7aa37~1..43f794b456aa3735bbca56bd2373d27e91a7aa37 [Pipeline] echo [2024-10-04T05:36:15.513Z] -----------> git rev-list -1 --merges 43f794b456aa3735bbca56bd2373d27e91a7aa37~1..43f794b456aa3735bbca56bd2373d27e91a7aa37 43f794b456aa3735bbca56bd2373d27e91a7aa37 [false] [Pipeline] sh [2024-10-04T05:36:15.834Z] + git log --format=format:%s -1 43f794b456aa3735bbca56bd2373d27e91a7aa37 [Pipeline] echo [2024-10-04T05:36:15.881Z] ========================================================= [2024-10-04T05:36:15.881Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T05:36:15.881Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T05:36:16.350Z] + git log --format=format:%s -1 43f794b456aa3735bbca56bd2373d27e91a7aa37 [Pipeline] echo [2024-10-04T05:36:16.392Z] [semverPrep] GIT_COMMIT: 43f794b456aa3735bbca56bd2373d27e91a7aa37, Commit Message: build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20 [Pipeline] echo [2024-10-04T05:36:16.441Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T05:36:16.842Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T05:36:16.842Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T05:36:16.842Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T05:36:16.842Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T05:36:16.842Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T05:36:16.842Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T05:36:16.842Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:36:17.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T05:36:17.309Z] [2024-10-04T05:36:17.309Z] 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-04T05:36:17.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T05:36:17.718Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T05:36:17.718Z] b85a868b505f: Pulling fs layer [2024-10-04T05:36:17.718Z] e2be974225ed: Pulling fs layer [2024-10-04T05:36:17.718Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T05:36:17.718Z] 988bab9f4d93: Pulling fs layer [2024-10-04T05:36:17.718Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T05:36:17.718Z] eaf3925da568: Pulling fs layer [2024-10-04T05:36:17.718Z] bab4dde63d76: Pulling fs layer [2024-10-04T05:36:17.718Z] bde34c3a00c8: Pulling fs layer [2024-10-04T05:36:17.718Z] b352a97aabf1: Pulling fs layer [2024-10-04T05:36:17.718Z] 4872d77fe225: Pulling fs layer [2024-10-04T05:36:17.718Z] 5851b861e8e6: Pulling fs layer [2024-10-04T05:36:17.718Z] 988bab9f4d93: Waiting [2024-10-04T05:36:17.718Z] 4872d77fe225: Waiting [2024-10-04T05:36:17.718Z] bab4dde63d76: Waiting [2024-10-04T05:36:17.718Z] eaf3925da568: Waiting [2024-10-04T05:36:17.718Z] bde34c3a00c8: Waiting [2024-10-04T05:36:17.718Z] 1469e6f7b9e6: Waiting [2024-10-04T05:36:17.718Z] e2be974225ed: Download complete [2024-10-04T05:36:17.718Z] 988bab9f4d93: Download complete [2024-10-04T05:36:17.718Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T05:36:17.718Z] 1469e6f7b9e6: Download complete [2024-10-04T05:36:17.718Z] eaf3925da568: Download complete [2024-10-04T05:36:17.978Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T05:36:17.978Z] 339a4e72a1f5: Download complete [2024-10-04T05:36:17.978Z] bde34c3a00c8: Download complete [2024-10-04T05:36:17.978Z] b352a97aabf1: Verifying Checksum [2024-10-04T05:36:17.978Z] b352a97aabf1: Download complete [2024-10-04T05:36:17.978Z] 4872d77fe225: Verifying Checksum [2024-10-04T05:36:17.978Z] 4872d77fe225: Download complete [2024-10-04T05:36:17.978Z] 5851b861e8e6: Verifying Checksum [2024-10-04T05:36:17.978Z] 5851b861e8e6: Download complete [2024-10-04T05:36:17.978Z] b85a868b505f: Verifying Checksum [2024-10-04T05:36:17.978Z] b85a868b505f: Download complete [2024-10-04T05:36:18.238Z] bab4dde63d76: Verifying Checksum [2024-10-04T05:36:18.238Z] bab4dde63d76: Download complete [2024-10-04T05:36:19.177Z] b85a868b505f: Pull complete [2024-10-04T05:36:19.177Z] e2be974225ed: Pull complete [2024-10-04T05:36:19.746Z] 339a4e72a1f5: Pull complete [2024-10-04T05:36:19.746Z] 988bab9f4d93: Pull complete [2024-10-04T05:36:20.009Z] 1469e6f7b9e6: Pull complete [2024-10-04T05:36:20.009Z] eaf3925da568: Pull complete [2024-10-04T05:36:21.918Z] bab4dde63d76: Pull complete [2024-10-04T05:36:21.918Z] bde34c3a00c8: Pull complete [2024-10-04T05:36:22.179Z] b352a97aabf1: Pull complete [2024-10-04T05:36:22.179Z] 4872d77fe225: Pull complete [2024-10-04T05:36:22.179Z] 5851b861e8e6: Pull complete [2024-10-04T05:36:22.179Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T05:36:22.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T05:36:22.179Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:36:22.488Z] prd-ubuntu20.04-docker-8c-8g-15596 does not seem to be running inside a container [2024-10-04T05:36:22.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-697 -v /w/workspace/gexfoundry_device-mqtt-go_PR-697:/w/workspace/gexfoundry_device-mqtt-go_PR-697:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-04T05:36:26.499Z] $ docker top 88a0a5f3fba9f1ed466ebf735eb99e313a2019bc963c64d74e72be9fff65b4c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T05:36:26.734Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T05:36:26.734Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T05:36:26.838Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T05:36:26.826Z] $ docker exec 88a0a5f3fba9f1ed466ebf735eb99e313a2019bc963c64d74e72be9fff65b4c4 ssh-agent [2024-10-04T05:36:26.937Z] SSH_AUTH_SOCK=/tmp/ssh-mPKNvTaNhucq/agent.31 [2024-10-04T05:36:26.937Z] SSH_AGENT_PID=37 [2024-10-04T05:36:26.943Z] Running ssh-add (command line suppressed) [2024-10-04T05:36:27.028Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp/private_key_12919639784262791829.key (/w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp/private_key_12919639784262791829.key) [2024-10-04T05:36:27.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T05:36:27.412Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T05:36:27.502Z] $ docker exec --env ******** --env ******** 88a0a5f3fba9f1ed466ebf735eb99e313a2019bc963c64d74e72be9fff65b4c4 ssh-agent -k [2024-10-04T05:36:27.595Z] unset SSH_AUTH_SOCK; [2024-10-04T05:36:27.595Z] unset SSH_AGENT_PID; [2024-10-04T05:36:27.595Z] echo Agent pid 37 killed; [2024-10-04T05:36:27.623Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T05:36:27.739Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T05:36:27.739Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T05:36:27.850Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T05:36:27.837Z] $ docker exec 88a0a5f3fba9f1ed466ebf735eb99e313a2019bc963c64d74e72be9fff65b4c4 ssh-agent [2024-10-04T05:36:27.956Z] SSH_AUTH_SOCK=/tmp/ssh-4eJBZmZrK2aG/agent.70 [2024-10-04T05:36:27.956Z] SSH_AGENT_PID=76 [2024-10-04T05:36:27.960Z] Running ssh-add (command line suppressed) [2024-10-04T05:36:28.044Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp/private_key_6200437235155217641.key (/w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp/private_key_6200437235155217641.key) [2024-10-04T05:36:28.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T05:36:28.426Z] + git semver init [2024-10-04T05:36:28.686Z] 2024-10-04 05:36:28,584 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T05:36:28.686Z] 2024-10-04 05:36:28,585 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-697/.semver [2024-10-04T05:36:28.686Z] 2024-10-04 05:36:28,585 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-697/.semver [2024-10-04T05:36:28.686Z] 2024-10-04 05:36:28,586 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-697/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-697, universal_newlines=False, shell=None, istream=None) [2024-10-04T05:36:30.596Z] 2024-10-04 05:36:30,266 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-697/.git/info/exclude [2024-10-04T05:36:30.596Z] 2024-10-04 05:36:30,267 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-697/.semver/PR-697 with force:False [2024-10-04T05:36:30.596Z] 2024-10-04 05:36:30,267 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-697/.semver/PR-697 [2024-10-04T05:36:30.596Z] 2024-10-04 05:36:30,271 [execute] INFO git cat-file --batch-check [2024-10-04T05:36:30.596Z] 2024-10-04 05:36:30,272 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-697/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T05:36:30.596Z] 2024-10-04 05:36:30,279 [execute] INFO git cat-file --batch [2024-10-04T05:36:30.596Z] 2024-10-04 05:36:30,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-697/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T05:36:30.596Z] 2024-10-04 05:36:30,286 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-697/.semver/PR-697 [2024-10-04T05:36:30.596Z] 0.0.0 [Pipeline] } [2024-10-04T05:36:30.623Z] $ docker exec --env ******** --env ******** 88a0a5f3fba9f1ed466ebf735eb99e313a2019bc963c64d74e72be9fff65b4c4 ssh-agent -k [2024-10-04T05:36:30.728Z] unset SSH_AUTH_SOCK; [2024-10-04T05:36:30.729Z] unset SSH_AGENT_PID; [2024-10-04T05:36:30.729Z] echo Agent pid 76 killed; [2024-10-04T05:36:30.754Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T05:36:31.702Z] + git semver [Pipeline] } [2024-10-04T05:36:31.978Z] $ docker stop --time=1 88a0a5f3fba9f1ed466ebf735eb99e313a2019bc963c64d74e72be9fff65b4c4 [2024-10-04T05:36:33.275Z] $ docker rm -f --volumes 88a0a5f3fba9f1ed466ebf735eb99e313a2019bc963c64d74e72be9fff65b4c4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T05:36:33.722Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T05:36:34.069Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T05:36:34.094Z] [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-04T05:36:34.803Z] provisioning config files... [2024-10-04T05:36:34.813Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp/config4281002027888852517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:36:35.183Z] ---> ****-login.sh [2024-10-04T05:36:35.183Z] nexus3.edgexfoundry.org:10001 [2024-10-04T05:36:35.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:35.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:35.184Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:35.184Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:35.184Z] [2024-10-04T05:36:35.184Z] Login Succeeded [2024-10-04T05:36:35.184Z] nexus3.edgexfoundry.org:10002 [2024-10-04T05:36:35.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:35.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:35.184Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:35.184Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:35.184Z] [2024-10-04T05:36:35.184Z] Login Succeeded [2024-10-04T05:36:35.184Z] nexus3.edgexfoundry.org:10003 [2024-10-04T05:36:35.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:35.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:35.444Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:35.444Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:35.444Z] [2024-10-04T05:36:35.444Z] Login Succeeded [2024-10-04T05:36:35.444Z] nexus3.edgexfoundry.org:10004 [2024-10-04T05:36:35.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:35.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:35.444Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:35.444Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:35.444Z] [2024-10-04T05:36:35.444Z] Login Succeeded [2024-10-04T05:36:35.444Z] ****.io [2024-10-04T05:36:35.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:36:35.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:36:35.704Z] Configure a credential helper to remove this warning. See [2024-10-04T05:36:35.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:36:35.704Z] [2024-10-04T05:36:35.704Z] Login Succeeded [2024-10-04T05:36:35.704Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T05:36:35.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T05:36:35.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T05:36:36.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T05:36:36.076Z] ========================================================= [2024-10-04T05:36:36.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T05:36:36.076Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:36:36.601Z] + 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-04T05:36:36.601Z] Sending build context to Docker daemon 20.93MB [2024-10-04T05:36:36.601Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T05:36:36.601Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T05:36:36.601Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T05:36:36.601Z] 43c4264eed91: Pulling fs layer [2024-10-04T05:36:36.601Z] 4cc291be95ef: Pulling fs layer [2024-10-04T05:36:36.602Z] 2ac1f1163629: Pulling fs layer [2024-10-04T05:36:36.602Z] 5c3c966382ef: Pulling fs layer [2024-10-04T05:36:36.602Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T05:36:36.602Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T05:36:36.602Z] 9f66e0745190: Pulling fs layer [2024-10-04T05:36:36.602Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T05:36:36.602Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T05:36:36.602Z] 5c3c966382ef: Waiting [2024-10-04T05:36:36.602Z] 4f4fb700ef54: Waiting [2024-10-04T05:36:36.602Z] 5d5c8e513c77: Waiting [2024-10-04T05:36:36.602Z] 9f66e0745190: Waiting [2024-10-04T05:36:36.602Z] f49a43e4bbc0: Waiting [2024-10-04T05:36:36.602Z] 561ebcabdf7f: Waiting [2024-10-04T05:36:36.602Z] 4cc291be95ef: Verifying Checksum [2024-10-04T05:36:36.602Z] 4cc291be95ef: Download complete [2024-10-04T05:36:36.863Z] 5c3c966382ef: Download complete [2024-10-04T05:36:36.863Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T05:36:36.863Z] 4f4fb700ef54: Download complete [2024-10-04T05:36:36.863Z] 5d5c8e513c77: Verifying Checksum [2024-10-04T05:36:36.863Z] 5d5c8e513c77: Download complete [2024-10-04T05:36:36.863Z] 43c4264eed91: Verifying Checksum [2024-10-04T05:36:36.863Z] 43c4264eed91: Download complete [2024-10-04T05:36:36.863Z] 9f66e0745190: Verifying Checksum [2024-10-04T05:36:36.863Z] 9f66e0745190: Download complete [2024-10-04T05:36:37.123Z] 561ebcabdf7f: Verifying Checksum [2024-10-04T05:36:37.123Z] 561ebcabdf7f: Download complete [2024-10-04T05:36:37.123Z] 43c4264eed91: Pull complete [2024-10-04T05:36:37.123Z] 4cc291be95ef: Pull complete [2024-10-04T05:36:37.383Z] 2ac1f1163629: Download complete [2024-10-04T05:36:37.641Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T05:36:37.641Z] f49a43e4bbc0: Download complete [2024-10-04T05:36:40.354Z] 2ac1f1163629: Pull complete [2024-10-04T05:36:40.615Z] 5c3c966382ef: Pull complete [2024-10-04T05:36:40.615Z] 4f4fb700ef54: Pull complete [2024-10-04T05:36:40.615Z] 5d5c8e513c77: Pull complete [2024-10-04T05:36:40.615Z] 9f66e0745190: Pull complete [2024-10-04T05:36:42.729Z] f49a43e4bbc0: Pull complete [2024-10-04T05:36:43.296Z] 561ebcabdf7f: Pull complete [2024-10-04T05:36:43.296Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T05:36:43.296Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T05:36:43.296Z] ---> 3a752c3f9dda [2024-10-04T05:36:43.296Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T05:36:49.602Z] Still waiting to schedule task [2024-10-04T05:36:49.603Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-04T05:36:51.425Z] ---> Running in 3cbb6e656b20 [2024-10-04T05:36:51.425Z] Removing intermediate container 3cbb6e656b20 [2024-10-04T05:36:51.425Z] ---> 32125eba4ab8 [2024-10-04T05:36:51.425Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T05:36:51.425Z] ---> Running in 91027b8d9001 [2024-10-04T05:36:51.425Z] Removing intermediate container 91027b8d9001 [2024-10-04T05:36:51.425Z] ---> 9c843f47281a [2024-10-04T05:36:51.425Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T05:36:51.425Z] ---> Running in 53b5ac2feb3d [2024-10-04T05:36:51.425Z] Removing intermediate container 53b5ac2feb3d [2024-10-04T05:36:51.425Z] ---> acc7b059322f [2024-10-04T05:36:51.425Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T05:36:51.425Z] ---> Running in f50f9c0e015a [2024-10-04T05:36:51.425Z] Removing intermediate container f50f9c0e015a [2024-10-04T05:36:51.425Z] ---> 12454b8bd027 [2024-10-04T05:36:51.425Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T05:36:51.425Z] ---> Running in fa76edc36ac9 [2024-10-04T05:36:51.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T05:36:51.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T05:36:51.943Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T05:36:51.943Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T05:36:51.943Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T05:36:51.943Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T05:36:51.943Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:36:51.943Z] OK: 250 MiB in 58 packages [2024-10-04T05:36:52.973Z] Removing intermediate container fa76edc36ac9 [2024-10-04T05:36:52.973Z] ---> 359a1c747ed2 [2024-10-04T05:36:52.973Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-04T05:36:52.973Z] ---> Running in 3743f2cf5e5f [2024-10-04T05:36:52.973Z] Removing intermediate container 3743f2cf5e5f [2024-10-04T05:36:52.973Z] ---> 6a43d77f34e4 [2024-10-04T05:36:52.973Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T05:36:52.973Z] ---> 626c03944269 [2024-10-04T05:36:52.973Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T05:36:52.973Z] ---> Running in d3abc1fb30ab [2024-10-04T05:37:49.230Z] Removing intermediate container d3abc1fb30ab [2024-10-04T05:37:49.230Z] ---> 71c96b8173ee [2024-10-04T05:37:49.230Z] Step 11/12 : COPY . . [2024-10-04T05:37:49.230Z] ---> bbf877d858ce [2024-10-04T05:37:49.230Z] Step 12/12 : RUN $MAKE [2024-10-04T05:37:49.230Z] ---> Running in 838bf4e78c77 [2024-10-04T05:37:49.490Z] noop [2024-10-04T05:37:49.750Z] Removing intermediate container 838bf4e78c77 [2024-10-04T05:37:49.750Z] ---> b1bc53ac7f59 [2024-10-04T05:37:49.750Z] Successfully built b1bc53ac7f59 [2024-10-04T05:37:49.750Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:37:50.244Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T05:37:50.244Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:37:50.420Z] prd-ubuntu20.04-docker-8c-8g-15596 does not seem to be running inside a container [2024-10-04T05:37:50.437Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-697 -v /w/workspace/gexfoundry_device-mqtt-go_PR-697:/w/workspace/gexfoundry_device-mqtt-go_PR-697:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-697@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 ******** ci-base-image-x86_64 cat [2024-10-04T05:37:50.778Z] $ docker top a50b6048c97910d1c248d08dd69d1dacde179cfc2917965aefc7663fa055ac07 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T05:37:51.216Z] + go version [2024-10-04T05:37:51.216Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T05:37:51.234Z] $ docker stop --time=1 a50b6048c97910d1c248d08dd69d1dacde179cfc2917965aefc7663fa055ac07 [2024-10-04T05:37:52.518Z] $ docker rm -f --volumes a50b6048c97910d1c248d08dd69d1dacde179cfc2917965aefc7663fa055ac07 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:37:53.326Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T05:37:53.326Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:37:53.512Z] prd-ubuntu20.04-docker-8c-8g-15596 does not seem to be running inside a container [2024-10-04T05:37:53.542Z] $ 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-697 -v /w/workspace/gexfoundry_device-mqtt-go_PR-697:/w/workspace/gexfoundry_device-mqtt-go_PR-697:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-697@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 ******** ci-base-image-x86_64 cat [2024-10-04T05:37:53.880Z] $ docker top 3e1be827040dcd977180271e131a3b2e98403461c40e9160dd57a273a519bf95 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T05:37:54.781Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-697 [Pipeline] fileExists [Pipeline] sh [2024-10-04T05:37:55.193Z] + make test [2024-10-04T05:37:55.193Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T05:37:57.368Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-04T05:38:16.359Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15598 in /w/workspace/gexfoundry_device-mqtt-go_PR-697 [Pipeline] { [Pipeline] ws [2024-10-04T05:38:16.424Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-10-04T05:38:16.682Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-04T05:38:16.682Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-04T05:38:16.682Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements [2024-10-04T05:38:19.528Z] The recommended git tool is: git [2024-10-04T05:38:23.246Z] go vet ./... [2024-10-04T05:38:24.535Z] using credential edgex-jenkins-ssh [2024-10-04T05:38:24.560Z] Cloning the remote Git repository [2024-10-04T05:38:24.610Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-04T05:38:24.713Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-10-04T05:38:24.898Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-04T05:38:24.900Z] > git --version # timeout=10 [2024-10-04T05:38:24.923Z] > git --version # 'git version 2.25.1' [2024-10-04T05:38:24.926Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T05:38:25.081Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T05:38:27.724Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-04T05:38:27.749Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T05:38:28.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T05:38:28.507Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T05:38:28.507Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T05:38:28.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T05:38:28.584Z] $ docker stop --time=1 3e1be827040dcd977180271e131a3b2e98403461c40e9160dd57a273a519bf95 [2024-10-04T05:38:29.204Z] Merging remotes/origin/main commit a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit 43f794b456aa3735bbca56bd2373d27e91a7aa37 [2024-10-04T05:38:29.472Z] Merge succeeded, producing 43f794b456aa3735bbca56bd2373d27e91a7aa37 [2024-10-04T05:38:29.473Z] Checking out Revision 43f794b456aa3735bbca56bd2373d27e91a7aa37 (PR-697) [2024-10-04T05:38:28.572Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-04T05:38:28.609Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-04T05:38:28.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T05:38:28.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/697/head:refs/remotes/origin/PR-697 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T05:38:29.223Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T05:38:29.293Z] > git checkout -f 43f794b456aa3735bbca56bd2373d27e91a7aa37 # timeout=10 [2024-10-04T05:38:29.377Z] > git remote # timeout=10 [2024-10-04T05:38:29.395Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T05:38:29.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T05:38:29.431Z] > git merge a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 [2024-10-04T05:38:29.455Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T05:38:29.478Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T05:38:29.490Z] > git checkout -f 43f794b456aa3735bbca56bd2373d27e91a7aa37 # timeout=10 [2024-10-04T05:38:33.078Z] Commit message: "build: Upgrade to go-1.23, Linter1.61.0 and Alpine 3.20" [2024-10-04T05:38:33.175Z] > git --version # timeout=10 [2024-10-04T05:38:33.189Z] > git --version # 'git version 2.25.1' [2024-10-04T05:38:33.213Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T05:38:34.651Z] $ docker rm -f --volumes 3e1be827040dcd977180271e131a3b2e98403461c40e9160dd57a273a519bf95 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2024-10-04T05:38:35.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2024-10-04T05:38:35.613Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-10-04T05:38:35.917Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T05:38:35.917Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T05:38:35.917Z] Dload Upload Total Spent Left Speed [2024-10-04T05:38:35.917Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 124k 0 --:--:-- --:--:-- --:--:-- 124k [Pipeline] sh [Pipeline] sh [2024-10-04T05:38:36.473Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T05:38:36.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T05:38:36.818Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T05:38:36.818Z] + sudo tee /etc/docker/daemon.new [2024-10-04T05:38:36.818Z] { [2024-10-04T05:38:36.818Z] "registry-mirrors": [ [2024-10-04T05:38:36.818Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T05:38:36.818Z] ], [2024-10-04T05:38:36.818Z] "bip": "10.250.0.254/24", [2024-10-04T05:38:36.818Z] "hosts": [ [2024-10-04T05:38:36.818Z] "tcp://0.0.0.0:5555", [2024-10-04T05:38:36.818Z] "unix:///var/run/docker.sock" [2024-10-04T05:38:36.818Z] ], [2024-10-04T05:38:36.818Z] "mtu": 1458, [2024-10-04T05:38:36.818Z] "selinux-enabled": true, [2024-10-04T05:38:36.818Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T05:38:36.818Z] } [Pipeline] sh [2024-10-04T05:38:36.914Z] + ls -al . [2024-10-04T05:38:36.914Z] total 264 [2024-10-04T05:38:36.914Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 05:37 . [2024-10-04T05:38:36.914Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:36 .. [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 05:36 .dockerignore [2024-10-04T05:38:36.914Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:38 .git [2024-10-04T05:38:36.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:36 .github [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 05:36 .gitignore [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 05:36 .golangci.yml [2024-10-04T05:38:36.914Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:36 .semver [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 4 05:36 Attribution.txt [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 4 05:36 CHANGELOG.md [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 4 05:36 Dockerfile [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 05:36 GOVERNANCE.md [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 4 05:36 Jenkinsfile [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 05:36 LICENSE [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 4 05:36 Makefile [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 05:36 OWNERS.md [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 4 05:36 README.md [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 05:36 VERSION [2024-10-04T05:38:36.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:36 bin [2024-10-04T05:38:36.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:36 cmd [2024-10-04T05:38:36.914Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 4 05:38 coverage.out [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 4 05:36 go.mod [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 05:36 go.sum [2024-10-04T05:38:36.914Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:36 internal [2024-10-04T05:38:36.914Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:36 mock [2024-10-04T05:38:36.914Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 4 05:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:38:37.168Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T05:38:37.359Z] + 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=43f794b456aa3735bbca56bd2373d27e91a7aa37 --label arch=amd64 --label version=0.0.0 . [2024-10-04T05:38:37.359Z] Sending build context to Docker daemon 20.95MB [2024-10-04T05:38:37.359Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T05:38:37.359Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-04T05:38:37.359Z] ---> b1bc53ac7f59 [2024-10-04T05:38:37.359Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-04T05:38:37.515Z] + sudo service docker restart [2024-10-04T05:38:37.930Z] ---> Running in b56001c224db [2024-10-04T05:38:37.930Z] Removing intermediate container b56001c224db [2024-10-04T05:38:37.930Z] ---> 6fb3df17d6ac [2024-10-04T05:38:37.930Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T05:38:37.930Z] ---> Running in 75776c2eabfe [2024-10-04T05:38:37.930Z] Removing intermediate container 75776c2eabfe [2024-10-04T05:38:37.930Z] ---> c1cd7044a274 [2024-10-04T05:38:37.930Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T05:38:37.930Z] ---> Running in e41ab1e7edef [2024-10-04T05:38:37.930Z] Removing intermediate container e41ab1e7edef [2024-10-04T05:38:37.930Z] ---> b32e4ccd04c5 [2024-10-04T05:38:37.930Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T05:38:38.191Z] ---> Running in 792535a49a74 [2024-10-04T05:38:38.191Z] Removing intermediate container 792535a49a74 [2024-10-04T05:38:38.191Z] ---> 4c09c2426dc5 [2024-10-04T05:38:38.191Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T05:38:38.191Z] ---> Running in 87fcb6cf1309 [2024-10-04T05:38:38.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T05:38:38.450Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T05:38:38.711Z] OK: 250 MiB in 58 packages [2024-10-04T05:38:38.971Z] Removing intermediate container 87fcb6cf1309 [2024-10-04T05:38:38.971Z] ---> 58e024fbc370 [2024-10-04T05:38:38.971Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-04T05:38:38.971Z] ---> Running in 90d97e34723c [2024-10-04T05:38:39.229Z] Removing intermediate container 90d97e34723c [2024-10-04T05:38:39.229Z] ---> ae5f04e13ca5 [2024-10-04T05:38:39.229Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-04T05:38:39.229Z] ---> 581cb93334d3 [2024-10-04T05:38:39.229Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T05:38:39.229Z] ---> Running in fc0ee9c6ef67 [2024-10-04T05:38:40.163Z] Removing intermediate container fc0ee9c6ef67 [2024-10-04T05:38:40.163Z] ---> 79623718dd34 [2024-10-04T05:38:40.163Z] Step 11/25 : COPY . . [2024-10-04T05:38:40.748Z] ---> 9fd87afe24f1 [2024-10-04T05:38:40.748Z] Step 12/25 : RUN $MAKE [2024-10-04T05:38:40.748Z] ---> Running in fdfe3ea39257 [2024-10-04T05:38:41.007Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T05:38:55.861Z] provisioning config files... [2024-10-04T05:38:55.897Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15167928755173122185tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:38:56.411Z] ---> ****-login.sh [2024-10-04T05:38:56.411Z] nexus3.edgexfoundry.org:10001 [2024-10-04T05:38:57.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:38:57.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:38:57.001Z] Configure a credential helper to remove this warning. See [2024-10-04T05:38:57.001Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:38:57.001Z] [2024-10-04T05:38:57.001Z] Login Succeeded [2024-10-04T05:38:57.001Z] nexus3.edgexfoundry.org:10002 [2024-10-04T05:38:57.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:38:57.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:38:57.540Z] Configure a credential helper to remove this warning. See [2024-10-04T05:38:57.540Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:38:57.540Z] [2024-10-04T05:38:57.540Z] Login Succeeded [2024-10-04T05:38:57.540Z] nexus3.edgexfoundry.org:10003 [2024-10-04T05:38:57.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:38:57.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:38:57.810Z] Configure a credential helper to remove this warning. See [2024-10-04T05:38:57.810Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:38:57.810Z] [2024-10-04T05:38:57.810Z] Login Succeeded [2024-10-04T05:38:57.810Z] nexus3.edgexfoundry.org:10004 [2024-10-04T05:38:58.082Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:38:58.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:38:58.082Z] Configure a credential helper to remove this warning. See [2024-10-04T05:38:58.082Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:38:58.082Z] [2024-10-04T05:38:58.082Z] Login Succeeded [2024-10-04T05:38:58.082Z] ****.io [2024-10-04T05:38:58.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T05:38:58.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T05:38:58.620Z] Configure a credential helper to remove this warning. See [2024-10-04T05:38:58.620Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T05:38:58.620Z] [2024-10-04T05:38:58.620Z] Login Succeeded [2024-10-04T05:38:58.620Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T05:38:58.652Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T05:38:59.113Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T05:38:59.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T05:38:59.214Z] ========================================================= [2024-10-04T05:38:59.214Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T05:38:59.214Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:38:59.778Z] + 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-04T05:39:00.390Z] Sending build context to Docker daemon 10.61MB [2024-10-04T05:39:00.390Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T05:39:00.390Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-04T05:39:00.390Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T05:39:00.390Z] cf04c63912e1: Pulling fs layer [2024-10-04T05:39:00.390Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T05:39:00.390Z] a37a00ec5f00: Pulling fs layer [2024-10-04T05:39:00.390Z] 50b3750afda1: Pulling fs layer [2024-10-04T05:39:00.390Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T05:39:00.390Z] 80978eb59214: Pulling fs layer [2024-10-04T05:39:00.390Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T05:39:00.390Z] c5a475d317c9: Pulling fs layer [2024-10-04T05:39:00.390Z] 80978eb59214: Waiting [2024-10-04T05:39:00.390Z] c9f46d7d2bd2: Waiting [2024-10-04T05:39:00.390Z] 4f4fb700ef54: Waiting [2024-10-04T05:39:00.390Z] 50b3750afda1: Waiting [2024-10-04T05:39:00.390Z] c5a475d317c9: Waiting [2024-10-04T05:39:00.390Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T05:39:00.390Z] 55b35a11ae5e: Download complete [2024-10-04T05:39:00.390Z] 50b3750afda1: Verifying Checksum [2024-10-04T05:39:00.390Z] 50b3750afda1: Download complete [2024-10-04T05:39:00.662Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T05:39:00.662Z] 4f4fb700ef54: Download complete [2024-10-04T05:39:00.662Z] 80978eb59214: Verifying Checksum [2024-10-04T05:39:00.662Z] 80978eb59214: Download complete [2024-10-04T05:39:00.662Z] cf04c63912e1: Verifying Checksum [2024-10-04T05:39:00.662Z] cf04c63912e1: Download complete [2024-10-04T05:39:01.251Z] c5a475d317c9: Verifying Checksum [2024-10-04T05:39:01.251Z] c5a475d317c9: Download complete [2024-10-04T05:39:01.520Z] cf04c63912e1: Pull complete [2024-10-04T05:39:02.106Z] 55b35a11ae5e: Pull complete [2024-10-04T05:39:02.375Z] a37a00ec5f00: Verifying Checksum [2024-10-04T05:39:02.375Z] a37a00ec5f00: Download complete [2024-10-04T05:39:03.341Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T05:39:15.676Z] a37a00ec5f00: Pull complete [2024-10-04T05:39:15.676Z] 50b3750afda1: Pull complete [2024-10-04T05:39:15.944Z] 4f4fb700ef54: Pull complete [2024-10-04T05:39:15.944Z] 80978eb59214: Pull complete [2024-10-04T05:39:21.052Z] Removing intermediate container fdfe3ea39257 [2024-10-04T05:39:21.052Z] ---> 9e4c10e3e8d4 [2024-10-04T05:39:21.052Z] Step 13/25 : FROM alpine:3.20 [2024-10-04T05:39:21.052Z] 3.20: Pulling from library/alpine [2024-10-04T05:39:21.052Z] 43c4264eed91: Already exists [2024-10-04T05:39:21.052Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T05:39:21.052Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T05:39:21.052Z] ---> 91ef0af61f39 [2024-10-04T05:39:21.052Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-04T05:39:21.052Z] ---> Running in feebd3508bbd [2024-10-04T05:39:21.052Z] Removing intermediate container feebd3508bbd [2024-10-04T05:39:21.052Z] ---> 81225f4bcda2 [2024-10-04T05:39:21.052Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-04T05:39:21.052Z] ---> Running in 4bdc6a62df0c [2024-10-04T05:39:21.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T05:39:21.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T05:39:21.052Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T05:39:21.052Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:39:21.052Z] OK: 8 MiB in 15 packages [2024-10-04T05:39:21.052Z] Removing intermediate container 4bdc6a62df0c [2024-10-04T05:39:21.052Z] ---> e38119018099 [2024-10-04T05:39:21.052Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-04T05:39:21.052Z] ---> Running in 850b2f725ac7 [2024-10-04T05:39:21.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T05:39:21.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T05:39:21.052Z] Upgrading critical system libraries and apk-tools: [2024-10-04T05:39:21.052Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T05:39:21.052Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:39:21.052Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T05:39:21.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T05:39:21.052Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T05:39:21.052Z] OK: 8 MiB in 15 packages [2024-10-04T05:39:21.052Z] Removing intermediate container 850b2f725ac7 [2024-10-04T05:39:21.052Z] ---> d47a5f706b0a [2024-10-04T05:39:21.052Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-04T05:39:22.974Z] ---> 262252bb2ee3 [2024-10-04T05:39:22.974Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-04T05:39:22.974Z] ---> 8c3d3faa020a [2024-10-04T05:39:22.974Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-04T05:39:22.974Z] ---> 67ae5d093015 [2024-10-04T05:39:22.974Z] Step 20/25 : EXPOSE 59982 [2024-10-04T05:39:22.974Z] ---> Running in 6ea56a743350 [2024-10-04T05:39:22.974Z] Removing intermediate container 6ea56a743350 [2024-10-04T05:39:22.974Z] ---> 0a02cd77858d [2024-10-04T05:39:22.974Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-04T05:39:22.974Z] ---> Running in f41454af4453 [2024-10-04T05:39:22.974Z] Removing intermediate container f41454af4453 [2024-10-04T05:39:22.974Z] ---> 19e5f3912918 [2024-10-04T05:39:22.974Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-04T05:39:22.974Z] ---> Running in 86ce8115932d [2024-10-04T05:39:23.233Z] Removing intermediate container 86ce8115932d [2024-10-04T05:39:23.233Z] ---> a5950ca4838d [2024-10-04T05:39:23.233Z] Step 23/25 : LABEL arch=amd64 [2024-10-04T05:39:23.233Z] ---> Running in 9753f1bf8f48 [2024-10-04T05:39:23.233Z] Removing intermediate container 9753f1bf8f48 [2024-10-04T05:39:23.233Z] ---> 2915e4dfc5c5 [2024-10-04T05:39:23.233Z] Step 24/25 : LABEL git_sha=43f794b456aa3735bbca56bd2373d27e91a7aa37 [2024-10-04T05:39:23.233Z] ---> Running in 9df4a7f60a3e [2024-10-04T05:39:23.233Z] Removing intermediate container 9df4a7f60a3e [2024-10-04T05:39:23.233Z] ---> 0bbc60c7842f [2024-10-04T05:39:23.233Z] Step 25/25 : LABEL version=0.0.0 [2024-10-04T05:39:23.233Z] ---> Running in acc4952d16c6 [2024-10-04T05:39:23.492Z] Removing intermediate container acc4952d16c6 [2024-10-04T05:39:23.492Z] ---> 198f1d29846a [2024-10-04T05:39:23.492Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T05:39:23.492Z] Successfully built 198f1d29846a [2024-10-04T05:39:23.492Z] 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] { [2024-10-04T05:39:24.154Z] c9f46d7d2bd2: Pull complete [Pipeline] sh [2024-10-04T05:39:24.744Z] c5a475d317c9: Pull complete [2024-10-04T05:39:24.744Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T05:39:24.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T05:39:24.744Z] ---> be29e6b0f0d4 [2024-10-04T05:39:24.744Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-04T05:39:25.643Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T05:39:25.643Z] [2024-10-04T05:39:25.643Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [2024-10-04T05:39:25.701Z] ---> Running in acff0d1f7e44 [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:39:25.966Z] Removing intermediate container acff0d1f7e44 [2024-10-04T05:39:25.966Z] ---> 71c4eb38dc65 [2024-10-04T05:39:25.966Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T05:39:25.966Z] ---> Running in ecd0b8127b4b [2024-10-04T05:39:26.059Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T05:39:26.059Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T05:39:26.059Z] 5eb5b503b376: Pulling fs layer [2024-10-04T05:39:26.059Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T05:39:26.059Z] ec43610c2a17: Pulling fs layer [2024-10-04T05:39:26.059Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T05:39:26.059Z] 33b1e0a273af: Pulling fs layer [2024-10-04T05:39:26.059Z] 3a2ae6a8a46f: Waiting [2024-10-04T05:39:26.059Z] 33b1e0a273af: Waiting [2024-10-04T05:39:26.059Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T05:39:26.059Z] 2f39f015ded8: Pulling fs layer [2024-10-04T05:39:26.059Z] 5d3b04190fa2: Waiting [2024-10-04T05:39:26.059Z] 2f39f015ded8: Waiting [2024-10-04T05:39:26.059Z] 5c69ac0246d0: Download complete [2024-10-04T05:39:26.059Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T05:39:26.059Z] 3a2ae6a8a46f: Download complete [2024-10-04T05:39:26.059Z] 33b1e0a273af: Verifying Checksum [2024-10-04T05:39:26.059Z] 33b1e0a273af: Download complete [2024-10-04T05:39:26.059Z] ec43610c2a17: Verifying Checksum [2024-10-04T05:39:26.059Z] ec43610c2a17: Download complete [2024-10-04T05:39:26.059Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T05:39:26.059Z] 5d3b04190fa2: Download complete [2024-10-04T05:39:26.232Z] Removing intermediate container ecd0b8127b4b [2024-10-04T05:39:26.232Z] ---> 88f78cc09381 [2024-10-04T05:39:26.232Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T05:39:26.318Z] 5eb5b503b376: Download complete [2024-10-04T05:39:26.512Z] ---> Running in c3af68735778 [2024-10-04T05:39:26.778Z] Removing intermediate container c3af68735778 [2024-10-04T05:39:26.778Z] ---> 3902ded4d223 [2024-10-04T05:39:26.778Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T05:39:26.778Z] ---> Running in 844bfee49ac4 [2024-10-04T05:39:26.885Z] 2f39f015ded8: Download complete [2024-10-04T05:39:27.044Z] Removing intermediate container 844bfee49ac4 [2024-10-04T05:39:27.044Z] ---> 89c1504fd51a [2024-10-04T05:39:27.044Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T05:39:27.311Z] ---> Running in b8a78ca5501a [2024-10-04T05:39:27.451Z] 5eb5b503b376: Pull complete [2024-10-04T05:39:27.717Z] 5c69ac0246d0: Pull complete [2024-10-04T05:39:27.977Z] ec43610c2a17: Pull complete [2024-10-04T05:39:28.237Z] 3a2ae6a8a46f: Pull complete [2024-10-04T05:39:28.237Z] 33b1e0a273af: Pull complete [2024-10-04T05:39:28.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:39:28.497Z] 5d3b04190fa2: Pull complete [2024-10-04T05:39:28.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:39:29.953Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-04T05:39:29.953Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-04T05:39:29.953Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-04T05:39:29.953Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-04T05:39:29.953Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:39:29.953Z] OK: 242 MiB in 58 packages [2024-10-04T05:39:30.913Z] Removing intermediate container b8a78ca5501a [2024-10-04T05:39:30.913Z] ---> 792e9a312954 [2024-10-04T05:39:30.913Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-04T05:39:31.180Z] ---> Running in c71dece4df23 [2024-10-04T05:39:31.447Z] Removing intermediate container c71dece4df23 [2024-10-04T05:39:31.447Z] ---> 4968cc384dea [2024-10-04T05:39:31.447Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-04T05:39:32.033Z] ---> 09804c4c4a7e [2024-10-04T05:39:32.033Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T05:39:32.033Z] ---> Running in 3ce1a50743cd [2024-10-04T05:39:32.684Z] 2f39f015ded8: Pull complete [2024-10-04T05:39:32.684Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T05:39:32.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T05:39:32.684Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:39:32.948Z] prd-ubuntu20.04-docker-8c-8g-15596 does not seem to be running inside a container [2024-10-04T05:39:32.956Z] $ 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-697 -v /w/workspace/gexfoundry_device-mqtt-go_PR-697:/w/workspace/gexfoundry_device-mqtt-go_PR-697:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-697@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T05:39:40.026Z] $ docker top 019f07236dd24bd6467944c2b09f7de017f498dd2e3a0d48e07974a6b1710a2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:39:40.533Z] ---> job-cost.sh [2024-10-04T05:39:40.533Z] lf-activate-venv: SKIPPING [2024-10-04T05:39:40.533Z] INFO: No Stack... [2024-10-04T05:39:41.102Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T05:39:41.361Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T05:39:41.681Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-697/archives/cost.csv [2024-10-04T05:39:41.681Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T05:39:41.736Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-697-1-stack-cost] [2024-10-04T05:39:41.742Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-697-1-stack-cost] did not exist. Created. [2024-10-04T05:39:41.749Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-697-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T05:39:42.167Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T05:39:42.231Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T05:39:42.265Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-697-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T05:39:42.340Z] $ docker stop --time=1 019f07236dd24bd6467944c2b09f7de017f498dd2e3a0d48e07974a6b1710a2d [2024-10-04T05:39:43.487Z] $ docker rm -f --volumes 019f07236dd24bd6467944c2b09f7de017f498dd2e3a0d48e07974a6b1710a2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T05:41:23.770Z] Removing intermediate container 3ce1a50743cd [2024-10-04T05:41:23.770Z] ---> 35c8082a99c9 [2024-10-04T05:41:23.770Z] Step 11/12 : COPY . . [2024-10-04T05:41:23.770Z] ---> c2c597d757dc [2024-10-04T05:41:23.770Z] Step 12/12 : RUN $MAKE [2024-10-04T05:41:23.770Z] ---> Running in c3ecb625df95 [2024-10-04T05:41:23.770Z] noop [2024-10-04T05:41:23.770Z] Removing intermediate container c3ecb625df95 [2024-10-04T05:41:23.770Z] ---> a09d3fec0aec [2024-10-04T05:41:23.770Z] Successfully built a09d3fec0aec [2024-10-04T05:41:23.770Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:41:24.290Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T05:41:24.290Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:41:24.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-15598 does not seem to be running inside a container [2024-10-04T05:41:24.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T05:41:25.831Z] $ docker top 3f4b1e48e60dea4fb451840059d104df8a9f3f1f7c5ea33d610ab22485cceaa9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T05:41:26.750Z] + go version [2024-10-04T05:41:26.750Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T05:41:26.783Z] $ docker stop --time=1 3f4b1e48e60dea4fb451840059d104df8a9f3f1f7c5ea33d610ab22485cceaa9 [2024-10-04T05:41:28.436Z] $ docker rm -f --volumes 3f4b1e48e60dea4fb451840059d104df8a9f3f1f7c5ea33d610ab22485cceaa9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:41:29.378Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T05:41:29.378Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:41:29.646Z] prd-ubuntu20.04-docker-arm64-4c-16g-15598 does not seem to be running inside a container [2024-10-04T05:41:29.714Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T05:41:30.980Z] $ docker top d653b6dba84ac5f41b5412124110b4befcb503a688cdc9fac9f1be6e5106696c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T05:41:31.909Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-04T05:41:32.628Z] + make test [2024-10-04T05:41:32.628Z] go test ./... -coverprofile=coverage.out ./... [2024-10-04T05:41:37.989Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-04T05:45:30.078Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-04T05:45:30.078Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-04T05:45:30.078Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.8% of statements [2024-10-04T05:45:30.078Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T05:45:30.078Z] go vet ./... [2024-10-04T05:46:16.973Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T05:46:16.973Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T05:46:16.973Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-04T05:46:17.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T05:46:17.196Z] $ docker stop --time=1 d653b6dba84ac5f41b5412124110b4befcb503a688cdc9fac9f1be6e5106696c [2024-10-04T05:46:18.999Z] $ docker rm -f --volumes d653b6dba84ac5f41b5412124110b4befcb503a688cdc9fac9f1be6e5106696c [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T05:46:20.559Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T05:46:20.602Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T05:46:21.075Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T05:46:21.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T05:46:22.073Z] + ls -al . [2024-10-04T05:46:22.073Z] total 260 [2024-10-04T05:46:22.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:41 . [2024-10-04T05:46:22.073Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 05:38 .. [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 05:38 .dockerignore [2024-10-04T05:46:22.073Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 05:38 .git [2024-10-04T05:46:22.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:38 .github [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 4 05:38 .gitignore [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 4 05:38 .golangci.yml [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 4 05:38 Attribution.txt [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 4 05:38 CHANGELOG.md [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 4 05:38 Dockerfile [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 05:38 GOVERNANCE.md [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 4 05:38 Jenkinsfile [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 4 05:38 LICENSE [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 4 05:38 Makefile [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 4 05:38 OWNERS.md [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 4 05:38 README.md [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 05:36 VERSION [2024-10-04T05:46:22.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:38 bin [2024-10-04T05:46:22.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:38 cmd [2024-10-04T05:46:22.073Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 4 05:45 coverage.out [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 4 05:38 go.mod [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 4 05:38 go.sum [2024-10-04T05:46:22.073Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 05:38 internal [2024-10-04T05:46:22.073Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 05:38 mock [2024-10-04T05:46:22.073Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 4 05:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:46:22.527Z] + 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=43f794b456aa3735bbca56bd2373d27e91a7aa37 --label arch=arm64 --label version=0.0.0 . [2024-10-04T05:46:22.795Z] Sending build context to Docker daemon 10.63MB [2024-10-04T05:46:23.061Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T05:46:23.061Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-04T05:46:23.061Z] ---> a09d3fec0aec [2024-10-04T05:46:23.061Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-04T05:46:23.061Z] ---> Running in 675cba738fe9 [2024-10-04T05:46:23.329Z] Removing intermediate container 675cba738fe9 [2024-10-04T05:46:23.329Z] ---> 67ab23fa1182 [2024-10-04T05:46:23.329Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-04T05:46:23.595Z] ---> Running in 1af76b7bd204 [2024-10-04T05:46:23.863Z] Removing intermediate container 1af76b7bd204 [2024-10-04T05:46:23.863Z] ---> d61d084add1a [2024-10-04T05:46:23.863Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-04T05:46:23.863Z] ---> Running in d0f530249ec8 [2024-10-04T05:46:24.129Z] Removing intermediate container d0f530249ec8 [2024-10-04T05:46:24.129Z] ---> 68bf1c5871f0 [2024-10-04T05:46:24.129Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-04T05:46:24.129Z] ---> Running in e062afce0a3c [2024-10-04T05:46:24.398Z] Removing intermediate container e062afce0a3c [2024-10-04T05:46:24.398Z] ---> eb9413824b26 [2024-10-04T05:46:24.398Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-04T05:46:24.665Z] ---> Running in 379e92b09160 [2024-10-04T05:46:25.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:46:25.894Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:46:27.313Z] OK: 242 MiB in 58 packages [2024-10-04T05:46:28.272Z] Removing intermediate container 379e92b09160 [2024-10-04T05:46:28.272Z] ---> 9cea74cce033 [2024-10-04T05:46:28.272Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-04T05:46:28.272Z] ---> Running in 7080530e67b3 [2024-10-04T05:46:28.538Z] Removing intermediate container 7080530e67b3 [2024-10-04T05:46:28.538Z] ---> c884b4978222 [2024-10-04T05:46:28.538Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-04T05:46:28.804Z] ---> 24e00ff41021 [2024-10-04T05:46:28.804Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T05:46:29.077Z] ---> Running in 114d6e0c98fb [2024-10-04T05:46:31.015Z] Removing intermediate container 114d6e0c98fb [2024-10-04T05:46:31.015Z] ---> e4bbd8e9f126 [2024-10-04T05:46:31.015Z] Step 11/25 : COPY . . [2024-10-04T05:46:32.420Z] ---> 3ae2cab2803a [2024-10-04T05:46:32.420Z] Step 12/25 : RUN $MAKE [2024-10-04T05:46:32.420Z] ---> Running in 3958b56166a5 [2024-10-04T05:46:33.002Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-10-04T05:49:54.782Z] Removing intermediate container 3958b56166a5 [2024-10-04T05:49:54.782Z] ---> 369aabe6ddac [2024-10-04T05:49:54.782Z] Step 13/25 : FROM alpine:3.20 [2024-10-04T05:49:54.782Z] 3.20: Pulling from library/alpine [2024-10-04T05:49:54.782Z] cf04c63912e1: Already exists [2024-10-04T05:49:54.782Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T05:49:54.782Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T05:49:54.782Z] ---> c157a85ed455 [2024-10-04T05:49:54.782Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-04T05:49:54.782Z] ---> Running in e8d6fb888f58 [2024-10-04T05:49:55.057Z] Removing intermediate container e8d6fb888f58 [2024-10-04T05:49:55.057Z] ---> 1e885bb3d4d1 [2024-10-04T05:49:55.057Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-04T05:49:55.057Z] ---> Running in e07f696cb3d3 [2024-10-04T05:49:56.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:49:56.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:49:57.688Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T05:49:57.688Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:49:57.688Z] OK: 9 MiB in 15 packages [2024-10-04T05:49:58.656Z] Removing intermediate container e07f696cb3d3 [2024-10-04T05:49:58.656Z] ---> c9147683f2ea [2024-10-04T05:49:58.656Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-04T05:49:58.927Z] ---> Running in 6f64d805113c [2024-10-04T05:49:59.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:50:00.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:50:01.571Z] Upgrading critical system libraries and apk-tools: [2024-10-04T05:50:01.571Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T05:50:01.571Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T05:50:01.571Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T05:50:01.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T05:50:01.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T05:50:03.254Z] OK: 9 MiB in 15 packages [2024-10-04T05:50:04.233Z] Removing intermediate container 6f64d805113c [2024-10-04T05:50:04.233Z] ---> 43bb2795c1a5 [2024-10-04T05:50:04.233Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-04T05:50:06.184Z] ---> 4262b5dd4771 [2024-10-04T05:50:06.184Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-04T05:50:07.144Z] ---> a36af56ca860 [2024-10-04T05:50:07.144Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-04T05:50:07.723Z] ---> bf28e1903c61 [2024-10-04T05:50:07.723Z] Step 20/25 : EXPOSE 59982 [2024-10-04T05:50:07.723Z] ---> Running in ce741214bf5b [2024-10-04T05:50:07.991Z] Removing intermediate container ce741214bf5b [2024-10-04T05:50:07.991Z] ---> 39c2ef034444 [2024-10-04T05:50:07.991Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-04T05:50:07.991Z] ---> Running in b8b9e283df80 [2024-10-04T05:50:08.259Z] Removing intermediate container b8b9e283df80 [2024-10-04T05:50:08.259Z] ---> deb524857ef5 [2024-10-04T05:50:08.259Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-04T05:50:08.530Z] ---> Running in feca2b7bb003 [2024-10-04T05:50:08.797Z] Removing intermediate container feca2b7bb003 [2024-10-04T05:50:08.797Z] ---> 63fd4c566359 [2024-10-04T05:50:08.797Z] Step 23/25 : LABEL arch=arm64 [2024-10-04T05:50:08.797Z] ---> Running in 62f0de10bcce [2024-10-04T05:50:09.067Z] Removing intermediate container 62f0de10bcce [2024-10-04T05:50:09.067Z] ---> 05336da44de0 [2024-10-04T05:50:09.067Z] Step 24/25 : LABEL git_sha=43f794b456aa3735bbca56bd2373d27e91a7aa37 [2024-10-04T05:50:09.341Z] ---> Running in 59a87c427497 [2024-10-04T05:50:09.608Z] Removing intermediate container 59a87c427497 [2024-10-04T05:50:09.608Z] ---> 89e0a8495698 [2024-10-04T05:50:09.608Z] Step 25/25 : LABEL version=0.0.0 [2024-10-04T05:50:09.608Z] ---> Running in ae90261f6baa [2024-10-04T05:50:09.874Z] Removing intermediate container ae90261f6baa [2024-10-04T05:50:09.874Z] ---> 9574086b7b44 [2024-10-04T05:50:09.874Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T05:50:09.874Z] Successfully built 9574086b7b44 [2024-10-04T05:50:09.874Z] 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-04T05:50:10.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T05:50:10.767Z] [2024-10-04T05:50:10.767Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:50:11.194Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T05:50:11.194Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T05:50:11.194Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T05:50:11.194Z] 04944245beec: Pulling fs layer [2024-10-04T05:50:11.194Z] 699f458cf7ca: Pulling fs layer [2024-10-04T05:50:11.194Z] 765212b225bb: Pulling fs layer [2024-10-04T05:50:11.194Z] f23df028b6ca: Pulling fs layer [2024-10-04T05:50:11.194Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T05:50:11.194Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T05:50:11.194Z] f23df028b6ca: Waiting [2024-10-04T05:50:11.194Z] d65c8cfc05b1: Waiting [2024-10-04T05:50:11.194Z] 2437ff75d9bd: Waiting [2024-10-04T05:50:11.194Z] 765212b225bb: Waiting [2024-10-04T05:50:11.462Z] 04944245beec: Verifying Checksum [2024-10-04T05:50:11.462Z] 04944245beec: Download complete [2024-10-04T05:50:11.462Z] 765212b225bb: Verifying Checksum [2024-10-04T05:50:11.462Z] 765212b225bb: Download complete [2024-10-04T05:50:11.462Z] f23df028b6ca: Verifying Checksum [2024-10-04T05:50:11.462Z] f23df028b6ca: Download complete [2024-10-04T05:50:11.462Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T05:50:11.462Z] d65c8cfc05b1: Download complete [2024-10-04T05:50:11.730Z] 699f458cf7ca: Verifying Checksum [2024-10-04T05:50:11.730Z] 699f458cf7ca: Download complete [2024-10-04T05:50:11.997Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T05:50:11.997Z] 8998bd30e6a1: Download complete [2024-10-04T05:50:14.580Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T05:50:14.580Z] 2437ff75d9bd: Download complete [2024-10-04T05:50:16.520Z] 8998bd30e6a1: Pull complete [2024-10-04T05:50:16.520Z] 04944245beec: Pull complete [2024-10-04T05:50:18.460Z] 699f458cf7ca: Pull complete [2024-10-04T05:50:18.460Z] 765212b225bb: Pull complete [2024-10-04T05:50:19.417Z] f23df028b6ca: Pull complete [2024-10-04T05:50:19.417Z] d65c8cfc05b1: Pull complete [2024-10-04T05:50:37.607Z] 2437ff75d9bd: Pull complete [2024-10-04T05:50:37.607Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T05:50:37.607Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T05:50:37.607Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:50:37.980Z] prd-ubuntu20.04-docker-arm64-4c-16g-15598 does not seem to be running inside a container [2024-10-04T05:50:38.038Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T05:50:40.635Z] $ docker top addfebff0bb4306346aafb0688d8ab5045cf8f7f4d509439d4920e4316b49506 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:50:41.533Z] ---> job-cost.sh [2024-10-04T05:50:41.533Z] lf-activate-venv: SKIPPING [2024-10-04T05:50:41.533Z] INFO: No Stack... [2024-10-04T05:50:41.798Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T05:50:42.757Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T05:50:43.443Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-10-04T05:50:43.443Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T05:50:43.536Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-697-1-stack-cost] [2024-10-04T05:50:43.543Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-697-1-stack-cost] did not exist. Created. [2024-10-04T05:50:43.550Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-697-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T05:50:44.296Z] /w/workspace/device-mqtt-go/1@tmp/durable-56752729/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T05:50:44.980Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T05:50:45.030Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T05:50:45.079Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T05:50:45.099Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-697-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T05:50:45.191Z] $ docker stop --time=1 addfebff0bb4306346aafb0688d8ab5045cf8f7f4d509439d4920e4316b49506 [2024-10-04T05:50:46.720Z] $ docker rm -f --volumes addfebff0bb4306346aafb0688d8ab5045cf8f7f4d509439d4920e4316b49506 [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-04T05:50:47.898Z] provisioning config files... [2024-10-04T05:50:47.904Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp/config785183540232907447tmp [Pipeline] { [Pipeline] sh [2024-10-04T05:50:48.269Z] + set +x [2024-10-04T05:50:48.269Z] + bash -s -- [2024-10-04T05:50:48.269Z] + curl -s https://codecov.io/bash [2024-10-04T05:50:48.269Z] [2024-10-04T05:50:48.269Z] _____ _ [2024-10-04T05:50:48.269Z] / ____| | | [2024-10-04T05:50:48.269Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T05:50:48.269Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T05:50:48.269Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T05:50:48.269Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T05:50:48.269Z] Bash-1.0.6 [2024-10-04T05:50:48.269Z] [2024-10-04T05:50:48.269Z] [2024-10-04T05:50:48.269Z] ==> git version 2.25.1 found [2024-10-04T05:50:48.269Z] ==> 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-04T05:50:48.269Z] Release-Date: 2020-01-08 [2024-10-04T05:50:48.269Z] 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-04T05:50:48.269Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T05:50:48.269Z] ==> Jenkins CI detected. [2024-10-04T05:50:48.269Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-697 [2024-10-04T05:50:48.269Z] project root: . [2024-10-04T05:50:48.269Z] --> token set from env [2024-10-04T05:50:48.269Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T05:50:48.531Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T05:50:48.531Z] ==> Python coveragepy not found [2024-10-04T05:50:48.531Z] ==> Searching for coverage reports in: [2024-10-04T05:50:48.531Z] + . [2024-10-04T05:50:48.531Z] -> Found 1 reports [2024-10-04T05:50:48.531Z] ==> Detecting git/mercurial file structure [2024-10-04T05:50:48.531Z] ==> Reading reports [2024-10-04T05:50:48.531Z] + ./coverage.out bytes=21039 [2024-10-04T05:50:48.531Z] ==> Appending adjustments [2024-10-04T05:50:48.531Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T05:50:48.531Z] + Found adjustments [2024-10-04T05:50:48.531Z] ==> Gzipping contents [2024-10-04T05:50:48.531Z] 4.0K /tmp/codecov.ZbrjYk.gz [2024-10-04T05:50:48.531Z] ==> Uploading reports [2024-10-04T05:50:48.531Z] url: https://codecov.io [2024-10-04T05:50:48.531Z] query: branch=PR-697&commit=43f794b456aa3735bbca56bd2373d27e91a7aa37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-697%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=697&job=&cmd_args= [2024-10-04T05:50:48.531Z] -> Pinging Codecov [2024-10-04T05:50:48.531Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-697&commit=43f794b456aa3735bbca56bd2373d27e91a7aa37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-697%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=697&job=&cmd_args= [2024-10-04T05:50:48.793Z] -> Uploading to [2024-10-04T05:50:48.793Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/43f794b456aa3735bbca56bd2373d27e91a7aa37/f9981b9c-9225-430b-8c1d-6df7b8d25272.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T055048Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2d698980b836aae68a1bcaa32218a084c3bed0b49557e79b205882c12d61c23e [2024-10-04T05:50:48.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T05:50:48.793Z] Dload Upload Total Spent Left Speed [2024-10-04T05:50:49.054Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14360 --:--:-- --:--:-- --:--:-- 14422 [2024-10-04T05:50:49.054Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/43f794b456aa3735bbca56bd2373d27e91a7aa37 [Pipeline] } [2024-10-04T05:50:49.084Z] 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-04T05:50:51.300Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-697/archives ] [2024-10-04T05:50:51.300Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-697/archives [2024-10-04T05:50:51.300Z] total 16 [2024-10-04T05:50:51.300Z] drwxr-xr-x 3 root root 4096 Oct 4 05:39 . [2024-10-04T05:50:51.300Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 05:39 .. [2024-10-04T05:50:51.300Z] drwxr-xr-x 2 root root 4096 Oct 4 05:39 cost [2024-10-04T05:50:51.300Z] -rw-r--r-- 1 root root 87 Oct 4 05:39 cost.csv [2024-10-04T05:50:51.300Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-697/archives [2024-10-04T05:50:51.300Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-697/archives [2024-10-04T05:50:51.300Z] total 16 [2024-10-04T05:50:51.300Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:39 . [2024-10-04T05:50:51.300Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 05:39 .. [2024-10-04T05:50:51.300Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 05:39 cost [2024-10-04T05:50:51.300Z] -rw-r--r-- 1 jenkins jenkins 87 Oct 4 05:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:50:51.641Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:50:52.548Z] ---> package-listing.sh [2024-10-04T05:50:52.548Z] ++ facter osfamily [2024-10-04T05:50:52.548Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T05:50:52.808Z] + OS_FAMILY=debian [2024-10-04T05:50:52.808Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-697 [2024-10-04T05:50:52.808Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T05:50:52.808Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T05:50:52.808Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T05:50:52.808Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T05:50:52.808Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-697 ']' [2024-10-04T05:50:52.808Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T05:50:52.808Z] + case "${OS_FAMILY}" in [2024-10-04T05:50:52.808Z] + dpkg -l [2024-10-04T05:50:52.808Z] + grep '^ii' [2024-10-04T05:50:52.808Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T05:50:52.808Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T05:50:52.808Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T05:50:52.808Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-697 ']' [2024-10-04T05:50:52.808Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-697/archives/ [2024-10-04T05:50:52.808Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-697/archives/ [Pipeline] echo [2024-10-04T05:50:52.852Z] 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-697/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T05:50:53.150Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T05:50:53.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T05:50:53.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T05:50:53.977Z] prd-ubuntu20.04-docker-8c-8g-15596 does not seem to be running inside a container [2024-10-04T05:50:53.975Z] $ 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-697/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-697 -v /w/workspace/gexfoundry_device-mqtt-go_PR-697:/w/workspace/gexfoundry_device-mqtt-go_PR-697:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T05:50:54.168Z] $ docker top 160b20707e9ce65a4df6039df989cc5c158df94d9e47be3d48345dcf70d18329 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T05:50:54.612Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T05:50:54.925Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T05:50:55.246Z] + ls /var/log/sa-host [2024-10-04T05:50:55.246Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T05:50:55.490Z] provisioning config files... [2024-10-04T05:50:55.499Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-697@tmp/config12614943559629526670tmp [Pipeline] { [Pipeline] echo [2024-10-04T05:50:55.571Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:50:55.991Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T05:50:56.022Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:50:56.482Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T05:50:56.520Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:50:56.860Z] ---> sudo-logs.sh [2024-10-04T05:50:56.860Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T05:50:56.966Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:50:57.287Z] ---> job-cost.sh [2024-10-04T05:50:57.287Z] lf-activate-venv: SKIPPING [2024-10-04T05:50:57.287Z] DEBUG: total: 0.2199999988079071 [2024-10-04T05:50:57.287Z] INFO: Retrieving Stack Cost... [2024-10-04T05:50:57.855Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T05:50:58.114Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T05:50:58.165Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T05:50:58.489Z] ---> logs-deploy.sh [2024-10-04T05:50:58.489Z] lf-activate-venv: SKIPPING [2024-10-04T05:50:58.489Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-697/1 [2024-10-04T05:50:58.489Z] INFO: archiving workspace using pattern(s): [2024-10-04T05:50:59.428Z] Archives upload complete. [2024-10-04T05:50:59.428Z] INFO: archiving logs to Nexus