Pull request #681 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 37c3516207616416876b79a04c14ca3c1827ec71+35de5baf133cb3849b13998f5bd615ef0c638656 (78047edf3484c830337c9c13402838b6390bea70) 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-ssh302291905351425461.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-ssh3647700924028377874.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-681/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-681/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16103248176113945392.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-681/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8503860318544581864.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-ssh16012423698797484872.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-681/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-681/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1757790067091114337.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-5683 in /w/workspace/gexfoundry_device-mqtt-go_PR-681 [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-681 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 35de5baf133cb3849b13998f5bd615ef0c638656 into PR head commit 37c3516207616416876b79a04c14ca3c1827ec71 Merge succeeded, producing 37c3516207616416876b79a04c14ca3c1827ec71 Checking out Revision 37c3516207616416876b79a04c14ca3c1827ec71 (PR-681) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > 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/681/head:refs/remotes/origin/PR-681 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37c3516207616416876b79a04c14ca3c1827ec71 # 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 35de5baf133cb3849b13998f5bd615ef0c638656 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37c3516207616416876b79a04c14ca3c1827ec71 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-16T01:48:17.431Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-16T01:48:17.669Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-16T01:48:17.868Z] ========================================================= [2024-07-16T01:48:17.868Z] EdgeX Global Pipelines Version Info [2024-07-16T01:48:17.868Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-16T01:48:18.613Z] ------------------- [2024-07-16T01:48:18.613Z] stable info: [2024-07-16T01:48:18.613Z] ------------------- [2024-07-16T01:48:18.613Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-16T01:48:18.613Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-16T01:48:18.613Z] Message: update stable to v1.0.260 [2024-07-16T01:48:19.185Z] ------------------- [2024-07-16T01:48:19.185Z] experimental info: [2024-07-16T01:48:19.185Z] ------------------- [2024-07-16T01:48:19.185Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-16T01:48:19.185Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-16T01:48:19.185Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-16T01:48:19.398Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-07-16T01:48:19.458Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-07-16T01:48:19.519Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-16T01:48:19.580Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-16T01:48:19.638Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-16T01:48:19.698Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-16T01:48:19.764Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-16T01:48:19.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-16T01:48:19.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-16T01:48:19.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-16T01:48:19.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-16T01:48:20.054Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-07-16T01:48:20.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-16T01:48:20.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-16T01:48:20.229Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-16T01:48:20.396Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-16T01:48:20.456Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-16T01:48:20.516Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-16T01:48:20.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-16T01:48:20.646Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-16T01:48:20.705Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-16T01:48:20.764Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-16T01:48:20.822Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-16T01:48:20.884Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-16T01:48:20.941Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-16T01:48:21.002Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-16T01:48:21.060Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-16T01:48:21.118Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-681 [Pipeline] echo [2024-07-16T01:48:21.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-681 [Pipeline] echo [2024-07-16T01:48:21.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-681 [Pipeline] echo [2024-07-16T01:48:21.299Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] echo [2024-07-16T01:48:21.362Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37c3516 [Pipeline] echo [2024-07-16T01:48:21.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-16T01:48:21.577Z] provisioning config files... [2024-07-16T01:48:21.599Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/config8821929527182098226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T01:48:22.045Z] ---> ****-login.sh [2024-07-16T01:48:22.045Z] nexus3.edgexfoundry.org:10001 [2024-07-16T01:48:23.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:23.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:23.686Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:23.686Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:23.686Z] [2024-07-16T01:48:23.686Z] Login Succeeded [2024-07-16T01:48:23.686Z] nexus3.edgexfoundry.org:10002 [2024-07-16T01:48:23.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:23.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:23.686Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:23.686Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:23.686Z] [2024-07-16T01:48:23.686Z] Login Succeeded [2024-07-16T01:48:23.686Z] nexus3.edgexfoundry.org:10003 [2024-07-16T01:48:23.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:23.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:23.946Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:23.946Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:23.946Z] [2024-07-16T01:48:23.946Z] Login Succeeded [2024-07-16T01:48:23.946Z] nexus3.edgexfoundry.org:10004 [2024-07-16T01:48:23.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:23.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:23.946Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:23.946Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:23.946Z] [2024-07-16T01:48:24.207Z] Login Succeeded [2024-07-16T01:48:24.207Z] ****.io [2024-07-16T01:48:24.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:24.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:24.208Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:24.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:24.208Z] [2024-07-16T01:48:24.208Z] Login Succeeded [2024-07-16T01:48:24.208Z] ---> ****-login.sh ends [Pipeline] } [2024-07-16T01:48:24.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-16T01:48:24.949Z] + git rev-list -1 --merges 37c3516207616416876b79a04c14ca3c1827ec71~1..37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] echo [2024-07-16T01:48:24.999Z] -----------> git rev-list -1 --merges 37c3516207616416876b79a04c14ca3c1827ec71~1..37c3516207616416876b79a04c14ca3c1827ec71 37c3516207616416876b79a04c14ca3c1827ec71 [false] [Pipeline] sh [2024-07-16T01:48:25.323Z] + git log --format=format:%s -1 37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] echo [2024-07-16T01:48:25.375Z] ========================================================= [2024-07-16T01:48:25.375Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-16T01:48:25.375Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-16T01:48:25.841Z] + git log --format=format:%s -1 37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] echo [2024-07-16T01:48:25.884Z] [semverPrep] GIT_COMMIT: 37c3516207616416876b79a04c14ca3c1827ec71, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-07-16T01:48:25.926Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-16T01:48:26.362Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-16T01:48:26.362Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-16T01:48:26.362Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-16T01:48:26.362Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-16T01:48:26.362Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-16T01:48:26.362Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-16T01:48:26.362Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:48:26.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-16T01:48:26.879Z] [2024-07-16T01:48:26.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:48:27.303Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-16T01:48:27.303Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-16T01:48:27.303Z] b85a868b505f: Pulling fs layer [2024-07-16T01:48:27.303Z] e2be974225ed: Pulling fs layer [2024-07-16T01:48:27.303Z] 339a4e72a1f5: Pulling fs layer [2024-07-16T01:48:27.303Z] 988bab9f4d93: Pulling fs layer [2024-07-16T01:48:27.303Z] 1469e6f7b9e6: Pulling fs layer [2024-07-16T01:48:27.303Z] eaf3925da568: Pulling fs layer [2024-07-16T01:48:27.303Z] bab4dde63d76: Pulling fs layer [2024-07-16T01:48:27.303Z] bde34c3a00c8: Pulling fs layer [2024-07-16T01:48:27.303Z] b352a97aabf1: Pulling fs layer [2024-07-16T01:48:27.303Z] 4872d77fe225: Pulling fs layer [2024-07-16T01:48:27.303Z] 5851b861e8e6: Pulling fs layer [2024-07-16T01:48:27.303Z] 988bab9f4d93: Waiting [2024-07-16T01:48:27.303Z] 1469e6f7b9e6: Waiting [2024-07-16T01:48:27.303Z] b352a97aabf1: Waiting [2024-07-16T01:48:27.303Z] 4872d77fe225: Waiting [2024-07-16T01:48:27.303Z] 5851b861e8e6: Waiting [2024-07-16T01:48:27.303Z] eaf3925da568: Waiting [2024-07-16T01:48:27.303Z] bab4dde63d76: Waiting [2024-07-16T01:48:27.303Z] bde34c3a00c8: Waiting [2024-07-16T01:48:27.565Z] e2be974225ed: Verifying Checksum [2024-07-16T01:48:27.565Z] e2be974225ed: Download complete [2024-07-16T01:48:27.565Z] 988bab9f4d93: Verifying Checksum [2024-07-16T01:48:27.565Z] 988bab9f4d93: Download complete [2024-07-16T01:48:27.565Z] 1469e6f7b9e6: Verifying Checksum [2024-07-16T01:48:27.565Z] 1469e6f7b9e6: Download complete [2024-07-16T01:48:27.565Z] eaf3925da568: Verifying Checksum [2024-07-16T01:48:27.565Z] eaf3925da568: Download complete [2024-07-16T01:48:27.565Z] 339a4e72a1f5: Verifying Checksum [2024-07-16T01:48:27.565Z] 339a4e72a1f5: Download complete [2024-07-16T01:48:27.565Z] bde34c3a00c8: Verifying Checksum [2024-07-16T01:48:27.565Z] bde34c3a00c8: Download complete [2024-07-16T01:48:27.565Z] b352a97aabf1: Download complete [2024-07-16T01:48:27.565Z] 4872d77fe225: Download complete [2024-07-16T01:48:27.565Z] 5851b861e8e6: Verifying Checksum [2024-07-16T01:48:27.565Z] 5851b861e8e6: Download complete [2024-07-16T01:48:27.565Z] b85a868b505f: Verifying Checksum [2024-07-16T01:48:27.565Z] b85a868b505f: Download complete [2024-07-16T01:48:28.133Z] bab4dde63d76: Verifying Checksum [2024-07-16T01:48:28.133Z] bab4dde63d76: Download complete [2024-07-16T01:48:29.084Z] b85a868b505f: Pull complete [2024-07-16T01:48:29.343Z] e2be974225ed: Pull complete [2024-07-16T01:48:29.909Z] 339a4e72a1f5: Pull complete [2024-07-16T01:48:30.167Z] 988bab9f4d93: Pull complete [2024-07-16T01:48:30.739Z] 1469e6f7b9e6: Pull complete [2024-07-16T01:48:30.739Z] eaf3925da568: Pull complete [2024-07-16T01:48:32.641Z] bab4dde63d76: Pull complete [2024-07-16T01:48:32.641Z] bde34c3a00c8: Pull complete [2024-07-16T01:48:32.641Z] b352a97aabf1: Pull complete [2024-07-16T01:48:32.641Z] 4872d77fe225: Pull complete [2024-07-16T01:48:32.641Z] 5851b861e8e6: Pull complete [2024-07-16T01:48:32.641Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-16T01:48:32.641Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-16T01:48:32.641Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T01:48:32.940Z] prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container [2024-07-16T01:48:32.966Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-07-16T01:48:35.897Z] $ docker top c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 -eo pid,comm [2024-07-16T01:48:35.965Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-07-16T01:48:35.965Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-16T01:48:36.135Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-16T01:48:36.135Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-16T01:48:36.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-16T01:48:36.253Z] $ docker exec c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 ssh-agent [2024-07-16T01:48:36.368Z] SSH_AUTH_SOCK=/tmp/ssh-JssfFYguV2cC/agent.33 [2024-07-16T01:48:36.368Z] SSH_AGENT_PID=39 [2024-07-16T01:48:36.375Z] Running ssh-add (command line suppressed) [2024-07-16T01:48:36.470Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/private_key_16358233798132312564.key (/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/private_key_16358233798132312564.key) [2024-07-16T01:48:36.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-16T01:48:36.831Z] + git tag --points-at HEAD [Pipeline] } [2024-07-16T01:48:36.850Z] $ docker exec --env ******** --env ******** c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 ssh-agent -k [2024-07-16T01:48:36.959Z] unset SSH_AUTH_SOCK; [2024-07-16T01:48:36.959Z] unset SSH_AGENT_PID; [2024-07-16T01:48:36.959Z] echo Agent pid 39 killed; [2024-07-16T01:48:36.970Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-16T01:48:37.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-16T01:48:37.097Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-16T01:48:37.200Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-16T01:48:37.199Z] $ docker exec c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 ssh-agent [2024-07-16T01:48:37.321Z] SSH_AUTH_SOCK=/tmp/ssh-UZeU93LTq6YO/agent.72 [2024-07-16T01:48:37.321Z] SSH_AGENT_PID=78 [2024-07-16T01:48:37.325Z] Running ssh-add (command line suppressed) [2024-07-16T01:48:37.425Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/private_key_16306022655118147116.key (/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/private_key_16306022655118147116.key) [2024-07-16T01:48:37.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-16T01:48:37.793Z] + git semver init [2024-07-16T01:48:38.052Z] 2024-07-16 01:48:37,963 [run_init] DEBUG init version:0.0.0 force:False [2024-07-16T01:48:38.053Z] 2024-07-16 01:48:37,964 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver [2024-07-16T01:48:38.053Z] 2024-07-16 01:48:37,965 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver [2024-07-16T01:48:38.053Z] 2024-07-16 01:48:37,965 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-681, universal_newlines=False, shell=None, istream=None) [2024-07-16T01:48:39.428Z] 2024-07-16 01:48:39,394 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681/.git/info/exclude [2024-07-16T01:48:39.428Z] 2024-07-16 01:48:39,395 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver/PR-681 with force:False [2024-07-16T01:48:39.428Z] 2024-07-16 01:48:39,395 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver/PR-681 [2024-07-16T01:48:39.428Z] 2024-07-16 01:48:39,399 [execute] INFO git cat-file --batch-check [2024-07-16T01:48:39.428Z] 2024-07-16 01:48:39,400 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver, universal_newlines=False, shell=None, istream=) [2024-07-16T01:48:39.428Z] 2024-07-16 01:48:39,405 [execute] INFO git cat-file --batch [2024-07-16T01:48:39.428Z] 2024-07-16 01:48:39,406 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver, universal_newlines=False, shell=None, istream=) [2024-07-16T01:48:39.428Z] 2024-07-16 01:48:39,410 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-681/.semver/PR-681 [2024-07-16T01:48:39.428Z] 0.0.0 [Pipeline] } [2024-07-16T01:48:39.698Z] $ docker exec --env ******** --env ******** c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 ssh-agent -k [2024-07-16T01:48:39.808Z] unset SSH_AUTH_SOCK; [2024-07-16T01:48:39.809Z] unset SSH_AGENT_PID; [2024-07-16T01:48:39.809Z] echo Agent pid 78 killed; [2024-07-16T01:48:39.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-16T01:48:40.278Z] + git semver [Pipeline] } [2024-07-16T01:48:40.560Z] $ docker stop --time=1 c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 [2024-07-16T01:48:41.847Z] $ docker rm -f --volumes c808507644f6cdeb04c08b23dec9d2b751186e63b05aa787ac0a93b1e7aaaae6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-16T01:48:42.284Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-16T01:48:42.668Z] Stashed 1 file(s) [Pipeline] echo [2024-07-16T01:48:42.690Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-16T01:48:43.425Z] provisioning config files... [2024-07-16T01:48:43.435Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/config3108669825103689574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T01:48:43.822Z] ---> ****-login.sh [2024-07-16T01:48:43.822Z] nexus3.edgexfoundry.org:10001 [2024-07-16T01:48:43.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:43.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:43.822Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:43.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:43.822Z] [2024-07-16T01:48:43.822Z] Login Succeeded [2024-07-16T01:48:43.822Z] nexus3.edgexfoundry.org:10002 [2024-07-16T01:48:43.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:43.822Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:43.822Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:43.822Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:43.822Z] [2024-07-16T01:48:43.822Z] Login Succeeded [2024-07-16T01:48:43.822Z] nexus3.edgexfoundry.org:10003 [2024-07-16T01:48:44.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:44.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:44.081Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:44.081Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:44.081Z] [2024-07-16T01:48:44.081Z] Login Succeeded [2024-07-16T01:48:44.081Z] nexus3.edgexfoundry.org:10004 [2024-07-16T01:48:44.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:44.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:44.081Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:44.081Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:44.081Z] [2024-07-16T01:48:44.081Z] Login Succeeded [2024-07-16T01:48:44.081Z] ****.io [2024-07-16T01:48:44.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:48:44.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:48:44.339Z] Configure a credential helper to remove this warning. See [2024-07-16T01:48:44.339Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:48:44.339Z] [2024-07-16T01:48:44.339Z] Login Succeeded [2024-07-16T01:48:44.339Z] ---> ****-login.sh ends [Pipeline] } [2024-07-16T01:48:44.373Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-16T01:48:44.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-16T01:48:44.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-16T01:48:44.707Z] ========================================================= [2024-07-16T01:48:44.707Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-16T01:48:44.707Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:48:45.242Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-16T01:48:45.242Z] Sending build context to Docker daemon 21.02MB [2024-07-16T01:48:45.242Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-16T01:48:45.242Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-16T01:48:45.242Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-16T01:48:45.242Z] 619be1103602: Pulling fs layer [2024-07-16T01:48:45.242Z] 7862e08f4a3e: Pulling fs layer [2024-07-16T01:48:45.242Z] 5df492c9dc93: Pulling fs layer [2024-07-16T01:48:45.242Z] 7629e6793208: Pulling fs layer [2024-07-16T01:48:45.242Z] 4f4fb700ef54: Pulling fs layer [2024-07-16T01:48:45.242Z] fb5054dd5b73: Pulling fs layer [2024-07-16T01:48:45.242Z] eeca6798cff9: Pulling fs layer [2024-07-16T01:48:45.242Z] aa269ceb94a6: Pulling fs layer [2024-07-16T01:48:45.242Z] ada007ff1a6a: Pulling fs layer [2024-07-16T01:48:45.242Z] 7629e6793208: Waiting [2024-07-16T01:48:45.242Z] 4f4fb700ef54: Waiting [2024-07-16T01:48:45.242Z] fb5054dd5b73: Waiting [2024-07-16T01:48:45.242Z] eeca6798cff9: Waiting [2024-07-16T01:48:45.242Z] aa269ceb94a6: Waiting [2024-07-16T01:48:45.242Z] ada007ff1a6a: Waiting [2024-07-16T01:48:45.504Z] 7862e08f4a3e: Download complete [2024-07-16T01:48:45.504Z] 7629e6793208: Verifying Checksum [2024-07-16T01:48:45.504Z] 7629e6793208: Download complete [2024-07-16T01:48:45.504Z] 619be1103602: Verifying Checksum [2024-07-16T01:48:45.504Z] 619be1103602: Download complete [2024-07-16T01:48:45.504Z] 4f4fb700ef54: Verifying Checksum [2024-07-16T01:48:45.504Z] 4f4fb700ef54: Download complete [2024-07-16T01:48:45.504Z] fb5054dd5b73: Download complete [2024-07-16T01:48:45.504Z] eeca6798cff9: Verifying Checksum [2024-07-16T01:48:45.504Z] eeca6798cff9: Download complete [2024-07-16T01:48:45.504Z] 619be1103602: Pull complete [2024-07-16T01:48:45.762Z] 7862e08f4a3e: Pull complete [2024-07-16T01:48:45.762Z] ada007ff1a6a: Verifying Checksum [2024-07-16T01:48:45.762Z] ada007ff1a6a: Download complete [2024-07-16T01:48:45.762Z] 5df492c9dc93: Verifying Checksum [2024-07-16T01:48:45.762Z] 5df492c9dc93: Download complete [2024-07-16T01:48:46.329Z] aa269ceb94a6: Verifying Checksum [2024-07-16T01:48:46.329Z] aa269ceb94a6: Download complete [2024-07-16T01:48:48.862Z] 5df492c9dc93: Pull complete [2024-07-16T01:48:48.862Z] 7629e6793208: Pull complete [2024-07-16T01:48:48.862Z] 4f4fb700ef54: Pull complete [2024-07-16T01:48:48.862Z] fb5054dd5b73: Pull complete [2024-07-16T01:48:49.120Z] eeca6798cff9: Pull complete [2024-07-16T01:48:51.648Z] aa269ceb94a6: Pull complete [2024-07-16T01:48:51.648Z] ada007ff1a6a: Pull complete [2024-07-16T01:48:51.648Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-16T01:48:51.648Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-16T01:48:51.648Z] ---> f489d0715acc [2024-07-16T01:48:51.648Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-16T01:48:58.210Z] Still waiting to schedule task [2024-07-16T01:48:58.210Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5680’ [2024-07-16T01:48:58.362Z] ---> Running in 89ee2f924a86 [2024-07-16T01:48:58.362Z] Removing intermediate container 89ee2f924a86 [2024-07-16T01:48:58.362Z] ---> f6e3a819ae7b [2024-07-16T01:48:58.362Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-16T01:48:58.362Z] ---> Running in 0de3b2a7b01f [2024-07-16T01:48:58.362Z] Removing intermediate container 0de3b2a7b01f [2024-07-16T01:48:58.362Z] ---> d1bd937e7e3d [2024-07-16T01:48:58.362Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-16T01:48:58.362Z] ---> Running in 9c687bc1b0bb [2024-07-16T01:48:58.362Z] Removing intermediate container 9c687bc1b0bb [2024-07-16T01:48:58.362Z] ---> a71c566f8474 [2024-07-16T01:48:58.362Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-16T01:48:58.362Z] ---> Running in 65a1b7b189ec [2024-07-16T01:48:58.362Z] Removing intermediate container 65a1b7b189ec [2024-07-16T01:48:58.362Z] ---> 027593533d2b [2024-07-16T01:48:58.362Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-16T01:48:58.362Z] ---> Running in 253a22447bc0 [2024-07-16T01:48:58.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-16T01:48:58.362Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-16T01:48:58.620Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-16T01:48:58.620Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-16T01:48:58.620Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-16T01:48:58.882Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-16T01:48:58.882Z] Executing busybox-1.36.1-r5.trigger [2024-07-16T01:48:58.882Z] OK: 268 MiB in 56 packages [2024-07-16T01:48:59.451Z] Removing intermediate container 253a22447bc0 [2024-07-16T01:48:59.451Z] ---> 22567653618e [2024-07-16T01:48:59.451Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-16T01:48:59.451Z] ---> Running in f713f646ce59 [2024-07-16T01:48:59.451Z] Removing intermediate container f713f646ce59 [2024-07-16T01:48:59.451Z] ---> f37479eae379 [2024-07-16T01:48:59.451Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-16T01:48:59.451Z] ---> 7e4a5766e41b [2024-07-16T01:48:59.451Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-16T01:48:59.451Z] ---> Running in 1e65d79dadd8 [2024-07-16T01:50:07.153Z] Removing intermediate container 1e65d79dadd8 [2024-07-16T01:50:07.153Z] ---> 052c76e41423 [2024-07-16T01:50:07.153Z] Step 11/12 : COPY . . [2024-07-16T01:50:07.153Z] ---> 6fbcfdc030c5 [2024-07-16T01:50:07.153Z] Step 12/12 : RUN $MAKE [2024-07-16T01:50:07.153Z] ---> Running in febccdb18b01 [2024-07-16T01:50:07.153Z] noop [2024-07-16T01:50:07.153Z] Removing intermediate container febccdb18b01 [2024-07-16T01:50:07.153Z] ---> 99fa4e6f586a [2024-07-16T01:50:07.153Z] Successfully built 99fa4e6f586a [2024-07-16T01:50:07.153Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:50:07.671Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-16T01:50:07.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T01:50:07.841Z] prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container [2024-07-16T01:50:07.872Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-16T01:50:08.178Z] $ docker top f3d70e8754c75eb75f593753c4c8c3e9118cfa6f16ec5969ad820f04b7c5990b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T01:50:08.589Z] + go version [2024-07-16T01:50:08.590Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-16T01:50:08.623Z] $ docker stop --time=1 f3d70e8754c75eb75f593753c4c8c3e9118cfa6f16ec5969ad820f04b7c5990b [2024-07-16T01:50:09.902Z] $ docker rm -f --volumes f3d70e8754c75eb75f593753c4c8c3e9118cfa6f16ec5969ad820f04b7c5990b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:50:10.718Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-16T01:50:10.718Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T01:50:10.891Z] prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container [2024-07-16T01:50:10.918Z] $ 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-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-07-16T01:50:11.223Z] $ docker top 1caaae4e8d8cbc721515d3d00be316e4afc650fbd9cefc946b5359c310034e31 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T01:50:11.637Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-681 [Pipeline] fileExists [Pipeline] sh [2024-07-16T01:50:12.019Z] + make test [2024-07-16T01:50:12.019Z] go test ./... -coverprofile=coverage.out ./... [2024-07-16T01:50:13.394Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-16T01:50:31.483Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-16T01:50:31.483Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-16T01:50:31.483Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements [2024-07-16T01:50:38.054Z] go vet ./... [2024-07-16T01:50:43.313Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-16T01:50:43.313Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-16T01:50:43.313Z] ./bin/test-attribution-txt.sh [2024-07-16T01:50:43.313Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-16T01:50:43.313Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-16T01:50:43.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-16T01:50:43.410Z] $ docker stop --time=1 1caaae4e8d8cbc721515d3d00be316e4afc650fbd9cefc946b5359c310034e31 [2024-07-16T01:50:48.550Z] $ docker rm -f --volumes 1caaae4e8d8cbc721515d3d00be316e4afc650fbd9cefc946b5359c310034e31 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-16T01:50:49.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-16T01:50:49.252Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-16T01:50:49.982Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-16T01:50:50.303Z] + ls -al . [2024-07-16T01:50:50.303Z] total 252 [2024-07-16T01:50:50.303Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 16 01:50 . [2024-07-16T01:50:50.303Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 01:48 .. [2024-07-16T01:50:50.303Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 01:48 .dockerignore [2024-07-16T01:50:50.304Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 01:50 .git [2024-07-16T01:50:50.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:48 .github [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 16 01:48 .gitignore [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 01:48 .golangci.yml [2024-07-16T01:50:50.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 01:48 .semver [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 16 01:48 Attribution.txt [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 16 01:48 CHANGELOG.md [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 16 01:48 Dockerfile [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 01:48 GOVERNANCE.md [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 16 01:48 Jenkinsfile [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 01:48 LICENSE [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 16 01:48 Makefile [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 16 01:48 OWNERS.md [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 16 01:48 README.md [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 01:48 VERSION [2024-07-16T01:50:50.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 01:48 bin [2024-07-16T01:50:50.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:48 cmd [2024-07-16T01:50:50.304Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 16 01:50 coverage.out [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 7064 Jul 16 01:48 go.mod [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 101928 Jul 16 01:48 go.sum [2024-07-16T01:50:50.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:48 internal [2024-07-16T01:50:50.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 01:48 mock [2024-07-16T01:50:50.304Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 16 01:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:50:50.726Z] + 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=37c3516207616416876b79a04c14ca3c1827ec71 --label arch=amd64 --label version=0.0.0 . [2024-07-16T01:50:50.726Z] Sending build context to Docker daemon 21.04MB [2024-07-16T01:50:50.726Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-16T01:50:50.726Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-16T01:50:50.726Z] ---> 99fa4e6f586a [2024-07-16T01:50:50.726Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-16T01:50:50.983Z] ---> Running in 58a991cd931e [2024-07-16T01:50:51.241Z] Removing intermediate container 58a991cd931e [2024-07-16T01:50:51.241Z] ---> 1776c0dd481c [2024-07-16T01:50:51.241Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-16T01:50:51.241Z] ---> Running in 4f23a4274d66 [2024-07-16T01:50:51.241Z] Removing intermediate container 4f23a4274d66 [2024-07-16T01:50:51.241Z] ---> f8e8fb6f9813 [2024-07-16T01:50:51.241Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-16T01:50:51.241Z] ---> Running in 79d32c4100ba [2024-07-16T01:50:51.241Z] Removing intermediate container 79d32c4100ba [2024-07-16T01:50:51.241Z] ---> 4fffd7a14678 [2024-07-16T01:50:51.241Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-16T01:50:51.241Z] ---> Running in 0670b9e87880 [2024-07-16T01:50:51.499Z] Removing intermediate container 0670b9e87880 [2024-07-16T01:50:51.499Z] ---> 6b1ee1b91f07 [2024-07-16T01:50:51.499Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-16T01:50:51.499Z] ---> Running in 744dc8a83c41 [2024-07-16T01:50:51.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-16T01:50:51.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-16T01:50:52.017Z] OK: 268 MiB in 56 packages [2024-07-16T01:50:52.276Z] Removing intermediate container 744dc8a83c41 [2024-07-16T01:50:52.276Z] ---> ea3e1a51269b [2024-07-16T01:50:52.276Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-16T01:50:52.533Z] ---> Running in a60c07336e58 [2024-07-16T01:50:52.533Z] Removing intermediate container a60c07336e58 [2024-07-16T01:50:52.533Z] ---> 09f7889781b5 [2024-07-16T01:50:52.533Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-16T01:50:52.533Z] ---> c71da3fe9974 [2024-07-16T01:50:52.533Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-16T01:50:52.533Z] ---> Running in 184d9d943a34 [2024-07-16T01:50:53.466Z] Removing intermediate container 184d9d943a34 [2024-07-16T01:50:53.466Z] ---> a7644c15b07f [2024-07-16T01:50:53.466Z] Step 11/25 : COPY . . [2024-07-16T01:50:54.034Z] ---> a2e4ff3899b5 [2024-07-16T01:50:54.034Z] Step 12/25 : RUN $MAKE [2024-07-16T01:50:54.034Z] ---> Running in 6b576a771a04 [2024-07-16T01:50:54.293Z] 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.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-16T01:51:26.351Z] Removing intermediate container 6b576a771a04 [2024-07-16T01:51:26.351Z] ---> e9866249106f [2024-07-16T01:51:26.351Z] Step 13/25 : FROM alpine:3.18 [2024-07-16T01:51:26.351Z] 3.18: Pulling from library/alpine [2024-07-16T01:51:26.351Z] 73baa7ef167e: Pulling fs layer [2024-07-16T01:51:26.351Z] 73baa7ef167e: Download complete [2024-07-16T01:51:26.351Z] 73baa7ef167e: Pull complete [2024-07-16T01:51:26.351Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-16T01:51:26.351Z] Status: Downloaded newer image for alpine:3.18 [2024-07-16T01:51:26.351Z] ---> 8fd7cac70a4a [2024-07-16T01:51:26.351Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-16T01:51:26.351Z] ---> Running in 76b895a9939d [2024-07-16T01:51:26.351Z] Removing intermediate container 76b895a9939d [2024-07-16T01:51:26.351Z] ---> fe92c11adf70 [2024-07-16T01:51:26.351Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-16T01:51:26.351Z] ---> Running in b9e8012df677 [2024-07-16T01:51:26.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-16T01:51:26.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-16T01:51:27.128Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-16T01:51:27.128Z] Executing busybox-1.36.1-r7.trigger [2024-07-16T01:51:27.128Z] OK: 7 MiB in 16 packages [2024-07-16T01:51:27.387Z] Removing intermediate container b9e8012df677 [2024-07-16T01:51:27.387Z] ---> 108f139d48ba [2024-07-16T01:51:27.387Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-16T01:51:27.387Z] ---> Running in 5622ea690f62 [2024-07-16T01:51:27.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-16T01:51:27.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-16T01:51:27.903Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-16T01:51:28.472Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-16T01:51:28.472Z] OK: 7 MiB in 16 packages [2024-07-16T01:51:29.039Z] Removing intermediate container 5622ea690f62 [2024-07-16T01:51:29.039Z] ---> a403cc19eb36 [2024-07-16T01:51:29.039Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-16T01:51:30.415Z] ---> a86ab6f40840 [2024-07-16T01:51:30.415Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-16T01:51:30.415Z] ---> 794517f163f0 [2024-07-16T01:51:30.415Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-16T01:51:30.415Z] ---> a32be0c5ace7 [2024-07-16T01:51:30.415Z] Step 20/25 : EXPOSE 59982 [2024-07-16T01:51:30.415Z] ---> Running in 6d218203ddf1 [2024-07-16T01:51:30.674Z] Removing intermediate container 6d218203ddf1 [2024-07-16T01:51:30.674Z] ---> deb60c58d022 [2024-07-16T01:51:30.674Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-16T01:51:30.674Z] ---> Running in 82071fc1a1f9 [2024-07-16T01:51:30.674Z] Removing intermediate container 82071fc1a1f9 [2024-07-16T01:51:30.674Z] ---> 675ce1afbb4a [2024-07-16T01:51:30.675Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-16T01:51:30.675Z] ---> Running in 39c54076ba08 [2024-07-16T01:51:30.675Z] Removing intermediate container 39c54076ba08 [2024-07-16T01:51:30.675Z] ---> 073fce35ca71 [2024-07-16T01:51:30.675Z] Step 23/25 : LABEL arch=amd64 [2024-07-16T01:51:30.675Z] ---> Running in 9145dae54e27 [2024-07-16T01:51:30.932Z] Removing intermediate container 9145dae54e27 [2024-07-16T01:51:30.932Z] ---> 4037fa0cd32d [2024-07-16T01:51:30.932Z] Step 24/25 : LABEL git_sha=37c3516207616416876b79a04c14ca3c1827ec71 [2024-07-16T01:51:30.932Z] ---> Running in 30b6f2ce191c [2024-07-16T01:51:30.932Z] Removing intermediate container 30b6f2ce191c [2024-07-16T01:51:30.932Z] ---> 22afa1ea9060 [2024-07-16T01:51:30.932Z] Step 25/25 : LABEL version=0.0.0 [2024-07-16T01:51:30.932Z] ---> Running in d64869c0d8a0 [2024-07-16T01:51:30.932Z] Removing intermediate container d64869c0d8a0 [2024-07-16T01:51:30.932Z] ---> a5f3047e23c4 [2024-07-16T01:51:30.932Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-16T01:51:30.932Z] Successfully built a5f3047e23c4 [2024-07-16T01:51:30.932Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:51:32.002Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-16T01:51:32.002Z] [2024-07-16T01:51:32.002Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:51:32.393Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-16T01:51:32.393Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-16T01:51:32.393Z] 5eb5b503b376: Pulling fs layer [2024-07-16T01:51:32.393Z] 5c69ac0246d0: Pulling fs layer [2024-07-16T01:51:32.393Z] ec43610c2a17: Pulling fs layer [2024-07-16T01:51:32.393Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-16T01:51:32.393Z] 33b1e0a273af: Pulling fs layer [2024-07-16T01:51:32.393Z] 5d3b04190fa2: Pulling fs layer [2024-07-16T01:51:32.393Z] 2f39f015ded8: Pulling fs layer [2024-07-16T01:51:32.393Z] 33b1e0a273af: Waiting [2024-07-16T01:51:32.393Z] 5d3b04190fa2: Waiting [2024-07-16T01:51:32.393Z] 2f39f015ded8: Waiting [2024-07-16T01:51:32.393Z] 3a2ae6a8a46f: Waiting [2024-07-16T01:51:32.393Z] 5c69ac0246d0: Download complete [2024-07-16T01:51:32.393Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-16T01:51:32.393Z] 3a2ae6a8a46f: Download complete [2024-07-16T01:51:32.393Z] ec43610c2a17: Verifying Checksum [2024-07-16T01:51:32.393Z] ec43610c2a17: Download complete [2024-07-16T01:51:32.394Z] 33b1e0a273af: Verifying Checksum [2024-07-16T01:51:32.394Z] 33b1e0a273af: Download complete [2024-07-16T01:51:32.394Z] 5d3b04190fa2: Download complete [2024-07-16T01:51:32.652Z] 5eb5b503b376: Verifying Checksum [2024-07-16T01:51:32.652Z] 5eb5b503b376: Download complete [2024-07-16T01:51:33.217Z] 2f39f015ded8: Download complete [2024-07-16T01:51:33.787Z] 5eb5b503b376: Pull complete [2024-07-16T01:51:33.787Z] 5c69ac0246d0: Pull complete [2024-07-16T01:51:34.354Z] ec43610c2a17: Pull complete [2024-07-16T01:51:34.354Z] 3a2ae6a8a46f: Pull complete [2024-07-16T01:51:34.612Z] 33b1e0a273af: Pull complete [2024-07-16T01:51:34.612Z] 5d3b04190fa2: Pull complete [2024-07-16T01:51:38.796Z] 2f39f015ded8: Pull complete [2024-07-16T01:51:38.796Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-16T01:51:38.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-16T01:51:38.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T01:51:39.048Z] prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container [2024-07-16T01:51:39.080Z] $ 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-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-16T01:51:43.983Z] $ docker top ebed5c4841f7a460f1086647f549cb00dadb3be1616a90ec8f5764ee0d046662 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T01:51:44.474Z] ---> job-cost.sh [2024-07-16T01:51:44.475Z] lf-activate-venv: SKIPPING [2024-07-16T01:51:44.475Z] INFO: No Stack... [2024-07-16T01:51:44.733Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-16T01:51:44.993Z] INFO: Archiving Costs [Pipeline] sh [2024-07-16T01:51:45.314Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives/cost.csv [2024-07-16T01:51:45.315Z] + cut -d, -f6 [Pipeline] lock [2024-07-16T01:51:45.365Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [2024-07-16T01:51:45.371Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] did not exist. Created. [2024-07-16T01:51:45.378Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-16T01:51:45.804Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-16T01:51:45.863Z] Stashed 1 file(s) [Pipeline] } [2024-07-16T01:51:45.898Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-16T01:51:45.999Z] $ docker stop --time=1 ebed5c4841f7a460f1086647f549cb00dadb3be1616a90ec8f5764ee0d046662 [2024-07-16T01:51:47.154Z] $ docker rm -f --volumes ebed5c4841f7a460f1086647f549cb00dadb3be1616a90ec8f5764ee0d046662 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-16T01:52:36.679Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5684 in /w/workspace/gexfoundry_device-mqtt-go_PR-681 [Pipeline] { [Pipeline] ws [2024-07-16T01:52:36.757Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-07-16T01:52:39.871Z] The recommended git tool is: git [2024-07-16T01:52:48.106Z] using credential edgex-jenkins-ssh [2024-07-16T01:52:48.129Z] Cloning the remote Git repository [2024-07-16T01:52:48.187Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-16T01:52:48.299Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-07-16T01:52:48.648Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-16T01:52:48.650Z] > git --version # timeout=10 [2024-07-16T01:52:48.715Z] > git --version # 'git version 2.25.1' [2024-07-16T01:52:48.719Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-16T01:52:49.017Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-16T01:52:51.789Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-07-16T01:52:51.827Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-16T01:52:53.751Z] Merging remotes/origin/main commit 35de5baf133cb3849b13998f5bd615ef0c638656 into PR head commit 37c3516207616416876b79a04c14ca3c1827ec71 [2024-07-16T01:52:53.110Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-07-16T01:52:53.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-16T01:52:53.160Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-16T01:52:53.189Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/681/head:refs/remotes/origin/PR-681 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-07-16T01:52:53.769Z] > git config core.sparsecheckout # timeout=10 [2024-07-16T01:52:54.103Z] Merge succeeded, producing 37c3516207616416876b79a04c14ca3c1827ec71 [2024-07-16T01:52:54.104Z] Checking out Revision 37c3516207616416876b79a04c14ca3c1827ec71 (PR-681) [2024-07-16T01:52:54.826Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-07-16T01:52:54.918Z] > git --version # timeout=10 [2024-07-16T01:52:54.934Z] > git --version # 'git version 2.25.1' [2024-07-16T01:52:54.950Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-16T01:52:53.847Z] > git checkout -f 37c3516207616416876b79a04c14ca3c1827ec71 # timeout=10 [2024-07-16T01:52:53.966Z] > git remote # timeout=10 [2024-07-16T01:52:53.988Z] > git config --get remote.origin.url # timeout=10 [2024-07-16T01:52:54.015Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-16T01:52:54.041Z] > git merge 35de5baf133cb3849b13998f5bd615ef0c638656 # timeout=10 [2024-07-16T01:52:54.080Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-07-16T01:52:54.109Z] > git config core.sparsecheckout # timeout=10 [2024-07-16T01:52:54.127Z] > git checkout -f 37c3516207616416876b79a04c14ca3c1827ec71 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-16T01:53:00.160Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-16T01:53:00.160Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-16T01:53:00.160Z] Dload Upload Total Spent Left Speed [2024-07-16T01:53:00.160Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95731 0 --:--:-- --:--:-- --:--:-- 95731 [Pipeline] sh [2024-07-16T01:53:00.517Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-16T01:53:00.866Z] + sudo tee /etc/docker/daemon.new [2024-07-16T01:53:00.866Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-16T01:53:00.866Z] { [2024-07-16T01:53:00.866Z] "registry-mirrors": [ [2024-07-16T01:53:00.866Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-16T01:53:00.866Z] ], [2024-07-16T01:53:00.866Z] "bip": "10.250.0.254/24", [2024-07-16T01:53:00.866Z] "hosts": [ [2024-07-16T01:53:00.866Z] "tcp://0.0.0.0:5555", [2024-07-16T01:53:00.866Z] "unix:///var/run/docker.sock" [2024-07-16T01:53:00.866Z] ], [2024-07-16T01:53:00.866Z] "mtu": 1458, [2024-07-16T01:53:00.866Z] "selinux-enabled": true, [2024-07-16T01:53:00.866Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-16T01:53:00.866Z] } [Pipeline] sh [2024-07-16T01:53:01.217Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-16T01:53:01.565Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-16T01:53:19.927Z] provisioning config files... [2024-07-16T01:53:19.969Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config16181151361017059431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T01:53:20.520Z] ---> ****-login.sh [2024-07-16T01:53:20.520Z] nexus3.edgexfoundry.org:10001 [2024-07-16T01:53:21.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:53:21.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:53:21.372Z] Configure a credential helper to remove this warning. See [2024-07-16T01:53:21.372Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:53:21.372Z] [2024-07-16T01:53:21.372Z] Login Succeeded [2024-07-16T01:53:21.372Z] nexus3.edgexfoundry.org:10002 [2024-07-16T01:53:21.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:53:21.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:53:21.643Z] Configure a credential helper to remove this warning. See [2024-07-16T01:53:21.643Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:53:21.643Z] [2024-07-16T01:53:21.643Z] Login Succeeded [2024-07-16T01:53:21.643Z] nexus3.edgexfoundry.org:10003 [2024-07-16T01:53:21.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:53:21.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:53:21.916Z] Configure a credential helper to remove this warning. See [2024-07-16T01:53:21.916Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:53:21.916Z] [2024-07-16T01:53:21.916Z] Login Succeeded [2024-07-16T01:53:21.916Z] nexus3.edgexfoundry.org:10004 [2024-07-16T01:53:22.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:53:22.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:53:22.186Z] Configure a credential helper to remove this warning. See [2024-07-16T01:53:22.186Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:53:22.186Z] [2024-07-16T01:53:22.186Z] Login Succeeded [2024-07-16T01:53:22.186Z] ****.io [2024-07-16T01:53:22.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-16T01:53:22.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-16T01:53:22.728Z] Configure a credential helper to remove this warning. See [2024-07-16T01:53:22.728Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-16T01:53:22.728Z] [2024-07-16T01:53:22.728Z] Login Succeeded [2024-07-16T01:53:22.728Z] ---> ****-login.sh ends [Pipeline] } [2024-07-16T01:53:22.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-16T01:53:23.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-16T01:53:23.309Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-16T01:53:23.360Z] ========================================================= [2024-07-16T01:53:23.360Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-16T01:53:23.360Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:53:23.910Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-16T01:53:24.180Z] Sending build context to Docker daemon 10.62MB [2024-07-16T01:53:24.457Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-16T01:53:24.457Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-16T01:53:24.457Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-16T01:53:24.457Z] c6b39de5b339: Pulling fs layer [2024-07-16T01:53:24.457Z] a69c41024577: Pulling fs layer [2024-07-16T01:53:24.457Z] d6de4b400683: Pulling fs layer [2024-07-16T01:53:24.457Z] 35cb2a7552d0: Pulling fs layer [2024-07-16T01:53:24.457Z] 4f4fb700ef54: Pulling fs layer [2024-07-16T01:53:24.457Z] 464afbd9ba4c: Pulling fs layer [2024-07-16T01:53:24.457Z] 00f215d4a9da: Pulling fs layer [2024-07-16T01:53:24.457Z] d496ad576159: Pulling fs layer [2024-07-16T01:53:24.457Z] 464afbd9ba4c: Waiting [2024-07-16T01:53:24.457Z] 00f215d4a9da: Waiting [2024-07-16T01:53:24.457Z] d496ad576159: Waiting [2024-07-16T01:53:24.457Z] 35cb2a7552d0: Waiting [2024-07-16T01:53:24.457Z] 4f4fb700ef54: Waiting [2024-07-16T01:53:24.457Z] a69c41024577: Verifying Checksum [2024-07-16T01:53:24.457Z] a69c41024577: Download complete [2024-07-16T01:53:24.457Z] 35cb2a7552d0: Verifying Checksum [2024-07-16T01:53:24.457Z] 35cb2a7552d0: Download complete [2024-07-16T01:53:24.457Z] 4f4fb700ef54: Verifying Checksum [2024-07-16T01:53:24.457Z] 4f4fb700ef54: Download complete [2024-07-16T01:53:24.732Z] 464afbd9ba4c: Verifying Checksum [2024-07-16T01:53:24.732Z] 464afbd9ba4c: Download complete [2024-07-16T01:53:24.732Z] c6b39de5b339: Verifying Checksum [2024-07-16T01:53:24.732Z] c6b39de5b339: Download complete [2024-07-16T01:53:25.004Z] d496ad576159: Verifying Checksum [2024-07-16T01:53:25.004Z] d496ad576159: Download complete [2024-07-16T01:53:25.595Z] c6b39de5b339: Pull complete [2024-07-16T01:53:26.182Z] a69c41024577: Pull complete [2024-07-16T01:53:26.448Z] d6de4b400683: Verifying Checksum [2024-07-16T01:53:26.448Z] d6de4b400683: Download complete [2024-07-16T01:53:27.863Z] 00f215d4a9da: Verifying Checksum [2024-07-16T01:53:27.863Z] 00f215d4a9da: Download complete [2024-07-16T01:53:40.174Z] d6de4b400683: Pull complete [2024-07-16T01:53:40.174Z] 35cb2a7552d0: Pull complete [2024-07-16T01:53:40.174Z] 4f4fb700ef54: Pull complete [2024-07-16T01:53:40.174Z] 464afbd9ba4c: Pull complete [2024-07-16T01:53:48.380Z] 00f215d4a9da: Pull complete [2024-07-16T01:53:50.322Z] d496ad576159: Pull complete [2024-07-16T01:53:50.322Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-16T01:53:50.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-16T01:53:50.322Z] ---> f246e2811388 [2024-07-16T01:53:50.322Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-16T01:53:52.265Z] ---> Running in c542db9ea794 [2024-07-16T01:53:52.265Z] Removing intermediate container c542db9ea794 [2024-07-16T01:53:52.265Z] ---> c5f721a74edc [2024-07-16T01:53:52.265Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-16T01:53:52.265Z] ---> Running in 4cecf9efb7fe [2024-07-16T01:53:54.231Z] Removing intermediate container 4cecf9efb7fe [2024-07-16T01:53:54.231Z] ---> 0ef702980f25 [2024-07-16T01:53:54.231Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-16T01:53:54.231Z] ---> Running in ad70da091b6e [2024-07-16T01:53:54.231Z] Removing intermediate container ad70da091b6e [2024-07-16T01:53:54.231Z] ---> d0dced50779a [2024-07-16T01:53:54.231Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-16T01:53:54.231Z] ---> Running in 29a040df12cd [2024-07-16T01:53:54.503Z] Removing intermediate container 29a040df12cd [2024-07-16T01:53:54.504Z] ---> 2bc1b1f9a5e8 [2024-07-16T01:53:54.504Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-16T01:53:54.771Z] ---> Running in 1753a9c82cfa [2024-07-16T01:53:55.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-16T01:53:56.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-16T01:53:57.303Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-16T01:53:57.303Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-16T01:53:57.303Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-16T01:53:57.303Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-16T01:53:57.303Z] Executing busybox-1.36.1-r5.trigger [2024-07-16T01:53:57.303Z] OK: 271 MiB in 56 packages [2024-07-16T01:53:58.716Z] Removing intermediate container 1753a9c82cfa [2024-07-16T01:53:58.716Z] ---> ba5cb679b95c [2024-07-16T01:53:58.716Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-16T01:53:58.716Z] ---> Running in b4fc59402cac [2024-07-16T01:53:58.988Z] Removing intermediate container b4fc59402cac [2024-07-16T01:53:58.988Z] ---> e3a4b8efefca [2024-07-16T01:53:58.988Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-16T01:53:59.574Z] ---> 63a24c691f4f [2024-07-16T01:53:59.574Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-16T01:53:59.574Z] ---> Running in 7ac37d13f1b3 [2024-07-16T01:56:06.279Z] Removing intermediate container 7ac37d13f1b3 [2024-07-16T01:56:06.279Z] ---> 9bb196051807 [2024-07-16T01:56:06.279Z] Step 11/12 : COPY . . [2024-07-16T01:56:06.279Z] ---> 202e93ead547 [2024-07-16T01:56:06.279Z] Step 12/12 : RUN $MAKE [2024-07-16T01:56:06.279Z] ---> Running in e0c3be65b8e4 [2024-07-16T01:56:06.279Z] noop [2024-07-16T01:56:06.279Z] Removing intermediate container e0c3be65b8e4 [2024-07-16T01:56:06.279Z] ---> 78f4d70437c6 [2024-07-16T01:56:06.279Z] Successfully built 78f4d70437c6 [2024-07-16T01:56:06.279Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:56:06.805Z] + docker inspect -f . ci-base-image-arm64 [2024-07-16T01:56:06.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T01:56:07.135Z] prd-ubuntu20.04-docker-arm64-4c-16g-5684 does not seem to be running inside a container [2024-07-16T01:56:07.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-16T01:56:08.433Z] $ docker top 72199b1d607e8af57fd5b30a663dabbfbb643b57f375493bfb799e2d04aa3737 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T01:56:09.331Z] + go version [2024-07-16T01:56:09.331Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-16T01:56:09.374Z] $ docker stop --time=1 72199b1d607e8af57fd5b30a663dabbfbb643b57f375493bfb799e2d04aa3737 [2024-07-16T01:56:10.956Z] $ docker rm -f --volumes 72199b1d607e8af57fd5b30a663dabbfbb643b57f375493bfb799e2d04aa3737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T01:56:12.006Z] + docker inspect -f . ci-base-image-arm64 [2024-07-16T01:56:12.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T01:56:12.295Z] prd-ubuntu20.04-docker-arm64-4c-16g-5684 does not seem to be running inside a container [2024-07-16T01:56:12.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-07-16T01:56:13.631Z] $ docker top e53d2a2b806eef4a0ed9b488b2e5f10f9e25667443377abd5d598fdf6d841dff -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T01:56:14.558Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-07-16T01:56:15.295Z] + make test [2024-07-16T01:56:15.295Z] go test ./... -coverprofile=coverage.out ./... [2024-07-16T01:56:21.947Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-16T01:59:43.742Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-16T01:59:47.079Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-16T01:59:47.079Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 22.8% of statements [2024-07-16T01:59:48.031Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-16T01:59:48.031Z] go vet ./... [2024-07-16T02:00:35.543Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-16T02:00:35.543Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-16T02:00:35.543Z] ./bin/test-attribution-txt.sh [2024-07-16T02:00:35.543Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-16T02:00:35.543Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-16T02:00:35.544Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-16T02:00:35.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-16T02:00:35.635Z] $ docker stop --time=1 e53d2a2b806eef4a0ed9b488b2e5f10f9e25667443377abd5d598fdf6d841dff [2024-07-16T02:00:37.459Z] $ docker rm -f --volumes e53d2a2b806eef4a0ed9b488b2e5f10f9e25667443377abd5d598fdf6d841dff [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-16T02:00:38.976Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-16T02:00:39.017Z] Warning: overwriting stash ‘coverage-report’ [2024-07-16T02:00:39.445Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-16T02:00:40.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-16T02:00:40.388Z] + ls -al . [2024-07-16T02:00:40.388Z] total 248 [2024-07-16T02:00:40.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 01:56 . [2024-07-16T02:00:40.388Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 16 01:52 .. [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 16 01:52 .dockerignore [2024-07-16T02:00:40.388Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 16 01:52 .git [2024-07-16T02:00:40.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:52 .github [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 16 01:52 .gitignore [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 16 01:52 .golangci.yml [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 16 01:52 Attribution.txt [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 16 01:52 CHANGELOG.md [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 16 01:52 Dockerfile [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 16 01:52 GOVERNANCE.md [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 16 01:52 Jenkinsfile [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 16 01:52 LICENSE [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 16 01:52 Makefile [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 16 01:52 OWNERS.md [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 16 01:52 README.md [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 16 01:48 VERSION [2024-07-16T02:00:40.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 01:52 bin [2024-07-16T02:00:40.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:52 cmd [2024-07-16T02:00:40.388Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 16 01:59 coverage.out [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 7064 Jul 16 01:52 go.mod [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 101928 Jul 16 01:52 go.sum [2024-07-16T02:00:40.388Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 16 01:52 internal [2024-07-16T02:00:40.388Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 16 01:52 mock [2024-07-16T02:00:40.388Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 16 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T02:00:40.830Z] + 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=37c3516207616416876b79a04c14ca3c1827ec71 --label arch=arm64 --label version=0.0.0 . [2024-07-16T02:00:41.416Z] Sending build context to Docker daemon 10.64MB [2024-07-16T02:00:41.416Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-16T02:00:41.416Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-16T02:00:41.416Z] ---> 78f4d70437c6 [2024-07-16T02:00:41.416Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-16T02:00:41.416Z] ---> Running in 0e4642974a1c [2024-07-16T02:00:41.684Z] Removing intermediate container 0e4642974a1c [2024-07-16T02:00:41.684Z] ---> 951e37239a8a [2024-07-16T02:00:41.684Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-16T02:00:41.950Z] ---> Running in dfa7bc808dd0 [2024-07-16T02:00:42.216Z] Removing intermediate container dfa7bc808dd0 [2024-07-16T02:00:42.216Z] ---> 5502d5eb2dfe [2024-07-16T02:00:42.216Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-16T02:00:42.216Z] ---> Running in ca8e85abbee8 [2024-07-16T02:00:42.482Z] Removing intermediate container ca8e85abbee8 [2024-07-16T02:00:42.482Z] ---> 0b353a2ef8ef [2024-07-16T02:00:42.482Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-16T02:00:42.482Z] ---> Running in 5b91d9823cf9 [2024-07-16T02:00:42.749Z] Removing intermediate container 5b91d9823cf9 [2024-07-16T02:00:42.749Z] ---> 53ca3567fbd7 [2024-07-16T02:00:42.749Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-16T02:00:43.021Z] ---> Running in 985e298526b3 [2024-07-16T02:00:43.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-16T02:00:44.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-16T02:00:45.211Z] OK: 271 MiB in 56 packages [2024-07-16T02:00:46.168Z] Removing intermediate container 985e298526b3 [2024-07-16T02:00:46.168Z] ---> 914db30ddd85 [2024-07-16T02:00:46.168Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-16T02:00:46.168Z] ---> Running in 72a021e067c6 [2024-07-16T02:00:46.439Z] Removing intermediate container 72a021e067c6 [2024-07-16T02:00:46.439Z] ---> d55482141204 [2024-07-16T02:00:46.439Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-16T02:00:47.030Z] ---> fe188ae4c0db [2024-07-16T02:00:47.030Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-16T02:00:47.030Z] ---> Running in 84ecc8dd6bfa [2024-07-16T02:00:49.610Z] Removing intermediate container 84ecc8dd6bfa [2024-07-16T02:00:49.610Z] ---> 0f6e63e9581a [2024-07-16T02:00:49.610Z] Step 11/25 : COPY . . [2024-07-16T02:00:50.564Z] ---> e34bd88e33ca [2024-07-16T02:00:50.564Z] Step 12/25 : RUN $MAKE [2024-07-16T02:00:50.564Z] ---> Running in d3097251dcfa [2024-07-16T02:00:51.522Z] 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.24" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-16T02:04:28.263Z] Removing intermediate container d3097251dcfa [2024-07-16T02:04:28.263Z] ---> 421c00aa9e18 [2024-07-16T02:04:28.263Z] Step 13/25 : FROM alpine:3.18 [2024-07-16T02:04:28.263Z] 3.18: Pulling from library/alpine [2024-07-16T02:04:28.263Z] 5c905c7ebe2f: Pulling fs layer [2024-07-16T02:04:28.263Z] 5c905c7ebe2f: Download complete [2024-07-16T02:04:28.263Z] 5c905c7ebe2f: Pull complete [2024-07-16T02:04:28.263Z] Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d [2024-07-16T02:04:28.263Z] Status: Downloaded newer image for alpine:3.18 [2024-07-16T02:04:28.263Z] ---> dec292d02e07 [2024-07-16T02:04:28.263Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-16T02:04:28.263Z] ---> Running in ec31e1d03a37 [2024-07-16T02:04:28.263Z] Removing intermediate container ec31e1d03a37 [2024-07-16T02:04:28.263Z] ---> 1feeff6aee63 [2024-07-16T02:04:28.263Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-16T02:04:28.263Z] ---> Running in 4afbbbb59104 [2024-07-16T02:04:28.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-16T02:04:28.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-16T02:04:28.263Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-16T02:04:28.263Z] Executing busybox-1.36.1-r7.trigger [2024-07-16T02:04:28.263Z] OK: 8 MiB in 16 packages [2024-07-16T02:04:28.263Z] Removing intermediate container 4afbbbb59104 [2024-07-16T02:04:28.263Z] ---> 998e537f8749 [2024-07-16T02:04:28.263Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-16T02:04:28.263Z] ---> Running in 0de02356310e [2024-07-16T02:04:28.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-16T02:04:28.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-16T02:04:28.263Z] (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-16T02:04:28.263Z] (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) [2024-07-16T02:04:28.263Z] OK: 8 MiB in 16 packages [2024-07-16T02:04:28.263Z] Removing intermediate container 0de02356310e [2024-07-16T02:04:28.263Z] ---> 6e7d873c8b22 [2024-07-16T02:04:28.263Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-16T02:04:28.528Z] ---> 36f50719c6b4 [2024-07-16T02:04:28.528Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-16T02:04:29.113Z] ---> 25dd9b3f0422 [2024-07-16T02:04:29.113Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-16T02:04:29.385Z] ---> e4daf35537f6 [2024-07-16T02:04:29.385Z] Step 20/25 : EXPOSE 59982 [2024-07-16T02:04:29.654Z] ---> Running in c882e806a49a [2024-07-16T02:04:29.924Z] Removing intermediate container c882e806a49a [2024-07-16T02:04:29.924Z] ---> 62585fbcdf92 [2024-07-16T02:04:29.924Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-16T02:04:29.924Z] ---> Running in 616596f66477 [2024-07-16T02:04:30.199Z] Removing intermediate container 616596f66477 [2024-07-16T02:04:30.199Z] ---> e69073adba25 [2024-07-16T02:04:30.199Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-16T02:04:30.476Z] ---> Running in 6270b7f6644a [2024-07-16T02:04:30.743Z] Removing intermediate container 6270b7f6644a [2024-07-16T02:04:30.743Z] ---> aa2ffc6e3ad6 [2024-07-16T02:04:30.743Z] Step 23/25 : LABEL arch=arm64 [2024-07-16T02:04:30.743Z] ---> Running in 463034e7f2e6 [2024-07-16T02:04:31.011Z] Removing intermediate container 463034e7f2e6 [2024-07-16T02:04:31.011Z] ---> 9ac55a89aa38 [2024-07-16T02:04:31.011Z] Step 24/25 : LABEL git_sha=37c3516207616416876b79a04c14ca3c1827ec71 [2024-07-16T02:04:31.011Z] ---> Running in 5d2a9eeb7eca [2024-07-16T02:04:31.279Z] Removing intermediate container 5d2a9eeb7eca [2024-07-16T02:04:31.279Z] ---> 7d37ead77ae3 [2024-07-16T02:04:31.279Z] Step 25/25 : LABEL version=0.0.0 [2024-07-16T02:04:31.546Z] ---> Running in 5c69c385e073 [2024-07-16T02:04:31.813Z] Removing intermediate container 5c69c385e073 [2024-07-16T02:04:31.813Z] ---> e81f31728bff [2024-07-16T02:04:31.813Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-16T02:04:31.813Z] Successfully built e81f31728bff [2024-07-16T02:04:31.813Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T02:04:32.756Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-16T02:04:32.756Z] [2024-07-16T02:04:32.756Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T02:04:33.187Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-16T02:04:33.187Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-16T02:04:33.187Z] 8998bd30e6a1: Pulling fs layer [2024-07-16T02:04:33.187Z] 04944245beec: Pulling fs layer [2024-07-16T02:04:33.187Z] 699f458cf7ca: Pulling fs layer [2024-07-16T02:04:33.187Z] 765212b225bb: Pulling fs layer [2024-07-16T02:04:33.187Z] f23df028b6ca: Pulling fs layer [2024-07-16T02:04:33.187Z] d65c8cfc05b1: Pulling fs layer [2024-07-16T02:04:33.187Z] 2437ff75d9bd: Pulling fs layer [2024-07-16T02:04:33.187Z] d65c8cfc05b1: Waiting [2024-07-16T02:04:33.187Z] 2437ff75d9bd: Waiting [2024-07-16T02:04:33.187Z] f23df028b6ca: Waiting [2024-07-16T02:04:33.455Z] 04944245beec: Verifying Checksum [2024-07-16T02:04:33.455Z] 04944245beec: Download complete [2024-07-16T02:04:33.455Z] 765212b225bb: Download complete [2024-07-16T02:04:33.455Z] f23df028b6ca: Verifying Checksum [2024-07-16T02:04:33.455Z] f23df028b6ca: Download complete [2024-07-16T02:04:33.455Z] d65c8cfc05b1: Verifying Checksum [2024-07-16T02:04:33.455Z] d65c8cfc05b1: Download complete [2024-07-16T02:04:33.725Z] 699f458cf7ca: Verifying Checksum [2024-07-16T02:04:33.725Z] 699f458cf7ca: Download complete [2024-07-16T02:04:33.991Z] 8998bd30e6a1: Verifying Checksum [2024-07-16T02:04:33.991Z] 8998bd30e6a1: Download complete [2024-07-16T02:04:36.575Z] 2437ff75d9bd: Verifying Checksum [2024-07-16T02:04:36.575Z] 2437ff75d9bd: Download complete [2024-07-16T02:04:39.158Z] 8998bd30e6a1: Pull complete [2024-07-16T02:04:39.159Z] 04944245beec: Pull complete [2024-07-16T02:04:41.102Z] 699f458cf7ca: Pull complete [2024-07-16T02:04:41.102Z] 765212b225bb: Pull complete [2024-07-16T02:04:41.688Z] f23df028b6ca: Pull complete [2024-07-16T02:04:41.960Z] d65c8cfc05b1: Pull complete [2024-07-16T02:05:00.157Z] 2437ff75d9bd: Pull complete [2024-07-16T02:05:00.157Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-16T02:05:00.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-16T02:05:00.157Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T02:05:00.537Z] prd-ubuntu20.04-docker-arm64-4c-16g-5684 does not seem to be running inside a container [2024-07-16T02:05:00.594Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-07-16T02:05:03.191Z] $ docker top 06f8f2c9284525bf9f170ffa9adf64c55e177de56608c5f8edd5ca38fb4a922a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-16T02:05:03.807Z] ---> job-cost.sh [2024-07-16T02:05:04.074Z] lf-activate-venv: SKIPPING [2024-07-16T02:05:04.074Z] INFO: No Stack... [2024-07-16T02:05:04.341Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-16T02:05:05.298Z] INFO: Archiving Costs [Pipeline] sh [2024-07-16T02:05:05.968Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-07-16T02:05:05.968Z] + cut -d, -f6 [Pipeline] lock [2024-07-16T02:05:06.054Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [2024-07-16T02:05:06.060Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] did not exist. Created. [2024-07-16T02:05:06.069Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-16T02:05:06.830Z] /w/workspace/device-mqtt-go/1@tmp/durable-4f30262c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-16T02:05:07.500Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-16T02:05:07.542Z] Warning: overwriting stash ‘stack-cost’ [2024-07-16T02:05:07.584Z] Stashed 1 file(s) [Pipeline] } [2024-07-16T02:05:07.610Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-681-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-16T02:05:07.703Z] $ docker stop --time=1 06f8f2c9284525bf9f170ffa9adf64c55e177de56608c5f8edd5ca38fb4a922a [2024-07-16T02:05:09.190Z] $ docker rm -f --volumes 06f8f2c9284525bf9f170ffa9adf64c55e177de56608c5f8edd5ca38fb4a922a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-07-16T02:05:10.669Z] provisioning config files... [2024-07-16T02:05:10.676Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/config17633077888866682719tmp [Pipeline] { [Pipeline] sh [2024-07-16T02:05:11.048Z] + set +x [2024-07-16T02:05:11.048Z] + curl -s https://codecov.io/bash [2024-07-16T02:05:11.048Z] + bash -s -- [2024-07-16T02:05:11.048Z] [2024-07-16T02:05:11.048Z] _____ _ [2024-07-16T02:05:11.048Z] / ____| | | [2024-07-16T02:05:11.048Z] | | ___ __| | ___ ___ _____ __ [2024-07-16T02:05:11.048Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-16T02:05:11.048Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-16T02:05:11.048Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-16T02:05:11.048Z] Bash-1.0.6 [2024-07-16T02:05:11.048Z] [2024-07-16T02:05:11.048Z] [2024-07-16T02:05:11.048Z] ==> git version 2.25.1 found [2024-07-16T02:05:11.048Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-07-16T02:05:11.048Z] Release-Date: 2020-01-08 [2024-07-16T02:05:11.048Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-07-16T02:05:11.048Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-16T02:05:11.048Z] ==> Jenkins CI detected. [2024-07-16T02:05:11.048Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-681 [2024-07-16T02:05:11.048Z] project root: . [2024-07-16T02:05:11.048Z] --> token set from env [2024-07-16T02:05:11.048Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-16T02:05:11.309Z] ==> Running gcov in . (disable via -X gcov) [2024-07-16T02:05:11.309Z] ==> Python coveragepy not found [2024-07-16T02:05:11.309Z] ==> Searching for coverage reports in: [2024-07-16T02:05:11.309Z] + . [2024-07-16T02:05:11.309Z] -> Found 1 reports [2024-07-16T02:05:11.309Z] ==> Detecting git/mercurial file structure [2024-07-16T02:05:11.309Z] ==> Reading reports [2024-07-16T02:05:11.309Z] + ./coverage.out bytes=18506 [2024-07-16T02:05:11.309Z] ==> Appending adjustments [2024-07-16T02:05:11.309Z] https://docs.codecov.io/docs/fixing-reports [2024-07-16T02:05:11.309Z] + Found adjustments [2024-07-16T02:05:11.309Z] ==> Gzipping contents [2024-07-16T02:05:11.309Z] 4.0K /tmp/codecov.nVvffu.gz [2024-07-16T02:05:11.309Z] ==> Uploading reports [2024-07-16T02:05:11.309Z] url: https://codecov.io [2024-07-16T02:05:11.309Z] query: branch=PR-681&commit=37c3516207616416876b79a04c14ca3c1827ec71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-681%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=681&job=&cmd_args= [2024-07-16T02:05:11.309Z] -> Pinging Codecov [2024-07-16T02:05:11.309Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-681&commit=37c3516207616416876b79a04c14ca3c1827ec71&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-681%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=681&job=&cmd_args= [2024-07-16T02:05:11.569Z] -> Uploading to [2024-07-16T02:05:11.569Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-16/7D719EC7BBE17E464838252E33014C33/37c3516207616416876b79a04c14ca3c1827ec71/bb3d8d12-a6a1-4d3d-af4d-806c01d9417d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240716%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240716T020511Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=679dd10a01e1e594ff847611d7ea3cdb4b7b6b279a45b2ceda58eefced321bde [2024-07-16T02:05:11.569Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-16T02:05:11.569Z] Dload Upload Total Spent Left Speed [2024-07-16T02:05:11.831Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14658 --:--:-- --:--:-- --:--:-- 14588 100 3049 0 0 100 3049 0 12810 --:--:-- --:--:-- --:--:-- 12757 [2024-07-16T02:05:11.831Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/37c3516207616416876b79a04c14ca3c1827ec71 [Pipeline] } [2024-07-16T02:05:11.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-16T02:05:14.232Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives ] [2024-07-16T02:05:14.232Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives [2024-07-16T02:05:14.232Z] total 16 [2024-07-16T02:05:14.232Z] drwxr-xr-x 3 root root 4096 Jul 16 01:51 . [2024-07-16T02:05:14.232Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 01:51 .. [2024-07-16T02:05:14.232Z] drwxr-xr-x 2 root root 4096 Jul 16 01:51 cost [2024-07-16T02:05:14.232Z] -rw-r--r-- 1 root root 86 Jul 16 01:51 cost.csv [2024-07-16T02:05:14.232Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives [2024-07-16T02:05:14.232Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives [2024-07-16T02:05:14.232Z] total 16 [2024-07-16T02:05:14.232Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 16 01:51 . [2024-07-16T02:05:14.232Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 16 01:51 .. [2024-07-16T02:05:14.232Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 16 01:51 cost [2024-07-16T02:05:14.232Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 16 01:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-16T02:05:14.571Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T02:05:15.456Z] ---> package-listing.sh [2024-07-16T02:05:15.456Z] ++ facter osfamily [2024-07-16T02:05:15.456Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-16T02:05:15.713Z] + OS_FAMILY=debian [2024-07-16T02:05:15.713Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-681 [2024-07-16T02:05:15.713Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-16T02:05:15.714Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-16T02:05:15.714Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-16T02:05:15.714Z] + PACKAGES=/tmp/packages_start.txt [2024-07-16T02:05:15.714Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-681 ']' [2024-07-16T02:05:15.714Z] + PACKAGES=/tmp/packages_end.txt [2024-07-16T02:05:15.714Z] + case "${OS_FAMILY}" in [2024-07-16T02:05:15.714Z] + dpkg -l [2024-07-16T02:05:15.714Z] + grep '^ii' [2024-07-16T02:05:15.714Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-16T02:05:15.714Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-16T02:05:15.714Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-16T02:05:15.714Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-681 ']' [2024-07-16T02:05:15.714Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives/ [2024-07-16T02:05:15.714Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-681/archives/ [Pipeline] echo [2024-07-16T02:05:15.755Z] 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-681/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-07-16T02:05:16.051Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-16T02:05:16.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-16T02:05:16.705Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-16T02:05:16.890Z] prd-ubuntu20.04-docker-8c-8g-5683 does not seem to be running inside a container [2024-07-16T02:05:16.926Z] $ 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-681/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-681 -v /w/workspace/gexfoundry_device-mqtt-go_PR-681:/w/workspace/gexfoundry_device-mqtt-go_PR-681:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-07-16T02:05:17.096Z] $ docker top acffe6ba1504b20ec0773c25f89063f53c7a736ab82f09af3200d7ecef6b81c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-16T02:05:17.505Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-16T02:05:17.825Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-16T02:05:18.151Z] + ls /var/log/sa-host [2024-07-16T02:05:18.151Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-16T02:05:18.414Z] provisioning config files... [2024-07-16T02:05:18.424Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-681@tmp/config1310958181649126492tmp [Pipeline] { [Pipeline] echo [2024-07-16T02:05:18.511Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T02:05:18.840Z] ---> create-netrc.sh [Pipeline] } [2024-07-16T02:05:18.865Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-16T02:05:19.309Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-16T02:05:19.349Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T02:05:19.672Z] ---> sudo-logs.sh [2024-07-16T02:05:19.672Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-16T02:05:19.789Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T02:05:20.117Z] ---> job-cost.sh [2024-07-16T02:05:20.117Z] lf-activate-venv: SKIPPING [2024-07-16T02:05:20.117Z] DEBUG: total: 0.2199999988079071 [2024-07-16T02:05:20.117Z] INFO: Retrieving Stack Cost... [2024-07-16T02:05:20.687Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-16T02:05:20.949Z] INFO: Archiving Costs [Pipeline] echo [2024-07-16T02:05:20.989Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-16T02:05:21.315Z] ---> logs-deploy.sh [2024-07-16T02:05:21.315Z] lf-activate-venv: SKIPPING [2024-07-16T02:05:21.315Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-681/1 [2024-07-16T02:05:21.315Z] INFO: archiving workspace using pattern(s): [2024-07-16T02:05:22.254Z] Archives upload complete. [2024-07-16T02:05:22.254Z] INFO: archiving logs to Nexus