Pull request #686 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from add40d488d28804944eac452c0fbde4a44aab24a+3f7a3fad922d06158882a9f2d5ca1ab4e50c0b97 (d482fbc4c78450ef325153bbce648329f95e1e52) 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-ssh11877174060698731848.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh16070041643110931999.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 590556114a56c6d90cc8043840e039c2f74196dc 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-686/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-686/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8185378943380645698.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-686/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12279480001519623509.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh16324545123633950024.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-686/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-686/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13407976015078041315.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 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6798 in /w/workspace/gexfoundry_device-mqtt-go_PR-686 [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-686 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/686/head:refs/remotes/origin/PR-686 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3f7a3fad922d06158882a9f2d5ca1ab4e50c0b97 into PR head commit add40d488d28804944eac452c0fbde4a44aab24a Merge succeeded, producing add40d488d28804944eac452c0fbde4a44aab24a Checking out Revision add40d488d28804944eac452c0fbde4a44aab24a (PR-686) Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f add40d488d28804944eac452c0fbde4a44aab24a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3f7a3fad922d06158882a9f2d5ca1ab4e50c0b97 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f add40d488d28804944eac452c0fbde4a44aab24a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-31T01:54:02.760Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-31T01:54:03.001Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-31T01:54:03.129Z] ========================================================= [2024-07-31T01:54:03.129Z] EdgeX Global Pipelines Version Info [2024-07-31T01:54:03.129Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-31T01:54:04.271Z] ------------------- [2024-07-31T01:54:04.271Z] stable info: [2024-07-31T01:54:04.271Z] ------------------- [2024-07-31T01:54:04.271Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T01:54:04.271Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-31T01:54:04.271Z] Message: update stable to v1.0.260 [2024-07-31T01:54:04.533Z] ------------------- [2024-07-31T01:54:04.533Z] experimental info: [2024-07-31T01:54:04.533Z] ------------------- [2024-07-31T01:54:04.533Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T01:54:04.533Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-31T01:54:04.533Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-31T01:54:04.765Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-07-31T01:54:04.828Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-07-31T01:54:04.890Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-31T01:54:04.956Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-31T01:54:05.020Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-31T01:54:05.091Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-31T01:54:05.153Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-31T01:54:05.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-31T01:54:05.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-31T01:54:05.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-31T01:54:05.385Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-31T01:54:05.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-07-31T01:54:05.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-31T01:54:05.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-31T01:54:05.637Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T01:54:05.695Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T01:54:05.750Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T01:54:05.811Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T01:54:05.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-31T01:54:05.933Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-31T01:54:05.991Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-31T01:54:06.057Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-31T01:54:06.121Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-31T01:54:06.174Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-31T01:54:06.234Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-31T01:54:06.289Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-31T01:54:06.344Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-31T01:54:06.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-686 [Pipeline] echo [2024-07-31T01:54:06.460Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-686 [Pipeline] echo [2024-07-31T01:54:06.504Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-686 [Pipeline] echo [2024-07-31T01:54:06.552Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = add40d488d28804944eac452c0fbde4a44aab24a [Pipeline] echo [2024-07-31T01:54:06.614Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = add40d4 [Pipeline] echo [2024-07-31T01:54:06.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T01:54:06.839Z] provisioning config files... [2024-07-31T01:54:06.853Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp/config64356870706001415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T01:54:07.256Z] ---> ****-login.sh [2024-07-31T01:54:07.256Z] nexus3.edgexfoundry.org:10001 [2024-07-31T01:54:07.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:07.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:07.517Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:07.517Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:07.517Z] [2024-07-31T01:54:07.517Z] Login Succeeded [2024-07-31T01:54:07.517Z] nexus3.edgexfoundry.org:10002 [2024-07-31T01:54:07.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:07.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:07.518Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:07.518Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:07.518Z] [2024-07-31T01:54:07.518Z] Login Succeeded [2024-07-31T01:54:07.518Z] nexus3.edgexfoundry.org:10003 [2024-07-31T01:54:07.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:07.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:07.778Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:07.778Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:07.778Z] [2024-07-31T01:54:07.778Z] Login Succeeded [2024-07-31T01:54:07.778Z] nexus3.edgexfoundry.org:10004 [2024-07-31T01:54:07.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:07.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:07.778Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:07.778Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:07.778Z] [2024-07-31T01:54:07.778Z] Login Succeeded [2024-07-31T01:54:07.778Z] ****.io [2024-07-31T01:54:08.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:08.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:08.042Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:08.042Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:08.042Z] [2024-07-31T01:54:08.042Z] Login Succeeded [2024-07-31T01:54:08.042Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T01:54:08.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-31T01:54:08.791Z] + git rev-list -1 --merges add40d488d28804944eac452c0fbde4a44aab24a~1..add40d488d28804944eac452c0fbde4a44aab24a [Pipeline] echo [2024-07-31T01:54:08.844Z] -----------> git rev-list -1 --merges add40d488d28804944eac452c0fbde4a44aab24a~1..add40d488d28804944eac452c0fbde4a44aab24a add40d488d28804944eac452c0fbde4a44aab24a [false] [Pipeline] sh [2024-07-31T01:54:09.174Z] + git log --format=format:%s -1 add40d488d28804944eac452c0fbde4a44aab24a [Pipeline] echo [2024-07-31T01:54:09.231Z] ========================================================= [2024-07-31T01:54:09.231Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-31T01:54:09.231Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T01:54:09.700Z] + git log --format=format:%s -1 add40d488d28804944eac452c0fbde4a44aab24a [Pipeline] echo [2024-07-31T01:54:09.749Z] [semverPrep] GIT_COMMIT: add40d488d28804944eac452c0fbde4a44aab24a, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2024-07-31T01:54:09.791Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-31T01:54:10.208Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T01:54:10.208Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-31T01:54:10.208Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-31T01:54:10.208Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-31T01:54:10.208Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-31T01:54:10.208Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-31T01:54:10.208Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T01:54:10.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T01:54:10.748Z] [2024-07-31T01:54:10.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T01:54:11.150Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T01:54:11.150Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-31T01:54:11.150Z] b85a868b505f: Pulling fs layer [2024-07-31T01:54:11.150Z] e2be974225ed: Pulling fs layer [2024-07-31T01:54:11.150Z] 339a4e72a1f5: Pulling fs layer [2024-07-31T01:54:11.150Z] 988bab9f4d93: Pulling fs layer [2024-07-31T01:54:11.150Z] 1469e6f7b9e6: Pulling fs layer [2024-07-31T01:54:11.150Z] eaf3925da568: Pulling fs layer [2024-07-31T01:54:11.150Z] bab4dde63d76: Pulling fs layer [2024-07-31T01:54:11.150Z] bde34c3a00c8: Pulling fs layer [2024-07-31T01:54:11.150Z] b352a97aabf1: Pulling fs layer [2024-07-31T01:54:11.150Z] 4872d77fe225: Pulling fs layer [2024-07-31T01:54:11.150Z] 5851b861e8e6: Pulling fs layer [2024-07-31T01:54:11.150Z] 1469e6f7b9e6: Waiting [2024-07-31T01:54:11.150Z] 988bab9f4d93: Waiting [2024-07-31T01:54:11.150Z] 4872d77fe225: Waiting [2024-07-31T01:54:11.150Z] bab4dde63d76: Waiting [2024-07-31T01:54:11.150Z] 5851b861e8e6: Waiting [2024-07-31T01:54:11.150Z] bde34c3a00c8: Waiting [2024-07-31T01:54:11.150Z] b352a97aabf1: Waiting [2024-07-31T01:54:11.150Z] eaf3925da568: Waiting [2024-07-31T01:54:11.150Z] e2be974225ed: Verifying Checksum [2024-07-31T01:54:11.150Z] e2be974225ed: Download complete [2024-07-31T01:54:11.150Z] 988bab9f4d93: Download complete [2024-07-31T01:54:11.411Z] 1469e6f7b9e6: Verifying Checksum [2024-07-31T01:54:11.411Z] 1469e6f7b9e6: Download complete [2024-07-31T01:54:11.411Z] eaf3925da568: Verifying Checksum [2024-07-31T01:54:11.411Z] eaf3925da568: Download complete [2024-07-31T01:54:11.411Z] 339a4e72a1f5: Verifying Checksum [2024-07-31T01:54:11.411Z] 339a4e72a1f5: Download complete [2024-07-31T01:54:11.411Z] bde34c3a00c8: Verifying Checksum [2024-07-31T01:54:11.411Z] bde34c3a00c8: Download complete [2024-07-31T01:54:11.411Z] b352a97aabf1: Download complete [2024-07-31T01:54:11.411Z] 4872d77fe225: Verifying Checksum [2024-07-31T01:54:11.411Z] 4872d77fe225: Download complete [2024-07-31T01:54:11.411Z] 5851b861e8e6: Download complete [2024-07-31T01:54:11.411Z] b85a868b505f: Verifying Checksum [2024-07-31T01:54:11.411Z] b85a868b505f: Download complete [2024-07-31T01:54:11.671Z] bab4dde63d76: Verifying Checksum [2024-07-31T01:54:11.671Z] bab4dde63d76: Download complete [2024-07-31T01:54:13.049Z] b85a868b505f: Pull complete [2024-07-31T01:54:13.049Z] e2be974225ed: Pull complete [2024-07-31T01:54:13.310Z] 339a4e72a1f5: Pull complete [2024-07-31T01:54:13.581Z] 988bab9f4d93: Pull complete [2024-07-31T01:54:13.842Z] 1469e6f7b9e6: Pull complete [2024-07-31T01:54:13.842Z] eaf3925da568: Pull complete [2024-07-31T01:54:15.756Z] bab4dde63d76: Pull complete [2024-07-31T01:54:15.756Z] bde34c3a00c8: Pull complete [2024-07-31T01:54:16.018Z] b352a97aabf1: Pull complete [2024-07-31T01:54:16.019Z] 4872d77fe225: Pull complete [2024-07-31T01:54:16.019Z] 5851b861e8e6: Pull complete [2024-07-31T01:54:16.019Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-31T01:54:16.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T01:54:16.019Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T01:54:16.310Z] prd-ubuntu20.04-docker-8c-8g-6798 does not seem to be running inside a container [2024-07-31T01:54:16.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-686 -v /w/workspace/gexfoundry_device-mqtt-go_PR-686:/w/workspace/gexfoundry_device-mqtt-go_PR-686:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-686@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-31T01:54:20.606Z] $ docker top 749882630d1af3ce73fc689f2f900d719601ed67e8e4ab77d85a09757e86a7dd -eo pid,comm [2024-07-31T01:54:20.659Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-31T01:54:20.659Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T01:54:20.825Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T01:54:20.825Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T01:54:20.928Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T01:54:20.928Z] $ docker exec 749882630d1af3ce73fc689f2f900d719601ed67e8e4ab77d85a09757e86a7dd ssh-agent [2024-07-31T01:54:21.031Z] SSH_AUTH_SOCK=/tmp/ssh-KeywmoGOVcDD/agent.33 [2024-07-31T01:54:21.031Z] SSH_AGENT_PID=39 [2024-07-31T01:54:21.039Z] Running ssh-add (command line suppressed) [2024-07-31T01:54:21.134Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp/private_key_17435631281137344553.key (/w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp/private_key_17435631281137344553.key) [2024-07-31T01:54:21.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T01:54:21.500Z] + git tag --points-at HEAD [Pipeline] } [2024-07-31T01:54:21.530Z] $ docker exec --env ******** --env ******** 749882630d1af3ce73fc689f2f900d719601ed67e8e4ab77d85a09757e86a7dd ssh-agent -k [2024-07-31T01:54:21.625Z] unset SSH_AUTH_SOCK; [2024-07-31T01:54:21.625Z] unset SSH_AGENT_PID; [2024-07-31T01:54:21.625Z] echo Agent pid 39 killed; [2024-07-31T01:54:21.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-31T01:54:21.744Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T01:54:21.744Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T01:54:21.857Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T01:54:21.858Z] $ docker exec 749882630d1af3ce73fc689f2f900d719601ed67e8e4ab77d85a09757e86a7dd ssh-agent [2024-07-31T01:54:21.976Z] SSH_AUTH_SOCK=/tmp/ssh-dxHDxUbd3J88/agent.73 [2024-07-31T01:54:21.976Z] SSH_AGENT_PID=79 [2024-07-31T01:54:21.981Z] Running ssh-add (command line suppressed) [2024-07-31T01:54:22.081Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp/private_key_12491742164665927844.key (/w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp/private_key_12491742164665927844.key) [2024-07-31T01:54:22.098Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T01:54:22.446Z] + git semver init [2024-07-31T01:54:22.704Z] 2024-07-31 01:54:22,652 [run_init] DEBUG init version:0.0.0 force:False [2024-07-31T01:54:22.704Z] 2024-07-31 01:54:22,653 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-686/.semver [2024-07-31T01:54:22.704Z] 2024-07-31 01:54:22,653 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-686/.semver [2024-07-31T01:54:22.704Z] 2024-07-31 01:54:22,653 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-686/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-686, universal_newlines=False, shell=None, istream=None) [2024-07-31T01:54:24.611Z] 2024-07-31 01:54:24,324 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-686/.git/info/exclude [2024-07-31T01:54:24.612Z] 2024-07-31 01:54:24,325 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-686/.semver/PR-686 with force:False [2024-07-31T01:54:24.612Z] 2024-07-31 01:54:24,325 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-686/.semver/PR-686 [2024-07-31T01:54:24.612Z] 2024-07-31 01:54:24,329 [execute] INFO git cat-file --batch-check [2024-07-31T01:54:24.612Z] 2024-07-31 01:54:24,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-686/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T01:54:24.612Z] 2024-07-31 01:54:24,336 [execute] INFO git cat-file --batch [2024-07-31T01:54:24.612Z] 2024-07-31 01:54:24,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-686/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T01:54:24.612Z] 2024-07-31 01:54:24,344 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-686/.semver/PR-686 [2024-07-31T01:54:24.612Z] 0.0.0 [Pipeline] } [2024-07-31T01:54:24.639Z] $ docker exec --env ******** --env ******** 749882630d1af3ce73fc689f2f900d719601ed67e8e4ab77d85a09757e86a7dd ssh-agent -k [2024-07-31T01:54:24.738Z] unset SSH_AUTH_SOCK; [2024-07-31T01:54:24.738Z] unset SSH_AGENT_PID; [2024-07-31T01:54:24.738Z] echo Agent pid 79 killed; [2024-07-31T01:54:24.751Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T01:54:25.210Z] + git semver [Pipeline] } [2024-07-31T01:54:25.507Z] $ docker stop --time=1 749882630d1af3ce73fc689f2f900d719601ed67e8e4ab77d85a09757e86a7dd [2024-07-31T01:54:26.812Z] $ docker rm -f --volumes 749882630d1af3ce73fc689f2f900d719601ed67e8e4ab77d85a09757e86a7dd [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T01:54:27.249Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-31T01:54:27.587Z] Stashed 1 file(s) [Pipeline] echo [2024-07-31T01:54:27.614Z] [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-07-31T01:54:28.352Z] provisioning config files... [2024-07-31T01:54:28.361Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp/config16897717579884109819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T01:54:28.744Z] ---> ****-login.sh [2024-07-31T01:54:28.745Z] nexus3.edgexfoundry.org:10001 [2024-07-31T01:54:28.745Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:28.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:28.745Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:28.745Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:28.745Z] [2024-07-31T01:54:28.745Z] Login Succeeded [2024-07-31T01:54:28.745Z] nexus3.edgexfoundry.org:10002 [2024-07-31T01:54:29.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:29.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:29.005Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:29.005Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:29.005Z] [2024-07-31T01:54:29.005Z] Login Succeeded [2024-07-31T01:54:29.005Z] nexus3.edgexfoundry.org:10003 [2024-07-31T01:54:29.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:29.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:29.006Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:29.006Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:29.006Z] [2024-07-31T01:54:29.006Z] Login Succeeded [2024-07-31T01:54:29.006Z] nexus3.edgexfoundry.org:10004 [2024-07-31T01:54:29.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:29.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:29.265Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:29.265Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:29.265Z] [2024-07-31T01:54:29.265Z] Login Succeeded [2024-07-31T01:54:29.265Z] ****.io [2024-07-31T01:54:29.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:54:29.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:54:29.526Z] Configure a credential helper to remove this warning. See [2024-07-31T01:54:29.526Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:54:29.526Z] [2024-07-31T01:54:29.526Z] Login Succeeded [2024-07-31T01:54:29.526Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T01:54:29.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T01:54:29.805Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T01:54:29.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T01:54:29.976Z] ========================================================= [2024-07-31T01:54:29.976Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-31T01:54:29.976Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T01:54:30.525Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-31T01:54:30.525Z] Sending build context to Docker daemon 20.83MB [2024-07-31T01:54:30.525Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T01:54:30.525Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-31T01:54:30.785Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-31T01:54:30.785Z] 619be1103602: Pulling fs layer [2024-07-31T01:54:30.785Z] 7862e08f4a3e: Pulling fs layer [2024-07-31T01:54:30.785Z] 5df492c9dc93: Pulling fs layer [2024-07-31T01:54:30.785Z] 7629e6793208: Pulling fs layer [2024-07-31T01:54:30.785Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T01:54:30.785Z] fb5054dd5b73: Pulling fs layer [2024-07-31T01:54:30.785Z] eeca6798cff9: Pulling fs layer [2024-07-31T01:54:30.785Z] aa269ceb94a6: Pulling fs layer [2024-07-31T01:54:30.785Z] ada007ff1a6a: Pulling fs layer [2024-07-31T01:54:30.785Z] 7629e6793208: Waiting [2024-07-31T01:54:30.786Z] 4f4fb700ef54: Waiting [2024-07-31T01:54:30.786Z] fb5054dd5b73: Waiting [2024-07-31T01:54:30.786Z] eeca6798cff9: Waiting [2024-07-31T01:54:30.786Z] aa269ceb94a6: Waiting [2024-07-31T01:54:30.786Z] ada007ff1a6a: Waiting [2024-07-31T01:54:30.786Z] 7862e08f4a3e: Verifying Checksum [2024-07-31T01:54:30.786Z] 7862e08f4a3e: Download complete [2024-07-31T01:54:30.786Z] 7629e6793208: Download complete [2024-07-31T01:54:30.786Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T01:54:30.786Z] 4f4fb700ef54: Download complete [2024-07-31T01:54:30.786Z] fb5054dd5b73: Verifying Checksum [2024-07-31T01:54:30.786Z] fb5054dd5b73: Download complete [2024-07-31T01:54:30.786Z] 619be1103602: Verifying Checksum [2024-07-31T01:54:30.786Z] 619be1103602: Download complete [2024-07-31T01:54:30.786Z] eeca6798cff9: Verifying Checksum [2024-07-31T01:54:30.786Z] eeca6798cff9: Download complete [2024-07-31T01:54:31.045Z] 619be1103602: Pull complete [2024-07-31T01:54:31.045Z] ada007ff1a6a: Verifying Checksum [2024-07-31T01:54:31.045Z] ada007ff1a6a: Download complete [2024-07-31T01:54:31.045Z] 7862e08f4a3e: Pull complete [2024-07-31T01:54:31.303Z] 5df492c9dc93: Verifying Checksum [2024-07-31T01:54:31.303Z] 5df492c9dc93: Download complete [2024-07-31T01:54:31.561Z] aa269ceb94a6: Verifying Checksum [2024-07-31T01:54:31.561Z] aa269ceb94a6: Download complete [2024-07-31T01:54:34.845Z] 5df492c9dc93: Pull complete [2024-07-31T01:54:34.845Z] 7629e6793208: Pull complete [2024-07-31T01:54:34.845Z] 4f4fb700ef54: Pull complete [2024-07-31T01:54:34.845Z] fb5054dd5b73: Pull complete [2024-07-31T01:54:34.845Z] eeca6798cff9: Pull complete [2024-07-31T01:54:37.378Z] aa269ceb94a6: Pull complete [2024-07-31T01:54:37.636Z] ada007ff1a6a: Pull complete [2024-07-31T01:54:37.636Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-31T01:54:37.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-31T01:54:37.636Z] ---> f489d0715acc [2024-07-31T01:54:37.636Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-31T01:54:43.132Z] Still waiting to schedule task [2024-07-31T01:54:43.133Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-6795’ is offline [2024-07-31T01:54:45.797Z] ---> Running in ad43cebd70d5 [2024-07-31T01:54:45.797Z] Removing intermediate container ad43cebd70d5 [2024-07-31T01:54:45.797Z] ---> c54f7b24987a [2024-07-31T01:54:45.797Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T01:54:45.797Z] ---> Running in 649829d225c4 [2024-07-31T01:54:45.797Z] Removing intermediate container 649829d225c4 [2024-07-31T01:54:45.797Z] ---> aab3c600acde [2024-07-31T01:54:45.797Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T01:54:45.797Z] ---> Running in 415659a59b7d [2024-07-31T01:54:45.797Z] Removing intermediate container 415659a59b7d [2024-07-31T01:54:45.797Z] ---> 6e753ff9df5b [2024-07-31T01:54:45.797Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T01:54:45.797Z] ---> Running in 7b927706e16d [2024-07-31T01:54:45.797Z] Removing intermediate container 7b927706e16d [2024-07-31T01:54:45.797Z] ---> 83a18717a1f8 [2024-07-31T01:54:45.797Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T01:54:45.797Z] ---> Running in 9b5543b449ee [2024-07-31T01:54:45.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T01:54:46.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T01:54:46.625Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-31T01:54:46.625Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-31T01:54:46.625Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-31T01:54:46.625Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-31T01:54:46.625Z] Executing busybox-1.36.1-r5.trigger [2024-07-31T01:54:46.625Z] OK: 268 MiB in 56 packages [2024-07-31T01:54:47.195Z] Removing intermediate container 9b5543b449ee [2024-07-31T01:54:47.195Z] ---> dc343b514ff4 [2024-07-31T01:54:47.195Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-31T01:54:47.195Z] ---> Running in e69747b2e89a [2024-07-31T01:54:47.195Z] Removing intermediate container e69747b2e89a [2024-07-31T01:54:47.195Z] ---> 56191f7110be [2024-07-31T01:54:47.195Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-31T01:54:47.455Z] ---> 0a34c5f5dc5f [2024-07-31T01:54:47.455Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T01:54:47.455Z] ---> Running in d2188877370b [2024-07-31T01:55:55.190Z] Removing intermediate container d2188877370b [2024-07-31T01:55:55.190Z] ---> f4c6b9df11bc [2024-07-31T01:55:55.190Z] Step 11/12 : COPY . . [2024-07-31T01:55:55.190Z] ---> 255fa5af76ec [2024-07-31T01:55:55.190Z] Step 12/12 : RUN $MAKE [2024-07-31T01:55:55.190Z] ---> Running in 857f4d3c4f31 [2024-07-31T01:55:55.190Z] noop [2024-07-31T01:55:55.449Z] Removing intermediate container 857f4d3c4f31 [2024-07-31T01:55:55.449Z] ---> 8f7168b27369 [2024-07-31T01:55:55.449Z] Successfully built 8f7168b27369 [2024-07-31T01:55:55.449Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T01:55:55.933Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T01:55:55.933Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T01:55:56.107Z] prd-ubuntu20.04-docker-8c-8g-6798 does not seem to be running inside a container [2024-07-31T01:55:56.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-686 -v /w/workspace/gexfoundry_device-mqtt-go_PR-686:/w/workspace/gexfoundry_device-mqtt-go_PR-686:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-31T01:55:56.471Z] $ docker top 2a1f03a44fa66a10c4ad899caecfca3a56f80a7cd51f1d9af4a21a3771d14bee -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T01:55:56.932Z] + go version [2024-07-31T01:55:56.932Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-31T01:55:56.968Z] $ docker stop --time=1 2a1f03a44fa66a10c4ad899caecfca3a56f80a7cd51f1d9af4a21a3771d14bee [2024-07-31T01:55:58.242Z] $ docker rm -f --volumes 2a1f03a44fa66a10c4ad899caecfca3a56f80a7cd51f1d9af4a21a3771d14bee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T01:55:59.069Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T01:55:59.069Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T01:55:59.247Z] prd-ubuntu20.04-docker-8c-8g-6798 does not seem to be running inside a container [2024-07-31T01:55:59.281Z] $ 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-686 -v /w/workspace/gexfoundry_device-mqtt-go_PR-686:/w/workspace/gexfoundry_device-mqtt-go_PR-686:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-31T01:55:59.632Z] $ docker top 0501d2a72f2d57a27f59692deef7ffb4b22a6d9c4f46eb91cc160d20a5e011c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T01:56:00.060Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-686 [Pipeline] fileExists [Pipeline] sh [2024-07-31T01:56:00.444Z] + make test [2024-07-31T01:56:00.444Z] go test ./... -coverprofile=coverage.out ./... [2024-07-31T01:56:02.348Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-31T01:56:20.418Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-31T01:56:20.418Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-31T01:56:20.418Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.8% of statements [2024-07-31T01:56:26.977Z] go vet ./... [2024-07-31T01:56:32.237Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T01:56:32.237Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T01:56:32.237Z] ./bin/test-attribution-txt.sh [2024-07-31T01:56:32.237Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T01:56:32.237Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T01:56:32.238Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T01:56:32.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T01:56:32.334Z] $ docker stop --time=1 0501d2a72f2d57a27f59692deef7ffb4b22a6d9c4f46eb91cc160d20a5e011c1 [2024-07-31T01:56:38.464Z] $ docker rm -f --volumes 0501d2a72f2d57a27f59692deef7ffb4b22a6d9c4f46eb91cc160d20a5e011c1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T01:56:39.090Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T01:56:39.169Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-31T01:56:39.900Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T01:56:40.218Z] + ls -al . [2024-07-31T01:56:40.218Z] total 252 [2024-07-31T01:56:40.218Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 01:56 . [2024-07-31T01:56:40.218Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 01:53 .. [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 01:53 .dockerignore [2024-07-31T01:56:40.218Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 01:56 .git [2024-07-31T01:56:40.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:53 .github [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 01:53 .gitignore [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 01:53 .golangci.yml [2024-07-31T01:56:40.218Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 01:54 .semver [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 31 01:53 Attribution.txt [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 31 01:53 CHANGELOG.md [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 31 01:53 Dockerfile [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 01:53 GOVERNANCE.md [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 01:53 Jenkinsfile [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 01:53 LICENSE [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 31 01:53 Makefile [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 01:53 OWNERS.md [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 31 01:53 README.md [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 01:54 VERSION [2024-07-31T01:56:40.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 01:53 bin [2024-07-31T01:56:40.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:53 cmd [2024-07-31T01:56:40.218Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 31 01:56 coverage.out [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 7065 Jul 31 01:53 go.mod [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 01:53 go.sum [2024-07-31T01:56:40.218Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:53 internal [2024-07-31T01:56:40.218Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 01:53 mock [2024-07-31T01:56:40.218Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 31 01:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T01:56:40.660Z] + 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=add40d488d28804944eac452c0fbde4a44aab24a --label arch=amd64 --label version=0.0.0 . [2024-07-31T01:56:40.660Z] Sending build context to Docker daemon 20.85MB [2024-07-31T01:56:40.660Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T01:56:40.660Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-31T01:56:40.660Z] ---> 8f7168b27369 [2024-07-31T01:56:40.660Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-31T01:56:41.228Z] ---> Running in 0ff3c75ffdb4 [2024-07-31T01:56:41.487Z] Removing intermediate container 0ff3c75ffdb4 [2024-07-31T01:56:41.487Z] ---> 144f0c28a02d [2024-07-31T01:56:41.487Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T01:56:41.487Z] ---> Running in 8d1035585b45 [2024-07-31T01:56:41.487Z] Removing intermediate container 8d1035585b45 [2024-07-31T01:56:41.487Z] ---> 9fef1b583032 [2024-07-31T01:56:41.487Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T01:56:41.487Z] ---> Running in c387745694c7 [2024-07-31T01:56:41.747Z] Removing intermediate container c387745694c7 [2024-07-31T01:56:41.747Z] ---> 250ceb13ae00 [2024-07-31T01:56:41.747Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T01:56:41.747Z] ---> Running in 9d5c23f858c5 [2024-07-31T01:56:41.747Z] Removing intermediate container 9d5c23f858c5 [2024-07-31T01:56:41.747Z] ---> 9439daf44308 [2024-07-31T01:56:41.747Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T01:56:41.747Z] ---> Running in acb2587b8910 [2024-07-31T01:56:42.012Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T01:56:42.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T01:56:42.531Z] OK: 268 MiB in 56 packages [2024-07-31T01:56:42.790Z] Removing intermediate container acb2587b8910 [2024-07-31T01:56:42.790Z] ---> 9bb8b159b259 [2024-07-31T01:56:42.790Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-31T01:56:42.790Z] ---> Running in 6fc4c3fa5ea8 [2024-07-31T01:56:43.054Z] Removing intermediate container 6fc4c3fa5ea8 [2024-07-31T01:56:43.054Z] ---> 225d197e08aa [2024-07-31T01:56:43.054Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-31T01:56:43.054Z] ---> c923a5a8784f [2024-07-31T01:56:43.054Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T01:56:43.054Z] ---> Running in f96d23bcacaa [2024-07-31T01:56:43.621Z] Removing intermediate container f96d23bcacaa [2024-07-31T01:56:43.621Z] ---> 8f9452bf8c52 [2024-07-31T01:56:43.621Z] Step 11/25 : COPY . . [2024-07-31T01:56:44.558Z] ---> feb8cc719b92 [2024-07-31T01:56:44.558Z] Step 12/25 : RUN $MAKE [2024-07-31T01:56:44.558Z] ---> Running in 53fc0215f0b7 [2024-07-31T01:56:44.558Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-31T01:57:12.255Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6801 in /w/workspace/gexfoundry_device-mqtt-go_PR-686 [Pipeline] { [Pipeline] ws [2024-07-31T01:57:12.326Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-07-31T01:57:15.442Z] The recommended git tool is: git [2024-07-31T01:57:16.648Z] Removing intermediate container 53fc0215f0b7 [2024-07-31T01:57:16.648Z] ---> 5f05c63adaee [2024-07-31T01:57:16.648Z] Step 13/25 : FROM alpine:3.18 [2024-07-31T01:57:16.648Z] 3.18: Pulling from library/alpine [2024-07-31T01:57:16.648Z] 930bdd4d222e: Pulling fs layer [2024-07-31T01:57:16.648Z] 930bdd4d222e: Download complete [2024-07-31T01:57:16.648Z] 930bdd4d222e: Pull complete [2024-07-31T01:57:16.648Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T01:57:16.648Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T01:57:16.648Z] ---> 18f865063206 [2024-07-31T01:57:16.648Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-31T01:57:16.648Z] ---> Running in c53cd78546ef [2024-07-31T01:57:16.648Z] Removing intermediate container c53cd78546ef [2024-07-31T01:57:16.648Z] ---> eedf822fd653 [2024-07-31T01:57:16.648Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-31T01:57:16.648Z] ---> Running in cf22545b2d85 [2024-07-31T01:57:16.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T01:57:16.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T01:57:16.648Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T01:57:16.648Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T01:57:16.648Z] OK: 7 MiB in 16 packages [2024-07-31T01:57:16.648Z] Removing intermediate container cf22545b2d85 [2024-07-31T01:57:16.648Z] ---> 7be66493220f [2024-07-31T01:57:16.648Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-31T01:57:16.648Z] ---> Running in 7ea86420db6f [2024-07-31T01:57:16.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T01:57:16.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T01:57:16.648Z] OK: 7 MiB in 16 packages [2024-07-31T01:57:16.907Z] Removing intermediate container 7ea86420db6f [2024-07-31T01:57:16.907Z] ---> cb566a8a31b5 [2024-07-31T01:57:16.907Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-31T01:57:18.291Z] ---> 086fa0fc36ef [2024-07-31T01:57:18.291Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-31T01:57:18.291Z] ---> 00151b71724c [2024-07-31T01:57:18.291Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-31T01:57:18.551Z] ---> 43f7b03b5b48 [2024-07-31T01:57:18.551Z] Step 20/25 : EXPOSE 59982 [2024-07-31T01:57:18.551Z] ---> Running in b31ef5e10565 [2024-07-31T01:57:18.551Z] Removing intermediate container b31ef5e10565 [2024-07-31T01:57:18.551Z] ---> beea31ca761f [2024-07-31T01:57:18.551Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-31T01:57:18.551Z] ---> Running in aebee2545cb4 [2024-07-31T01:57:18.810Z] Removing intermediate container aebee2545cb4 [2024-07-31T01:57:18.810Z] ---> cfd44992a0a6 [2024-07-31T01:57:18.810Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-31T01:57:18.810Z] ---> Running in 988a68c2cd34 [2024-07-31T01:57:18.810Z] Removing intermediate container 988a68c2cd34 [2024-07-31T01:57:18.810Z] ---> 06511d043832 [2024-07-31T01:57:18.810Z] Step 23/25 : LABEL arch=amd64 [2024-07-31T01:57:18.810Z] ---> Running in 096688c950fa [2024-07-31T01:57:18.810Z] Removing intermediate container 096688c950fa [2024-07-31T01:57:18.810Z] ---> c19385a568f6 [2024-07-31T01:57:18.810Z] Step 24/25 : LABEL git_sha=add40d488d28804944eac452c0fbde4a44aab24a [2024-07-31T01:57:19.070Z] ---> Running in 106ca3f89a6a [2024-07-31T01:57:19.070Z] Removing intermediate container 106ca3f89a6a [2024-07-31T01:57:19.070Z] ---> 6e4b4f709299 [2024-07-31T01:57:19.070Z] Step 25/25 : LABEL version=0.0.0 [2024-07-31T01:57:19.070Z] ---> Running in 6904f1a8bacd [2024-07-31T01:57:19.070Z] Removing intermediate container 6904f1a8bacd [2024-07-31T01:57:19.070Z] ---> 75d85e7c8411 [2024-07-31T01:57:19.070Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T01:57:19.331Z] Successfully built 75d85e7c8411 [2024-07-31T01:57:19.331Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T01:57:20.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T01:57:20.383Z] [2024-07-31T01:57:20.383Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T01:57:20.782Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T01:57:20.782Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-31T01:57:20.782Z] 5eb5b503b376: Pulling fs layer [2024-07-31T01:57:20.782Z] 5c69ac0246d0: Pulling fs layer [2024-07-31T01:57:20.782Z] ec43610c2a17: Pulling fs layer [2024-07-31T01:57:20.782Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-31T01:57:20.782Z] 33b1e0a273af: Pulling fs layer [2024-07-31T01:57:20.782Z] 5d3b04190fa2: Pulling fs layer [2024-07-31T01:57:20.782Z] 2f39f015ded8: Pulling fs layer [2024-07-31T01:57:20.782Z] 33b1e0a273af: Waiting [2024-07-31T01:57:20.782Z] 5d3b04190fa2: Waiting [2024-07-31T01:57:20.782Z] 3a2ae6a8a46f: Waiting [2024-07-31T01:57:20.782Z] 2f39f015ded8: Waiting [2024-07-31T01:57:20.782Z] 5c69ac0246d0: Verifying Checksum [2024-07-31T01:57:20.782Z] 5c69ac0246d0: Download complete [2024-07-31T01:57:20.782Z] 3a2ae6a8a46f: Download complete [2024-07-31T01:57:20.782Z] 33b1e0a273af: Verifying Checksum [2024-07-31T01:57:20.782Z] 33b1e0a273af: Download complete [2024-07-31T01:57:21.040Z] 5d3b04190fa2: Download complete [2024-07-31T01:57:21.040Z] ec43610c2a17: Verifying Checksum [2024-07-31T01:57:21.040Z] ec43610c2a17: Download complete [2024-07-31T01:57:21.297Z] 5eb5b503b376: Verifying Checksum [2024-07-31T01:57:21.297Z] 5eb5b503b376: Download complete [2024-07-31T01:57:21.861Z] 2f39f015ded8: Verifying Checksum [2024-07-31T01:57:21.861Z] 2f39f015ded8: Download complete [2024-07-31T01:57:22.435Z] 5eb5b503b376: Pull complete [2024-07-31T01:57:22.435Z] 5c69ac0246d0: Pull complete [2024-07-31T01:57:22.867Z] using credential edgex-jenkins-ssh [2024-07-31T01:57:22.891Z] Cloning the remote Git repository [2024-07-31T01:57:23.000Z] ec43610c2a17: Pull complete [2024-07-31T01:57:23.000Z] 3a2ae6a8a46f: Pull complete [2024-07-31T01:57:22.939Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-31T01:57:23.047Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-07-31T01:57:23.260Z] 33b1e0a273af: Pull complete [2024-07-31T01:57:23.260Z] 5d3b04190fa2: Pull complete [2024-07-31T01:57:23.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-31T01:57:23.210Z] > git --version # timeout=10 [2024-07-31T01:57:23.238Z] > git --version # 'git version 2.25.1' [2024-07-31T01:57:23.245Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-31T01:57:23.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T01:57:26.300Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-07-31T01:57:26.330Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T01:57:27.341Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-07-31T01:57:27.445Z] 2f39f015ded8: Pull complete [2024-07-31T01:57:27.445Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-31T01:57:27.445Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T01:57:27.445Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T01:57:27.707Z] prd-ubuntu20.04-docker-8c-8g-6798 does not seem to be running inside a container [2024-07-31T01:57:27.732Z] $ 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-686 -v /w/workspace/gexfoundry_device-mqtt-go_PR-686:/w/workspace/gexfoundry_device-mqtt-go_PR-686:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-686@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-07-31T01:57:27.955Z] Merging remotes/origin/main commit 3f7a3fad922d06158882a9f2d5ca1ab4e50c0b97 into PR head commit add40d488d28804944eac452c0fbde4a44aab24a [2024-07-31T01:57:28.258Z] Merge succeeded, producing add40d488d28804944eac452c0fbde4a44aab24a [2024-07-31T01:57:28.259Z] Checking out Revision add40d488d28804944eac452c0fbde4a44aab24a (PR-686) [2024-07-31T01:57:28.850Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2024-07-31T01:57:27.392Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-31T01:57:27.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-31T01:57:27.417Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/686/head:refs/remotes/origin/PR-686 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-31T01:57:27.974Z] > git config core.sparsecheckout # timeout=10 [2024-07-31T01:57:28.052Z] > git checkout -f add40d488d28804944eac452c0fbde4a44aab24a # timeout=10 [2024-07-31T01:57:28.146Z] > git remote # timeout=10 [2024-07-31T01:57:28.164Z] > git config --get remote.origin.url # timeout=10 [2024-07-31T01:57:28.186Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-31T01:57:28.206Z] > git merge 3f7a3fad922d06158882a9f2d5ca1ab4e50c0b97 # timeout=10 [2024-07-31T01:57:28.236Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-31T01:57:28.263Z] > git config core.sparsecheckout # timeout=10 [2024-07-31T01:57:28.278Z] > git checkout -f add40d488d28804944eac452c0fbde4a44aab24a # timeout=10 [2024-07-31T01:57:28.907Z] > git --version # timeout=10 [2024-07-31T01:57:28.918Z] > git --version # 'git version 2.25.1' [2024-07-31T01:57:28.945Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-31T01:57:32.054Z] $ docker top 263009e1af4a7d7c92eb2cf733f46d26c3b16b49223577a7c1be719d186355b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T01:57:32.518Z] ---> job-cost.sh [2024-07-31T01:57:32.518Z] lf-activate-venv: SKIPPING [2024-07-31T01:57:32.518Z] INFO: No Stack... [2024-07-31T01:57:32.781Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T01:57:33.033Z] [2024-07-31T01:57:33.033Z] GitHub has been notified of this commit’s build result [2024-07-31T01:57:33.033Z] [2024-07-31T01:57:33.041Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2024-07-31T01:57:33.365Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-686/archives/cost.csv [2024-07-31T01:57:33.365Z] + cut -d, -f6 [Pipeline] lock [2024-07-31T01:57:33.492Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-686-1-stack-cost] [2024-07-31T01:57:33.500Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-686-1-stack-cost] did not exist. Created. [2024-07-31T01:57:33.508Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-686-1-stack-cost] [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2024-07-31T01:57:34.221Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-31T01:57:34.222Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T01:57:34.222Z] Dload Upload Total Spent Left Speed [2024-07-31T01:57:34.222Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 82761 0 --:--:-- --:--:-- --:--:-- 82230 100 12828 100 12828 0 0 82230 0 --:--:-- --:--:-- --:--:-- 81707 [2024-07-31T01:57:34.253Z] + echo total: 0.2199999988079071 [Pipeline] sh [Pipeline] stash [2024-07-31T01:57:34.422Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T01:57:34.459Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-686-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T01:57:34.564Z] $ docker stop --time=1 263009e1af4a7d7c92eb2cf733f46d26c3b16b49223577a7c1be719d186355b0 [2024-07-31T01:57:34.579Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2024-07-31T01:57:35.706Z] $ docker rm -f --volumes 263009e1af4a7d7c92eb2cf733f46d26c3b16b49223577a7c1be719d186355b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-31T01:57:36.189Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-31T01:57:36.189Z] + sudo tee /etc/docker/daemon.new [2024-07-31T01:57:36.189Z] { [2024-07-31T01:57:36.189Z] "registry-mirrors": [ [2024-07-31T01:57:36.189Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-31T01:57:36.189Z] ], [2024-07-31T01:57:36.189Z] "bip": "10.250.0.254/24", [2024-07-31T01:57:36.189Z] "hosts": [ [2024-07-31T01:57:36.189Z] "tcp://0.0.0.0:5555", [2024-07-31T01:57:36.189Z] "unix:///var/run/docker.sock" [2024-07-31T01:57:36.189Z] ], [2024-07-31T01:57:36.189Z] "mtu": 1458, [2024-07-31T01:57:36.189Z] "selinux-enabled": true, [2024-07-31T01:57:36.189Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-31T01:57:36.189Z] } [Pipeline] sh [2024-07-31T01:57:36.576Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-31T01:57:36.954Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T01:57:55.334Z] provisioning config files... [2024-07-31T01:57:55.365Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8803123109823453170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T01:57:55.904Z] ---> ****-login.sh [2024-07-31T01:57:55.904Z] nexus3.edgexfoundry.org:10001 [2024-07-31T01:57:56.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:57:56.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:57:56.493Z] Configure a credential helper to remove this warning. See [2024-07-31T01:57:56.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:57:56.493Z] [2024-07-31T01:57:56.493Z] Login Succeeded [2024-07-31T01:57:56.493Z] nexus3.edgexfoundry.org:10002 [2024-07-31T01:57:56.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:57:57.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:57:57.032Z] Configure a credential helper to remove this warning. See [2024-07-31T01:57:57.032Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:57:57.032Z] [2024-07-31T01:57:57.032Z] Login Succeeded [2024-07-31T01:57:57.032Z] nexus3.edgexfoundry.org:10003 [2024-07-31T01:57:57.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:57:57.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:57:57.309Z] Configure a credential helper to remove this warning. See [2024-07-31T01:57:57.309Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:57:57.309Z] [2024-07-31T01:57:57.309Z] Login Succeeded [2024-07-31T01:57:57.309Z] nexus3.edgexfoundry.org:10004 [2024-07-31T01:57:57.581Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:57:57.581Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:57:57.581Z] Configure a credential helper to remove this warning. See [2024-07-31T01:57:57.581Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:57:57.581Z] [2024-07-31T01:57:57.581Z] Login Succeeded [2024-07-31T01:57:57.581Z] ****.io [2024-07-31T01:57:57.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T01:57:58.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T01:57:58.122Z] Configure a credential helper to remove this warning. See [2024-07-31T01:57:58.122Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T01:57:58.122Z] [2024-07-31T01:57:58.122Z] Login Succeeded [2024-07-31T01:57:58.122Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T01:57:58.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T01:57:58.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T01:57:58.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T01:57:58.709Z] ========================================================= [2024-07-31T01:57:58.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-31T01:57:58.709Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T01:57:59.279Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-31T01:57:59.872Z] Sending build context to Docker daemon 10.52MB [2024-07-31T01:57:59.872Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T01:57:59.872Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-31T01:57:59.872Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-31T01:57:59.872Z] c6b39de5b339: Pulling fs layer [2024-07-31T01:57:59.872Z] a69c41024577: Pulling fs layer [2024-07-31T01:57:59.872Z] d6de4b400683: Pulling fs layer [2024-07-31T01:57:59.872Z] 35cb2a7552d0: Pulling fs layer [2024-07-31T01:57:59.872Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T01:57:59.873Z] 464afbd9ba4c: Pulling fs layer [2024-07-31T01:57:59.873Z] 00f215d4a9da: Pulling fs layer [2024-07-31T01:57:59.873Z] d496ad576159: Pulling fs layer [2024-07-31T01:57:59.873Z] 00f215d4a9da: Waiting [2024-07-31T01:57:59.873Z] 464afbd9ba4c: Waiting [2024-07-31T01:57:59.873Z] 35cb2a7552d0: Waiting [2024-07-31T01:57:59.873Z] 4f4fb700ef54: Waiting [2024-07-31T01:57:59.873Z] d496ad576159: Waiting [2024-07-31T01:58:00.146Z] a69c41024577: Verifying Checksum [2024-07-31T01:58:00.146Z] a69c41024577: Download complete [2024-07-31T01:58:00.146Z] 35cb2a7552d0: Verifying Checksum [2024-07-31T01:58:00.146Z] 35cb2a7552d0: Download complete [2024-07-31T01:58:00.146Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T01:58:00.146Z] 4f4fb700ef54: Download complete [2024-07-31T01:58:00.146Z] c6b39de5b339: Verifying Checksum [2024-07-31T01:58:00.146Z] c6b39de5b339: Download complete [2024-07-31T01:58:00.146Z] 464afbd9ba4c: Verifying Checksum [2024-07-31T01:58:00.146Z] 464afbd9ba4c: Download complete [2024-07-31T01:58:00.418Z] d496ad576159: Verifying Checksum [2024-07-31T01:58:00.714Z] d496ad576159: Download complete [2024-07-31T01:58:01.318Z] c6b39de5b339: Pull complete [2024-07-31T01:58:01.912Z] a69c41024577: Pull complete [2024-07-31T01:58:02.503Z] d6de4b400683: Verifying Checksum [2024-07-31T01:58:02.503Z] d6de4b400683: Download complete [2024-07-31T01:58:03.929Z] 00f215d4a9da: Verifying Checksum [2024-07-31T01:58:03.929Z] 00f215d4a9da: Download complete [2024-07-31T01:58:16.281Z] d6de4b400683: Pull complete [2024-07-31T01:58:16.551Z] 35cb2a7552d0: Pull complete [2024-07-31T01:58:16.826Z] 4f4fb700ef54: Pull complete [2024-07-31T01:58:16.826Z] 464afbd9ba4c: Pull complete [2024-07-31T01:58:26.910Z] 00f215d4a9da: Pull complete [2024-07-31T01:58:28.853Z] d496ad576159: Pull complete [2024-07-31T01:58:28.853Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-31T01:58:28.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-31T01:58:28.853Z] ---> f246e2811388 [2024-07-31T01:58:28.853Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-31T01:58:29.814Z] ---> Running in 7824c4a1d6af [2024-07-31T01:58:30.084Z] Removing intermediate container 7824c4a1d6af [2024-07-31T01:58:30.084Z] ---> 5ec56f347462 [2024-07-31T01:58:30.084Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T01:58:30.353Z] ---> Running in 2658e03b4313 [2024-07-31T01:58:30.626Z] Removing intermediate container 2658e03b4313 [2024-07-31T01:58:30.626Z] ---> af9412d61288 [2024-07-31T01:58:30.626Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T01:58:30.626Z] ---> Running in 25f5e1ce1dca [2024-07-31T01:58:30.898Z] Removing intermediate container 25f5e1ce1dca [2024-07-31T01:58:30.898Z] ---> 6ea71c68230d [2024-07-31T01:58:30.898Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T01:58:30.898Z] ---> Running in edda169f95da [2024-07-31T01:58:31.172Z] Removing intermediate container edda169f95da [2024-07-31T01:58:31.172Z] ---> f95dc5bcd23f [2024-07-31T01:58:31.172Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T01:58:31.440Z] ---> Running in 31fa1a9d53cc [2024-07-31T01:58:32.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T01:58:33.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T01:58:33.964Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-31T01:58:33.964Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-31T01:58:33.964Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-31T01:58:33.964Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-31T01:58:33.964Z] Executing busybox-1.36.1-r5.trigger [2024-07-31T01:58:34.231Z] OK: 271 MiB in 56 packages [2024-07-31T01:58:35.210Z] Removing intermediate container 31fa1a9d53cc [2024-07-31T01:58:35.211Z] ---> 313f435201cd [2024-07-31T01:58:35.211Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-31T01:58:35.211Z] ---> Running in d80c04db519b [2024-07-31T01:58:35.477Z] Removing intermediate container d80c04db519b [2024-07-31T01:58:35.477Z] ---> 472e170a80d2 [2024-07-31T01:58:35.477Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-31T01:58:36.061Z] ---> c0f15be8d73e [2024-07-31T01:58:36.061Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T01:58:36.061Z] ---> Running in 5f0043affb1d [2024-07-31T02:00:27.740Z] Removing intermediate container 5f0043affb1d [2024-07-31T02:00:27.740Z] ---> ded03dae44b2 [2024-07-31T02:00:27.740Z] Step 11/12 : COPY . . [2024-07-31T02:00:27.740Z] ---> a3e3d19abece [2024-07-31T02:00:27.740Z] Step 12/12 : RUN $MAKE [2024-07-31T02:00:27.740Z] ---> Running in b1b9f80e185c [2024-07-31T02:00:28.702Z] noop [2024-07-31T02:00:29.286Z] Removing intermediate container b1b9f80e185c [2024-07-31T02:00:29.286Z] ---> f30b84722308 [2024-07-31T02:00:29.286Z] Successfully built f30b84722308 [2024-07-31T02:00:29.286Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:00:29.787Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T02:00:29.788Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:00:30.150Z] prd-ubuntu20.04-docker-arm64-4c-16g-6801 does not seem to be running inside a container [2024-07-31T02:00:30.218Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-31T02:00:31.370Z] $ docker top c6aa8c7cd8c0cbdb7492e12ac2c25ce36a22cd1c4e05c53d5279a4fc907e5eb1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:00:32.255Z] + go version [2024-07-31T02:00:32.255Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-31T02:00:32.290Z] $ docker stop --time=1 c6aa8c7cd8c0cbdb7492e12ac2c25ce36a22cd1c4e05c53d5279a4fc907e5eb1 [2024-07-31T02:00:33.930Z] $ docker rm -f --volumes c6aa8c7cd8c0cbdb7492e12ac2c25ce36a22cd1c4e05c53d5279a4fc907e5eb1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:00:34.880Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T02:00:34.881Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:00:35.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-6801 does not seem to be running inside a container [2024-07-31T02:00:35.232Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-31T02:00:36.332Z] $ docker top ff282c7071f4bdddcf7baa39197755bc8f0ab6837bb2c25be458f43ca1047591 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:00:36.911Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-31T02:00:37.933Z] + make test [2024-07-31T02:00:37.933Z] go test ./... -coverprofile=coverage.out ./... [2024-07-31T02:00:43.264Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-31T02:04:10.150Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-31T02:04:12.730Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-31T02:04:12.730Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.8% of statements [2024-07-31T02:04:13.697Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-31T02:04:13.697Z] go vet ./... [2024-07-31T02:05:10.093Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T02:05:10.093Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T02:05:10.093Z] ./bin/test-attribution-txt.sh [2024-07-31T02:05:10.093Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T02:05:10.093Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T02:05:10.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T02:05:10.195Z] $ docker stop --time=1 ff282c7071f4bdddcf7baa39197755bc8f0ab6837bb2c25be458f43ca1047591 [2024-07-31T02:05:12.170Z] $ docker rm -f --volumes ff282c7071f4bdddcf7baa39197755bc8f0ab6837bb2c25be458f43ca1047591 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:05:13.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T02:05:14.063Z] Warning: overwriting stash ‘coverage-report’ [2024-07-31T02:05:14.602Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:05:15.430Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T02:05:15.782Z] + ls -al . [2024-07-31T02:05:15.782Z] total 248 [2024-07-31T02:05:15.782Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:00 . [2024-07-31T02:05:15.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 01:57 .. [2024-07-31T02:05:15.782Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 01:57 .dockerignore [2024-07-31T02:05:15.783Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 01:57 .git [2024-07-31T02:05:15.783Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:57 .github [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 01:57 .gitignore [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 01:57 .golangci.yml [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 31 01:57 Attribution.txt [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 31 01:57 CHANGELOG.md [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 31 01:57 Dockerfile [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 01:57 GOVERNANCE.md [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 01:57 Jenkinsfile [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 01:57 LICENSE [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 31 01:57 Makefile [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 01:57 OWNERS.md [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 31 01:57 README.md [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 31 01:54 VERSION [2024-07-31T02:05:15.783Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 01:57 bin [2024-07-31T02:05:15.783Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:57 cmd [2024-07-31T02:05:15.783Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 31 02:04 coverage.out [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 7065 Jul 31 01:57 go.mod [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 01:57 go.sum [2024-07-31T02:05:15.783Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 01:57 internal [2024-07-31T02:05:15.783Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 01:57 mock [2024-07-31T02:05:15.783Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 31 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:05:16.264Z] + 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=add40d488d28804944eac452c0fbde4a44aab24a --label arch=arm64 --label version=0.0.0 . [2024-07-31T02:05:16.849Z] Sending build context to Docker daemon 10.54MB [2024-07-31T02:05:16.849Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:05:16.849Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-31T02:05:16.849Z] ---> f30b84722308 [2024-07-31T02:05:16.849Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:05:16.849Z] ---> Running in 9dba958127be [2024-07-31T02:05:17.435Z] Removing intermediate container 9dba958127be [2024-07-31T02:05:17.435Z] ---> 82703eda56af [2024-07-31T02:05:17.435Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:05:17.435Z] ---> Running in 5e25e53be2ce [2024-07-31T02:05:17.706Z] Removing intermediate container 5e25e53be2ce [2024-07-31T02:05:17.706Z] ---> 9e7d94fe1ac3 [2024-07-31T02:05:17.706Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:05:17.706Z] ---> Running in 40bb574e43ca [2024-07-31T02:05:18.291Z] Removing intermediate container 40bb574e43ca [2024-07-31T02:05:18.291Z] ---> 5c939f926b2b [2024-07-31T02:05:18.291Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:05:18.291Z] ---> Running in 212341e47645 [2024-07-31T02:05:18.559Z] Removing intermediate container 212341e47645 [2024-07-31T02:05:18.559Z] ---> 81ede5655538 [2024-07-31T02:05:18.559Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:05:18.559Z] ---> Running in d4488367f3a7 [2024-07-31T02:05:19.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:05:19.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:05:21.400Z] OK: 271 MiB in 56 packages [2024-07-31T02:05:21.984Z] Removing intermediate container d4488367f3a7 [2024-07-31T02:05:21.984Z] ---> 912aa2ee3008 [2024-07-31T02:05:21.984Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-31T02:05:22.259Z] ---> Running in e21a49f36a10 [2024-07-31T02:05:22.528Z] Removing intermediate container e21a49f36a10 [2024-07-31T02:05:22.528Z] ---> 031686efbffa [2024-07-31T02:05:22.528Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-31T02:05:23.122Z] ---> b4bc06741acb [2024-07-31T02:05:23.122Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:05:23.122Z] ---> Running in ac24d97a5b08 [2024-07-31T02:05:25.731Z] Removing intermediate container ac24d97a5b08 [2024-07-31T02:05:25.731Z] ---> 61b782113a54 [2024-07-31T02:05:25.731Z] Step 11/25 : COPY . . [2024-07-31T02:05:26.696Z] ---> 7c4889bef1b4 [2024-07-31T02:05:26.696Z] Step 12/25 : RUN $MAKE [2024-07-31T02:05:26.696Z] ---> Running in f3cd8fbfa537 [2024-07-31T02:05:27.662Z] 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.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-31T02:09:19.495Z] Removing intermediate container f3cd8fbfa537 [2024-07-31T02:09:19.495Z] ---> 52cb81376d14 [2024-07-31T02:09:19.495Z] Step 13/25 : FROM alpine:3.18 [2024-07-31T02:09:19.495Z] 3.18: Pulling from library/alpine [2024-07-31T02:09:19.495Z] 4983c3fe2029: Pulling fs layer [2024-07-31T02:09:19.495Z] 4983c3fe2029: Download complete [2024-07-31T02:09:19.768Z] 4983c3fe2029: Pull complete [2024-07-31T02:09:20.037Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T02:09:20.037Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T02:09:20.037Z] ---> a0237000ae83 [2024-07-31T02:09:20.037Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-31T02:09:20.037Z] ---> Running in c6e72f41b494 [2024-07-31T02:09:20.309Z] Removing intermediate container c6e72f41b494 [2024-07-31T02:09:20.309Z] ---> 62f94ab8c200 [2024-07-31T02:09:20.309Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-31T02:09:20.577Z] ---> Running in 723c492e0ab8 [2024-07-31T02:09:21.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:09:22.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:09:23.557Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T02:09:23.557Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T02:09:23.557Z] OK: 8 MiB in 16 packages [2024-07-31T02:09:24.530Z] Removing intermediate container 723c492e0ab8 [2024-07-31T02:09:24.530Z] ---> aa6f05161ebb [2024-07-31T02:09:24.530Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-31T02:09:24.530Z] ---> Running in 3462ff6632f4 [2024-07-31T02:09:25.496Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:09:26.081Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:09:27.062Z] OK: 8 MiB in 16 packages [2024-07-31T02:09:28.021Z] Removing intermediate container 3462ff6632f4 [2024-07-31T02:09:28.021Z] ---> ebca60ff9923 [2024-07-31T02:09:28.021Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-31T02:09:30.609Z] ---> 954cb420b81c [2024-07-31T02:09:30.609Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-31T02:09:30.881Z] ---> 958bd6ba75e8 [2024-07-31T02:09:30.881Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-31T02:09:31.465Z] ---> 3747a6007928 [2024-07-31T02:09:31.465Z] Step 20/25 : EXPOSE 59982 [2024-07-31T02:09:31.465Z] ---> Running in 9240ed839408 [2024-07-31T02:09:31.743Z] Removing intermediate container 9240ed839408 [2024-07-31T02:09:31.743Z] ---> bfdc6d7ed9a4 [2024-07-31T02:09:31.743Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-31T02:09:32.016Z] ---> Running in c63cfc9960d5 [2024-07-31T02:09:32.286Z] Removing intermediate container c63cfc9960d5 [2024-07-31T02:09:32.286Z] ---> 9a889fdb99d8 [2024-07-31T02:09:32.286Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-31T02:09:32.555Z] ---> Running in 55b2d4e4edbd [2024-07-31T02:09:32.823Z] Removing intermediate container 55b2d4e4edbd [2024-07-31T02:09:32.823Z] ---> 80f46985e5c9 [2024-07-31T02:09:32.823Z] Step 23/25 : LABEL arch=arm64 [2024-07-31T02:09:32.823Z] ---> Running in 1d63695cc919 [2024-07-31T02:09:33.091Z] Removing intermediate container 1d63695cc919 [2024-07-31T02:09:33.091Z] ---> 069f02041e9d [2024-07-31T02:09:33.091Z] Step 24/25 : LABEL git_sha=add40d488d28804944eac452c0fbde4a44aab24a [2024-07-31T02:09:33.362Z] ---> Running in 1c6ee08252f4 [2024-07-31T02:09:33.628Z] Removing intermediate container 1c6ee08252f4 [2024-07-31T02:09:33.628Z] ---> 9f7a6e0e413b [2024-07-31T02:09:33.628Z] Step 25/25 : LABEL version=0.0.0 [2024-07-31T02:09:33.628Z] ---> Running in 34acd89a8d40 [2024-07-31T02:09:33.896Z] Removing intermediate container 34acd89a8d40 [2024-07-31T02:09:33.896Z] ---> b3b564c1c4e0 [2024-07-31T02:09:33.896Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T02:09:33.896Z] Successfully built b3b564c1c4e0 [2024-07-31T02:09:33.896Z] 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-07-31T02:09:34.878Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:09:34.878Z] [2024-07-31T02:09:34.878Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:09:35.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:09:35.584Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-31T02:09:35.584Z] 8998bd30e6a1: Pulling fs layer [2024-07-31T02:09:35.584Z] 04944245beec: Pulling fs layer [2024-07-31T02:09:35.584Z] 699f458cf7ca: Pulling fs layer [2024-07-31T02:09:35.584Z] 765212b225bb: Pulling fs layer [2024-07-31T02:09:35.584Z] f23df028b6ca: Pulling fs layer [2024-07-31T02:09:35.584Z] d65c8cfc05b1: Pulling fs layer [2024-07-31T02:09:35.584Z] 2437ff75d9bd: Pulling fs layer [2024-07-31T02:09:35.584Z] d65c8cfc05b1: Waiting [2024-07-31T02:09:35.584Z] f23df028b6ca: Waiting [2024-07-31T02:09:35.584Z] 2437ff75d9bd: Waiting [2024-07-31T02:09:35.584Z] 765212b225bb: Waiting [2024-07-31T02:09:35.584Z] 04944245beec: Verifying Checksum [2024-07-31T02:09:35.584Z] 04944245beec: Download complete [2024-07-31T02:09:35.584Z] 765212b225bb: Verifying Checksum [2024-07-31T02:09:35.584Z] 765212b225bb: Download complete [2024-07-31T02:09:35.584Z] f23df028b6ca: Verifying Checksum [2024-07-31T02:09:35.584Z] f23df028b6ca: Download complete [2024-07-31T02:09:35.584Z] d65c8cfc05b1: Verifying Checksum [2024-07-31T02:09:35.584Z] d65c8cfc05b1: Download complete [2024-07-31T02:09:35.853Z] 699f458cf7ca: Verifying Checksum [2024-07-31T02:09:35.853Z] 699f458cf7ca: Download complete [2024-07-31T02:09:36.440Z] 8998bd30e6a1: Verifying Checksum [2024-07-31T02:09:36.440Z] 8998bd30e6a1: Download complete [2024-07-31T02:09:39.027Z] 2437ff75d9bd: Verifying Checksum [2024-07-31T02:09:39.027Z] 2437ff75d9bd: Download complete [2024-07-31T02:09:40.975Z] 8998bd30e6a1: Pull complete [2024-07-31T02:09:41.561Z] 04944245beec: Pull complete [2024-07-31T02:09:43.512Z] 699f458cf7ca: Pull complete [2024-07-31T02:09:43.512Z] 765212b225bb: Pull complete [2024-07-31T02:09:44.477Z] f23df028b6ca: Pull complete [2024-07-31T02:09:44.746Z] d65c8cfc05b1: Pull complete [2024-07-31T02:10:02.955Z] 2437ff75d9bd: Pull complete [2024-07-31T02:10:02.955Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-31T02:10:02.955Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:10:02.955Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:10:03.317Z] prd-ubuntu20.04-docker-arm64-4c-16g-6801 does not seem to be running inside a container [2024-07-31T02:10:03.385Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-31T02:10:06.293Z] $ docker top bc3da8a1598af22f98d1c4afb94e475eb7def3f17e5cdd4fcff738b9fbabe5ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:10:07.241Z] ---> job-cost.sh [2024-07-31T02:10:07.241Z] lf-activate-venv: SKIPPING [2024-07-31T02:10:07.241Z] INFO: No Stack... [2024-07-31T02:10:07.825Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-31T02:10:08.787Z] INFO: Archiving Costs [Pipeline] sh [2024-07-31T02:10:09.465Z] + cut -d, -f6 [2024-07-31T02:10:09.465Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2024-07-31T02:10:09.553Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-686-1-stack-cost] [2024-07-31T02:10:09.559Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-686-1-stack-cost] did not exist. Created. [2024-07-31T02:10:09.566Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-686-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T02:10:10.106Z] /w/workspace/device-mqtt-go/1@tmp/durable-3745ad45/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-31T02:10:10.777Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-31T02:10:10.822Z] Warning: overwriting stash ‘stack-cost’ [2024-07-31T02:10:10.887Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T02:10:10.908Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-686-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T02:10:11.014Z] $ docker stop --time=1 bc3da8a1598af22f98d1c4afb94e475eb7def3f17e5cdd4fcff738b9fbabe5ba [2024-07-31T02:10:12.533Z] $ docker rm -f --volumes bc3da8a1598af22f98d1c4afb94e475eb7def3f17e5cdd4fcff738b9fbabe5ba [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-07-31T02:10:13.798Z] provisioning config files... [2024-07-31T02:10:13.807Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp/config4795030156216421998tmp [Pipeline] { [Pipeline] sh [2024-07-31T02:10:14.152Z] + set +x [2024-07-31T02:10:14.153Z] + + bash -scurl -- -s [2024-07-31T02:10:14.153Z] https://codecov.io/bash [2024-07-31T02:10:14.153Z] [2024-07-31T02:10:14.153Z] _____ _ [2024-07-31T02:10:14.153Z] / ____| | | [2024-07-31T02:10:14.153Z] | | ___ __| | ___ ___ _____ __ [2024-07-31T02:10:14.153Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-31T02:10:14.153Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-31T02:10:14.153Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-31T02:10:14.153Z] Bash-1.0.6 [2024-07-31T02:10:14.153Z] [2024-07-31T02:10:14.153Z] [2024-07-31T02:10:14.153Z] ==> git version 2.25.1 found [2024-07-31T02:10:14.153Z] ==> 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-07-31T02:10:14.153Z] Release-Date: 2020-01-08 [2024-07-31T02:10:14.153Z] 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-07-31T02:10:14.153Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-31T02:10:14.153Z] ==> Jenkins CI detected. [2024-07-31T02:10:14.153Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-686 [2024-07-31T02:10:14.153Z] project root: . [2024-07-31T02:10:14.153Z] --> token set from env [2024-07-31T02:10:14.153Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-31T02:10:14.153Z] ==> Running gcov in . (disable via -X gcov) [2024-07-31T02:10:14.153Z] ==> Python coveragepy not found [2024-07-31T02:10:14.153Z] ==> Searching for coverage reports in: [2024-07-31T02:10:14.153Z] + . [2024-07-31T02:10:14.153Z] -> Found 1 reports [2024-07-31T02:10:14.153Z] ==> Detecting git/mercurial file structure [2024-07-31T02:10:14.153Z] ==> Reading reports [2024-07-31T02:10:14.413Z] + ./coverage.out bytes=18506 [2024-07-31T02:10:14.413Z] ==> Appending adjustments [2024-07-31T02:10:14.413Z] https://docs.codecov.io/docs/fixing-reports [2024-07-31T02:10:14.413Z] + Found adjustments [2024-07-31T02:10:14.413Z] ==> Gzipping contents [2024-07-31T02:10:14.413Z] 4.0K /tmp/codecov.GJK3w6.gz [2024-07-31T02:10:14.413Z] ==> Uploading reports [2024-07-31T02:10:14.413Z] url: https://codecov.io [2024-07-31T02:10:14.413Z] query: branch=PR-686&commit=add40d488d28804944eac452c0fbde4a44aab24a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-686%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=686&job=&cmd_args= [2024-07-31T02:10:14.413Z] -> Pinging Codecov [2024-07-31T02:10:14.413Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-686&commit=add40d488d28804944eac452c0fbde4a44aab24a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-686%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=686&job=&cmd_args= [2024-07-31T02:10:14.674Z] -> Uploading to [2024-07-31T02:10:14.674Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-31/7D719EC7BBE17E464838252E33014C33/add40d488d28804944eac452c0fbde4a44aab24a/4950ad3f-56fa-4f64-b2b0-d6f68f03771e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T021014Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d94189fa5eca04958326db9691174e6e26b5e1cf1cfd169cda37d379997b6dc [2024-07-31T02:10:14.674Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T02:10:14.674Z] Dload Upload Total Spent Left Speed [2024-07-31T02:10:14.674Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 15019 --:--:-- --:--:-- --:--:-- 14946 100 3049 0 0 100 3049 0 13256 --:--:-- --:--:-- --:--:-- 13199 [2024-07-31T02:10:14.934Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/add40d488d28804944eac452c0fbde4a44aab24a [Pipeline] } [2024-07-31T02:10:14.971Z] 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-07-31T02:10:17.284Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-686/archives ] [2024-07-31T02:10:17.284Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-686/archives [2024-07-31T02:10:17.284Z] total 16 [2024-07-31T02:10:17.284Z] drwxr-xr-x 3 root root 4096 Jul 31 01:57 . [2024-07-31T02:10:17.284Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 01:57 .. [2024-07-31T02:10:17.284Z] drwxr-xr-x 2 root root 4096 Jul 31 01:57 cost [2024-07-31T02:10:17.284Z] -rw-r--r-- 1 root root 86 Jul 31 01:57 cost.csv [2024-07-31T02:10:17.284Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-686/archives [2024-07-31T02:10:17.284Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-686/archives [2024-07-31T02:10:17.284Z] total 16 [2024-07-31T02:10:17.284Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 01:57 . [2024-07-31T02:10:17.284Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 01:57 .. [2024-07-31T02:10:17.284Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 01:57 cost [2024-07-31T02:10:17.284Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 31 01:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:10:17.623Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:10:18.523Z] ---> package-listing.sh [2024-07-31T02:10:18.523Z] ++ facter osfamily [2024-07-31T02:10:18.523Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-31T02:10:18.785Z] + OS_FAMILY=debian [2024-07-31T02:10:18.785Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-686 [2024-07-31T02:10:18.785Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-31T02:10:18.785Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-31T02:10:18.785Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-31T02:10:18.785Z] + PACKAGES=/tmp/packages_start.txt [2024-07-31T02:10:18.785Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-686 ']' [2024-07-31T02:10:18.785Z] + PACKAGES=/tmp/packages_end.txt [2024-07-31T02:10:18.785Z] + case "${OS_FAMILY}" in [2024-07-31T02:10:18.785Z] + dpkg -l [2024-07-31T02:10:18.785Z] + grep '^ii' [2024-07-31T02:10:18.785Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-31T02:10:18.785Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-31T02:10:18.785Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-31T02:10:18.785Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-686 ']' [2024-07-31T02:10:18.785Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-686/archives/ [2024-07-31T02:10:18.785Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-686/archives/ [Pipeline] echo [2024-07-31T02:10:18.839Z] 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-686/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-31T02:10:19.152Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:10:19.807Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:10:19.807Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:10:19.992Z] prd-ubuntu20.04-docker-8c-8g-6798 does not seem to be running inside a container [2024-07-31T02:10:20.022Z] $ 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-686/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-686 -v /w/workspace/gexfoundry_device-mqtt-go_PR-686:/w/workspace/gexfoundry_device-mqtt-go_PR-686:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-31T02:10:20.216Z] $ docker top c19df54ade474264a0782342f9e21dbe02a5dc6343214059b4340d13ef547e6f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:10:20.634Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-31T02:10:20.956Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-31T02:10:21.277Z] + ls /var/log/sa-host [2024-07-31T02:10:21.277Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:10:21.454Z] provisioning config files... [2024-07-31T02:10:21.464Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-686@tmp/config12535202018878288400tmp [Pipeline] { [Pipeline] echo [2024-07-31T02:10:21.539Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:10:21.881Z] ---> create-netrc.sh [Pipeline] } [2024-07-31T02:10:21.912Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:10:22.351Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-31T02:10:22.393Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:10:22.928Z] ---> sudo-logs.sh [2024-07-31T02:10:22.928Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-31T02:10:23.057Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:10:23.441Z] ---> job-cost.sh [2024-07-31T02:10:23.441Z] lf-activate-venv: SKIPPING [2024-07-31T02:10:23.441Z] DEBUG: total: 0.2199999988079071 [2024-07-31T02:10:23.441Z] INFO: Retrieving Stack Cost... [2024-07-31T02:10:23.701Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T02:10:23.962Z] INFO: Archiving Costs [Pipeline] echo [2024-07-31T02:10:24.007Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:10:24.337Z] ---> logs-deploy.sh [2024-07-31T02:10:24.338Z] lf-activate-venv: SKIPPING [2024-07-31T02:10:24.338Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-686/1 [2024-07-31T02:10:24.338Z] INFO: archiving workspace using pattern(s): [2024-07-31T02:10:25.274Z] Archives upload complete. [2024-07-31T02:10:25.274Z] INFO: archiving logs to Nexus