Pull request #693 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e9bba153e8771d63fb06d43cc3b08f0139580e5+cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb (ebf9d40ef64505dd80916857f280c3f40504d354) 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-ssh1314738062910268376.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh6644730614796743789.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 f3350a1713306dce7682ed7e37d5774890d03277 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-693/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-693/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1416152745745767341.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-693/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8486584490098973342.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh1850493477926938906.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-693/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-693/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17410618372309823744.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 f3350a1713306dce7682ed7e37d5774890d03277 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-9789 in /w/workspace/gexfoundry_device-mqtt-go_PR-693 [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-693 # 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 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit 3e9bba153e8771d63fb06d43cc3b08f0139580e5 Merge succeeded, producing 3e9bba153e8771d63fb06d43cc3b08f0139580e5 Checking out Revision 3e9bba153e8771d63fb06d43cc3b08f0139580e5 (PR-693) > 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/693/head:refs/remotes/origin/PR-693 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e9bba153e8771d63fb06d43cc3b08f0139580e5 # 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 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e9bba153e8771d63fb06d43cc3b08f0139580e5 # timeout=10 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 f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-09T01:36:32.052Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-09T01:36:32.280Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-09T01:36:32.398Z] ========================================================= [2024-09-09T01:36:32.398Z] EdgeX Global Pipelines Version Info [2024-09-09T01:36:32.398Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:36:33.536Z] ------------------- [2024-09-09T01:36:33.536Z] stable info: [2024-09-09T01:36:33.536Z] ------------------- [2024-09-09T01:36:33.536Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-09T01:36:33.536Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-09T01:36:33.536Z] Message: update stable to v1.0.263 [2024-09-09T01:36:33.797Z] ------------------- [2024-09-09T01:36:33.797Z] experimental info: [2024-09-09T01:36:33.797Z] ------------------- [2024-09-09T01:36:33.797Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-09T01:36:33.797Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-09T01:36:33.797Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-09T01:36:34.048Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-09-09T01:36:34.115Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-09-09T01:36:34.172Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-09T01:36:34.231Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-09T01:36:34.288Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-09T01:36:34.345Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-09T01:36:34.411Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-09T01:36:34.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-09-09T01:36:34.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-09T01:36:34.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-09T01:36:34.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-09T01:36:34.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-09-09T01:36:34.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-09T01:36:34.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-09T01:36:34.894Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-09T01:36:34.953Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-09-09T01:36:35.014Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-09T01:36:35.072Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-09T01:36:35.137Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-09T01:36:35.199Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-09T01:36:35.257Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-09-09T01:36:35.331Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-09-09T01:36:35.387Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-09T01:36:35.439Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-09T01:36:35.507Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-09T01:36:35.558Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-09T01:36:35.621Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-09T01:36:35.681Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-693 [Pipeline] echo [2024-09-09T01:36:35.745Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-693 [Pipeline] echo [2024-09-09T01:36:35.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-693 [Pipeline] echo [2024-09-09T01:36:35.856Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] echo [2024-09-09T01:36:35.918Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e9bba1 [Pipeline] echo [2024-09-09T01:36:35.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T01:36:36.120Z] provisioning config files... [2024-09-09T01:36:36.133Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/config11348355534292898359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:36:36.527Z] ---> ****-login.sh [2024-09-09T01:36:36.527Z] nexus3.edgexfoundry.org:10001 [2024-09-09T01:36:36.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:36.790Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:36.790Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:36.790Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:36.790Z] [2024-09-09T01:36:36.790Z] Login Succeeded [2024-09-09T01:36:36.790Z] nexus3.edgexfoundry.org:10002 [2024-09-09T01:36:37.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:37.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:37.051Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:37.051Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:37.051Z] [2024-09-09T01:36:37.051Z] Login Succeeded [2024-09-09T01:36:37.051Z] nexus3.edgexfoundry.org:10003 [2024-09-09T01:36:37.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:37.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:37.051Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:37.051Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:37.051Z] [2024-09-09T01:36:37.051Z] Login Succeeded [2024-09-09T01:36:37.051Z] nexus3.edgexfoundry.org:10004 [2024-09-09T01:36:37.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:37.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:37.311Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:37.312Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:37.312Z] [2024-09-09T01:36:37.312Z] Login Succeeded [2024-09-09T01:36:37.312Z] ****.io [2024-09-09T01:36:37.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:37.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:37.574Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:37.574Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:37.574Z] [2024-09-09T01:36:37.574Z] Login Succeeded [2024-09-09T01:36:37.574Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T01:36:37.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-09T01:36:38.345Z] + git rev-list -1 --merges 3e9bba153e8771d63fb06d43cc3b08f0139580e5~1..3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] echo [2024-09-09T01:36:38.406Z] -----------> git rev-list -1 --merges 3e9bba153e8771d63fb06d43cc3b08f0139580e5~1..3e9bba153e8771d63fb06d43cc3b08f0139580e5 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [false] [Pipeline] sh [2024-09-09T01:36:38.730Z] + git log --format=format:%s -1 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] echo [2024-09-09T01:36:38.780Z] ========================================================= [2024-09-09T01:36:38.780Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-09T01:36:38.780Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T01:36:39.276Z] + git log --format=format:%s -1 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] echo [2024-09-09T01:36:39.319Z] [semverPrep] GIT_COMMIT: 3e9bba153e8771d63fb06d43cc3b08f0139580e5, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-09-09T01:36:39.366Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-09T01:36:39.795Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-09T01:36:39.795Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-09T01:36:39.795Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-09T01:36:39.795Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-09T01:36:39.795Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-09T01:36:39.795Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-09T01:36:39.795Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:36:40.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T01:36:40.319Z] [2024-09-09T01:36:40.319Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:36:40.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T01:36:40.724Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-09T01:36:40.724Z] b85a868b505f: Pulling fs layer [2024-09-09T01:36:40.724Z] e2be974225ed: Pulling fs layer [2024-09-09T01:36:40.724Z] 339a4e72a1f5: Pulling fs layer [2024-09-09T01:36:40.724Z] 988bab9f4d93: Pulling fs layer [2024-09-09T01:36:40.724Z] 1469e6f7b9e6: Pulling fs layer [2024-09-09T01:36:40.724Z] eaf3925da568: Pulling fs layer [2024-09-09T01:36:40.724Z] 988bab9f4d93: Waiting [2024-09-09T01:36:40.724Z] 1469e6f7b9e6: Waiting [2024-09-09T01:36:40.724Z] bab4dde63d76: Pulling fs layer [2024-09-09T01:36:40.724Z] bde34c3a00c8: Pulling fs layer [2024-09-09T01:36:40.724Z] b352a97aabf1: Pulling fs layer [2024-09-09T01:36:40.724Z] 4872d77fe225: Pulling fs layer [2024-09-09T01:36:40.724Z] 5851b861e8e6: Pulling fs layer [2024-09-09T01:36:40.724Z] eaf3925da568: Waiting [2024-09-09T01:36:40.724Z] b352a97aabf1: Waiting [2024-09-09T01:36:40.724Z] 5851b861e8e6: Waiting [2024-09-09T01:36:40.724Z] 4872d77fe225: Waiting [2024-09-09T01:36:40.724Z] bab4dde63d76: Waiting [2024-09-09T01:36:40.724Z] bde34c3a00c8: Waiting [2024-09-09T01:36:40.724Z] e2be974225ed: Download complete [2024-09-09T01:36:40.724Z] 988bab9f4d93: Verifying Checksum [2024-09-09T01:36:40.724Z] 988bab9f4d93: Download complete [2024-09-09T01:36:40.993Z] 1469e6f7b9e6: Verifying Checksum [2024-09-09T01:36:40.993Z] 1469e6f7b9e6: Download complete [2024-09-09T01:36:40.993Z] eaf3925da568: Verifying Checksum [2024-09-09T01:36:40.993Z] eaf3925da568: Download complete [2024-09-09T01:36:40.993Z] 339a4e72a1f5: Verifying Checksum [2024-09-09T01:36:40.993Z] 339a4e72a1f5: Download complete [2024-09-09T01:36:40.993Z] bde34c3a00c8: Verifying Checksum [2024-09-09T01:36:40.993Z] bde34c3a00c8: Download complete [2024-09-09T01:36:40.993Z] b352a97aabf1: Verifying Checksum [2024-09-09T01:36:40.993Z] b352a97aabf1: Download complete [2024-09-09T01:36:40.993Z] 4872d77fe225: Verifying Checksum [2024-09-09T01:36:40.993Z] 4872d77fe225: Download complete [2024-09-09T01:36:40.993Z] 5851b861e8e6: Verifying Checksum [2024-09-09T01:36:40.993Z] b85a868b505f: Verifying Checksum [2024-09-09T01:36:40.993Z] b85a868b505f: Download complete [2024-09-09T01:36:41.264Z] bab4dde63d76: Verifying Checksum [2024-09-09T01:36:41.264Z] bab4dde63d76: Download complete [2024-09-09T01:36:42.202Z] b85a868b505f: Pull complete [2024-09-09T01:36:42.462Z] e2be974225ed: Pull complete [2024-09-09T01:36:43.033Z] 339a4e72a1f5: Pull complete [2024-09-09T01:36:43.033Z] 988bab9f4d93: Pull complete [2024-09-09T01:36:43.293Z] 1469e6f7b9e6: Pull complete [2024-09-09T01:36:43.555Z] eaf3925da568: Pull complete [2024-09-09T01:36:45.479Z] bab4dde63d76: Pull complete [2024-09-09T01:36:45.479Z] bde34c3a00c8: Pull complete [2024-09-09T01:36:45.479Z] b352a97aabf1: Pull complete [2024-09-09T01:36:45.743Z] 4872d77fe225: Pull complete [2024-09-09T01:36:45.743Z] 5851b861e8e6: Pull complete [2024-09-09T01:36:45.743Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-09T01:36:45.743Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-09T01:36:45.743Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T01:36:46.050Z] prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container [2024-09-09T01:36:46.079Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-09-09T01:36:50.406Z] $ docker top e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 -eo pid,comm [2024-09-09T01:36:50.464Z] 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-09-09T01:36:50.464Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-09T01:36:50.623Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-09T01:36:50.623Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-09T01:36:50.749Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-09T01:36:50.751Z] $ docker exec e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 ssh-agent [2024-09-09T01:36:50.856Z] SSH_AUTH_SOCK=/tmp/ssh-lhlRRogaWnW4/agent.33 [2024-09-09T01:36:50.856Z] SSH_AGENT_PID=39 [2024-09-09T01:36:50.863Z] Running ssh-add (command line suppressed) [2024-09-09T01:36:50.960Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/private_key_2835919043548952580.key (/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/private_key_2835919043548952580.key) [2024-09-09T01:36:50.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-09T01:36:51.324Z] + git tag --points-at HEAD [Pipeline] } [2024-09-09T01:36:51.356Z] $ docker exec --env ******** --env ******** e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 ssh-agent -k [2024-09-09T01:36:51.465Z] unset SSH_AUTH_SOCK; [2024-09-09T01:36:51.465Z] unset SSH_AGENT_PID; [2024-09-09T01:36:51.466Z] echo Agent pid 39 killed; [2024-09-09T01:36:51.478Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-09T01:36:51.605Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-09T01:36:51.605Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-09T01:36:51.714Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-09T01:36:51.716Z] $ docker exec e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 ssh-agent [2024-09-09T01:36:51.829Z] SSH_AUTH_SOCK=/tmp/ssh-Bv1qabKognkr/agent.73 [2024-09-09T01:36:51.829Z] SSH_AGENT_PID=79 [2024-09-09T01:36:51.835Z] Running ssh-add (command line suppressed) [2024-09-09T01:36:51.929Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/private_key_12901054039337685277.key (/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/private_key_12901054039337685277.key) [2024-09-09T01:36:51.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-09T01:36:52.299Z] + git semver init [2024-09-09T01:36:52.559Z] 2024-09-09 01:36:52,485 [run_init] DEBUG init version:0.0.0 force:False [2024-09-09T01:36:52.559Z] 2024-09-09 01:36:52,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver [2024-09-09T01:36:52.559Z] 2024-09-09 01:36:52,486 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver [2024-09-09T01:36:52.559Z] 2024-09-09 01:36:52,486 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-693, universal_newlines=False, shell=None, istream=None) [2024-09-09T01:36:54.468Z] 2024-09-09 01:36:54,174 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693/.git/info/exclude [2024-09-09T01:36:54.468Z] 2024-09-09 01:36:54,175 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver/PR-693 with force:False [2024-09-09T01:36:54.468Z] 2024-09-09 01:36:54,175 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver/PR-693 [2024-09-09T01:36:54.468Z] 2024-09-09 01:36:54,179 [execute] INFO git cat-file --batch-check [2024-09-09T01:36:54.468Z] 2024-09-09 01:36:54,180 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver, universal_newlines=False, shell=None, istream=) [2024-09-09T01:36:54.468Z] 2024-09-09 01:36:54,188 [execute] INFO git cat-file --batch [2024-09-09T01:36:54.468Z] 2024-09-09 01:36:54,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver, universal_newlines=False, shell=None, istream=) [2024-09-09T01:36:54.468Z] 2024-09-09 01:36:54,195 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-693/.semver/PR-693 [2024-09-09T01:36:54.468Z] 0.0.0 [Pipeline] } [2024-09-09T01:36:54.499Z] $ docker exec --env ******** --env ******** e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 ssh-agent -k [2024-09-09T01:36:54.613Z] unset SSH_AUTH_SOCK; [2024-09-09T01:36:54.614Z] unset SSH_AGENT_PID; [2024-09-09T01:36:54.614Z] echo Agent pid 79 killed; [2024-09-09T01:36:54.624Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-09T01:36:55.096Z] + git semver [Pipeline] } [2024-09-09T01:36:55.381Z] $ docker stop --time=1 e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 [2024-09-09T01:36:56.682Z] $ docker rm -f --volumes e9f78498a41fc6b349f0e5c4c72335a395794eb8247fdbce45493faadb46e7c7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T01:36:57.130Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-09T01:36:57.484Z] Stashed 1 file(s) [Pipeline] echo [2024-09-09T01:36:57.518Z] [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-09-09T01:36:58.299Z] provisioning config files... [2024-09-09T01:36:58.309Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/config17796088935525613187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:36:58.682Z] ---> ****-login.sh [2024-09-09T01:36:58.682Z] nexus3.edgexfoundry.org:10001 [2024-09-09T01:36:58.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:58.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:58.682Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:58.682Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:58.682Z] [2024-09-09T01:36:58.682Z] Login Succeeded [2024-09-09T01:36:58.682Z] nexus3.edgexfoundry.org:10002 [2024-09-09T01:36:58.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:58.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:58.682Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:58.682Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:58.682Z] [2024-09-09T01:36:58.682Z] Login Succeeded [2024-09-09T01:36:58.682Z] nexus3.edgexfoundry.org:10003 [2024-09-09T01:36:58.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:58.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:58.943Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:58.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:58.944Z] [2024-09-09T01:36:58.944Z] Login Succeeded [2024-09-09T01:36:58.944Z] nexus3.edgexfoundry.org:10004 [2024-09-09T01:36:58.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:58.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:58.944Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:58.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:58.944Z] [2024-09-09T01:36:58.944Z] Login Succeeded [2024-09-09T01:36:58.944Z] ****.io [2024-09-09T01:36:59.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:36:59.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:36:59.207Z] Configure a credential helper to remove this warning. See [2024-09-09T01:36:59.207Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:36:59.207Z] [2024-09-09T01:36:59.207Z] Login Succeeded [2024-09-09T01:36:59.207Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T01:36:59.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-09T01:36:59.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T01:36:59.559Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T01:36:59.609Z] ========================================================= [2024-09-09T01:36:59.609Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-09T01:36:59.609Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:37:00.137Z] + 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-09-09T01:37:00.137Z] Sending build context to Docker daemon 20.84MB [2024-09-09T01:37:00.137Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T01:37:00.137Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-09T01:37:00.397Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-09T01:37:00.397Z] 619be1103602: Pulling fs layer [2024-09-09T01:37:00.397Z] 7862e08f4a3e: Pulling fs layer [2024-09-09T01:37:00.397Z] 5df492c9dc93: Pulling fs layer [2024-09-09T01:37:00.397Z] 7629e6793208: Pulling fs layer [2024-09-09T01:37:00.397Z] 4f4fb700ef54: Pulling fs layer [2024-09-09T01:37:00.397Z] fb5054dd5b73: Pulling fs layer [2024-09-09T01:37:00.397Z] eeca6798cff9: Pulling fs layer [2024-09-09T01:37:00.397Z] aa269ceb94a6: Pulling fs layer [2024-09-09T01:37:00.397Z] ada007ff1a6a: Pulling fs layer [2024-09-09T01:37:00.397Z] eeca6798cff9: Waiting [2024-09-09T01:37:00.397Z] 7629e6793208: Waiting [2024-09-09T01:37:00.397Z] fb5054dd5b73: Waiting [2024-09-09T01:37:00.397Z] 4f4fb700ef54: Waiting [2024-09-09T01:37:00.397Z] aa269ceb94a6: Waiting [2024-09-09T01:37:00.397Z] ada007ff1a6a: Waiting [2024-09-09T01:37:00.397Z] 7862e08f4a3e: Download complete [2024-09-09T01:37:00.397Z] 7629e6793208: Verifying Checksum [2024-09-09T01:37:00.397Z] 7629e6793208: Download complete [2024-09-09T01:37:00.397Z] 4f4fb700ef54: Download complete [2024-09-09T01:37:00.397Z] fb5054dd5b73: Verifying Checksum [2024-09-09T01:37:00.397Z] fb5054dd5b73: Download complete [2024-09-09T01:37:00.397Z] 619be1103602: Download complete [2024-09-09T01:37:00.397Z] eeca6798cff9: Verifying Checksum [2024-09-09T01:37:00.397Z] eeca6798cff9: Download complete [2024-09-09T01:37:00.658Z] 619be1103602: Pull complete [2024-09-09T01:37:00.658Z] ada007ff1a6a: Verifying Checksum [2024-09-09T01:37:00.658Z] ada007ff1a6a: Download complete [2024-09-09T01:37:00.658Z] 7862e08f4a3e: Pull complete [2024-09-09T01:37:00.916Z] 5df492c9dc93: Verifying Checksum [2024-09-09T01:37:00.916Z] 5df492c9dc93: Download complete [2024-09-09T01:37:01.175Z] aa269ceb94a6: Verifying Checksum [2024-09-09T01:37:01.175Z] aa269ceb94a6: Download complete [2024-09-09T01:37:04.478Z] 5df492c9dc93: Pull complete [2024-09-09T01:37:04.478Z] 7629e6793208: Pull complete [2024-09-09T01:37:04.478Z] 4f4fb700ef54: Pull complete [2024-09-09T01:37:04.478Z] fb5054dd5b73: Pull complete [2024-09-09T01:37:04.478Z] eeca6798cff9: Pull complete [2024-09-09T01:37:07.010Z] aa269ceb94a6: Pull complete [2024-09-09T01:37:07.269Z] ada007ff1a6a: Pull complete [2024-09-09T01:37:07.269Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-09T01:37:07.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-09T01:37:07.269Z] ---> f489d0715acc [2024-09-09T01:37:07.270Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-09-09T01:37:10.559Z] ---> Running in 0aa3c8dce1cf [2024-09-09T01:37:10.559Z] Removing intermediate container 0aa3c8dce1cf [2024-09-09T01:37:10.559Z] ---> 99214203ab2d [2024-09-09T01:37:10.559Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T01:37:10.559Z] ---> Running in 962ad6ccb1d2 [2024-09-09T01:37:10.559Z] Removing intermediate container 962ad6ccb1d2 [2024-09-09T01:37:10.559Z] ---> 93a436cca45d [2024-09-09T01:37:10.559Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T01:37:10.559Z] ---> Running in 4e94ac300c6d [2024-09-09T01:37:10.559Z] Removing intermediate container 4e94ac300c6d [2024-09-09T01:37:10.559Z] ---> f0b3ec7a5f8d [2024-09-09T01:37:10.559Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T01:37:10.559Z] ---> Running in 953900606a55 [2024-09-09T01:37:10.559Z] Removing intermediate container 953900606a55 [2024-09-09T01:37:10.559Z] ---> 9035fa8cf826 [2024-09-09T01:37:10.559Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T01:37:10.559Z] ---> Running in 72020d7c5123 [2024-09-09T01:37:10.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T01:37:11.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T01:37:11.337Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-09T01:37:11.337Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-09T01:37:11.337Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-09T01:37:11.337Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-09T01:37:11.337Z] Executing busybox-1.36.1-r5.trigger [2024-09-09T01:37:11.337Z] OK: 268 MiB in 56 packages [2024-09-09T01:37:11.905Z] Removing intermediate container 72020d7c5123 [2024-09-09T01:37:11.905Z] ---> 8c3cfa4edc77 [2024-09-09T01:37:11.905Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-09-09T01:37:11.905Z] ---> Running in e0565a0506fd [2024-09-09T01:37:11.905Z] Removing intermediate container e0565a0506fd [2024-09-09T01:37:11.905Z] ---> 5398e232ff71 [2024-09-09T01:37:11.905Z] Step 9/12 : COPY go.mod vendor* ./ [2024-09-09T01:37:12.167Z] ---> 92e937c65b77 [2024-09-09T01:37:12.167Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T01:37:12.167Z] ---> Running in c4a3e07e4d96 [2024-09-09T01:37:13.077Z] Still waiting to schedule task [2024-09-09T01:37:13.078Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9787’ [2024-09-09T01:38:08.452Z] Removing intermediate container c4a3e07e4d96 [2024-09-09T01:38:08.453Z] ---> 9851cb372c99 [2024-09-09T01:38:08.453Z] Step 11/12 : COPY . . [2024-09-09T01:38:08.453Z] ---> cb7f84fe2710 [2024-09-09T01:38:08.453Z] Step 12/12 : RUN $MAKE [2024-09-09T01:38:08.453Z] ---> Running in 9b82553fd205 [2024-09-09T01:38:08.453Z] noop [2024-09-09T01:38:08.453Z] Removing intermediate container 9b82553fd205 [2024-09-09T01:38:08.453Z] ---> 8297e417aa8d [2024-09-09T01:38:08.453Z] Successfully built 8297e417aa8d [2024-09-09T01:38:08.453Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:38:08.972Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-09T01:38:08.972Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T01:38:09.142Z] prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container [2024-09-09T01:38:09.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-09T01:38:09.554Z] $ docker top 6441ea50848432f123c4923c115510962b72a02e7f0f8c9f6536f11b9ee53b3f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T01:38:09.971Z] + go version [2024-09-09T01:38:09.971Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-09T01:38:10.010Z] $ docker stop --time=1 6441ea50848432f123c4923c115510962b72a02e7f0f8c9f6536f11b9ee53b3f [2024-09-09T01:38:11.679Z] $ docker rm -f --volumes 6441ea50848432f123c4923c115510962b72a02e7f0f8c9f6536f11b9ee53b3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:38:12.599Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-09T01:38:12.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T01:38:12.800Z] prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container [2024-09-09T01:38:12.828Z] $ 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-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-09-09T01:38:13.187Z] $ docker top 1dfcfb9cdeb6c78a9654f6de395d6e4060444751888da7afc48f0048c78d6086 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T01:38:13.610Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-693 [Pipeline] fileExists [Pipeline] sh [2024-09-09T01:38:13.996Z] + make test [2024-09-09T01:38:13.996Z] go test ./... -coverprofile=coverage.out ./... [2024-09-09T01:38:15.920Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-09-09T01:38:37.863Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-09-09T01:38:37.863Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-09-09T01:38:37.864Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 22.8% of statements [2024-09-09T01:38:45.235Z] go vet ./... [2024-09-09T01:38:51.825Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-09T01:38:51.825Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-09T01:38:51.825Z] ./bin/test-attribution-txt.sh [2024-09-09T01:38:51.825Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-09-09T01:38:51.825Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-09-09T01:38:51.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-09T01:38:51.960Z] $ docker stop --time=1 1dfcfb9cdeb6c78a9654f6de395d6e4060444751888da7afc48f0048c78d6086 [2024-09-09T01:38:57.036Z] $ docker rm -f --volumes 1dfcfb9cdeb6c78a9654f6de395d6e4060444751888da7afc48f0048c78d6086 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T01:39:00.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-09T01:39:00.729Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-09T01:39:01.734Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-09T01:39:02.056Z] + ls -al . [2024-09-09T01:39:02.056Z] total 252 [2024-09-09T01:39:02.056Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 9 01:38 . [2024-09-09T01:39:02.056Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 01:36 .. [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 01:36 .dockerignore [2024-09-09T01:39:02.056Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 01:38 .git [2024-09-09T01:39:02.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:36 .github [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 01:36 .gitignore [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 01:36 .golangci.yml [2024-09-09T01:39:02.056Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 01:36 .semver [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 9 01:36 Attribution.txt [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 18574 Sep 9 01:36 CHANGELOG.md [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 1798 Sep 9 01:36 Dockerfile [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 01:36 GOVERNANCE.md [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 9 01:36 Jenkinsfile [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 01:36 LICENSE [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 9 01:36 Makefile [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 01:36 OWNERS.md [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 3599 Sep 9 01:36 README.md [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 01:36 VERSION [2024-09-09T01:39:02.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 01:36 bin [2024-09-09T01:39:02.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:36 cmd [2024-09-09T01:39:02.056Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 9 01:38 coverage.out [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 7066 Sep 9 01:36 go.mod [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 01:36 go.sum [2024-09-09T01:39:02.056Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:36 internal [2024-09-09T01:39:02.056Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 01:36 mock [2024-09-09T01:39:02.056Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 9 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:39:03.005Z] + 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=3e9bba153e8771d63fb06d43cc3b08f0139580e5 --label arch=amd64 --label version=0.0.0 . [2024-09-09T01:39:03.005Z] Sending build context to Docker daemon 20.86MB [2024-09-09T01:39:03.005Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T01:39:03.005Z] Step 2/25 : FROM ${BASE} AS builder [2024-09-09T01:39:03.005Z] ---> 8297e417aa8d [2024-09-09T01:39:03.005Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-09-09T01:39:03.573Z] ---> Running in 2b2500f57766 [2024-09-09T01:39:03.831Z] Removing intermediate container 2b2500f57766 [2024-09-09T01:39:03.831Z] ---> 3405d33a71be [2024-09-09T01:39:03.831Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T01:39:03.831Z] ---> Running in 9988663839af [2024-09-09T01:39:03.831Z] Removing intermediate container 9988663839af [2024-09-09T01:39:03.831Z] ---> 443dd834b16c [2024-09-09T01:39:03.831Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T01:39:03.831Z] ---> Running in 2d4b530bfb5e [2024-09-09T01:39:03.831Z] Removing intermediate container 2d4b530bfb5e [2024-09-09T01:39:03.831Z] ---> 324cd2291eed [2024-09-09T01:39:03.831Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T01:39:03.831Z] ---> Running in e86449f79a7a [2024-09-09T01:39:04.090Z] Removing intermediate container e86449f79a7a [2024-09-09T01:39:04.090Z] ---> 394afd5f45e8 [2024-09-09T01:39:04.090Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T01:39:04.090Z] ---> Running in 99891e8e1559 [2024-09-09T01:39:04.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T01:39:04.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T01:39:04.608Z] OK: 268 MiB in 56 packages [2024-09-09T01:39:04.866Z] Removing intermediate container 99891e8e1559 [2024-09-09T01:39:04.866Z] ---> bd67c0d22d18 [2024-09-09T01:39:04.866Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-09-09T01:39:04.866Z] ---> Running in 2e24249df195 [2024-09-09T01:39:04.866Z] Removing intermediate container 2e24249df195 [2024-09-09T01:39:04.866Z] ---> eb42bfde4e40 [2024-09-09T01:39:04.866Z] Step 9/25 : COPY go.mod vendor* ./ [2024-09-09T01:39:05.125Z] ---> 3ff2eb42d10a [2024-09-09T01:39:05.125Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T01:39:05.125Z] ---> Running in 0ac98f936117 [2024-09-09T01:39:05.692Z] Removing intermediate container 0ac98f936117 [2024-09-09T01:39:05.692Z] ---> 52014e5c110e [2024-09-09T01:39:05.692Z] Step 11/25 : COPY . . [2024-09-09T01:39:06.631Z] ---> 8698f914f0c2 [2024-09-09T01:39:06.631Z] Step 12/25 : RUN $MAKE [2024-09-09T01:39:06.631Z] ---> Running in 43c36a66136d [2024-09-09T01:39:06.889Z] 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.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-09-09T01:39:53.559Z] Removing intermediate container 43c36a66136d [2024-09-09T01:39:53.559Z] ---> f210218fd714 [2024-09-09T01:39:53.559Z] Step 13/25 : FROM alpine:3.18 [2024-09-09T01:39:53.559Z] 3.18: Pulling from library/alpine [2024-09-09T01:39:53.559Z] 1cc3d825d8b2: Pulling fs layer [2024-09-09T01:39:53.559Z] 1cc3d825d8b2: Verifying Checksum [2024-09-09T01:39:53.559Z] 1cc3d825d8b2: Download complete [2024-09-09T01:39:53.559Z] 1cc3d825d8b2: Pull complete [2024-09-09T01:39:53.559Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-09T01:39:53.559Z] Status: Downloaded newer image for alpine:3.18 [2024-09-09T01:39:53.559Z] ---> 2c64cf60f6f0 [2024-09-09T01:39:53.559Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-09-09T01:39:53.559Z] ---> Running in 1beec7b1ffbf [2024-09-09T01:39:53.559Z] Removing intermediate container 1beec7b1ffbf [2024-09-09T01:39:53.559Z] ---> eb0d5457b734 [2024-09-09T01:39:53.559Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-09-09T01:39:53.559Z] ---> Running in 901febd16fe3 [2024-09-09T01:39:53.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T01:39:53.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T01:39:53.559Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-09T01:39:53.559Z] Executing busybox-1.36.1-r7.trigger [2024-09-09T01:39:53.559Z] OK: 7 MiB in 16 packages [2024-09-09T01:39:53.559Z] Removing intermediate container 901febd16fe3 [2024-09-09T01:39:53.559Z] ---> 54f5b4f40518 [2024-09-09T01:39:53.559Z] Step 16/25 : RUN apk --no-cache upgrade [2024-09-09T01:39:53.559Z] ---> Running in 0f77afed0820 [2024-09-09T01:39:53.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-09T01:39:53.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-09T01:39:53.559Z] OK: 7 MiB in 16 packages [2024-09-09T01:39:53.559Z] Removing intermediate container 0f77afed0820 [2024-09-09T01:39:53.559Z] ---> 96586643e180 [2024-09-09T01:39:53.559Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-09-09T01:39:53.559Z] ---> 185e522e4109 [2024-09-09T01:39:53.559Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-09-09T01:39:53.559Z] ---> 580c11b0524c [2024-09-09T01:39:53.559Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-09-09T01:39:53.559Z] ---> 8810901940b4 [2024-09-09T01:39:53.559Z] Step 20/25 : EXPOSE 59982 [2024-09-09T01:39:53.559Z] ---> Running in 6fe347f619b4 [2024-09-09T01:39:53.559Z] Removing intermediate container 6fe347f619b4 [2024-09-09T01:39:53.559Z] ---> 3244dce5936b [2024-09-09T01:39:53.559Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-09-09T01:39:53.559Z] ---> Running in 268f3886d82b [2024-09-09T01:39:53.559Z] Removing intermediate container 268f3886d82b [2024-09-09T01:39:53.559Z] ---> ac0add99ad59 [2024-09-09T01:39:53.559Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-09T01:39:53.559Z] ---> Running in fde119b32b4c [2024-09-09T01:39:53.559Z] Removing intermediate container fde119b32b4c [2024-09-09T01:39:53.559Z] ---> 9400da0448e1 [2024-09-09T01:39:53.559Z] Step 23/25 : LABEL arch=amd64 [2024-09-09T01:39:53.559Z] ---> Running in fa2d7a62bf16 [2024-09-09T01:39:53.559Z] Removing intermediate container fa2d7a62bf16 [2024-09-09T01:39:53.559Z] ---> cafe54039216 [2024-09-09T01:39:53.559Z] Step 24/25 : LABEL git_sha=3e9bba153e8771d63fb06d43cc3b08f0139580e5 [2024-09-09T01:39:53.559Z] ---> Running in bf339758e78e [2024-09-09T01:39:53.559Z] Removing intermediate container bf339758e78e [2024-09-09T01:39:53.559Z] ---> d25a2d495ade [2024-09-09T01:39:53.559Z] Step 25/25 : LABEL version=0.0.0 [2024-09-09T01:39:53.559Z] ---> Running in 61042de3ac4d [2024-09-09T01:39:53.559Z] Removing intermediate container 61042de3ac4d [2024-09-09T01:39:53.559Z] ---> e38971113c82 [2024-09-09T01:39:53.559Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-09T01:39:53.559Z] Successfully built e38971113c82 [2024-09-09T01:39:53.559Z] 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-09-09T01:39:54.613Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T01:39:54.613Z] [2024-09-09T01:39:54.613Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:39:55.120Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T01:39:55.120Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-09T01:39:55.120Z] 5eb5b503b376: Pulling fs layer [2024-09-09T01:39:55.120Z] 5c69ac0246d0: Pulling fs layer [2024-09-09T01:39:55.120Z] ec43610c2a17: Pulling fs layer [2024-09-09T01:39:55.120Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-09T01:39:55.120Z] 33b1e0a273af: Pulling fs layer [2024-09-09T01:39:55.120Z] 5d3b04190fa2: Pulling fs layer [2024-09-09T01:39:55.120Z] 2f39f015ded8: Pulling fs layer [2024-09-09T01:39:55.120Z] 3a2ae6a8a46f: Waiting [2024-09-09T01:39:55.120Z] 33b1e0a273af: Waiting [2024-09-09T01:39:55.120Z] 5d3b04190fa2: Waiting [2024-09-09T01:39:55.382Z] 5c69ac0246d0: Verifying Checksum [2024-09-09T01:39:55.382Z] 5c69ac0246d0: Download complete [2024-09-09T01:39:55.382Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-09T01:39:55.382Z] 3a2ae6a8a46f: Download complete [2024-09-09T01:39:55.382Z] 33b1e0a273af: Verifying Checksum [2024-09-09T01:39:55.382Z] 33b1e0a273af: Download complete [2024-09-09T01:39:55.382Z] 5d3b04190fa2: Verifying Checksum [2024-09-09T01:39:55.382Z] 5d3b04190fa2: Download complete [2024-09-09T01:39:55.382Z] ec43610c2a17: Verifying Checksum [2024-09-09T01:39:55.382Z] ec43610c2a17: Download complete [2024-09-09T01:39:55.382Z] 5eb5b503b376: Verifying Checksum [2024-09-09T01:39:55.382Z] 5eb5b503b376: Download complete [2024-09-09T01:39:56.320Z] 2f39f015ded8: Download complete [2024-09-09T01:39:56.894Z] 5eb5b503b376: Pull complete [2024-09-09T01:39:56.894Z] 5c69ac0246d0: Pull complete [2024-09-09T01:39:57.460Z] ec43610c2a17: Pull complete [2024-09-09T01:39:57.460Z] 3a2ae6a8a46f: Pull complete [2024-09-09T01:39:57.720Z] 33b1e0a273af: Pull complete [2024-09-09T01:39:57.720Z] 5d3b04190fa2: Pull complete [2024-09-09T01:40:01.907Z] 2f39f015ded8: Pull complete [2024-09-09T01:40:01.907Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-09T01:40:01.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T01:40:01.907Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T01:40:05.630Z] prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container [2024-09-09T01:40:05.657Z] $ 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-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@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-09-09T01:40:09.788Z] $ docker top f1e288bfe3ffc5057476a1622d05eba62c3a21189d5093aa07391c05994a0f9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:40:10.321Z] ---> job-cost.sh [2024-09-09T01:40:10.321Z] lf-activate-venv: SKIPPING [2024-09-09T01:40:10.321Z] INFO: No Stack... [2024-09-09T01:40:10.580Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-09T01:40:11.149Z] INFO: Archiving Costs [Pipeline] sh [2024-09-09T01:40:11.474Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives/cost.csv [2024-09-09T01:40:11.474Z] + cut -d, -f6 [Pipeline] lock [2024-09-09T01:40:11.525Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [2024-09-09T01:40:11.531Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] did not exist. Created. [2024-09-09T01:40:11.538Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-09T01:40:12.049Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-09T01:40:12.138Z] Stashed 1 file(s) [Pipeline] } [2024-09-09T01:40:12.166Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-09T01:40:12.253Z] $ docker stop --time=1 f1e288bfe3ffc5057476a1622d05eba62c3a21189d5093aa07391c05994a0f9d [2024-09-09T01:40:13.423Z] $ docker rm -f --volumes f1e288bfe3ffc5057476a1622d05eba62c3a21189d5093aa07391c05994a0f9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-09T01:41:00.629Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9790 in /w/workspace/gexfoundry_device-mqtt-go_PR-693 [Pipeline] { [Pipeline] ws [2024-09-09T01:41:00.708Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-09-09T01:41:00.817Z] The recommended git tool is: git [2024-09-09T01:41:09.188Z] using credential edgex-jenkins-ssh [2024-09-09T01:41:09.213Z] Cloning the remote Git repository [2024-09-09T01:41:09.266Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-09-09T01:41:09.410Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-09-09T01:41:09.734Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-09-09T01:41:09.736Z] > git --version # timeout=10 [2024-09-09T01:41:09.759Z] > git --version # 'git version 2.25.1' [2024-09-09T01:41:09.762Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T01:41:10.242Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-09T01:41:13.175Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-09-09T01:41:13.233Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-09T01:41:14.443Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-09-09T01:41:14.496Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-09-09T01:41:14.497Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T01:41:14.524Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/693/head:refs/remotes/origin/PR-693 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-09T01:41:15.136Z] Merging remotes/origin/main commit cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [2024-09-09T01:41:15.545Z] Merge succeeded, producing 3e9bba153e8771d63fb06d43cc3b08f0139580e5 [2024-09-09T01:41:15.546Z] Checking out Revision 3e9bba153e8771d63fb06d43cc3b08f0139580e5 (PR-693) [2024-09-09T01:41:16.169Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-09-09T01:41:15.153Z] > git config core.sparsecheckout # timeout=10 [2024-09-09T01:41:15.253Z] > git checkout -f 3e9bba153e8771d63fb06d43cc3b08f0139580e5 # timeout=10 [2024-09-09T01:41:15.368Z] > git remote # timeout=10 [2024-09-09T01:41:15.404Z] > git config --get remote.origin.url # timeout=10 [2024-09-09T01:41:15.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-09T01:41:15.453Z] > git merge cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 [2024-09-09T01:41:15.494Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-09T01:41:15.553Z] > git config core.sparsecheckout # timeout=10 [2024-09-09T01:41:15.567Z] > git checkout -f 3e9bba153e8771d63fb06d43cc3b08f0139580e5 # timeout=10 [2024-09-09T01:41:16.219Z] > git --version # timeout=10 [2024-09-09T01:41:16.231Z] > git --version # 'git version 2.25.1' [2024-09-09T01:41:16.245Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T01:41:21.271Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-09T01:41:21.271Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-09T01:41:21.271Z] Dload Upload Total Spent Left Speed [2024-09-09T01:41:21.271Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 93635 0 --:--:-- --:--:-- --:--:-- 93635 [Pipeline] sh [2024-09-09T01:41:21.614Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-09T01:41:21.963Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-09-09T01:41:21.963Z] /etc/docker/daemon.new [2024-09-09T01:41:21.963Z] { [2024-09-09T01:41:21.964Z] "registry-mirrors": [ [2024-09-09T01:41:21.964Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-09T01:41:21.964Z] ], [2024-09-09T01:41:21.964Z] "bip": "10.250.0.254/24", [2024-09-09T01:41:21.964Z] "hosts": [ [2024-09-09T01:41:21.964Z] "tcp://0.0.0.0:5555", [2024-09-09T01:41:21.964Z] "unix:///var/run/docker.sock" [2024-09-09T01:41:21.964Z] ], [2024-09-09T01:41:21.964Z] "mtu": 1458, [2024-09-09T01:41:21.964Z] "selinux-enabled": true, [2024-09-09T01:41:21.964Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-09T01:41:21.964Z] } [Pipeline] sh [2024-09-09T01:41:22.314Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-09T01:41:22.664Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T01:41:41.015Z] provisioning config files... [2024-09-09T01:41:41.046Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3353828249935992391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:41:41.537Z] ---> ****-login.sh [2024-09-09T01:41:41.537Z] nexus3.edgexfoundry.org:10001 [2024-09-09T01:41:41.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:41:42.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:41:42.457Z] Configure a credential helper to remove this warning. See [2024-09-09T01:41:42.457Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:41:42.457Z] [2024-09-09T01:41:42.458Z] Login Succeeded [2024-09-09T01:41:42.458Z] nexus3.edgexfoundry.org:10002 [2024-09-09T01:41:42.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:41:42.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:41:42.727Z] Configure a credential helper to remove this warning. See [2024-09-09T01:41:42.727Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:41:42.727Z] [2024-09-09T01:41:42.727Z] Login Succeeded [2024-09-09T01:41:42.727Z] nexus3.edgexfoundry.org:10003 [2024-09-09T01:41:43.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:41:43.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:41:43.000Z] Configure a credential helper to remove this warning. See [2024-09-09T01:41:43.000Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:41:43.000Z] [2024-09-09T01:41:43.000Z] Login Succeeded [2024-09-09T01:41:43.000Z] nexus3.edgexfoundry.org:10004 [2024-09-09T01:41:43.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:41:43.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:41:43.536Z] Configure a credential helper to remove this warning. See [2024-09-09T01:41:43.536Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:41:43.536Z] [2024-09-09T01:41:43.536Z] Login Succeeded [2024-09-09T01:41:43.536Z] ****.io [2024-09-09T01:41:43.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-09T01:41:44.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-09T01:41:44.074Z] Configure a credential helper to remove this warning. See [2024-09-09T01:41:44.074Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-09T01:41:44.074Z] [2024-09-09T01:41:44.074Z] Login Succeeded [2024-09-09T01:41:44.074Z] ---> ****-login.sh ends [Pipeline] } [2024-09-09T01:41:44.111Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-09T01:41:44.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T01:41:44.665Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-09T01:41:44.715Z] ========================================================= [2024-09-09T01:41:44.715Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-09T01:41:44.715Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:41:45.293Z] + 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-09-09T01:41:45.564Z] Sending build context to Docker daemon 10.53MB [2024-09-09T01:41:45.850Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T01:41:45.850Z] Step 2/12 : FROM ${BASE} AS builder [2024-09-09T01:41:45.850Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-09T01:41:45.850Z] c6b39de5b339: Pulling fs layer [2024-09-09T01:41:45.850Z] a69c41024577: Pulling fs layer [2024-09-09T01:41:45.850Z] d6de4b400683: Pulling fs layer [2024-09-09T01:41:45.850Z] 35cb2a7552d0: Pulling fs layer [2024-09-09T01:41:45.850Z] 4f4fb700ef54: Pulling fs layer [2024-09-09T01:41:45.850Z] 464afbd9ba4c: Pulling fs layer [2024-09-09T01:41:45.850Z] 00f215d4a9da: Pulling fs layer [2024-09-09T01:41:45.850Z] d496ad576159: Pulling fs layer [2024-09-09T01:41:45.850Z] 35cb2a7552d0: Waiting [2024-09-09T01:41:45.850Z] 4f4fb700ef54: Waiting [2024-09-09T01:41:45.850Z] 464afbd9ba4c: Waiting [2024-09-09T01:41:45.850Z] 00f215d4a9da: Waiting [2024-09-09T01:41:45.850Z] d496ad576159: Waiting [2024-09-09T01:41:45.850Z] a69c41024577: Verifying Checksum [2024-09-09T01:41:45.850Z] a69c41024577: Download complete [2024-09-09T01:41:45.850Z] 35cb2a7552d0: Verifying Checksum [2024-09-09T01:41:45.850Z] 35cb2a7552d0: Download complete [2024-09-09T01:41:45.850Z] 4f4fb700ef54: Download complete [2024-09-09T01:41:46.122Z] 464afbd9ba4c: Verifying Checksum [2024-09-09T01:41:46.122Z] 464afbd9ba4c: Download complete [2024-09-09T01:41:46.122Z] c6b39de5b339: Download complete [2024-09-09T01:41:46.396Z] d496ad576159: Verifying Checksum [2024-09-09T01:41:46.396Z] d496ad576159: Download complete [2024-09-09T01:41:47.358Z] c6b39de5b339: Pull complete [2024-09-09T01:41:47.626Z] a69c41024577: Pull complete [2024-09-09T01:41:47.893Z] d6de4b400683: Verifying Checksum [2024-09-09T01:41:47.893Z] d6de4b400683: Download complete [2024-09-09T01:41:49.304Z] 00f215d4a9da: Verifying Checksum [2024-09-09T01:41:49.304Z] 00f215d4a9da: Download complete [2024-09-09T01:42:01.627Z] d6de4b400683: Pull complete [2024-09-09T01:42:01.627Z] 35cb2a7552d0: Pull complete [2024-09-09T01:42:01.627Z] 4f4fb700ef54: Pull complete [2024-09-09T01:42:01.627Z] 464afbd9ba4c: Pull complete [2024-09-09T01:42:08.273Z] 00f215d4a9da: Pull complete [2024-09-09T01:42:10.217Z] d496ad576159: Pull complete [2024-09-09T01:42:10.217Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-09T01:42:10.217Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-09T01:42:10.217Z] ---> f246e2811388 [2024-09-09T01:42:10.217Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-09-09T01:42:10.804Z] ---> Running in c36546cac62d [2024-09-09T01:42:11.070Z] Removing intermediate container c36546cac62d [2024-09-09T01:42:11.070Z] ---> b465937f6375 [2024-09-09T01:42:11.070Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T01:42:11.070Z] ---> Running in b721c1dc3377 [2024-09-09T01:42:11.343Z] Removing intermediate container b721c1dc3377 [2024-09-09T01:42:11.343Z] ---> 4c67096b3604 [2024-09-09T01:42:11.343Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T01:42:11.610Z] ---> Running in 591fb551480b [2024-09-09T01:42:11.878Z] Removing intermediate container 591fb551480b [2024-09-09T01:42:11.878Z] ---> ffa3cf94129d [2024-09-09T01:42:11.878Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T01:42:11.878Z] ---> Running in 4804d20fbc0a [2024-09-09T01:42:12.146Z] Removing intermediate container 4804d20fbc0a [2024-09-09T01:42:12.147Z] ---> 3d30922271ea [2024-09-09T01:42:12.147Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T01:42:12.413Z] ---> Running in 60366e3aa641 [2024-09-09T01:42:13.379Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T01:42:13.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T01:42:14.558Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-09-09T01:42:14.558Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-09-09T01:42:14.827Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-09-09T01:42:14.827Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-09-09T01:42:14.827Z] Executing busybox-1.36.1-r5.trigger [2024-09-09T01:42:14.827Z] OK: 271 MiB in 56 packages [2024-09-09T01:42:15.807Z] Removing intermediate container 60366e3aa641 [2024-09-09T01:42:15.807Z] ---> 992fab35d636 [2024-09-09T01:42:15.807Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-09-09T01:42:16.080Z] ---> Running in e44ec7f37acc [2024-09-09T01:42:16.350Z] Removing intermediate container e44ec7f37acc [2024-09-09T01:42:16.350Z] ---> 5660628f1588 [2024-09-09T01:42:16.350Z] Step 9/12 : COPY go.mod vendor* ./ [2024-09-09T01:42:18.300Z] ---> 57029c19b7e2 [2024-09-09T01:42:18.300Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T01:42:18.300Z] ---> Running in bac923163977 [2024-09-09T01:44:25.002Z] Removing intermediate container bac923163977 [2024-09-09T01:44:25.002Z] ---> aa847a06977a [2024-09-09T01:44:25.002Z] Step 11/12 : COPY . . [2024-09-09T01:44:25.002Z] ---> c1e9642bc555 [2024-09-09T01:44:25.002Z] Step 12/12 : RUN $MAKE [2024-09-09T01:44:25.002Z] ---> Running in 0fd3d1df26f2 [2024-09-09T01:44:25.002Z] noop [2024-09-09T01:44:25.002Z] Removing intermediate container 0fd3d1df26f2 [2024-09-09T01:44:25.002Z] ---> c5cc3021840b [2024-09-09T01:44:25.002Z] Successfully built c5cc3021840b [2024-09-09T01:44:25.002Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:44:25.517Z] + docker inspect -f . ci-base-image-arm64 [2024-09-09T01:44:25.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T01:44:25.814Z] prd-ubuntu20.04-docker-arm64-4c-16g-9790 does not seem to be running inside a container [2024-09-09T01:44:25.875Z] $ 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-09-09T01:44:27.148Z] $ docker top 2deb087226421501e30df0964443272d3814da52066a6f487ecf7d6f755b5c21 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T01:44:28.057Z] + go version [2024-09-09T01:44:28.057Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-09T01:44:28.093Z] $ docker stop --time=1 2deb087226421501e30df0964443272d3814da52066a6f487ecf7d6f755b5c21 [2024-09-09T01:44:29.701Z] $ docker rm -f --volumes 2deb087226421501e30df0964443272d3814da52066a6f487ecf7d6f755b5c21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:44:30.680Z] + docker inspect -f . ci-base-image-arm64 [2024-09-09T01:44:30.680Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T01:44:30.958Z] prd-ubuntu20.04-docker-arm64-4c-16g-9790 does not seem to be running inside a container [2024-09-09T01:44:31.022Z] $ 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-09-09T01:44:32.210Z] $ docker top 2049c2327f17ec2757f9c61490547f125f400666f75551d914a8622ff425bd89 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T01:44:33.143Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-09-09T01:44:33.879Z] + make test [2024-09-09T01:44:33.879Z] go test ./... -coverprofile=coverage.out ./... [2024-09-09T01:44:40.533Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-09-09T01:48:17.418Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-09-09T01:48:17.418Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-09-09T01:48:17.418Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.050s coverage: 22.8% of statements [2024-09-09T01:48:17.418Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-09T01:48:17.418Z] go vet ./... [2024-09-09T01:48:56.324Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-09T01:48:56.324Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-09T01:48:56.324Z] ./bin/test-attribution-txt.sh [2024-09-09T01:48:56.324Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-09-09T01:48:56.324Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-09-09T01:48:56.380Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-09T01:48:56.423Z] $ docker stop --time=1 2049c2327f17ec2757f9c61490547f125f400666f75551d914a8622ff425bd89 [2024-09-09T01:48:58.402Z] $ docker rm -f --volumes 2049c2327f17ec2757f9c61490547f125f400666f75551d914a8622ff425bd89 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-09T01:49:00.052Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-09T01:49:00.088Z] Warning: overwriting stash ‘coverage-report’ [2024-09-09T01:49:00.661Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-09T01:49:01.338Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-09T01:49:01.696Z] + ls -al . [2024-09-09T01:49:01.696Z] total 248 [2024-09-09T01:49:01.696Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 01:44 . [2024-09-09T01:49:01.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 9 01:41 .. [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 9 01:41 .dockerignore [2024-09-09T01:49:01.696Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 9 01:41 .git [2024-09-09T01:49:01.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:41 .github [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 264 Sep 9 01:41 .gitignore [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 9 01:41 .golangci.yml [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 10386 Sep 9 01:41 Attribution.txt [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 18574 Sep 9 01:41 CHANGELOG.md [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 1798 Sep 9 01:41 Dockerfile [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 9 01:41 GOVERNANCE.md [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 9 01:41 Jenkinsfile [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 9 01:41 LICENSE [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 1963 Sep 9 01:41 Makefile [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 9 01:41 OWNERS.md [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 3599 Sep 9 01:41 README.md [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 9 01:36 VERSION [2024-09-09T01:49:01.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 01:41 bin [2024-09-09T01:49:01.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:41 cmd [2024-09-09T01:49:01.696Z] -rw-r--r-- 1 jenkins jenkins 18506 Sep 9 01:48 coverage.out [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 7066 Sep 9 01:41 go.mod [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 101675 Sep 9 01:41 go.sum [2024-09-09T01:49:01.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 9 01:41 internal [2024-09-09T01:49:01.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 9 01:41 mock [2024-09-09T01:49:01.696Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 9 01:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:49:02.148Z] + 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=3e9bba153e8771d63fb06d43cc3b08f0139580e5 --label arch=arm64 --label version=0.0.0 . [2024-09-09T01:49:02.419Z] Sending build context to Docker daemon 10.55MB [2024-09-09T01:49:02.687Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-09-09T01:49:02.687Z] Step 2/25 : FROM ${BASE} AS builder [2024-09-09T01:49:02.688Z] ---> c5cc3021840b [2024-09-09T01:49:02.688Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-09-09T01:49:02.688Z] ---> Running in a4c577fd494f [2024-09-09T01:49:02.961Z] Removing intermediate container a4c577fd494f [2024-09-09T01:49:02.961Z] ---> c413b65ab5d1 [2024-09-09T01:49:02.961Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-09-09T01:49:03.228Z] ---> Running in 73c9f289ce29 [2024-09-09T01:49:03.500Z] Removing intermediate container 73c9f289ce29 [2024-09-09T01:49:03.500Z] ---> e9130712a492 [2024-09-09T01:49:03.500Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-09-09T01:49:03.500Z] ---> Running in 7634677a1f51 [2024-09-09T01:49:03.769Z] Removing intermediate container 7634677a1f51 [2024-09-09T01:49:03.769Z] ---> cd4ab30a833e [2024-09-09T01:49:03.769Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-09-09T01:49:04.037Z] ---> Running in c199a1b4fb47 [2024-09-09T01:49:04.305Z] Removing intermediate container c199a1b4fb47 [2024-09-09T01:49:04.305Z] ---> dec72648ba07 [2024-09-09T01:49:04.305Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-09-09T01:49:04.305Z] ---> Running in 07f93fd88644 [2024-09-09T01:49:05.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T01:49:05.729Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T01:49:06.688Z] OK: 271 MiB in 56 packages [2024-09-09T01:49:07.665Z] Removing intermediate container 07f93fd88644 [2024-09-09T01:49:07.665Z] ---> 4f0e3decf0e4 [2024-09-09T01:49:07.665Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-09-09T01:49:07.665Z] ---> Running in 765f1e20021e [2024-09-09T01:49:08.250Z] Removing intermediate container 765f1e20021e [2024-09-09T01:49:08.250Z] ---> 2466cd0c09b3 [2024-09-09T01:49:08.250Z] Step 9/25 : COPY go.mod vendor* ./ [2024-09-09T01:49:08.833Z] ---> 08794f0451ae [2024-09-09T01:49:08.833Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-09T01:49:08.833Z] ---> Running in addd0704abf9 [2024-09-09T01:49:11.421Z] Removing intermediate container addd0704abf9 [2024-09-09T01:49:11.421Z] ---> 2478738d4058 [2024-09-09T01:49:11.421Z] Step 11/25 : COPY . . [2024-09-09T01:49:12.383Z] ---> 64509209fad7 [2024-09-09T01:49:12.383Z] Step 12/25 : RUN $MAKE [2024-09-09T01:49:12.383Z] ---> Running in d3c30e3312ed [2024-09-09T01:49:13.345Z] 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.37" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-09-09T01:52:50.128Z] Removing intermediate container d3c30e3312ed [2024-09-09T01:52:50.128Z] ---> 5794309a7171 [2024-09-09T01:52:50.128Z] Step 13/25 : FROM alpine:3.18 [2024-09-09T01:52:50.128Z] 3.18: Pulling from library/alpine [2024-09-09T01:52:50.128Z] 720f3032cd11: Pulling fs layer [2024-09-09T01:52:50.128Z] 720f3032cd11: Verifying Checksum [2024-09-09T01:52:50.128Z] 720f3032cd11: Download complete [2024-09-09T01:52:50.128Z] 720f3032cd11: Pull complete [2024-09-09T01:52:50.128Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-09-09T01:52:50.128Z] Status: Downloaded newer image for alpine:3.18 [2024-09-09T01:52:50.128Z] ---> 3e834921e367 [2024-09-09T01:52:50.128Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-09-09T01:52:50.128Z] ---> Running in baf46a81eba6 [2024-09-09T01:52:50.128Z] Removing intermediate container baf46a81eba6 [2024-09-09T01:52:50.128Z] ---> 6d971516df0b [2024-09-09T01:52:50.128Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-09-09T01:52:50.128Z] ---> Running in 3281078ad073 [2024-09-09T01:52:50.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T01:52:50.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T01:52:50.128Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-09T01:52:50.128Z] Executing busybox-1.36.1-r7.trigger [2024-09-09T01:52:50.128Z] OK: 8 MiB in 16 packages [2024-09-09T01:52:50.128Z] Removing intermediate container 3281078ad073 [2024-09-09T01:52:50.128Z] ---> 12c8609798a6 [2024-09-09T01:52:50.128Z] Step 16/25 : RUN apk --no-cache upgrade [2024-09-09T01:52:50.128Z] ---> Running in 0cb5b0c49ca1 [2024-09-09T01:52:50.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-09T01:52:50.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-09T01:52:50.398Z] OK: 8 MiB in 16 packages [2024-09-09T01:52:51.367Z] Removing intermediate container 0cb5b0c49ca1 [2024-09-09T01:52:51.367Z] ---> fb83c0ea0450 [2024-09-09T01:52:51.367Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-09-09T01:52:53.970Z] ---> 6cd9b2f4db1f [2024-09-09T01:52:53.970Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-09-09T01:52:54.240Z] ---> e30098dc8aca [2024-09-09T01:52:54.240Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-09-09T01:52:54.826Z] ---> 0016317eecb8 [2024-09-09T01:52:54.826Z] Step 20/25 : EXPOSE 59982 [2024-09-09T01:52:55.094Z] ---> Running in 90499be4379c [2024-09-09T01:52:55.361Z] Removing intermediate container 90499be4379c [2024-09-09T01:52:55.361Z] ---> 11a03a5d0cea [2024-09-09T01:52:55.361Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-09-09T01:52:55.361Z] ---> Running in ecb748c8f116 [2024-09-09T01:52:55.638Z] Removing intermediate container ecb748c8f116 [2024-09-09T01:52:55.638Z] ---> 396b4aa08e2e [2024-09-09T01:52:55.638Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-09-09T01:52:55.907Z] ---> Running in bc17a2e8ec4a [2024-09-09T01:52:56.188Z] Removing intermediate container bc17a2e8ec4a [2024-09-09T01:52:56.188Z] ---> b89ade862ec0 [2024-09-09T01:52:56.188Z] Step 23/25 : LABEL arch=arm64 [2024-09-09T01:52:56.188Z] ---> Running in 244d82d83a02 [2024-09-09T01:52:56.454Z] Removing intermediate container 244d82d83a02 [2024-09-09T01:52:56.454Z] ---> 4145d607dd7b [2024-09-09T01:52:56.454Z] Step 24/25 : LABEL git_sha=3e9bba153e8771d63fb06d43cc3b08f0139580e5 [2024-09-09T01:52:56.454Z] ---> Running in 775c7cb8e83e [2024-09-09T01:52:56.722Z] Removing intermediate container 775c7cb8e83e [2024-09-09T01:52:56.722Z] ---> ce4cee0d193b [2024-09-09T01:52:56.722Z] Step 25/25 : LABEL version=0.0.0 [2024-09-09T01:52:56.992Z] ---> Running in 2b3ecaf28fea [2024-09-09T01:52:57.261Z] Removing intermediate container 2b3ecaf28fea [2024-09-09T01:52:57.261Z] ---> 83450fa4e6a0 [2024-09-09T01:52:57.261Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-09T01:52:57.261Z] Successfully built 83450fa4e6a0 [2024-09-09T01:52:57.261Z] 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-09-09T01:53:01.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T01:53:01.803Z] [2024-09-09T01:53:01.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:53:02.234Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T01:53:02.235Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-09T01:53:02.235Z] 8998bd30e6a1: Pulling fs layer [2024-09-09T01:53:02.235Z] 04944245beec: Pulling fs layer [2024-09-09T01:53:02.235Z] 699f458cf7ca: Pulling fs layer [2024-09-09T01:53:02.235Z] 765212b225bb: Pulling fs layer [2024-09-09T01:53:02.235Z] f23df028b6ca: Pulling fs layer [2024-09-09T01:53:02.235Z] d65c8cfc05b1: Pulling fs layer [2024-09-09T01:53:02.235Z] 2437ff75d9bd: Pulling fs layer [2024-09-09T01:53:02.235Z] 765212b225bb: Waiting [2024-09-09T01:53:02.235Z] f23df028b6ca: Waiting [2024-09-09T01:53:02.235Z] d65c8cfc05b1: Waiting [2024-09-09T01:53:02.235Z] 2437ff75d9bd: Waiting [2024-09-09T01:53:02.503Z] 04944245beec: Verifying Checksum [2024-09-09T01:53:02.503Z] 04944245beec: Download complete [2024-09-09T01:53:02.503Z] 765212b225bb: Verifying Checksum [2024-09-09T01:53:02.503Z] 765212b225bb: Download complete [2024-09-09T01:53:02.503Z] f23df028b6ca: Verifying Checksum [2024-09-09T01:53:02.503Z] f23df028b6ca: Download complete [2024-09-09T01:53:02.503Z] d65c8cfc05b1: Verifying Checksum [2024-09-09T01:53:02.503Z] d65c8cfc05b1: Download complete [2024-09-09T01:53:02.772Z] 699f458cf7ca: Verifying Checksum [2024-09-09T01:53:02.772Z] 699f458cf7ca: Download complete [2024-09-09T01:53:03.359Z] 8998bd30e6a1: Verifying Checksum [2024-09-09T01:53:03.359Z] 8998bd30e6a1: Download complete [2024-09-09T01:53:05.944Z] 2437ff75d9bd: Verifying Checksum [2024-09-09T01:53:05.944Z] 2437ff75d9bd: Download complete [2024-09-09T01:53:07.898Z] 8998bd30e6a1: Pull complete [2024-09-09T01:53:08.483Z] 04944245beec: Pull complete [2024-09-09T01:53:10.428Z] 699f458cf7ca: Pull complete [2024-09-09T01:53:10.428Z] 765212b225bb: Pull complete [2024-09-09T01:53:11.010Z] f23df028b6ca: Pull complete [2024-09-09T01:53:11.281Z] d65c8cfc05b1: Pull complete [2024-09-09T01:53:29.468Z] 2437ff75d9bd: Pull complete [2024-09-09T01:53:29.468Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-09T01:53:29.468Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-09T01:53:29.468Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T01:53:29.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-9790 does not seem to be running inside a container [2024-09-09T01:53:29.909Z] $ 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-09-09T01:53:32.597Z] $ docker top 57258b677c9e9a710d54c8394909deb5f95fc8a2c14b9e722f0548499b5bb991 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:53:33.570Z] ---> job-cost.sh [2024-09-09T01:53:33.571Z] lf-activate-venv: SKIPPING [2024-09-09T01:53:33.571Z] INFO: No Stack... [2024-09-09T01:53:33.836Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-09T01:53:34.792Z] INFO: Archiving Costs [Pipeline] sh [2024-09-09T01:53:35.472Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-09-09T01:53:35.472Z] + cut -d, -f6 [Pipeline] lock [2024-09-09T01:53:35.574Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [2024-09-09T01:53:35.593Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] did not exist. Created. [2024-09-09T01:53:35.600Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-09T01:53:36.360Z] /w/workspace/device-mqtt-go/1@tmp/durable-b97bb0e7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-09T01:53:37.038Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-09T01:53:37.087Z] Warning: overwriting stash ‘stack-cost’ [2024-09-09T01:53:37.138Z] Stashed 1 file(s) [Pipeline] } [2024-09-09T01:53:37.167Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-693-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-09T01:53:37.263Z] $ docker stop --time=1 57258b677c9e9a710d54c8394909deb5f95fc8a2c14b9e722f0548499b5bb991 [2024-09-09T01:53:38.737Z] $ docker rm -f --volumes 57258b677c9e9a710d54c8394909deb5f95fc8a2c14b9e722f0548499b5bb991 [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-09-09T01:53:39.983Z] provisioning config files... [2024-09-09T01:53:39.990Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/config13122995160043662288tmp [Pipeline] { [Pipeline] sh [2024-09-09T01:53:40.353Z] + set +x [2024-09-09T01:53:40.353Z] + curl -s https://codecov.io/bash [2024-09-09T01:53:40.353Z] + bash -s -- [2024-09-09T01:53:40.612Z] [2024-09-09T01:53:40.612Z] _____ _ [2024-09-09T01:53:40.612Z] / ____| | | [2024-09-09T01:53:40.612Z] | | ___ __| | ___ ___ _____ __ [2024-09-09T01:53:40.612Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-09T01:53:40.612Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-09T01:53:40.612Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-09T01:53:40.612Z] Bash-1.0.6 [2024-09-09T01:53:40.612Z] [2024-09-09T01:53:40.612Z] [2024-09-09T01:53:40.612Z] ==> git version 2.25.1 found [2024-09-09T01:53:40.612Z] ==> 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-09-09T01:53:40.612Z] Release-Date: 2020-01-08 [2024-09-09T01:53:40.612Z] 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-09-09T01:53:40.612Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-09T01:53:40.612Z] ==> Jenkins CI detected. [2024-09-09T01:53:40.612Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-693 [2024-09-09T01:53:40.612Z] project root: . [2024-09-09T01:53:40.612Z] --> token set from env [2024-09-09T01:53:40.612Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-09T01:53:40.612Z] ==> Running gcov in . (disable via -X gcov) [2024-09-09T01:53:40.612Z] ==> Python coveragepy not found [2024-09-09T01:53:40.612Z] ==> Searching for coverage reports in: [2024-09-09T01:53:40.612Z] + . [2024-09-09T01:53:40.612Z] -> Found 1 reports [2024-09-09T01:53:40.612Z] ==> Detecting git/mercurial file structure [2024-09-09T01:53:40.612Z] ==> Reading reports [2024-09-09T01:53:40.612Z] + ./coverage.out bytes=18506 [2024-09-09T01:53:40.612Z] ==> Appending adjustments [2024-09-09T01:53:40.613Z] https://docs.codecov.io/docs/fixing-reports [2024-09-09T01:53:40.613Z] + Found adjustments [2024-09-09T01:53:40.613Z] ==> Gzipping contents [2024-09-09T01:53:40.613Z] 4.0K /tmp/codecov.CYcZ40.gz [2024-09-09T01:53:40.613Z] ==> Uploading reports [2024-09-09T01:53:40.613Z] url: https://codecov.io [2024-09-09T01:53:40.613Z] query: branch=PR-693&commit=3e9bba153e8771d63fb06d43cc3b08f0139580e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-693%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=693&job=&cmd_args= [2024-09-09T01:53:40.613Z] -> Pinging Codecov [2024-09-09T01:53:40.613Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-693&commit=3e9bba153e8771d63fb06d43cc3b08f0139580e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-693%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=693&job=&cmd_args= [2024-09-09T01:53:40.872Z] -> Uploading to [2024-09-09T01:53:40.872Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-09/7D719EC7BBE17E464838252E33014C33/3e9bba153e8771d63fb06d43cc3b08f0139580e5/6532d1b4-f13b-496a-b26e-092d1d73c5e3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240909%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240909T015340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc563f89188e7dea82d681e1ea02361dc34ba3abcf6ef5eb481466af8737dfa4 [2024-09-09T01:53:40.872Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-09T01:53:40.872Z] Dload Upload Total Spent Left Speed [2024-09-09T01:53:41.132Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11772 --:--:-- --:--:-- --:--:-- 11772 [2024-09-09T01:53:41.132Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3e9bba153e8771d63fb06d43cc3b08f0139580e5 [Pipeline] } [2024-09-09T01:53:41.163Z] 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-09-09T01:53:43.567Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives ] [2024-09-09T01:53:43.567Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives [2024-09-09T01:53:43.567Z] total 16 [2024-09-09T01:53:43.567Z] drwxr-xr-x 3 root root 4096 Sep 9 01:40 . [2024-09-09T01:53:43.567Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 01:40 .. [2024-09-09T01:53:43.567Z] drwxr-xr-x 2 root root 4096 Sep 9 01:40 cost [2024-09-09T01:53:43.567Z] -rw-r--r-- 1 root root 86 Sep 9 01:40 cost.csv [2024-09-09T01:53:43.567Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives [2024-09-09T01:53:43.567Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives [2024-09-09T01:53:43.567Z] total 16 [2024-09-09T01:53:43.567Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 9 01:40 . [2024-09-09T01:53:43.567Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 9 01:40 .. [2024-09-09T01:53:43.567Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 9 01:40 cost [2024-09-09T01:53:43.567Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 9 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:53:43.912Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:53:44.816Z] ---> package-listing.sh [2024-09-09T01:53:44.816Z] ++ facter osfamily [2024-09-09T01:53:44.816Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-09T01:53:45.076Z] + OS_FAMILY=debian [2024-09-09T01:53:45.076Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-693 [2024-09-09T01:53:45.076Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-09T01:53:45.076Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-09T01:53:45.076Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-09T01:53:45.076Z] + PACKAGES=/tmp/packages_start.txt [2024-09-09T01:53:45.076Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-693 ']' [2024-09-09T01:53:45.076Z] + PACKAGES=/tmp/packages_end.txt [2024-09-09T01:53:45.076Z] + case "${OS_FAMILY}" in [2024-09-09T01:53:45.076Z] + dpkg -l [2024-09-09T01:53:45.076Z] + grep '^ii' [2024-09-09T01:53:45.076Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-09T01:53:45.076Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-09T01:53:45.076Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-09T01:53:45.076Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-693 ']' [2024-09-09T01:53:45.076Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives/ [2024-09-09T01:53:45.076Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-693/archives/ [Pipeline] echo [2024-09-09T01:53:45.120Z] 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-693/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-09T01:53:45.417Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-09T01:53:46.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-09T01:53:46.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-09T01:53:46.259Z] prd-ubuntu20.04-docker-8c-8g-9789 does not seem to be running inside a container [2024-09-09T01:53:46.281Z] $ 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-693/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-693 -v /w/workspace/gexfoundry_device-mqtt-go_PR-693:/w/workspace/gexfoundry_device-mqtt-go_PR-693:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-09T01:53:46.464Z] $ docker top ca40a5e19a9946849c468de0545d08bd8c9804c2b9a767093554654c165e4018 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-09T01:53:46.869Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-09T01:53:47.180Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-09T01:53:47.501Z] + ls /var/log/sa-host [2024-09-09T01:53:47.501Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-09T01:53:47.768Z] provisioning config files... [2024-09-09T01:53:47.777Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-693@tmp/config12401252284618119461tmp [Pipeline] { [Pipeline] echo [2024-09-09T01:53:47.855Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:53:48.181Z] ---> create-netrc.sh [Pipeline] } [2024-09-09T01:53:48.224Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:53:48.656Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-09T01:53:48.702Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:53:49.030Z] ---> sudo-logs.sh [2024-09-09T01:53:49.030Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-09T01:53:49.146Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:53:49.477Z] ---> job-cost.sh [2024-09-09T01:53:49.477Z] lf-activate-venv: SKIPPING [2024-09-09T01:53:49.477Z] DEBUG: total: 0.2199999988079071 [2024-09-09T01:53:49.477Z] INFO: Retrieving Stack Cost... [2024-09-09T01:53:49.737Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-09T01:53:49.996Z] INFO: Archiving Costs [Pipeline] echo [2024-09-09T01:53:50.037Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-09T01:53:50.371Z] ---> logs-deploy.sh [2024-09-09T01:53:50.371Z] lf-activate-venv: SKIPPING [2024-09-09T01:53:50.371Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-693/1 [2024-09-09T01:53:50.371Z] INFO: archiving workspace using pattern(s): [2024-09-09T01:53:51.310Z] Archives upload complete. [2024-09-09T01:53:51.310Z] INFO: archiving logs to Nexus