Pull request #687 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc11a9d5c340b132dff6636842266791c439acae+151f68fece686541369959fa72875a7edd02f739 (1900fc99940d2a155a19df4e748da15d3725e917) 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-ssh3951431221380057014.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-ssh9361011222130166000.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-687/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-687/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7105817849190384267.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-687/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2757179498716799647.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-ssh11474688826359100547.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-687/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-687/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1091047456803784493.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-7243 in /w/workspace/gexfoundry_device-mqtt-go_PR-687 [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-687 # 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/687/head:refs/remotes/origin/PR-687 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 151f68fece686541369959fa72875a7edd02f739 into PR head commit dc11a9d5c340b132dff6636842266791c439acae Merge succeeded, producing dc11a9d5c340b132dff6636842266791c439acae Checking out Revision dc11a9d5c340b132dff6636842266791c439acae (PR-687) Commit message: "build(deps): bump github.com/spf13/cast from 1.6.0 to 1.7.0" 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 dc11a9d5c340b132dff6636842266791c439acae # 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 151f68fece686541369959fa72875a7edd02f739 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f dc11a9d5c340b132dff6636842266791c439acae # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-07T01:36:01.916Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-07T01:36:02.157Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-07T01:36:02.290Z] ========================================================= [2024-08-07T01:36:02.290Z] EdgeX Global Pipelines Version Info [2024-08-07T01:36:02.291Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:36:03.090Z] ------------------- [2024-08-07T01:36:03.090Z] stable info: [2024-08-07T01:36:03.090Z] ------------------- [2024-08-07T01:36:03.090Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T01:36:03.090Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T01:36:03.090Z] Message: update stable to v1.0.260 [2024-08-07T01:36:03.666Z] ------------------- [2024-08-07T01:36:03.666Z] experimental info: [2024-08-07T01:36:03.666Z] ------------------- [2024-08-07T01:36:03.666Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T01:36:03.666Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-07T01:36:03.666Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-07T01:36:03.925Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-08-07T01:36:03.987Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-08-07T01:36:04.050Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-07T01:36:04.107Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-07T01:36:04.174Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-07T01:36:04.234Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-07T01:36:04.294Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-07T01:36:04.358Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-07T01:36:04.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-07T01:36:04.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-07T01:36:04.568Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-07T01:36:04.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-08-07T01:36:04.722Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-07T01:36:04.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-07T01:36:04.861Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T01:36:04.939Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T01:36:05.004Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T01:36:05.078Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T01:36:05.141Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-07T01:36:05.240Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-07T01:36:05.307Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-07T01:36:05.376Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-07T01:36:05.439Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-07T01:36:05.526Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-07T01:36:05.591Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-07T01:36:05.661Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-07T01:36:05.727Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-07T01:36:05.793Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-687 [Pipeline] echo [2024-08-07T01:36:05.876Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-687 [Pipeline] echo [2024-08-07T01:36:05.942Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-687 [Pipeline] echo [2024-08-07T01:36:06.013Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc11a9d5c340b132dff6636842266791c439acae [Pipeline] echo [2024-08-07T01:36:06.069Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc11a9d [Pipeline] echo [2024-08-07T01:36:06.150Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T01:36:06.317Z] provisioning config files... [2024-08-07T01:36:06.334Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/config11301076457129774248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:36:08.736Z] ---> ****-login.sh [2024-08-07T01:36:08.737Z] nexus3.edgexfoundry.org:10001 [2024-08-07T01:36:08.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:11.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:11.734Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:11.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:11.734Z] [2024-08-07T01:36:11.734Z] Login Succeeded [2024-08-07T01:36:11.734Z] nexus3.edgexfoundry.org:10002 [2024-08-07T01:36:11.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:11.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:11.734Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:11.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:11.734Z] [2024-08-07T01:36:11.734Z] Login Succeeded [2024-08-07T01:36:11.995Z] nexus3.edgexfoundry.org:10003 [2024-08-07T01:36:11.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:11.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:11.995Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:11.995Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:11.995Z] [2024-08-07T01:36:11.995Z] Login Succeeded [2024-08-07T01:36:11.995Z] nexus3.edgexfoundry.org:10004 [2024-08-07T01:36:11.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:11.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:11.995Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:11.995Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:11.995Z] [2024-08-07T01:36:11.995Z] Login Succeeded [2024-08-07T01:36:11.995Z] ****.io [2024-08-07T01:36:12.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:12.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:12.522Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:12.522Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:12.522Z] [2024-08-07T01:36:12.522Z] Login Succeeded [2024-08-07T01:36:12.522Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T01:36:12.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-07T01:36:13.290Z] + git rev-list -1 --merges dc11a9d5c340b132dff6636842266791c439acae~1..dc11a9d5c340b132dff6636842266791c439acae [Pipeline] echo [2024-08-07T01:36:13.384Z] -----------> git rev-list -1 --merges dc11a9d5c340b132dff6636842266791c439acae~1..dc11a9d5c340b132dff6636842266791c439acae dc11a9d5c340b132dff6636842266791c439acae [false] [Pipeline] sh [2024-08-07T01:36:13.725Z] + git log --format=format:%s -1 dc11a9d5c340b132dff6636842266791c439acae [Pipeline] echo [2024-08-07T01:36:13.786Z] ========================================================= [2024-08-07T01:36:13.786Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-07T01:36:13.786Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T01:36:14.332Z] + git log --format=format:%s -1 dc11a9d5c340b132dff6636842266791c439acae [Pipeline] echo [2024-08-07T01:36:14.377Z] [semverPrep] GIT_COMMIT: dc11a9d5c340b132dff6636842266791c439acae, Commit Message: build(deps): bump github.com/spf13/cast from 1.6.0 to 1.7.0 [Pipeline] echo [2024-08-07T01:36:14.424Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-07T01:36:14.886Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-07T01:36:14.886Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-07T01:36:14.886Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-07T01:36:14.886Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-07T01:36:14.886Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-07T01:36:14.886Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-07T01:36:14.886Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:36:15.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T01:36:15.418Z] [2024-08-07T01:36:15.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:36:15.833Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T01:36:15.834Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-07T01:36:15.834Z] b85a868b505f: Pulling fs layer [2024-08-07T01:36:15.834Z] e2be974225ed: Pulling fs layer [2024-08-07T01:36:15.834Z] 339a4e72a1f5: Pulling fs layer [2024-08-07T01:36:15.834Z] 988bab9f4d93: Pulling fs layer [2024-08-07T01:36:15.834Z] 1469e6f7b9e6: Pulling fs layer [2024-08-07T01:36:15.834Z] eaf3925da568: Pulling fs layer [2024-08-07T01:36:15.834Z] bab4dde63d76: Pulling fs layer [2024-08-07T01:36:15.834Z] 1469e6f7b9e6: Waiting [2024-08-07T01:36:15.834Z] 988bab9f4d93: Waiting [2024-08-07T01:36:15.834Z] bde34c3a00c8: Pulling fs layer [2024-08-07T01:36:15.834Z] b352a97aabf1: Pulling fs layer [2024-08-07T01:36:15.834Z] bab4dde63d76: Waiting [2024-08-07T01:36:15.834Z] bde34c3a00c8: Waiting [2024-08-07T01:36:15.834Z] 4872d77fe225: Pulling fs layer [2024-08-07T01:36:15.834Z] 5851b861e8e6: Pulling fs layer [2024-08-07T01:36:15.834Z] b352a97aabf1: Waiting [2024-08-07T01:36:15.834Z] 5851b861e8e6: Waiting [2024-08-07T01:36:15.834Z] 4872d77fe225: Waiting [2024-08-07T01:36:15.834Z] e2be974225ed: Verifying Checksum [2024-08-07T01:36:15.834Z] e2be974225ed: Download complete [2024-08-07T01:36:15.834Z] 988bab9f4d93: Verifying Checksum [2024-08-07T01:36:15.834Z] 988bab9f4d93: Download complete [2024-08-07T01:36:16.092Z] 1469e6f7b9e6: Verifying Checksum [2024-08-07T01:36:16.092Z] 1469e6f7b9e6: Download complete [2024-08-07T01:36:16.092Z] eaf3925da568: Verifying Checksum [2024-08-07T01:36:16.092Z] eaf3925da568: Download complete [2024-08-07T01:36:16.092Z] 339a4e72a1f5: Verifying Checksum [2024-08-07T01:36:16.092Z] 339a4e72a1f5: Download complete [2024-08-07T01:36:16.092Z] bde34c3a00c8: Download complete [2024-08-07T01:36:16.092Z] b352a97aabf1: Download complete [2024-08-07T01:36:16.092Z] 4872d77fe225: Verifying Checksum [2024-08-07T01:36:16.093Z] 4872d77fe225: Download complete [2024-08-07T01:36:16.093Z] 5851b861e8e6: Download complete [2024-08-07T01:36:16.353Z] b85a868b505f: Download complete [2024-08-07T01:36:16.611Z] bab4dde63d76: Verifying Checksum [2024-08-07T01:36:16.612Z] bab4dde63d76: Download complete [2024-08-07T01:36:17.562Z] b85a868b505f: Pull complete [2024-08-07T01:36:17.826Z] e2be974225ed: Pull complete [2024-08-07T01:36:18.089Z] 339a4e72a1f5: Pull complete [2024-08-07T01:36:18.352Z] 988bab9f4d93: Pull complete [2024-08-07T01:36:18.617Z] 1469e6f7b9e6: Pull complete [2024-08-07T01:36:18.617Z] eaf3925da568: Pull complete [2024-08-07T01:36:20.545Z] bab4dde63d76: Pull complete [2024-08-07T01:36:20.545Z] bde34c3a00c8: Pull complete [2024-08-07T01:36:20.809Z] b352a97aabf1: Pull complete [2024-08-07T01:36:20.809Z] 4872d77fe225: Pull complete [2024-08-07T01:36:20.809Z] 5851b861e8e6: Pull complete [2024-08-07T01:36:21.074Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-07T01:36:21.074Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T01:36:21.074Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T01:36:21.382Z] prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container [2024-08-07T01:36:21.420Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-07T01:36:24.902Z] $ docker top 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 -eo pid,comm [2024-08-07T01:36:24.961Z] 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-08-07T01:36:24.961Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-07T01:36:25.172Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T01:36:25.172Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T01:36:25.306Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T01:36:25.307Z] $ docker exec 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 ssh-agent [2024-08-07T01:36:25.428Z] SSH_AUTH_SOCK=/tmp/ssh-f2IcCF7fw3o4/agent.34 [2024-08-07T01:36:25.428Z] SSH_AGENT_PID=40 [2024-08-07T01:36:25.435Z] Running ssh-add (command line suppressed) [2024-08-07T01:36:25.541Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/private_key_17114503249460568293.key (/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/private_key_17114503249460568293.key) [2024-08-07T01:36:25.559Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T01:36:25.942Z] + git tag --points-at HEAD [Pipeline] } [2024-08-07T01:36:25.983Z] $ docker exec --env ******** --env ******** 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 ssh-agent -k [2024-08-07T01:36:26.097Z] unset SSH_AUTH_SOCK; [2024-08-07T01:36:26.097Z] unset SSH_AGENT_PID; [2024-08-07T01:36:26.098Z] echo Agent pid 40 killed; [2024-08-07T01:36:26.116Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-07T01:36:26.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T01:36:26.256Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T01:36:26.380Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T01:36:26.381Z] $ docker exec 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 ssh-agent [2024-08-07T01:36:26.517Z] SSH_AUTH_SOCK=/tmp/ssh-UznE73bzehUa/agent.74 [2024-08-07T01:36:26.517Z] SSH_AGENT_PID=81 [2024-08-07T01:36:26.528Z] Running ssh-add (command line suppressed) [2024-08-07T01:36:26.647Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/private_key_3041840755515999361.key (/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/private_key_3041840755515999361.key) [2024-08-07T01:36:26.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T01:36:27.036Z] + git semver init [2024-08-07T01:36:27.309Z] 2024-08-07 01:36:27,218 [run_init] DEBUG init version:0.0.0 force:False [2024-08-07T01:36:27.309Z] 2024-08-07 01:36:27,219 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver [2024-08-07T01:36:27.309Z] 2024-08-07 01:36:27,219 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver [2024-08-07T01:36:27.309Z] 2024-08-07 01:36:27,219 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-687, universal_newlines=False, shell=None, istream=None) [2024-08-07T01:36:29.223Z] 2024-08-07 01:36:28,970 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687/.git/info/exclude [2024-08-07T01:36:29.223Z] 2024-08-07 01:36:28,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver/PR-687 with force:False [2024-08-07T01:36:29.223Z] 2024-08-07 01:36:28,971 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver/PR-687 [2024-08-07T01:36:29.223Z] 2024-08-07 01:36:28,975 [execute] INFO git cat-file --batch-check [2024-08-07T01:36:29.223Z] 2024-08-07 01:36:28,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T01:36:29.223Z] 2024-08-07 01:36:28,982 [execute] INFO git cat-file --batch [2024-08-07T01:36:29.223Z] 2024-08-07 01:36:28,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T01:36:29.223Z] 2024-08-07 01:36:28,987 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-687/.semver/PR-687 [2024-08-07T01:36:29.223Z] 0.0.0 [Pipeline] } [2024-08-07T01:36:29.246Z] $ docker exec --env ******** --env ******** 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 ssh-agent -k [2024-08-07T01:36:29.344Z] unset SSH_AUTH_SOCK; [2024-08-07T01:36:29.344Z] unset SSH_AGENT_PID; [2024-08-07T01:36:29.346Z] echo Agent pid 81 killed; [2024-08-07T01:36:29.358Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-07T01:36:29.884Z] + git semver [Pipeline] } [2024-08-07T01:36:30.179Z] $ docker stop --time=1 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 [2024-08-07T01:36:31.484Z] $ docker rm -f --volumes 72111b71f9a091d2130d6582da2a3ea518b1b71433a316acaa1be6b271c7f439 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T01:36:31.913Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-07T01:36:32.245Z] Stashed 1 file(s) [Pipeline] echo [2024-08-07T01:36:32.270Z] [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-08-07T01:36:33.028Z] provisioning config files... [2024-08-07T01:36:33.039Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/config13300865364791057416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:36:33.425Z] ---> ****-login.sh [2024-08-07T01:36:33.425Z] nexus3.edgexfoundry.org:10001 [2024-08-07T01:36:33.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:33.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:33.425Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:33.425Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:33.425Z] [2024-08-07T01:36:33.425Z] Login Succeeded [2024-08-07T01:36:33.425Z] nexus3.edgexfoundry.org:10002 [2024-08-07T01:36:33.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:33.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:33.425Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:33.425Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:33.425Z] [2024-08-07T01:36:33.425Z] Login Succeeded [2024-08-07T01:36:33.425Z] nexus3.edgexfoundry.org:10003 [2024-08-07T01:36:33.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:33.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:33.687Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:33.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:33.687Z] [2024-08-07T01:36:33.687Z] Login Succeeded [2024-08-07T01:36:33.687Z] nexus3.edgexfoundry.org:10004 [2024-08-07T01:36:33.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:33.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:33.687Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:33.687Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:33.687Z] [2024-08-07T01:36:33.687Z] Login Succeeded [2024-08-07T01:36:33.687Z] ****.io [2024-08-07T01:36:33.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:36:33.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:36:33.948Z] Configure a credential helper to remove this warning. See [2024-08-07T01:36:33.948Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:36:33.948Z] [2024-08-07T01:36:33.948Z] Login Succeeded [2024-08-07T01:36:33.948Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T01:36:33.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T01:36:34.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T01:36:34.280Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T01:36:34.323Z] ========================================================= [2024-08-07T01:36:34.323Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-07T01:36:34.323Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:36:34.847Z] + 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-08-07T01:36:34.847Z] Sending build context to Docker daemon 20.83MB [2024-08-07T01:36:34.847Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T01:36:34.847Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-07T01:36:35.113Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-07T01:36:35.113Z] 619be1103602: Pulling fs layer [2024-08-07T01:36:35.113Z] 7862e08f4a3e: Pulling fs layer [2024-08-07T01:36:35.113Z] 5df492c9dc93: Pulling fs layer [2024-08-07T01:36:35.113Z] 7629e6793208: Pulling fs layer [2024-08-07T01:36:35.113Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T01:36:35.113Z] fb5054dd5b73: Pulling fs layer [2024-08-07T01:36:35.113Z] eeca6798cff9: Pulling fs layer [2024-08-07T01:36:35.113Z] aa269ceb94a6: Pulling fs layer [2024-08-07T01:36:35.113Z] ada007ff1a6a: Pulling fs layer [2024-08-07T01:36:35.113Z] aa269ceb94a6: Waiting [2024-08-07T01:36:35.113Z] fb5054dd5b73: Waiting [2024-08-07T01:36:35.113Z] eeca6798cff9: Waiting [2024-08-07T01:36:35.113Z] 7629e6793208: Waiting [2024-08-07T01:36:35.113Z] 4f4fb700ef54: Waiting [2024-08-07T01:36:35.113Z] ada007ff1a6a: Waiting [2024-08-07T01:36:35.113Z] 7862e08f4a3e: Verifying Checksum [2024-08-07T01:36:35.113Z] 7862e08f4a3e: Download complete [2024-08-07T01:36:35.113Z] 7629e6793208: Verifying Checksum [2024-08-07T01:36:35.113Z] 7629e6793208: Download complete [2024-08-07T01:36:35.113Z] 619be1103602: Verifying Checksum [2024-08-07T01:36:35.113Z] 619be1103602: Download complete [2024-08-07T01:36:35.113Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T01:36:35.113Z] 4f4fb700ef54: Download complete [2024-08-07T01:36:35.113Z] fb5054dd5b73: Verifying Checksum [2024-08-07T01:36:35.113Z] fb5054dd5b73: Download complete [2024-08-07T01:36:35.113Z] eeca6798cff9: Verifying Checksum [2024-08-07T01:36:35.114Z] eeca6798cff9: Download complete [2024-08-07T01:36:35.373Z] 619be1103602: Pull complete [2024-08-07T01:36:35.373Z] ada007ff1a6a: Verifying Checksum [2024-08-07T01:36:35.373Z] ada007ff1a6a: Download complete [2024-08-07T01:36:35.373Z] 7862e08f4a3e: Pull complete [2024-08-07T01:36:35.632Z] 5df492c9dc93: Verifying Checksum [2024-08-07T01:36:35.632Z] 5df492c9dc93: Download complete [2024-08-07T01:36:35.891Z] aa269ceb94a6: Verifying Checksum [2024-08-07T01:36:35.891Z] aa269ceb94a6: Download complete [2024-08-07T01:36:39.178Z] 5df492c9dc93: Pull complete [2024-08-07T01:36:39.178Z] 7629e6793208: Pull complete [2024-08-07T01:36:39.178Z] 4f4fb700ef54: Pull complete [2024-08-07T01:36:39.178Z] fb5054dd5b73: Pull complete [2024-08-07T01:36:39.178Z] eeca6798cff9: Pull complete [2024-08-07T01:36:42.465Z] aa269ceb94a6: Pull complete [2024-08-07T01:36:42.465Z] ada007ff1a6a: Pull complete [2024-08-07T01:36:42.465Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-07T01:36:42.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-07T01:36:42.465Z] ---> f489d0715acc [2024-08-07T01:36:42.465Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-07T01:36:47.747Z] ---> Running in 1ea8bd4ced59 [2024-08-07T01:36:47.747Z] Removing intermediate container 1ea8bd4ced59 [2024-08-07T01:36:47.747Z] ---> 1080de6219db [2024-08-07T01:36:47.747Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T01:36:47.747Z] ---> Running in 773125e48b21 [2024-08-07T01:36:47.747Z] Removing intermediate container 773125e48b21 [2024-08-07T01:36:47.747Z] ---> cf3c55e1e0c9 [2024-08-07T01:36:47.747Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T01:36:47.747Z] ---> Running in be104f8df440 [2024-08-07T01:36:47.747Z] Removing intermediate container be104f8df440 [2024-08-07T01:36:47.747Z] ---> 4df1e13027b1 [2024-08-07T01:36:47.747Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T01:36:47.747Z] ---> Running in fbb49481951e [2024-08-07T01:36:47.747Z] Removing intermediate container fbb49481951e [2024-08-07T01:36:47.747Z] ---> 3cfd8d110dea [2024-08-07T01:36:47.747Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T01:36:47.747Z] ---> Running in 7834c1d2bbd0 [2024-08-07T01:36:47.784Z] Still waiting to schedule task [2024-08-07T01:36:47.784Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7241’ [2024-08-07T01:36:48.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T01:36:48.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T01:36:48.526Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-07T01:36:48.526Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-07T01:36:48.526Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-07T01:36:48.526Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-07T01:36:48.526Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T01:36:48.526Z] OK: 268 MiB in 56 packages [2024-08-07T01:36:49.466Z] Removing intermediate container 7834c1d2bbd0 [2024-08-07T01:36:49.466Z] ---> 089df0025ab9 [2024-08-07T01:36:49.466Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-08-07T01:36:49.466Z] ---> Running in 6cfbda22a7b2 [2024-08-07T01:36:49.466Z] Removing intermediate container 6cfbda22a7b2 [2024-08-07T01:36:49.466Z] ---> 348f383518d9 [2024-08-07T01:36:49.466Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-07T01:36:49.466Z] ---> b42d404719e1 [2024-08-07T01:36:49.466Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T01:36:49.466Z] ---> Running in d5c0a9d5e761 [2024-08-07T01:37:46.569Z] Removing intermediate container d5c0a9d5e761 [2024-08-07T01:37:46.569Z] ---> a96fe758057c [2024-08-07T01:37:46.569Z] Step 11/12 : COPY . . [2024-08-07T01:37:46.569Z] ---> f99447678da7 [2024-08-07T01:37:46.569Z] Step 12/12 : RUN $MAKE [2024-08-07T01:37:46.569Z] ---> Running in 31a365749a09 [2024-08-07T01:37:47.138Z] noop [2024-08-07T01:37:49.689Z] Removing intermediate container 31a365749a09 [2024-08-07T01:37:49.689Z] ---> 7f9da549b5bb [2024-08-07T01:37:49.689Z] Successfully built 7f9da549b5bb [2024-08-07T01:37:49.949Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:37:50.472Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T01:37:50.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T01:37:50.662Z] prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container [2024-08-07T01:37:50.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-07T01:37:53.223Z] $ docker top bfc2e4b6e6b388e2009e194821570eb208185bd55aea8d32093872575296429a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T01:37:53.643Z] + go version [2024-08-07T01:37:53.643Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-07T01:37:53.675Z] $ docker stop --time=1 bfc2e4b6e6b388e2009e194821570eb208185bd55aea8d32093872575296429a [2024-08-07T01:37:55.910Z] $ docker rm -f --volumes bfc2e4b6e6b388e2009e194821570eb208185bd55aea8d32093872575296429a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:37:56.848Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T01:37:56.848Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T01:37:57.027Z] prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container [2024-08-07T01:37:57.055Z] $ 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-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-07T01:37:57.382Z] $ docker top 3388b6462443c3099731108c85ab27bf3f568fdb221c00997c340e62c4c115db -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T01:37:57.795Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-687 [Pipeline] fileExists [Pipeline] sh [2024-08-07T01:37:58.192Z] + make test [2024-08-07T01:37:58.192Z] go test ./... -coverprofile=coverage.out ./... [2024-08-07T01:37:59.575Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-08-07T01:38:17.662Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-08-07T01:38:17.662Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-08-07T01:38:17.662Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements [2024-08-07T01:38:27.666Z] go vet ./... [2024-08-07T01:38:34.244Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T01:38:34.244Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T01:38:34.244Z] ./bin/test-attribution-txt.sh [2024-08-07T01:38:34.244Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-07T01:38:34.244Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T01:38:34.289Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T01:38:34.349Z] $ docker stop --time=1 3388b6462443c3099731108c85ab27bf3f568fdb221c00997c340e62c4c115db [2024-08-07T01:38:40.186Z] $ docker rm -f --volumes 3388b6462443c3099731108c85ab27bf3f568fdb221c00997c340e62c4c115db [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T01:38:40.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T01:38:40.939Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-07T01:38:41.673Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T01:38:41.988Z] + ls -al . [2024-08-07T01:38:41.988Z] total 252 [2024-08-07T01:38:41.988Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 01:37 . [2024-08-07T01:38:41.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 01:35 .. [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 01:35 .dockerignore [2024-08-07T01:38:41.988Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 01:38 .git [2024-08-07T01:38:41.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:35 .github [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 7 01:35 .gitignore [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 01:35 .golangci.yml [2024-08-07T01:38:41.988Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 01:36 .semver [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 7 01:35 Attribution.txt [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 18574 Aug 7 01:35 CHANGELOG.md [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 1798 Aug 7 01:35 Dockerfile [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 01:35 GOVERNANCE.md [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 7 01:35 Jenkinsfile [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 01:35 LICENSE [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 7 01:35 Makefile [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 7 01:35 OWNERS.md [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 3599 Aug 7 01:35 README.md [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 01:36 VERSION [2024-08-07T01:38:41.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:35 bin [2024-08-07T01:38:41.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:35 cmd [2024-08-07T01:38:41.988Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 7 01:38 coverage.out [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 7065 Aug 7 01:35 go.mod [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 7 01:35 go.sum [2024-08-07T01:38:41.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:35 internal [2024-08-07T01:38:41.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:35 mock [2024-08-07T01:38:41.988Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 7 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:38:42.468Z] + 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=dc11a9d5c340b132dff6636842266791c439acae --label arch=amd64 --label version=0.0.0 . [2024-08-07T01:38:42.469Z] Sending build context to Docker daemon 20.85MB [2024-08-07T01:38:42.469Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T01:38:42.469Z] Step 2/25 : FROM ${BASE} AS builder [2024-08-07T01:38:42.469Z] ---> 7f9da549b5bb [2024-08-07T01:38:42.469Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-08-07T01:38:43.038Z] ---> Running in af050082fff6 [2024-08-07T01:38:43.038Z] Removing intermediate container af050082fff6 [2024-08-07T01:38:43.038Z] ---> 611c49a1d58e [2024-08-07T01:38:43.038Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T01:38:43.038Z] ---> Running in 009a35d049ca [2024-08-07T01:38:43.038Z] Removing intermediate container 009a35d049ca [2024-08-07T01:38:43.038Z] ---> 11e8cb1bab39 [2024-08-07T01:38:43.038Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T01:38:43.038Z] ---> Running in 1d9250c8f588 [2024-08-07T01:38:43.038Z] Removing intermediate container 1d9250c8f588 [2024-08-07T01:38:43.038Z] ---> cd25554697bc [2024-08-07T01:38:43.038Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T01:38:43.039Z] ---> Running in 7af05117067d [2024-08-07T01:38:43.298Z] Removing intermediate container 7af05117067d [2024-08-07T01:38:43.298Z] ---> c13f2cbecf42 [2024-08-07T01:38:43.298Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T01:38:43.298Z] ---> Running in 0c2acef030a8 [2024-08-07T01:38:43.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T01:38:43.819Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T01:38:44.077Z] OK: 268 MiB in 56 packages [2024-08-07T01:38:44.335Z] Removing intermediate container 0c2acef030a8 [2024-08-07T01:38:44.335Z] ---> f8ebb6423264 [2024-08-07T01:38:44.336Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-08-07T01:38:44.336Z] ---> Running in 2b9c08fbe312 [2024-08-07T01:38:44.602Z] Removing intermediate container 2b9c08fbe312 [2024-08-07T01:38:44.602Z] ---> 24dfa244cb8e [2024-08-07T01:38:44.602Z] Step 9/25 : COPY go.mod vendor* ./ [2024-08-07T01:38:44.602Z] ---> f6bf9bb990bb [2024-08-07T01:38:44.602Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T01:38:44.602Z] ---> Running in 3be1bedff67a [2024-08-07T01:38:45.171Z] Removing intermediate container 3be1bedff67a [2024-08-07T01:38:45.171Z] ---> c03322217fa2 [2024-08-07T01:38:45.171Z] Step 11/25 : COPY . . [2024-08-07T01:38:46.114Z] ---> 5226aee5fe80 [2024-08-07T01:38:46.114Z] Step 12/25 : RUN $MAKE [2024-08-07T01:38:46.114Z] ---> Running in 21edbce0c5c2 [2024-08-07T01:38:46.375Z] 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.29" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-08-07T01:39:25.126Z] Removing intermediate container 21edbce0c5c2 [2024-08-07T01:39:25.126Z] ---> 8497e25218ed [2024-08-07T01:39:25.126Z] Step 13/25 : FROM alpine:3.18 [2024-08-07T01:39:25.126Z] 3.18: Pulling from library/alpine [2024-08-07T01:39:25.126Z] 930bdd4d222e: Pulling fs layer [2024-08-07T01:39:25.126Z] 930bdd4d222e: Verifying Checksum [2024-08-07T01:39:25.126Z] 930bdd4d222e: Download complete [2024-08-07T01:39:25.126Z] 930bdd4d222e: Pull complete [2024-08-07T01:39:25.126Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T01:39:25.126Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T01:39:25.126Z] ---> 18f865063206 [2024-08-07T01:39:25.126Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-08-07T01:39:25.126Z] ---> Running in 992c47bc93f5 [2024-08-07T01:39:25.126Z] Removing intermediate container 992c47bc93f5 [2024-08-07T01:39:25.126Z] ---> 7d86c251603b [2024-08-07T01:39:25.126Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-08-07T01:39:25.126Z] ---> Running in bfab2535f942 [2024-08-07T01:39:25.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T01:39:25.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T01:39:25.126Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T01:39:25.126Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T01:39:25.126Z] OK: 7 MiB in 16 packages [2024-08-07T01:39:25.126Z] Removing intermediate container bfab2535f942 [2024-08-07T01:39:25.126Z] ---> 0204cb998b0e [2024-08-07T01:39:25.126Z] Step 16/25 : RUN apk --no-cache upgrade [2024-08-07T01:39:25.126Z] ---> Running in a75b4864eaeb [2024-08-07T01:39:25.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T01:39:25.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T01:39:25.126Z] OK: 7 MiB in 16 packages [2024-08-07T01:39:25.126Z] Removing intermediate container a75b4864eaeb [2024-08-07T01:39:25.126Z] ---> 6341de0b165f [2024-08-07T01:39:25.126Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-08-07T01:39:25.126Z] ---> 42fae2264b4f [2024-08-07T01:39:25.126Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-08-07T01:39:25.126Z] ---> ba8492a97647 [2024-08-07T01:39:25.126Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-08-07T01:39:25.126Z] ---> c9a80f7d84af [2024-08-07T01:39:25.126Z] Step 20/25 : EXPOSE 59982 [2024-08-07T01:39:25.126Z] ---> Running in 7ed149155c81 [2024-08-07T01:39:25.126Z] Removing intermediate container 7ed149155c81 [2024-08-07T01:39:25.126Z] ---> b31dacd3b32a [2024-08-07T01:39:25.126Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-08-07T01:39:25.126Z] ---> Running in 081748253c5d [2024-08-07T01:39:25.126Z] Removing intermediate container 081748253c5d [2024-08-07T01:39:25.126Z] ---> 89cc38d4346e [2024-08-07T01:39:25.126Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-07T01:39:25.126Z] ---> Running in c44cc0a5fa28 [2024-08-07T01:39:25.126Z] Removing intermediate container c44cc0a5fa28 [2024-08-07T01:39:25.126Z] ---> 81d0ffdfaef7 [2024-08-07T01:39:25.126Z] Step 23/25 : LABEL arch=amd64 [2024-08-07T01:39:25.386Z] ---> Running in 4288183f9c9a [2024-08-07T01:39:25.386Z] Removing intermediate container 4288183f9c9a [2024-08-07T01:39:25.386Z] ---> 83dddcd91576 [2024-08-07T01:39:25.386Z] Step 24/25 : LABEL git_sha=dc11a9d5c340b132dff6636842266791c439acae [2024-08-07T01:39:25.386Z] ---> Running in 925dda56fceb [2024-08-07T01:39:25.386Z] Removing intermediate container 925dda56fceb [2024-08-07T01:39:25.386Z] ---> 58d356a7f44d [2024-08-07T01:39:25.386Z] Step 25/25 : LABEL version=0.0.0 [2024-08-07T01:39:25.386Z] ---> Running in 30cb2e9c977c [2024-08-07T01:39:25.386Z] Removing intermediate container 30cb2e9c977c [2024-08-07T01:39:25.386Z] ---> 32bb9396f6ad [2024-08-07T01:39:25.386Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T01:39:25.645Z] Successfully built 32bb9396f6ad [2024-08-07T01:39:25.645Z] 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-08-07T01:39:26.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T01:39:26.672Z] [2024-08-07T01:39:26.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:39:27.113Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T01:39:27.113Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-07T01:39:27.113Z] 5eb5b503b376: Pulling fs layer [2024-08-07T01:39:27.113Z] 5c69ac0246d0: Pulling fs layer [2024-08-07T01:39:27.113Z] ec43610c2a17: Pulling fs layer [2024-08-07T01:39:27.113Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-07T01:39:27.113Z] 33b1e0a273af: Pulling fs layer [2024-08-07T01:39:27.113Z] 5d3b04190fa2: Pulling fs layer [2024-08-07T01:39:27.113Z] 2f39f015ded8: Pulling fs layer [2024-08-07T01:39:27.113Z] 3a2ae6a8a46f: Waiting [2024-08-07T01:39:27.113Z] 33b1e0a273af: Waiting [2024-08-07T01:39:27.113Z] 5d3b04190fa2: Waiting [2024-08-07T01:39:27.113Z] 5c69ac0246d0: Verifying Checksum [2024-08-07T01:39:27.113Z] 5c69ac0246d0: Download complete [2024-08-07T01:39:27.113Z] 3a2ae6a8a46f: Download complete [2024-08-07T01:39:27.113Z] 33b1e0a273af: Verifying Checksum [2024-08-07T01:39:27.113Z] 33b1e0a273af: Download complete [2024-08-07T01:39:27.113Z] 5d3b04190fa2: Verifying Checksum [2024-08-07T01:39:27.113Z] 5d3b04190fa2: Download complete [2024-08-07T01:39:27.113Z] ec43610c2a17: Verifying Checksum [2024-08-07T01:39:27.113Z] ec43610c2a17: Download complete [2024-08-07T01:39:27.375Z] 5eb5b503b376: Verifying Checksum [2024-08-07T01:39:27.375Z] 5eb5b503b376: Download complete [2024-08-07T01:39:27.941Z] 2f39f015ded8: Download complete [2024-08-07T01:39:28.877Z] 5eb5b503b376: Pull complete [2024-08-07T01:39:28.877Z] 5c69ac0246d0: Pull complete [2024-08-07T01:39:29.441Z] ec43610c2a17: Pull complete [2024-08-07T01:39:29.441Z] 3a2ae6a8a46f: Pull complete [2024-08-07T01:39:29.699Z] 33b1e0a273af: Pull complete [2024-08-07T01:39:29.700Z] 5d3b04190fa2: Pull complete [2024-08-07T01:39:34.958Z] 2f39f015ded8: Pull complete [2024-08-07T01:39:34.958Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-07T01:39:34.958Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T01:39:34.958Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T01:39:35.234Z] prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container [2024-08-07T01:39:35.262Z] $ 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-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@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-08-07T01:39:39.812Z] $ docker top 080e5ee1de2555117ab95909e66aa8abdd7d6f3330208bd0c73416d6ff5b93bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:39:40.306Z] ---> job-cost.sh [2024-08-07T01:39:40.306Z] lf-activate-venv: SKIPPING [2024-08-07T01:39:40.306Z] INFO: No Stack... [2024-08-07T01:39:40.565Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T01:39:40.823Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T01:39:41.150Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives/cost.csv [2024-08-07T01:39:41.150Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T01:39:41.210Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [2024-08-07T01:39:41.216Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] did not exist. Created. [2024-08-07T01:39:41.223Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T01:39:41.643Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-07T01:39:41.703Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T01:39:41.743Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T01:39:41.838Z] $ docker stop --time=1 080e5ee1de2555117ab95909e66aa8abdd7d6f3330208bd0c73416d6ff5b93bd [2024-08-07T01:39:42.997Z] $ docker rm -f --volumes 080e5ee1de2555117ab95909e66aa8abdd7d6f3330208bd0c73416d6ff5b93bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-07T01:40:24.588Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7244 in /w/workspace/gexfoundry_device-mqtt-go_PR-687 [Pipeline] { [Pipeline] ws [2024-08-07T01:40:24.671Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-08-07T01:40:27.795Z] The recommended git tool is: git [2024-08-07T01:40:35.628Z] using credential edgex-jenkins-ssh [2024-08-07T01:40:36.390Z] Cloning the remote Git repository [2024-08-07T01:40:36.486Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-08-07T01:40:36.660Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-08-07T01:40:36.902Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-08-07T01:40:36.904Z] > git --version # timeout=10 [2024-08-07T01:40:36.948Z] > git --version # 'git version 2.25.1' [2024-08-07T01:40:36.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T01:40:37.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T01:40:39.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-08-07T01:40:39.963Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T01:40:40.976Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-08-07T01:40:41.034Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-08-07T01:40:41.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T01:40:41.064Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/687/head:refs/remotes/origin/PR-687 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-07T01:40:41.576Z] Merging remotes/origin/main commit 151f68fece686541369959fa72875a7edd02f739 into PR head commit dc11a9d5c340b132dff6636842266791c439acae [2024-08-07T01:40:41.843Z] Merge succeeded, producing dc11a9d5c340b132dff6636842266791c439acae [2024-08-07T01:40:41.843Z] Checking out Revision dc11a9d5c340b132dff6636842266791c439acae (PR-687) [2024-08-07T01:40:42.352Z] Commit message: "build(deps): bump github.com/spf13/cast from 1.6.0 to 1.7.0" [2024-08-07T01:40:42.403Z] > git --version # timeout=10 [2024-08-07T01:40:42.416Z] > git --version # 'git version 2.25.1' [2024-08-07T01:40:42.428Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T01:40:41.595Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T01:40:41.661Z] > git checkout -f dc11a9d5c340b132dff6636842266791c439acae # timeout=10 [2024-08-07T01:40:41.749Z] > git remote # timeout=10 [2024-08-07T01:40:41.768Z] > git config --get remote.origin.url # timeout=10 [2024-08-07T01:40:41.783Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T01:40:41.802Z] > git merge 151f68fece686541369959fa72875a7edd02f739 # timeout=10 [2024-08-07T01:40:41.824Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-07T01:40:41.848Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T01:40:41.869Z] > git checkout -f dc11a9d5c340b132dff6636842266791c439acae # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T01:40:47.342Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-07T01:40:47.342Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T01:40:47.342Z] Dload Upload Total Spent Left Speed [2024-08-07T01:40:47.342Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh [2024-08-07T01:40:47.692Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-07T01:40:48.032Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-07T01:40:48.032Z] sudo tee /etc/docker/daemon.new [2024-08-07T01:40:48.032Z] { [2024-08-07T01:40:48.032Z] "registry-mirrors": [ [2024-08-07T01:40:48.032Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-07T01:40:48.032Z] ], [2024-08-07T01:40:48.032Z] "bip": "10.250.0.254/24", [2024-08-07T01:40:48.032Z] "hosts": [ [2024-08-07T01:40:48.032Z] "tcp://0.0.0.0:5555", [2024-08-07T01:40:48.032Z] "unix:///var/run/docker.sock" [2024-08-07T01:40:48.032Z] ], [2024-08-07T01:40:48.032Z] "mtu": 1458, [2024-08-07T01:40:48.032Z] "selinux-enabled": true, [2024-08-07T01:40:48.032Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-07T01:40:48.032Z] } [Pipeline] sh [2024-08-07T01:40:48.383Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-07T01:40:48.738Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T01:41:07.085Z] provisioning config files... [2024-08-07T01:41:07.111Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config9159180036541185937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:41:07.602Z] ---> ****-login.sh [2024-08-07T01:41:07.603Z] nexus3.edgexfoundry.org:10001 [2024-08-07T01:41:07.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:41:08.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:41:08.149Z] Configure a credential helper to remove this warning. See [2024-08-07T01:41:08.149Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:41:08.149Z] [2024-08-07T01:41:08.149Z] Login Succeeded [2024-08-07T01:41:08.149Z] nexus3.edgexfoundry.org:10002 [2024-08-07T01:41:08.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:41:08.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:41:08.418Z] Configure a credential helper to remove this warning. See [2024-08-07T01:41:08.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:41:08.418Z] [2024-08-07T01:41:08.418Z] Login Succeeded [2024-08-07T01:41:08.688Z] nexus3.edgexfoundry.org:10003 [2024-08-07T01:41:08.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:41:08.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:41:08.963Z] Configure a credential helper to remove this warning. See [2024-08-07T01:41:08.963Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:41:08.963Z] [2024-08-07T01:41:08.963Z] Login Succeeded [2024-08-07T01:41:08.963Z] nexus3.edgexfoundry.org:10004 [2024-08-07T01:41:09.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:41:09.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:41:09.499Z] Configure a credential helper to remove this warning. See [2024-08-07T01:41:09.500Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:41:09.500Z] [2024-08-07T01:41:09.500Z] Login Succeeded [2024-08-07T01:41:09.500Z] ****.io [2024-08-07T01:41:09.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T01:41:09.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T01:41:09.769Z] Configure a credential helper to remove this warning. See [2024-08-07T01:41:09.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T01:41:09.769Z] [2024-08-07T01:41:09.769Z] Login Succeeded [2024-08-07T01:41:10.038Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T01:41:10.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T01:41:10.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T01:41:10.593Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T01:41:10.641Z] ========================================================= [2024-08-07T01:41:10.641Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-07T01:41:10.641Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:41:11.198Z] + 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-08-07T01:41:11.477Z] Sending build context to Docker daemon 10.53MB [2024-08-07T01:41:11.749Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T01:41:11.749Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-07T01:41:11.749Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-07T01:41:11.749Z] c6b39de5b339: Pulling fs layer [2024-08-07T01:41:11.749Z] a69c41024577: Pulling fs layer [2024-08-07T01:41:11.749Z] d6de4b400683: Pulling fs layer [2024-08-07T01:41:11.749Z] 35cb2a7552d0: Pulling fs layer [2024-08-07T01:41:11.749Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T01:41:11.749Z] 464afbd9ba4c: Pulling fs layer [2024-08-07T01:41:11.749Z] 00f215d4a9da: Pulling fs layer [2024-08-07T01:41:11.749Z] d496ad576159: Pulling fs layer [2024-08-07T01:41:11.749Z] 35cb2a7552d0: Waiting [2024-08-07T01:41:11.749Z] 4f4fb700ef54: Waiting [2024-08-07T01:41:11.749Z] 464afbd9ba4c: Waiting [2024-08-07T01:41:11.749Z] d496ad576159: Waiting [2024-08-07T01:41:11.749Z] 00f215d4a9da: Waiting [2024-08-07T01:41:11.749Z] a69c41024577: Verifying Checksum [2024-08-07T01:41:11.749Z] a69c41024577: Download complete [2024-08-07T01:41:11.749Z] 35cb2a7552d0: Verifying Checksum [2024-08-07T01:41:11.749Z] 35cb2a7552d0: Download complete [2024-08-07T01:41:12.028Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T01:41:12.028Z] 4f4fb700ef54: Download complete [2024-08-07T01:41:12.028Z] c6b39de5b339: Verifying Checksum [2024-08-07T01:41:12.028Z] c6b39de5b339: Download complete [2024-08-07T01:41:12.028Z] 464afbd9ba4c: Verifying Checksum [2024-08-07T01:41:12.028Z] 464afbd9ba4c: Download complete [2024-08-07T01:41:12.301Z] d496ad576159: Verifying Checksum [2024-08-07T01:41:12.301Z] d496ad576159: Download complete [2024-08-07T01:41:12.896Z] c6b39de5b339: Pull complete [2024-08-07T01:41:13.484Z] a69c41024577: Pull complete [2024-08-07T01:41:13.754Z] d6de4b400683: Verifying Checksum [2024-08-07T01:41:13.754Z] d6de4b400683: Download complete [2024-08-07T01:41:14.729Z] 00f215d4a9da: Verifying Checksum [2024-08-07T01:41:14.729Z] 00f215d4a9da: Download complete [2024-08-07T01:41:27.056Z] d6de4b400683: Pull complete [2024-08-07T01:41:27.056Z] 35cb2a7552d0: Pull complete [2024-08-07T01:41:27.056Z] 4f4fb700ef54: Pull complete [2024-08-07T01:41:27.056Z] 464afbd9ba4c: Pull complete [2024-08-07T01:41:35.261Z] 00f215d4a9da: Pull complete [2024-08-07T01:41:37.214Z] d496ad576159: Pull complete [2024-08-07T01:41:37.214Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-07T01:41:37.214Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-07T01:41:37.214Z] ---> f246e2811388 [2024-08-07T01:41:37.214Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-07T01:41:39.182Z] ---> Running in 98131c5dcf05 [2024-08-07T01:41:39.182Z] Removing intermediate container 98131c5dcf05 [2024-08-07T01:41:39.182Z] ---> 2055cf481a3e [2024-08-07T01:41:39.182Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T01:41:39.182Z] ---> Running in bda63210d9d1 [2024-08-07T01:41:39.457Z] Removing intermediate container bda63210d9d1 [2024-08-07T01:41:39.457Z] ---> af4e1a9733c1 [2024-08-07T01:41:39.457Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T01:41:39.723Z] ---> Running in 51870d6d03ef [2024-08-07T01:41:39.989Z] Removing intermediate container 51870d6d03ef [2024-08-07T01:41:39.989Z] ---> 910796d75c1a [2024-08-07T01:41:39.990Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T01:41:39.990Z] ---> Running in 6a97fe8c6e2a [2024-08-07T01:41:40.275Z] Removing intermediate container 6a97fe8c6e2a [2024-08-07T01:41:40.275Z] ---> 972c2d15200b [2024-08-07T01:41:40.275Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T01:41:40.275Z] ---> Running in 6e1cc8160761 [2024-08-07T01:41:41.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T01:41:42.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T01:41:43.259Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-07T01:41:43.259Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-07T01:41:43.259Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-07T01:41:43.259Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-07T01:41:43.259Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T01:41:43.259Z] OK: 271 MiB in 56 packages [2024-08-07T01:41:44.217Z] Removing intermediate container 6e1cc8160761 [2024-08-07T01:41:44.217Z] ---> 8acfbc879a98 [2024-08-07T01:41:44.217Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-08-07T01:41:44.217Z] ---> Running in 568c311e507f [2024-08-07T01:41:44.484Z] Removing intermediate container 568c311e507f [2024-08-07T01:41:44.484Z] ---> ea9dbb953c9b [2024-08-07T01:41:44.484Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-07T01:41:45.075Z] ---> 2cadea51edc4 [2024-08-07T01:41:45.075Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T01:41:45.075Z] ---> Running in dd9a38a69b95 [2024-08-07T01:43:36.721Z] Removing intermediate container dd9a38a69b95 [2024-08-07T01:43:36.721Z] ---> 90c61705a7a9 [2024-08-07T01:43:36.721Z] Step 11/12 : COPY . . [2024-08-07T01:43:36.721Z] ---> 26c4bfd7fac2 [2024-08-07T01:43:36.721Z] Step 12/12 : RUN $MAKE [2024-08-07T01:43:36.721Z] ---> Running in 46c18921373b [2024-08-07T01:43:36.721Z] noop [2024-08-07T01:43:36.721Z] Removing intermediate container 46c18921373b [2024-08-07T01:43:36.721Z] ---> 71513d44556e [2024-08-07T01:43:36.721Z] Successfully built 71513d44556e [2024-08-07T01:43:36.721Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:43:37.226Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T01:43:37.226Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T01:43:37.535Z] prd-ubuntu20.04-docker-arm64-4c-16g-7244 does not seem to be running inside a container [2024-08-07T01:43:37.596Z] $ 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-08-07T01:43:38.764Z] $ docker top 84f92020f7b165ebc8961e8d5f5db31c544b38188644339e15485b981d2e182a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T01:43:39.640Z] + go version [2024-08-07T01:43:39.640Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-07T01:43:39.678Z] $ docker stop --time=1 84f92020f7b165ebc8961e8d5f5db31c544b38188644339e15485b981d2e182a [2024-08-07T01:43:41.303Z] $ docker rm -f --volumes 84f92020f7b165ebc8961e8d5f5db31c544b38188644339e15485b981d2e182a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:43:42.233Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T01:43:42.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T01:43:42.496Z] prd-ubuntu20.04-docker-arm64-4c-16g-7244 does not seem to be running inside a container [2024-08-07T01:43:42.563Z] $ 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-08-07T01:43:43.927Z] $ docker top 67fe64d589d8b745c275de98d2e2125301e51a3d49c240276e8c3e9cd5548f82 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T01:43:44.848Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-07T01:43:45.594Z] + make test [2024-08-07T01:43:45.594Z] go test ./... -coverprofile=coverage.out ./... [2024-08-07T01:43:52.248Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-08-07T01:47:14.102Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-08-07T01:47:14.102Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-08-07T01:47:14.102Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.051s coverage: 22.8% of statements [2024-08-07T01:47:14.102Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-07T01:47:14.102Z] go vet ./... [2024-08-07T01:48:00.945Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T01:48:00.945Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T01:48:00.945Z] ./bin/test-attribution-txt.sh [2024-08-07T01:48:00.945Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-07T01:48:00.945Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T01:48:00.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T01:48:01.040Z] $ docker stop --time=1 67fe64d589d8b745c275de98d2e2125301e51a3d49c240276e8c3e9cd5548f82 [2024-08-07T01:48:02.893Z] $ docker rm -f --volumes 67fe64d589d8b745c275de98d2e2125301e51a3d49c240276e8c3e9cd5548f82 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T01:48:04.445Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T01:48:04.486Z] Warning: overwriting stash ‘coverage-report’ [2024-08-07T01:48:04.909Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T01:48:05.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T01:48:05.923Z] + ls -al . [2024-08-07T01:48:05.923Z] total 248 [2024-08-07T01:48:05.923Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 01:43 . [2024-08-07T01:48:05.923Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 01:40 .. [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 01:40 .dockerignore [2024-08-07T01:48:05.923Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 01:40 .git [2024-08-07T01:48:05.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:40 .github [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 7 01:40 .gitignore [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 01:40 .golangci.yml [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 7 01:40 Attribution.txt [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 18574 Aug 7 01:40 CHANGELOG.md [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 1798 Aug 7 01:40 Dockerfile [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 01:40 GOVERNANCE.md [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 7 01:40 Jenkinsfile [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 01:40 LICENSE [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 7 01:40 Makefile [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 7 01:40 OWNERS.md [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 3599 Aug 7 01:40 README.md [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 01:36 VERSION [2024-08-07T01:48:05.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:40 bin [2024-08-07T01:48:05.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:40 cmd [2024-08-07T01:48:05.923Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 7 01:47 coverage.out [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 7065 Aug 7 01:40 go.mod [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 7 01:40 go.sum [2024-08-07T01:48:05.923Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 01:40 internal [2024-08-07T01:48:05.923Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 01:40 mock [2024-08-07T01:48:05.923Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 7 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:48:06.368Z] + 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=dc11a9d5c340b132dff6636842266791c439acae --label arch=arm64 --label version=0.0.0 . [2024-08-07T01:48:06.635Z] Sending build context to Docker daemon 10.55MB [2024-08-07T01:48:06.901Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T01:48:06.901Z] Step 2/25 : FROM ${BASE} AS builder [2024-08-07T01:48:06.901Z] ---> 71513d44556e [2024-08-07T01:48:06.901Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-08-07T01:48:06.901Z] ---> Running in 681a7442da52 [2024-08-07T01:48:07.169Z] Removing intermediate container 681a7442da52 [2024-08-07T01:48:07.169Z] ---> 46cb7d377013 [2024-08-07T01:48:07.169Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T01:48:07.437Z] ---> Running in 4df4d358d6ba [2024-08-07T01:48:07.709Z] Removing intermediate container 4df4d358d6ba [2024-08-07T01:48:07.709Z] ---> 3c11731381d8 [2024-08-07T01:48:07.709Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T01:48:07.709Z] ---> Running in 7347d40b08a9 [2024-08-07T01:48:08.289Z] Removing intermediate container 7347d40b08a9 [2024-08-07T01:48:08.289Z] ---> 1e5f0cecef62 [2024-08-07T01:48:08.289Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T01:48:08.289Z] ---> Running in 55e78fb396bb [2024-08-07T01:48:08.559Z] Removing intermediate container 55e78fb396bb [2024-08-07T01:48:08.559Z] ---> 8537562aad37 [2024-08-07T01:48:08.559Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T01:48:08.559Z] ---> Running in adc103c8e7a1 [2024-08-07T01:48:09.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T01:48:10.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T01:48:11.059Z] OK: 271 MiB in 56 packages [2024-08-07T01:48:12.025Z] Removing intermediate container adc103c8e7a1 [2024-08-07T01:48:12.025Z] ---> b9d5c1b18ae9 [2024-08-07T01:48:12.025Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-08-07T01:48:12.025Z] ---> Running in 9fa7d098241e [2024-08-07T01:48:12.294Z] Removing intermediate container 9fa7d098241e [2024-08-07T01:48:12.294Z] ---> 879e8859948c [2024-08-07T01:48:12.294Z] Step 9/25 : COPY go.mod vendor* ./ [2024-08-07T01:48:12.880Z] ---> a4603e28bde7 [2024-08-07T01:48:12.880Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T01:48:12.880Z] ---> Running in e204499b7a37 [2024-08-07T01:48:15.474Z] Removing intermediate container e204499b7a37 [2024-08-07T01:48:15.474Z] ---> c5718b016bf1 [2024-08-07T01:48:15.474Z] Step 11/25 : COPY . . [2024-08-07T01:48:16.432Z] ---> a618288743f6 [2024-08-07T01:48:16.432Z] Step 12/25 : RUN $MAKE [2024-08-07T01:48:16.432Z] ---> Running in a284d61fb3d6 [2024-08-07T01:48:17.386Z] 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.29" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-08-07T01:51:54.411Z] Removing intermediate container a284d61fb3d6 [2024-08-07T01:51:54.411Z] ---> e338db4dd180 [2024-08-07T01:51:54.411Z] Step 13/25 : FROM alpine:3.18 [2024-08-07T01:51:54.411Z] 3.18: Pulling from library/alpine [2024-08-07T01:51:54.411Z] 4983c3fe2029: Pulling fs layer [2024-08-07T01:51:54.411Z] 4983c3fe2029: Verifying Checksum [2024-08-07T01:51:54.411Z] 4983c3fe2029: Download complete [2024-08-07T01:51:54.411Z] 4983c3fe2029: Pull complete [2024-08-07T01:51:54.411Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T01:51:54.411Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T01:51:54.411Z] ---> a0237000ae83 [2024-08-07T01:51:54.411Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-08-07T01:51:54.411Z] ---> Running in e4838bd28aeb [2024-08-07T01:51:54.411Z] Removing intermediate container e4838bd28aeb [2024-08-07T01:51:54.411Z] ---> 06417871e77c [2024-08-07T01:51:54.411Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-08-07T01:51:54.411Z] ---> Running in 880c2fb0f348 [2024-08-07T01:51:54.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T01:51:54.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T01:51:54.411Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T01:51:54.411Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T01:51:54.411Z] OK: 8 MiB in 16 packages [2024-08-07T01:51:54.411Z] Removing intermediate container 880c2fb0f348 [2024-08-07T01:51:54.411Z] ---> 3876210b6dd2 [2024-08-07T01:51:54.411Z] Step 16/25 : RUN apk --no-cache upgrade [2024-08-07T01:51:54.411Z] ---> Running in 8d01c2a22bf8 [2024-08-07T01:51:54.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T01:51:54.411Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T01:51:54.411Z] OK: 8 MiB in 16 packages [2024-08-07T01:51:54.411Z] Removing intermediate container 8d01c2a22bf8 [2024-08-07T01:51:54.411Z] ---> a035d22007d1 [2024-08-07T01:51:54.411Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-08-07T01:51:54.411Z] ---> 993a29725fe9 [2024-08-07T01:51:54.411Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-08-07T01:51:54.411Z] ---> 842c0684cd04 [2024-08-07T01:51:54.411Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-08-07T01:51:54.411Z] ---> 63f08ad71c5d [2024-08-07T01:51:54.411Z] Step 20/25 : EXPOSE 59982 [2024-08-07T01:51:54.411Z] ---> Running in f1ccfc7f3dd7 [2024-08-07T01:51:54.411Z] Removing intermediate container f1ccfc7f3dd7 [2024-08-07T01:51:54.411Z] ---> 5af9f1e5cebd [2024-08-07T01:51:54.411Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-08-07T01:51:54.411Z] ---> Running in 8e9804fa009d [2024-08-07T01:51:54.411Z] Removing intermediate container 8e9804fa009d [2024-08-07T01:51:54.411Z] ---> f5e8265d424b [2024-08-07T01:51:54.411Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-07T01:51:54.411Z] ---> Running in 697353c9e74b [2024-08-07T01:51:54.411Z] Removing intermediate container 697353c9e74b [2024-08-07T01:51:54.411Z] ---> b32ef8968bb1 [2024-08-07T01:51:54.411Z] Step 23/25 : LABEL arch=arm64 [2024-08-07T01:51:54.411Z] ---> Running in 5da06660f8a5 [2024-08-07T01:51:54.411Z] Removing intermediate container 5da06660f8a5 [2024-08-07T01:51:54.411Z] ---> db983f821b85 [2024-08-07T01:51:54.411Z] Step 24/25 : LABEL git_sha=dc11a9d5c340b132dff6636842266791c439acae [2024-08-07T01:51:54.411Z] ---> Running in 0d1599f00e00 [2024-08-07T01:51:54.411Z] Removing intermediate container 0d1599f00e00 [2024-08-07T01:51:54.411Z] ---> e97ba857f308 [2024-08-07T01:51:54.411Z] Step 25/25 : LABEL version=0.0.0 [2024-08-07T01:51:54.411Z] ---> Running in 0c1eaada9e49 [2024-08-07T01:51:54.675Z] Removing intermediate container 0c1eaada9e49 [2024-08-07T01:51:54.675Z] ---> ab2db8d5c6e9 [2024-08-07T01:51:54.675Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T01:51:54.675Z] Successfully built ab2db8d5c6e9 [2024-08-07T01:51:54.675Z] 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-08-07T01:51:55.605Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T01:51:55.605Z] [2024-08-07T01:51:55.605Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:51:56.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T01:51:56.034Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-07T01:51:56.034Z] 8998bd30e6a1: Pulling fs layer [2024-08-07T01:51:56.034Z] 04944245beec: Pulling fs layer [2024-08-07T01:51:56.034Z] 699f458cf7ca: Pulling fs layer [2024-08-07T01:51:56.034Z] 765212b225bb: Pulling fs layer [2024-08-07T01:51:56.034Z] f23df028b6ca: Pulling fs layer [2024-08-07T01:51:56.034Z] d65c8cfc05b1: Pulling fs layer [2024-08-07T01:51:56.034Z] 2437ff75d9bd: Pulling fs layer [2024-08-07T01:51:56.034Z] 765212b225bb: Waiting [2024-08-07T01:51:56.034Z] d65c8cfc05b1: Waiting [2024-08-07T01:51:56.034Z] 2437ff75d9bd: Waiting [2024-08-07T01:51:56.034Z] f23df028b6ca: Waiting [2024-08-07T01:51:56.301Z] 04944245beec: Verifying Checksum [2024-08-07T01:51:56.301Z] 04944245beec: Download complete [2024-08-07T01:51:56.301Z] 765212b225bb: Verifying Checksum [2024-08-07T01:51:56.301Z] 765212b225bb: Download complete [2024-08-07T01:51:56.301Z] f23df028b6ca: Verifying Checksum [2024-08-07T01:51:56.301Z] f23df028b6ca: Download complete [2024-08-07T01:51:56.301Z] d65c8cfc05b1: Verifying Checksum [2024-08-07T01:51:56.301Z] d65c8cfc05b1: Download complete [2024-08-07T01:51:56.568Z] 699f458cf7ca: Verifying Checksum [2024-08-07T01:51:56.568Z] 699f458cf7ca: Download complete [2024-08-07T01:51:57.150Z] 8998bd30e6a1: Download complete [2024-08-07T01:51:59.098Z] 2437ff75d9bd: Verifying Checksum [2024-08-07T01:51:59.098Z] 2437ff75d9bd: Download complete [2024-08-07T01:52:01.678Z] 8998bd30e6a1: Pull complete [2024-08-07T01:52:01.946Z] 04944245beec: Pull complete [2024-08-07T01:52:03.880Z] 699f458cf7ca: Pull complete [2024-08-07T01:52:03.880Z] 765212b225bb: Pull complete [2024-08-07T01:52:04.839Z] f23df028b6ca: Pull complete [2024-08-07T01:52:04.839Z] d65c8cfc05b1: Pull complete [2024-08-07T01:52:23.029Z] 2437ff75d9bd: Pull complete [2024-08-07T01:52:23.029Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-07T01:52:23.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T01:52:23.029Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T01:52:23.399Z] prd-ubuntu20.04-docker-arm64-4c-16g-7244 does not seem to be running inside a container [2024-08-07T01:52:23.466Z] $ 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-08-07T01:52:26.178Z] $ docker top a959b4b73a32e91af815037820ee9c49a7bf1371403c5f26d41778c5be7e13a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:52:27.071Z] ---> job-cost.sh [2024-08-07T01:52:27.071Z] lf-activate-venv: SKIPPING [2024-08-07T01:52:27.071Z] INFO: No Stack... [2024-08-07T01:52:27.336Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-07T01:52:28.290Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T01:52:28.957Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-08-07T01:52:28.957Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T01:52:29.045Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [2024-08-07T01:52:29.052Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] did not exist. Created. [2024-08-07T01:52:29.058Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T01:52:29.488Z] /w/workspace/device-mqtt-go/1@tmp/durable-ac050c37/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-07T01:52:29.839Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-07T01:52:30.141Z] Warning: overwriting stash ‘stack-cost’ [2024-08-07T01:52:30.203Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T01:52:30.224Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-687-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T01:52:30.317Z] $ docker stop --time=1 a959b4b73a32e91af815037820ee9c49a7bf1371403c5f26d41778c5be7e13a0 [2024-08-07T01:52:31.787Z] $ docker rm -f --volumes a959b4b73a32e91af815037820ee9c49a7bf1371403c5f26d41778c5be7e13a0 [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-08-07T01:52:32.945Z] provisioning config files... [2024-08-07T01:52:32.953Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/config3019158294492052936tmp [Pipeline] { [Pipeline] sh [2024-08-07T01:52:33.306Z] + set +x [2024-08-07T01:52:33.306Z] + bash -s -- [2024-08-07T01:52:33.306Z] + curl -s https://codecov.io/bash [2024-08-07T01:52:33.566Z] [2024-08-07T01:52:33.566Z] _____ _ [2024-08-07T01:52:33.566Z] / ____| | | [2024-08-07T01:52:33.566Z] | | ___ __| | ___ ___ _____ __ [2024-08-07T01:52:33.566Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-07T01:52:33.566Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-07T01:52:33.566Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-07T01:52:33.566Z] Bash-1.0.6 [2024-08-07T01:52:33.566Z] [2024-08-07T01:52:33.566Z] [2024-08-07T01:52:33.566Z] ==> git version 2.25.1 found [2024-08-07T01:52:33.566Z] ==> 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-08-07T01:52:33.566Z] Release-Date: 2020-01-08 [2024-08-07T01:52:33.566Z] 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-08-07T01:52:33.566Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-07T01:52:33.566Z] ==> Jenkins CI detected. [2024-08-07T01:52:33.566Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-687 [2024-08-07T01:52:33.566Z] project root: . [2024-08-07T01:52:33.566Z] --> token set from env [2024-08-07T01:52:33.566Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-07T01:52:33.566Z] ==> Running gcov in . (disable via -X gcov) [2024-08-07T01:52:33.566Z] ==> Python coveragepy not found [2024-08-07T01:52:33.566Z] ==> Searching for coverage reports in: [2024-08-07T01:52:33.566Z] + . [2024-08-07T01:52:33.566Z] -> Found 1 reports [2024-08-07T01:52:33.566Z] ==> Detecting git/mercurial file structure [2024-08-07T01:52:33.566Z] ==> Reading reports [2024-08-07T01:52:33.566Z] + ./coverage.out bytes=18506 [2024-08-07T01:52:33.566Z] ==> Appending adjustments [2024-08-07T01:52:33.566Z] https://docs.codecov.io/docs/fixing-reports [2024-08-07T01:52:33.566Z] + Found adjustments [2024-08-07T01:52:33.566Z] ==> Gzipping contents [2024-08-07T01:52:33.566Z] 4.0K /tmp/codecov.yM5hgx.gz [2024-08-07T01:52:33.566Z] ==> Uploading reports [2024-08-07T01:52:33.566Z] url: https://codecov.io [2024-08-07T01:52:33.566Z] query: branch=PR-687&commit=dc11a9d5c340b132dff6636842266791c439acae&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-687%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=687&job=&cmd_args= [2024-08-07T01:52:33.566Z] -> Pinging Codecov [2024-08-07T01:52:33.566Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-687&commit=dc11a9d5c340b132dff6636842266791c439acae&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-687%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=687&job=&cmd_args= [2024-08-07T01:52:33.826Z] -> Uploading to [2024-08-07T01:52:33.826Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-07/7D719EC7BBE17E464838252E33014C33/dc11a9d5c340b132dff6636842266791c439acae/1b64008e-1998-41fa-ada4-547f013ad80f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T015233Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2fe74ea6457f7b396e1a916cf2cf174cf12aa174721ed6456816db81a43ec5bc [2024-08-07T01:52:33.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T01:52:33.826Z] Dload Upload Total Spent Left Speed [2024-08-07T01:52:34.086Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11127 --:--:-- --:--:-- --:--:-- 11127 [2024-08-07T01:52:34.086Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/dc11a9d5c340b132dff6636842266791c439acae [Pipeline] } [2024-08-07T01:52:34.115Z] 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-08-07T01:52:36.311Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives ] [2024-08-07T01:52:36.311Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives [2024-08-07T01:52:36.311Z] total 16 [2024-08-07T01:52:36.311Z] drwxr-xr-x 3 root root 4096 Aug 7 01:39 . [2024-08-07T01:52:36.311Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 01:39 .. [2024-08-07T01:52:36.311Z] drwxr-xr-x 2 root root 4096 Aug 7 01:39 cost [2024-08-07T01:52:36.311Z] -rw-r--r-- 1 root root 86 Aug 7 01:39 cost.csv [2024-08-07T01:52:36.311Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives [2024-08-07T01:52:36.311Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives [2024-08-07T01:52:36.311Z] total 16 [2024-08-07T01:52:36.311Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 01:39 . [2024-08-07T01:52:36.311Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 7 01:39 .. [2024-08-07T01:52:36.311Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 01:39 cost [2024-08-07T01:52:36.311Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 7 01:39 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:52:36.646Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:52:37.552Z] ---> package-listing.sh [2024-08-07T01:52:37.552Z] ++ facter osfamily [2024-08-07T01:52:37.552Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-07T01:52:37.814Z] + OS_FAMILY=debian [2024-08-07T01:52:37.814Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-687 [2024-08-07T01:52:37.814Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-07T01:52:37.814Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-07T01:52:37.814Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-07T01:52:37.814Z] + PACKAGES=/tmp/packages_start.txt [2024-08-07T01:52:37.814Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-687 ']' [2024-08-07T01:52:37.814Z] + PACKAGES=/tmp/packages_end.txt [2024-08-07T01:52:37.814Z] + case "${OS_FAMILY}" in [2024-08-07T01:52:37.814Z] + dpkg -l [2024-08-07T01:52:37.814Z] + grep '^ii' [2024-08-07T01:52:37.814Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-07T01:52:37.814Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-07T01:52:37.814Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-07T01:52:37.814Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-687 ']' [2024-08-07T01:52:37.814Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives/ [2024-08-07T01:52:37.814Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-687/archives/ [Pipeline] echo [2024-08-07T01:52:37.859Z] 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-687/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-07T01:52:38.162Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T01:52:38.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T01:52:38.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T01:52:38.988Z] prd-ubuntu20.04-docker-8c-8g-7243 does not seem to be running inside a container [2024-08-07T01:52:39.027Z] $ 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-687/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-687 -v /w/workspace/gexfoundry_device-mqtt-go_PR-687:/w/workspace/gexfoundry_device-mqtt-go_PR-687:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-07T01:52:39.207Z] $ docker top c26481d5f46bcb3eab40c852b0f7cf1fb5600b351cb18d4c40bdae2ba4a2ea2b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T01:52:39.634Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-07T01:52:39.945Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-07T01:52:40.306Z] + ls /var/log/sa-host [2024-08-07T01:52:40.306Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T01:52:40.567Z] provisioning config files... [2024-08-07T01:52:40.595Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-687@tmp/config4989347709639990671tmp [Pipeline] { [Pipeline] echo [2024-08-07T01:52:40.671Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:52:41.068Z] ---> create-netrc.sh [Pipeline] } [2024-08-07T01:52:41.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:52:41.602Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-07T01:52:41.645Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:52:41.972Z] ---> sudo-logs.sh [2024-08-07T01:52:41.972Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-07T01:52:42.079Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:52:42.407Z] ---> job-cost.sh [2024-08-07T01:52:42.408Z] lf-activate-venv: SKIPPING [2024-08-07T01:52:42.408Z] DEBUG: total: 0.2199999988079071 [2024-08-07T01:52:42.408Z] INFO: Retrieving Stack Cost... [2024-08-07T01:52:42.666Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T01:52:43.233Z] INFO: Archiving Costs [Pipeline] echo [2024-08-07T01:52:43.285Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T01:52:43.612Z] ---> logs-deploy.sh [2024-08-07T01:52:43.612Z] lf-activate-venv: SKIPPING [2024-08-07T01:52:43.612Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-687/1 [2024-08-07T01:52:43.612Z] INFO: archiving workspace using pattern(s): [2024-08-07T01:52:44.548Z] Archives upload complete. [2024-08-07T01:52:44.548Z] INFO: archiving logs to Nexus