Pull request #654 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537+9b13877b5a91d7428adbfa2f1ba18137ccf7a444 (80032f122979b0ebc7ba863dde84bb0eb10279f5) 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-ssh8195564752089535170.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh10559474832177741183.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-654/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-654/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7709319979395028169.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-654/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2160540038803463298.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh12954001032076316693.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-654/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-654/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11727068408033591568.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-25089 in /w/workspace/gexfoundry_device-mqtt-go_PR-654 [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-654 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/654/head:refs/remotes/origin/PR-654 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 into PR head commit c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 Merge succeeded, producing c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 Checking out Revision c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 (PR-654) 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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-15T02:03:23.107Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 # 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 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-15T02:03:23.317Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-15T02:03:23.437Z] ========================================================= [2023-12-15T02:03:23.437Z] EdgeX Global Pipelines Version Info [2023-12-15T02:03:23.437Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:03:24.204Z] ------------------- [2023-12-15T02:03:24.204Z] stable info: [2023-12-15T02:03:24.204Z] ------------------- [2023-12-15T02:03:24.204Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-15T02:03:24.204Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-15T02:03:24.204Z] Message: update stable to v1.0.258 [2023-12-15T02:03:24.775Z] ------------------- [2023-12-15T02:03:24.775Z] experimental info: [2023-12-15T02:03:24.775Z] ------------------- [2023-12-15T02:03:24.775Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-15T02:03:24.775Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-15T02:03:24.775Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-15T02:03:24.986Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-12-15T02:03:25.038Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-12-15T02:03:25.093Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-15T02:03:25.151Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-15T02:03:25.208Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-15T02:03:25.265Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-15T02:03:25.320Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-15T02:03:25.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-12-15T02:03:25.431Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-15T02:03:25.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-15T02:03:25.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-15T02:03:25.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-12-15T02:03:25.668Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-15T02:03:25.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-15T02:03:25.797Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-15T02:03:25.857Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-12-15T02:03:25.923Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-15T02:03:25.986Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-15T02:03:26.045Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-15T02:03:26.119Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-15T02:03:26.185Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-12-15T02:03:26.252Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-12-15T02:03:26.322Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-15T02:03:26.393Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-15T02:03:26.461Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-15T02:03:26.537Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-15T02:03:26.608Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-15T02:03:26.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-654 [Pipeline] echo [2023-12-15T02:03:26.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-654 [Pipeline] echo [2023-12-15T02:03:26.820Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-654 [Pipeline] echo [2023-12-15T02:03:26.885Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] echo [2023-12-15T02:03:26.955Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2f0fc8 [Pipeline] echo [2023-12-15T02:03:27.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-15T02:03:27.191Z] provisioning config files... [2023-12-15T02:03:27.206Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/config10463149340182834562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:03:27.606Z] ---> ****-login.sh [2023-12-15T02:03:27.606Z] nexus3.edgexfoundry.org:10001 [2023-12-15T02:03:27.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:28.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:28.137Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:28.137Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:28.137Z] [2023-12-15T02:03:28.137Z] Login Succeeded [2023-12-15T02:03:28.137Z] nexus3.edgexfoundry.org:10002 [2023-12-15T02:03:28.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:28.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:28.137Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:28.137Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:28.137Z] [2023-12-15T02:03:28.137Z] Login Succeeded [2023-12-15T02:03:28.137Z] nexus3.edgexfoundry.org:10003 [2023-12-15T02:03:28.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:28.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:28.398Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:28.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:28.398Z] [2023-12-15T02:03:28.398Z] Login Succeeded [2023-12-15T02:03:28.398Z] nexus3.edgexfoundry.org:10004 [2023-12-15T02:03:28.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:28.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:28.398Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:28.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:28.398Z] [2023-12-15T02:03:28.398Z] Login Succeeded [2023-12-15T02:03:28.398Z] ****.io [2023-12-15T02:03:28.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:28.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:28.660Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:28.660Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:28.660Z] [2023-12-15T02:03:28.660Z] Login Succeeded [2023-12-15T02:03:28.660Z] ---> ****-login.sh ends [Pipeline] } [2023-12-15T02:03:28.689Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-15T02:03:29.459Z] + git rev-list -1 --merges c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537~1..c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] echo [2023-12-15T02:03:29.503Z] -----------> git rev-list -1 --merges c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537~1..c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [false] [Pipeline] sh [2023-12-15T02:03:29.831Z] + git log --format=format:%s -1 c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] echo [2023-12-15T02:03:29.865Z] ========================================================= [2023-12-15T02:03:29.865Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-15T02:03:29.865Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-15T02:03:30.451Z] + git log --format=format:%s -1 c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] echo [2023-12-15T02:03:30.480Z] [semverPrep] GIT_COMMIT: c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-12-15T02:03:30.529Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-15T02:03:30.969Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-15T02:03:30.969Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-15T02:03:30.969Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-15T02:03:30.969Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-15T02:03:30.969Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-12-15T02:03:30.969Z] -a /etc/ssh/ssh_known_hosts [2023-12-15T02:03:30.969Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:03:31.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-15T02:03:31.478Z] [2023-12-15T02:03:31.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:03:31.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-15T02:03:31.873Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-15T02:03:31.873Z] b85a868b505f: Pulling fs layer [2023-12-15T02:03:31.873Z] e2be974225ed: Pulling fs layer [2023-12-15T02:03:31.873Z] 339a4e72a1f5: Pulling fs layer [2023-12-15T02:03:31.873Z] 988bab9f4d93: Pulling fs layer [2023-12-15T02:03:31.873Z] 1469e6f7b9e6: Pulling fs layer [2023-12-15T02:03:31.873Z] eaf3925da568: Pulling fs layer [2023-12-15T02:03:31.873Z] bab4dde63d76: Pulling fs layer [2023-12-15T02:03:31.873Z] bde34c3a00c8: Pulling fs layer [2023-12-15T02:03:31.873Z] b352a97aabf1: Pulling fs layer [2023-12-15T02:03:31.873Z] 1469e6f7b9e6: Waiting [2023-12-15T02:03:31.873Z] 4872d77fe225: Pulling fs layer [2023-12-15T02:03:31.873Z] 5851b861e8e6: Pulling fs layer [2023-12-15T02:03:31.873Z] eaf3925da568: Waiting [2023-12-15T02:03:31.873Z] bab4dde63d76: Waiting [2023-12-15T02:03:31.873Z] bde34c3a00c8: Waiting [2023-12-15T02:03:31.873Z] 988bab9f4d93: Waiting [2023-12-15T02:03:31.873Z] b352a97aabf1: Waiting [2023-12-15T02:03:31.873Z] 5851b861e8e6: Waiting [2023-12-15T02:03:31.873Z] e2be974225ed: Download complete [2023-12-15T02:03:31.873Z] 988bab9f4d93: Verifying Checksum [2023-12-15T02:03:31.873Z] 988bab9f4d93: Download complete [2023-12-15T02:03:31.873Z] 1469e6f7b9e6: Verifying Checksum [2023-12-15T02:03:31.873Z] 1469e6f7b9e6: Download complete [2023-12-15T02:03:31.873Z] eaf3925da568: Verifying Checksum [2023-12-15T02:03:31.873Z] eaf3925da568: Download complete [2023-12-15T02:03:31.873Z] 339a4e72a1f5: Verifying Checksum [2023-12-15T02:03:31.873Z] 339a4e72a1f5: Download complete [2023-12-15T02:03:32.133Z] bde34c3a00c8: Download complete [2023-12-15T02:03:32.133Z] b352a97aabf1: Download complete [2023-12-15T02:03:32.133Z] 4872d77fe225: Download complete [2023-12-15T02:03:32.133Z] 5851b861e8e6: Verifying Checksum [2023-12-15T02:03:32.133Z] 5851b861e8e6: Download complete [2023-12-15T02:03:32.133Z] b85a868b505f: Verifying Checksum [2023-12-15T02:03:32.133Z] b85a868b505f: Download complete [2023-12-15T02:03:32.392Z] bab4dde63d76: Verifying Checksum [2023-12-15T02:03:32.392Z] bab4dde63d76: Download complete [2023-12-15T02:03:33.332Z] b85a868b505f: Pull complete [2023-12-15T02:03:33.332Z] e2be974225ed: Pull complete [2023-12-15T02:03:33.903Z] 339a4e72a1f5: Pull complete [2023-12-15T02:03:33.903Z] 988bab9f4d93: Pull complete [2023-12-15T02:03:34.163Z] 1469e6f7b9e6: Pull complete [2023-12-15T02:03:34.422Z] eaf3925da568: Pull complete [2023-12-15T02:03:36.326Z] bab4dde63d76: Pull complete [2023-12-15T02:03:36.326Z] bde34c3a00c8: Pull complete [2023-12-15T02:03:36.326Z] b352a97aabf1: Pull complete [2023-12-15T02:03:36.326Z] 4872d77fe225: Pull complete [2023-12-15T02:03:36.326Z] 5851b861e8e6: Pull complete [2023-12-15T02:03:36.326Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-15T02:03:36.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-15T02:03:36.326Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T02:03:36.663Z] prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container [2023-12-15T02:03:36.685Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-12-15T02:03:39.624Z] $ docker top 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 -eo pid,comm [2023-12-15T02:03:39.687Z] 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). [2023-12-15T02:03:39.687Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-15T02:03:39.880Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-15T02:03:39.880Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-15T02:03:39.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-15T02:03:39.992Z] $ docker exec 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 ssh-agent [2023-12-15T02:03:40.107Z] SSH_AUTH_SOCK=/tmp/ssh-B1m8QlvNGfKp/agent.32 [2023-12-15T02:03:40.107Z] SSH_AGENT_PID=38 [2023-12-15T02:03:40.113Z] Running ssh-add (command line suppressed) [2023-12-15T02:03:40.217Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/private_key_9210730150682470500.key (/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/private_key_9210730150682470500.key) [2023-12-15T02:03:40.239Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-15T02:03:40.592Z] + git tag --points-at HEAD [Pipeline] } [2023-12-15T02:03:40.615Z] $ docker exec --env ******** --env ******** 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 ssh-agent -k [2023-12-15T02:03:40.724Z] unset SSH_AUTH_SOCK; [2023-12-15T02:03:40.725Z] unset SSH_AGENT_PID; [2023-12-15T02:03:40.725Z] echo Agent pid 38 killed; [2023-12-15T02:03:40.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-15T02:03:40.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-15T02:03:40.878Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-15T02:03:41.005Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-15T02:03:41.002Z] $ docker exec 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 ssh-agent [2023-12-15T02:03:41.123Z] SSH_AUTH_SOCK=/tmp/ssh-x4KOv0xpGQHS/agent.70 [2023-12-15T02:03:41.123Z] SSH_AGENT_PID=76 [2023-12-15T02:03:41.129Z] Running ssh-add (command line suppressed) [2023-12-15T02:03:41.224Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/private_key_8128541513075514601.key (/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/private_key_8128541513075514601.key) [2023-12-15T02:03:41.244Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-15T02:03:41.600Z] + git semver init [2023-12-15T02:03:41.858Z] 2023-12-15 02:03:41,779 [run_init] DEBUG init version:0.0.0 force:False [2023-12-15T02:03:41.858Z] 2023-12-15 02:03:41,780 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver [2023-12-15T02:03:41.858Z] 2023-12-15 02:03:41,780 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver [2023-12-15T02:03:41.858Z] 2023-12-15 02:03:41,780 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-654, universal_newlines=False, shell=None, istream=None) [2023-12-15T02:03:43.234Z] 2023-12-15 02:03:42,840 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654/.git/info/exclude [2023-12-15T02:03:43.234Z] 2023-12-15 02:03:42,841 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver/PR-654 with force:False [2023-12-15T02:03:43.234Z] 2023-12-15 02:03:42,841 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver/PR-654 [2023-12-15T02:03:43.234Z] 2023-12-15 02:03:42,845 [execute] INFO git cat-file --batch-check [2023-12-15T02:03:43.234Z] 2023-12-15 02:03:42,846 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver, universal_newlines=False, shell=None, istream=) [2023-12-15T02:03:43.234Z] 2023-12-15 02:03:42,853 [execute] INFO git cat-file --batch [2023-12-15T02:03:43.234Z] 2023-12-15 02:03:42,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver, universal_newlines=False, shell=None, istream=) [2023-12-15T02:03:43.234Z] 2023-12-15 02:03:42,859 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-654/.semver/PR-654 [2023-12-15T02:03:43.234Z] 0.0.0 [Pipeline] } [2023-12-15T02:03:43.253Z] $ docker exec --env ******** --env ******** 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 ssh-agent -k [2023-12-15T02:03:43.354Z] unset SSH_AUTH_SOCK; [2023-12-15T02:03:43.355Z] unset SSH_AGENT_PID; [2023-12-15T02:03:43.355Z] echo Agent pid 76 killed; [2023-12-15T02:03:43.371Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-15T02:03:43.866Z] + git semver [Pipeline] } [2023-12-15T02:03:44.145Z] $ docker stop --time=1 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 [2023-12-15T02:03:45.459Z] $ docker rm -f --volumes 0c0540b0ff212e9f83cfc9b797720831d6cb7eb7af51573492ec2aec59d51c41 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-15T02:03:45.905Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-15T02:03:46.228Z] Stashed 1 file(s) [Pipeline] echo [2023-12-15T02:03:46.249Z] [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 [2023-12-15T02:03:47.138Z] provisioning config files... [2023-12-15T02:03:47.149Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/config15199788886893040538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:03:47.595Z] ---> ****-login.sh [2023-12-15T02:03:47.595Z] nexus3.edgexfoundry.org:10001 [2023-12-15T02:03:47.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:47.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:47.595Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:47.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:47.595Z] [2023-12-15T02:03:47.595Z] Login Succeeded [2023-12-15T02:03:47.595Z] nexus3.edgexfoundry.org:10002 [2023-12-15T02:03:47.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:47.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:47.595Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:47.595Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:47.595Z] [2023-12-15T02:03:47.595Z] Login Succeeded [2023-12-15T02:03:47.595Z] nexus3.edgexfoundry.org:10003 [2023-12-15T02:03:47.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:47.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:47.870Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:47.871Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:47.871Z] [2023-12-15T02:03:47.871Z] Login Succeeded [2023-12-15T02:03:47.871Z] nexus3.edgexfoundry.org:10004 [2023-12-15T02:03:47.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:47.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:47.871Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:47.871Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:47.871Z] [2023-12-15T02:03:47.871Z] Login Succeeded [2023-12-15T02:03:47.871Z] ****.io [2023-12-15T02:03:47.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:03:48.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:03:48.131Z] Configure a credential helper to remove this warning. See [2023-12-15T02:03:48.131Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:03:48.131Z] [2023-12-15T02:03:48.131Z] Login Succeeded [2023-12-15T02:03:48.131Z] ---> ****-login.sh ends [Pipeline] } [2023-12-15T02:03:48.163Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-15T02:03:48.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-15T02:03:48.539Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-15T02:03:48.597Z] ========================================================= [2023-12-15T02:03:48.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-15T02:03:48.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:03:49.175Z] + 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 . [2023-12-15T02:03:49.175Z] Sending build context to Docker daemon 14.88MB [2023-12-15T02:03:49.175Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-12-15T02:03:49.175Z] Step 2/12 : FROM ${BASE} AS builder [2023-12-15T02:03:49.175Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-15T02:03:49.175Z] 7264a8db6415: Pulling fs layer [2023-12-15T02:03:49.175Z] c4d48a809fc2: Pulling fs layer [2023-12-15T02:03:49.175Z] 4f1c88b9dad5: Pulling fs layer [2023-12-15T02:03:49.175Z] ad3a456e5733: Pulling fs layer [2023-12-15T02:03:49.175Z] 69c7f0334f64: Pulling fs layer [2023-12-15T02:03:49.175Z] 1f1c1a5573a3: Pulling fs layer [2023-12-15T02:03:49.175Z] ce7588e14bc9: Pulling fs layer [2023-12-15T02:03:49.175Z] b5e4710f87ac: Pulling fs layer [2023-12-15T02:03:49.175Z] 1f1c1a5573a3: Waiting [2023-12-15T02:03:49.175Z] ce7588e14bc9: Waiting [2023-12-15T02:03:49.175Z] ad3a456e5733: Waiting [2023-12-15T02:03:49.175Z] b5e4710f87ac: Waiting [2023-12-15T02:03:49.175Z] 69c7f0334f64: Waiting [2023-12-15T02:03:49.434Z] c4d48a809fc2: Verifying Checksum [2023-12-15T02:03:49.434Z] c4d48a809fc2: Download complete [2023-12-15T02:03:49.434Z] ad3a456e5733: Verifying Checksum [2023-12-15T02:03:49.434Z] ad3a456e5733: Download complete [2023-12-15T02:03:49.434Z] 7264a8db6415: Verifying Checksum [2023-12-15T02:03:49.434Z] 7264a8db6415: Download complete [2023-12-15T02:03:49.434Z] 69c7f0334f64: Verifying Checksum [2023-12-15T02:03:49.434Z] 69c7f0334f64: Download complete [2023-12-15T02:03:49.434Z] 1f1c1a5573a3: Verifying Checksum [2023-12-15T02:03:49.434Z] 1f1c1a5573a3: Download complete [2023-12-15T02:03:49.434Z] 7264a8db6415: Pull complete [2023-12-15T02:03:49.693Z] b5e4710f87ac: Verifying Checksum [2023-12-15T02:03:49.693Z] b5e4710f87ac: Download complete [2023-12-15T02:03:49.693Z] c4d48a809fc2: Pull complete [2023-12-15T02:03:49.693Z] 4f1c88b9dad5: Verifying Checksum [2023-12-15T02:03:49.693Z] 4f1c88b9dad5: Download complete [2023-12-15T02:03:50.259Z] ce7588e14bc9: Verifying Checksum [2023-12-15T02:03:50.259Z] ce7588e14bc9: Download complete [2023-12-15T02:03:53.606Z] 4f1c88b9dad5: Pull complete [2023-12-15T02:03:53.606Z] ad3a456e5733: Pull complete [2023-12-15T02:03:53.606Z] 69c7f0334f64: Pull complete [2023-12-15T02:03:53.606Z] 1f1c1a5573a3: Pull complete [2023-12-15T02:03:56.142Z] ce7588e14bc9: Pull complete [2023-12-15T02:03:56.409Z] b5e4710f87ac: Pull complete [2023-12-15T02:03:56.409Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-15T02:03:56.695Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-15T02:03:56.695Z] ---> 88b5674ff536 [2023-12-15T02:03:56.695Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-12-15T02:04:01.890Z] Still waiting to schedule task [2023-12-15T02:04:01.890Z] ‘prd-centos7-blackbox-4c-2g-24750’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-12-15T02:04:01.890Z] ‘prd-centos7-blackbox-4c-2g-24751’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-12-15T02:04:01.890Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-25086’ is offline [2023-12-15T02:04:01.891Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-25090’ is offline [2023-12-15T02:04:01.977Z] ---> Running in ed84880c77d3 [2023-12-15T02:04:01.977Z] Removing intermediate container ed84880c77d3 [2023-12-15T02:04:01.977Z] ---> 198da29825d5 [2023-12-15T02:04:01.977Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-15T02:04:01.977Z] ---> Running in f48131615714 [2023-12-15T02:04:01.977Z] Removing intermediate container f48131615714 [2023-12-15T02:04:01.977Z] ---> ac69859b36b2 [2023-12-15T02:04:01.977Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-15T02:04:01.977Z] ---> Running in 6ac33dcef5c3 [2023-12-15T02:04:01.977Z] Removing intermediate container 6ac33dcef5c3 [2023-12-15T02:04:01.977Z] ---> c7d60dac0ef8 [2023-12-15T02:04:01.977Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-12-15T02:04:01.977Z] ---> Running in 96c649831919 [2023-12-15T02:04:01.977Z] Removing intermediate container 96c649831919 [2023-12-15T02:04:01.977Z] ---> 428d51b6873f [2023-12-15T02:04:01.977Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-15T02:04:01.977Z] ---> Running in 1e16371e358d [2023-12-15T02:04:01.977Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-15T02:04:02.238Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-15T02:04:02.238Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-15T02:04:02.238Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-12-15T02:04:02.238Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-15T02:04:02.524Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-15T02:04:02.524Z] Executing busybox-1.36.1-r5.trigger [2023-12-15T02:04:02.524Z] OK: 268 MiB in 56 packages [2023-12-15T02:04:03.092Z] Removing intermediate container 1e16371e358d [2023-12-15T02:04:03.092Z] ---> 197e9449d06d [2023-12-15T02:04:03.092Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-12-15T02:04:03.092Z] ---> Running in 85dd5fd599d9 [2023-12-15T02:04:03.092Z] Removing intermediate container 85dd5fd599d9 [2023-12-15T02:04:03.092Z] ---> a0b61ff7965f [2023-12-15T02:04:03.092Z] Step 9/12 : COPY go.mod vendor* ./ [2023-12-15T02:04:03.092Z] ---> 466d2f295d90 [2023-12-15T02:04:03.092Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-15T02:04:03.092Z] ---> Running in cd98e2b6a3c8 [2023-12-15T02:04:49.789Z] Removing intermediate container cd98e2b6a3c8 [2023-12-15T02:04:49.789Z] ---> 15ceea4a394b [2023-12-15T02:04:49.789Z] Step 11/12 : COPY . . [2023-12-15T02:04:49.789Z] ---> 1d7feb15477c [2023-12-15T02:04:49.789Z] Step 12/12 : RUN $MAKE [2023-12-15T02:04:49.789Z] ---> Running in a73b35bacd16 [2023-12-15T02:04:49.789Z] noop [2023-12-15T02:04:49.789Z] Removing intermediate container a73b35bacd16 [2023-12-15T02:04:49.789Z] ---> 6a9c05cec82a [2023-12-15T02:04:49.789Z] Successfully built 6a9c05cec82a [2023-12-15T02:04:49.789Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:04:50.455Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-15T02:04:50.455Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T02:04:50.672Z] prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container [2023-12-15T02:04:50.709Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-15T02:04:51.057Z] $ docker top 193eb00f478bc8752028ba4cf0b01d24f2c2e3ff96d8d39c0d7d1f46a49e856e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T02:04:51.496Z] + go version [2023-12-15T02:04:51.496Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-15T02:04:51.530Z] $ docker stop --time=1 193eb00f478bc8752028ba4cf0b01d24f2c2e3ff96d8d39c0d7d1f46a49e856e [2023-12-15T02:04:52.805Z] $ docker rm -f --volumes 193eb00f478bc8752028ba4cf0b01d24f2c2e3ff96d8d39c0d7d1f46a49e856e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:04:53.739Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-15T02:04:53.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T02:04:53.916Z] prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container [2023-12-15T02:04:53.944Z] $ 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-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-15T02:04:54.259Z] $ docker top b69ca7b01cbf82eedbe31f12af1e6dcf115cbf85a990b97604104eee12a304bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T02:04:54.725Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-654 [Pipeline] fileExists [Pipeline] sh [2023-12-15T02:04:55.107Z] + make test [2023-12-15T02:04:55.107Z] go test ./... -coverprofile=coverage.out ./... [2023-12-15T02:04:56.504Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-12-15T02:05:08.715Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-12-15T02:05:08.715Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-12-15T02:05:08.715Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.8% of statements [2023-12-15T02:05:15.334Z] go vet ./... [2023-12-15T02:05:18.625Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-15T02:05:18.625Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-15T02:05:18.625Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-15T02:05:18.670Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-15T02:05:18.729Z] $ docker stop --time=1 b69ca7b01cbf82eedbe31f12af1e6dcf115cbf85a990b97604104eee12a304bf [2023-12-15T02:05:24.717Z] $ docker rm -f --volumes b69ca7b01cbf82eedbe31f12af1e6dcf115cbf85a990b97604104eee12a304bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-15T02:05:25.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-15T02:05:25.647Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-15T02:05:26.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-15T02:05:26.792Z] + ls -al . [2023-12-15T02:05:26.792Z] total 184 [2023-12-15T02:05:26.792Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 02:04 . [2023-12-15T02:05:26.792Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:03 .. [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:03 .dockerignore [2023-12-15T02:05:26.792Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:05 .git [2023-12-15T02:05:26.792Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:03 .github [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 15 02:03 .gitignore [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:03 .golangci.yml [2023-12-15T02:05:26.792Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:03 .semver [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 10386 Dec 15 02:03 Attribution.txt [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 18574 Dec 15 02:03 CHANGELOG.md [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 1798 Dec 15 02:03 Dockerfile [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:03 GOVERNANCE.md [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 657 Dec 15 02:03 Jenkinsfile [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:03 LICENSE [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 1963 Dec 15 02:03 Makefile [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 02:03 OWNERS.md [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 3599 Dec 15 02:03 README.md [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:03 VERSION [2023-12-15T02:05:26.792Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:03 bin [2023-12-15T02:05:26.792Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:03 cmd [2023-12-15T02:05:26.792Z] -rw-r--r-- 1 jenkins jenkins 18506 Dec 15 02:05 coverage.out [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 3817 Dec 15 02:03 go.mod [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 15 02:03 go.sum [2023-12-15T02:05:26.792Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:03 internal [2023-12-15T02:05:26.792Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:03 mock [2023-12-15T02:05:26.792Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:05:27.249Z] + 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=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 --label arch=amd64 --label version=0.0.0 . [2023-12-15T02:05:27.249Z] Sending build context to Docker daemon 14.9MB [2023-12-15T02:05:27.249Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-12-15T02:05:27.249Z] Step 2/25 : FROM ${BASE} AS builder [2023-12-15T02:05:27.249Z] ---> 6a9c05cec82a [2023-12-15T02:05:27.249Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-12-15T02:05:27.508Z] ---> Running in ac65b5d9908c [2023-12-15T02:05:27.508Z] Removing intermediate container ac65b5d9908c [2023-12-15T02:05:27.508Z] ---> 1c7c8b35a4a3 [2023-12-15T02:05:27.508Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-12-15T02:05:27.508Z] ---> Running in 0c9fee7f2c91 [2023-12-15T02:05:27.767Z] Removing intermediate container 0c9fee7f2c91 [2023-12-15T02:05:27.767Z] ---> 7aba186d23d9 [2023-12-15T02:05:27.767Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-12-15T02:05:27.767Z] ---> Running in 1f7e049f6e60 [2023-12-15T02:05:27.767Z] Removing intermediate container 1f7e049f6e60 [2023-12-15T02:05:27.767Z] ---> f59c5ea9d3ed [2023-12-15T02:05:27.767Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-12-15T02:05:27.767Z] ---> Running in d1b0b5ad0623 [2023-12-15T02:05:28.028Z] Removing intermediate container d1b0b5ad0623 [2023-12-15T02:05:28.028Z] ---> 33cf85a9f343 [2023-12-15T02:05:28.028Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-12-15T02:05:28.028Z] ---> Running in 2a794e9292f5 [2023-12-15T02:05:28.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-15T02:05:28.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-15T02:05:28.551Z] OK: 268 MiB in 56 packages [2023-12-15T02:05:28.811Z] Removing intermediate container 2a794e9292f5 [2023-12-15T02:05:28.811Z] ---> 8f16b28c7294 [2023-12-15T02:05:28.811Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-12-15T02:05:29.071Z] ---> Running in c0fbfafe77c9 [2023-12-15T02:05:29.071Z] Removing intermediate container c0fbfafe77c9 [2023-12-15T02:05:29.071Z] ---> 884b9173221a [2023-12-15T02:05:29.071Z] Step 9/25 : COPY go.mod vendor* ./ [2023-12-15T02:05:29.071Z] ---> c35dd8bf5d24 [2023-12-15T02:05:29.071Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-15T02:05:29.071Z] ---> Running in 8d527e2d7864 [2023-12-15T02:05:30.365Z] Removing intermediate container 8d527e2d7864 [2023-12-15T02:05:30.365Z] ---> f5b43e10af94 [2023-12-15T02:05:30.365Z] Step 11/25 : COPY . . [2023-12-15T02:05:30.631Z] ---> 1190c4ece4fb [2023-12-15T02:05:30.631Z] Step 12/25 : RUN $MAKE [2023-12-15T02:05:30.631Z] ---> Running in b2d4fb86c765 [2023-12-15T02:05:30.890Z] 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.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-12-15T02:05:52.822Z] Removing intermediate container b2d4fb86c765 [2023-12-15T02:05:52.822Z] ---> 4dc84aed49b5 [2023-12-15T02:05:52.822Z] Step 13/25 : FROM alpine:3.18 [2023-12-15T02:05:52.822Z] 3.18: Pulling from library/alpine [2023-12-15T02:05:52.822Z] c926b61bad3b: Pulling fs layer [2023-12-15T02:05:52.822Z] c926b61bad3b: Verifying Checksum [2023-12-15T02:05:52.822Z] c926b61bad3b: Download complete [2023-12-15T02:05:52.822Z] c926b61bad3b: Pull complete [2023-12-15T02:05:52.822Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-15T02:05:52.822Z] Status: Downloaded newer image for alpine:3.18 [2023-12-15T02:05:52.822Z] ---> b541f2080109 [2023-12-15T02:05:52.822Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-12-15T02:05:52.822Z] ---> Running in 905c91f06be0 [2023-12-15T02:05:52.822Z] Removing intermediate container 905c91f06be0 [2023-12-15T02:05:52.822Z] ---> dbb96a612d7c [2023-12-15T02:05:52.822Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-12-15T02:05:52.822Z] ---> Running in 694a0be5c054 [2023-12-15T02:05:52.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-15T02:05:52.822Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-15T02:05:53.082Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-12-15T02:05:53.082Z] Executing busybox-1.36.1-r5.trigger [2023-12-15T02:05:53.082Z] OK: 7 MiB in 16 packages [2023-12-15T02:05:53.340Z] Removing intermediate container 694a0be5c054 [2023-12-15T02:05:53.340Z] ---> c75d2d8a91fe [2023-12-15T02:05:53.340Z] Step 16/25 : RUN apk --no-cache upgrade [2023-12-15T02:05:53.340Z] ---> Running in d812d1b14a14 [2023-12-15T02:05:53.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-15T02:05:53.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-15T02:05:53.860Z] OK: 7 MiB in 16 packages [2023-12-15T02:05:54.127Z] Removing intermediate container d812d1b14a14 [2023-12-15T02:05:54.127Z] ---> 19bec4b2aa06 [2023-12-15T02:05:54.127Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-12-15T02:05:55.318Z] ---> 4b3ed216c88b [2023-12-15T02:05:55.318Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-12-15T02:05:55.318Z] ---> 06e199a85a12 [2023-12-15T02:05:55.318Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-12-15T02:05:55.318Z] ---> 7ca8695ee5db [2023-12-15T02:05:55.318Z] Step 20/25 : EXPOSE 59982 [2023-12-15T02:05:55.318Z] ---> Running in cf8ed54ae925 [2023-12-15T02:05:55.318Z] Removing intermediate container cf8ed54ae925 [2023-12-15T02:05:55.318Z] ---> 82f5d0804b36 [2023-12-15T02:05:55.318Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-12-15T02:05:55.581Z] ---> Running in 94797850f79d [2023-12-15T02:05:55.581Z] Removing intermediate container 94797850f79d [2023-12-15T02:05:55.581Z] ---> 95a19abc613e [2023-12-15T02:05:55.581Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-12-15T02:05:55.581Z] ---> Running in f62a9a56269a [2023-12-15T02:05:55.581Z] Removing intermediate container f62a9a56269a [2023-12-15T02:05:55.581Z] ---> f48b65d3ef9b [2023-12-15T02:05:55.581Z] Step 23/25 : LABEL arch=amd64 [2023-12-15T02:05:55.581Z] ---> Running in 2c05d50a21c2 [2023-12-15T02:05:55.842Z] Removing intermediate container 2c05d50a21c2 [2023-12-15T02:05:55.842Z] ---> e9779b0f0a9d [2023-12-15T02:05:55.842Z] Step 24/25 : LABEL git_sha=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [2023-12-15T02:05:55.842Z] ---> Running in a127ede86271 [2023-12-15T02:05:55.842Z] Removing intermediate container a127ede86271 [2023-12-15T02:05:55.842Z] ---> 9896541d02e0 [2023-12-15T02:05:55.842Z] Step 25/25 : LABEL version=0.0.0 [2023-12-15T02:05:55.842Z] ---> Running in 9dab61cd8fc3 [2023-12-15T02:05:55.842Z] Removing intermediate container 9dab61cd8fc3 [2023-12-15T02:05:55.842Z] ---> 105952ca4658 [2023-12-15T02:05:55.842Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-15T02:05:55.842Z] Successfully built 105952ca4658 [2023-12-15T02:05:55.842Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:05:57.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-15T02:05:57.073Z] [2023-12-15T02:05:57.073Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:05:57.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-15T02:05:57.483Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-15T02:05:57.483Z] 5eb5b503b376: Pulling fs layer [2023-12-15T02:05:57.483Z] 5c69ac0246d0: Pulling fs layer [2023-12-15T02:05:57.483Z] ec43610c2a17: Pulling fs layer [2023-12-15T02:05:57.483Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-15T02:05:57.483Z] 33b1e0a273af: Pulling fs layer [2023-12-15T02:05:57.483Z] 5d3b04190fa2: Pulling fs layer [2023-12-15T02:05:57.483Z] 2f39f015ded8: Pulling fs layer [2023-12-15T02:05:57.483Z] 3a2ae6a8a46f: Waiting [2023-12-15T02:05:57.483Z] 33b1e0a273af: Waiting [2023-12-15T02:05:57.483Z] 5d3b04190fa2: Waiting [2023-12-15T02:05:57.483Z] 2f39f015ded8: Waiting [2023-12-15T02:05:57.483Z] 5c69ac0246d0: Download complete [2023-12-15T02:05:57.483Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-15T02:05:57.483Z] 3a2ae6a8a46f: Download complete [2023-12-15T02:05:57.483Z] 33b1e0a273af: Verifying Checksum [2023-12-15T02:05:57.483Z] 33b1e0a273af: Download complete [2023-12-15T02:05:57.483Z] 5d3b04190fa2: Verifying Checksum [2023-12-15T02:05:57.483Z] 5d3b04190fa2: Download complete [2023-12-15T02:05:57.483Z] ec43610c2a17: Verifying Checksum [2023-12-15T02:05:57.483Z] ec43610c2a17: Download complete [2023-12-15T02:05:57.742Z] 5eb5b503b376: Verifying Checksum [2023-12-15T02:05:57.742Z] 5eb5b503b376: Download complete [2023-12-15T02:05:58.308Z] 2f39f015ded8: Download complete [2023-12-15T02:05:58.873Z] 5eb5b503b376: Pull complete [2023-12-15T02:05:59.131Z] 5c69ac0246d0: Pull complete [2023-12-15T02:05:59.697Z] ec43610c2a17: Pull complete [2023-12-15T02:05:59.697Z] 3a2ae6a8a46f: Pull complete [2023-12-15T02:05:59.996Z] 33b1e0a273af: Pull complete [2023-12-15T02:05:59.996Z] 5d3b04190fa2: Pull complete [2023-12-15T02:06:04.180Z] 2f39f015ded8: Pull complete [2023-12-15T02:06:04.180Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-15T02:06:04.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-15T02:06:04.180Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T02:06:04.686Z] prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container [2023-12-15T02:06:04.714Z] $ 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-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-15T02:06:08.975Z] $ docker top 3ac8bfd357074abe07ff82fafa9c0c7c4e9bb57ac2914f8cfb1d1c85c880a00d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:06:09.582Z] ---> job-cost.sh [2023-12-15T02:06:09.582Z] lf-activate-venv: SKIPPING [2023-12-15T02:06:09.582Z] INFO: No Stack... [2023-12-15T02:06:09.841Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-15T02:06:10.412Z] INFO: Archiving Costs [Pipeline] sh [2023-12-15T02:06:10.740Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives/cost.csv [2023-12-15T02:06:10.740Z] + cut -d, -f6 [Pipeline] lock [2023-12-15T02:06:10.786Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [2023-12-15T02:06:10.792Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] did not exist. Created. [2023-12-15T02:06:10.793Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-15T02:06:11.247Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-15T02:06:11.297Z] Stashed 1 file(s) [Pipeline] } [2023-12-15T02:06:11.355Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-15T02:06:11.492Z] $ docker stop --time=1 3ac8bfd357074abe07ff82fafa9c0c7c4e9bb57ac2914f8cfb1d1c85c880a00d [2023-12-15T02:06:12.642Z] $ docker rm -f --volumes 3ac8bfd357074abe07ff82fafa9c0c7c4e9bb57ac2914f8cfb1d1c85c880a00d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-12-15T02:06:54.109Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25092 in /w/workspace/gexfoundry_device-mqtt-go_PR-654 [Pipeline] { [Pipeline] ws [2023-12-15T02:06:54.205Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-12-15T02:06:57.353Z] The recommended git tool is: git [2023-12-15T02:07:04.044Z] using credential edgex-jenkins-ssh [2023-12-15T02:07:04.063Z] Cloning the remote Git repository [2023-12-15T02:07:04.115Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-12-15T02:07:04.219Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-12-15T02:07:04.389Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-12-15T02:07:04.391Z] > git --version # timeout=10 [2023-12-15T02:07:04.414Z] > git --version # 'git version 2.25.1' [2023-12-15T02:07:04.418Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-15T02:07:04.587Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-15T02:07:06.452Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-12-15T02:07:06.474Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-15T02:07:07.387Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-12-15T02:07:07.428Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-12-15T02:07:07.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-15T02:07:07.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/654/head:refs/remotes/origin/PR-654 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-15T02:07:08.024Z] Merging remotes/origin/main commit 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 into PR head commit c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [2023-12-15T02:07:08.279Z] Merge succeeded, producing c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [2023-12-15T02:07:08.279Z] Checking out Revision c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 (PR-654) [2023-12-15T02:07:08.844Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-12-15T02:07:08.912Z] > git --version # timeout=10 [2023-12-15T02:07:08.922Z] > git --version # 'git version 2.25.1' [2023-12-15T02:07:08.935Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-15T02:07:08.044Z] > git config core.sparsecheckout # timeout=10 [2023-12-15T02:07:08.106Z] > git checkout -f c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 # timeout=10 [2023-12-15T02:07:08.186Z] > git remote # timeout=10 [2023-12-15T02:07:08.204Z] > git config --get remote.origin.url # timeout=10 [2023-12-15T02:07:08.220Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-15T02:07:08.235Z] > git merge 9b13877b5a91d7428adbfa2f1ba18137ccf7a444 # timeout=10 [2023-12-15T02:07:08.263Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-15T02:07:08.288Z] > git config core.sparsecheckout # timeout=10 [2023-12-15T02:07:08.301Z] > git checkout -f c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-15T02:07:10.237Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-15T02:07:10.237Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-15T02:07:10.237Z] Dload Upload Total Spent Left Speed [2023-12-15T02:07:10.237Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 85689 0 --:--:-- --:--:-- --:--:-- 86272 [Pipeline] sh [2023-12-15T02:07:10.594Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-15T02:07:10.949Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-12-15T02:07:10.949Z] sudo tee /etc/docker/daemon.new [2023-12-15T02:07:10.949Z] { [2023-12-15T02:07:10.949Z] "registry-mirrors": [ [2023-12-15T02:07:10.949Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-15T02:07:10.949Z] ], [2023-12-15T02:07:10.949Z] "bip": "10.250.0.254/24", [2023-12-15T02:07:10.949Z] "hosts": [ [2023-12-15T02:07:10.949Z] "tcp://0.0.0.0:5555", [2023-12-15T02:07:10.949Z] "unix:///var/run/docker.sock" [2023-12-15T02:07:10.949Z] ], [2023-12-15T02:07:10.949Z] "mtu": 1458, [2023-12-15T02:07:10.949Z] "selinux-enabled": true, [2023-12-15T02:07:10.949Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-15T02:07:10.949Z] } [Pipeline] sh [2023-12-15T02:07:11.304Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-15T02:07:11.672Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-15T02:07:33.911Z] provisioning config files... [2023-12-15T02:07:33.943Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17770832859595251137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:07:34.458Z] ---> ****-login.sh [2023-12-15T02:07:34.458Z] nexus3.edgexfoundry.org:10001 [2023-12-15T02:07:34.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:07:35.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:07:35.001Z] Configure a credential helper to remove this warning. See [2023-12-15T02:07:35.001Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:07:35.001Z] [2023-12-15T02:07:35.001Z] Login Succeeded [2023-12-15T02:07:35.001Z] nexus3.edgexfoundry.org:10002 [2023-12-15T02:07:35.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:07:35.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:07:35.271Z] Configure a credential helper to remove this warning. See [2023-12-15T02:07:35.271Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:07:35.271Z] [2023-12-15T02:07:35.271Z] Login Succeeded [2023-12-15T02:07:35.271Z] nexus3.edgexfoundry.org:10003 [2023-12-15T02:07:35.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:07:35.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:07:35.544Z] Configure a credential helper to remove this warning. See [2023-12-15T02:07:35.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:07:35.544Z] [2023-12-15T02:07:35.544Z] Login Succeeded [2023-12-15T02:07:35.544Z] nexus3.edgexfoundry.org:10004 [2023-12-15T02:07:35.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:07:35.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:07:35.815Z] Configure a credential helper to remove this warning. See [2023-12-15T02:07:35.815Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:07:35.815Z] [2023-12-15T02:07:35.815Z] Login Succeeded [2023-12-15T02:07:35.815Z] ****.io [2023-12-15T02:07:36.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-15T02:07:36.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-15T02:07:36.351Z] Configure a credential helper to remove this warning. See [2023-12-15T02:07:36.351Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-15T02:07:36.351Z] [2023-12-15T02:07:36.351Z] Login Succeeded [2023-12-15T02:07:36.351Z] ---> ****-login.sh ends [Pipeline] } [2023-12-15T02:07:36.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-15T02:07:36.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-15T02:07:37.000Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-15T02:07:37.067Z] ========================================================= [2023-12-15T02:07:37.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-15T02:07:37.067Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:07:37.736Z] + 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 . [2023-12-15T02:07:39.159Z] #0 building with "default" instance using docker driver [2023-12-15T02:07:39.159Z] [2023-12-15T02:07:39.159Z] #1 [internal] load .dockerignore [2023-12-15T02:07:39.159Z] #1 transferring context: 182B 0.0s done [2023-12-15T02:07:39.159Z] #1 DONE 0.1s [2023-12-15T02:07:39.159Z] [2023-12-15T02:07:39.159Z] #2 [internal] load build definition from Dockerfile [2023-12-15T02:07:39.159Z] #2 transferring dockerfile: 1.84kB done [2023-12-15T02:07:39.159Z] #2 DONE 0.1s [2023-12-15T02:07:39.159Z] [2023-12-15T02:07:39.159Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-15T02:07:39.159Z] #3 DONE 0.1s [2023-12-15T02:07:39.159Z] [2023-12-15T02:07:39.159Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-15T02:07:39.159Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-15T02:07:39.430Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-15T02:07:39.430Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s [2023-12-15T02:07:39.430Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-15T02:07:39.430Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.06MB / 3.33MB 0.1s [2023-12-15T02:07:39.430Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s [2023-12-15T02:07:39.430Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-15T02:07:39.430Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-15T02:07:39.430Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-15T02:07:39.430Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.3s [2023-12-15T02:07:39.430Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-15T02:07:39.430Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s [2023-12-15T02:07:39.430Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-15T02:07:39.430Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s [2023-12-15T02:07:39.430Z] #4 ... [2023-12-15T02:07:39.430Z] [2023-12-15T02:07:39.430Z] #5 [internal] load build context [2023-12-15T02:07:39.430Z] #5 transferring context: 7.42MB 0.4s done [2023-12-15T02:07:39.430Z] #5 DONE 0.4s [2023-12-15T02:07:39.430Z] [2023-12-15T02:07:39.430Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-15T02:07:39.430Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s [2023-12-15T02:07:39.700Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 14.68MB / 63.99MB 0.5s [2023-12-15T02:07:39.700Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.5s [2023-12-15T02:07:39.700Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.5s [2023-12-15T02:07:39.700Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.6s [2023-12-15T02:07:39.700Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2023-12-15T02:07:39.700Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s [2023-12-15T02:07:39.968Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.8s [2023-12-15T02:07:39.968Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done [2023-12-15T02:07:39.968Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23.07MB / 97.63MB 0.8s [2023-12-15T02:07:39.968Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.22MB / 63.99MB 0.9s [2023-12-15T02:07:39.968Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.9s [2023-12-15T02:07:39.968Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-15T02:07:40.237Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.75MB / 63.99MB 1.0s [2023-12-15T02:07:40.237Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.33MB / 97.63MB 1.0s [2023-12-15T02:07:40.237Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.38MB / 63.99MB 1.1s [2023-12-15T02:07:40.237Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-15T02:07:40.511Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 47.19MB / 63.99MB 1.2s [2023-12-15T02:07:40.511Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.99MB / 97.63MB 1.2s [2023-12-15T02:07:40.511Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 57.67MB / 63.99MB 1.4s [2023-12-15T02:07:40.511Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 52.43MB / 97.63MB 1.4s [2023-12-15T02:07:40.511Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 62.91MB / 63.99MB 1.5s [2023-12-15T02:07:40.511Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 57.67MB / 97.63MB 1.5s [2023-12-15T02:07:40.780Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 62.91MB / 97.63MB 1.6s [2023-12-15T02:07:40.780Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done [2023-12-15T02:07:40.780Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-15T02:07:41.050Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 73.17MB / 97.63MB 1.8s [2023-12-15T02:07:41.050Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.89MB / 97.63MB 2.0s [2023-12-15T02:07:41.335Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 88.82MB / 97.63MB 2.1s [2023-12-15T02:07:41.335Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 94.11MB / 97.63MB 2.2s [2023-12-15T02:07:41.613Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.4s done [2023-12-15T02:07:46.956Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.3s [2023-12-15T02:07:52.307Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.5s [2023-12-15T02:07:57.659Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.3s done [2023-12-15T02:07:59.604Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-15T02:07:59.604Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-15T02:07:59.604Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-15T02:08:05.023Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s [2023-12-15T02:08:08.360Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.1s done [2023-12-15T02:08:08.360Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-15T02:08:09.775Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done [2023-12-15T02:08:09.775Z] #4 DONE 30.7s [2023-12-15T02:08:10.043Z] [2023-12-15T02:08:10.043Z] #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-15T02:08:10.626Z] #6 0.719 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-15T02:08:10.895Z] #6 1.102 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-15T02:08:12.304Z] #6 2.184 (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-12-15T02:08:12.304Z] #6 2.231 (2/4) Installing libedit (20221030.3.1-r1) [2023-12-15T02:08:12.304Z] #6 2.248 (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-12-15T02:08:12.304Z] #6 2.317 (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-12-15T02:08:12.304Z] #6 2.347 Executing busybox-1.36.1-r5.trigger [2023-12-15T02:08:12.304Z] #6 2.380 OK: 271 MiB in 56 packages [2023-12-15T02:08:14.289Z] #6 DONE 4.2s [2023-12-15T02:08:14.289Z] [2023-12-15T02:08:14.289Z] #7 [builder 3/7] WORKDIR /device-mqtt-go [2023-12-15T02:08:14.289Z] #7 DONE 0.1s [2023-12-15T02:08:14.289Z] [2023-12-15T02:08:14.289Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-15T02:08:14.289Z] #8 DONE 0.1s [2023-12-15T02:08:14.289Z] [2023-12-15T02:08:14.289Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-15T02:08:40.977Z] #9 DONE 24.4s [2023-12-15T02:08:40.977Z] [2023-12-15T02:08:40.977Z] #10 [builder 6/7] COPY . . [2023-12-15T02:08:40.977Z] #10 DONE 0.3s [2023-12-15T02:08:40.977Z] [2023-12-15T02:08:40.977Z] #11 [builder 7/7] RUN echo noop [2023-12-15T02:08:40.977Z] #11 0.635 noop [2023-12-15T02:08:40.977Z] #11 DONE 0.7s [2023-12-15T02:08:40.977Z] [2023-12-15T02:08:40.977Z] #12 exporting to image [2023-12-15T02:08:40.977Z] #12 exporting layers [2023-12-15T02:09:07.692Z] #12 exporting layers 23.8s done [2023-12-15T02:09:07.692Z] #12 writing image sha256:21bc2ce156c2a825dcdfc413d8274b3dfd8b127fbb9442e4149cb7f0da0b3578 done [2023-12-15T02:09:07.692Z] #12 naming to docker.io/library/ci-base-image-arm64 0.0s done [2023-12-15T02:09:07.692Z] #12 DONE 23.9s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:09:08.301Z] + docker inspect -f . ci-base-image-arm64 [2023-12-15T02:09:08.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T02:09:08.773Z] prd-ubuntu20.04-docker-arm64-4c-16g-25092 does not seem to be running inside a container [2023-12-15T02:09:08.860Z] $ 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 [2023-12-15T02:09:11.987Z] $ docker top 9b29ae11c266376527cd415c3c30bbde1980e9d89e190e23d4f476a78a82847f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T02:09:12.919Z] + go version [2023-12-15T02:09:12.919Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-15T02:09:12.959Z] $ docker stop --time=1 9b29ae11c266376527cd415c3c30bbde1980e9d89e190e23d4f476a78a82847f [2023-12-15T02:09:14.498Z] $ docker rm -f --volumes 9b29ae11c266376527cd415c3c30bbde1980e9d89e190e23d4f476a78a82847f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:09:15.722Z] + docker inspect -f . ci-base-image-arm64 [2023-12-15T02:09:15.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T02:09:16.056Z] prd-ubuntu20.04-docker-arm64-4c-16g-25092 does not seem to be running inside a container [2023-12-15T02:09:16.132Z] $ 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 [2023-12-15T02:09:17.085Z] $ docker top 322a2134982b73c8c3390db4e4541459172cdf2ff83daee9580bf9d38ec5b0ee -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T02:09:17.678Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-12-15T02:09:18.113Z] + make test [2023-12-15T02:09:18.113Z] go test ./... -coverprofile=coverage.out ./... [2023-12-15T02:09:22.368Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-12-15T02:10:30.245Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-12-15T02:10:30.245Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-12-15T02:10:30.245Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 22.8% of statements [2023-12-15T02:10:30.245Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-15T02:10:30.245Z] go vet ./... [2023-12-15T02:10:42.577Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-15T02:10:42.577Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-15T02:10:42.577Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-15T02:10:42.612Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-15T02:10:42.690Z] $ docker stop --time=1 322a2134982b73c8c3390db4e4541459172cdf2ff83daee9580bf9d38ec5b0ee [2023-12-15T02:10:44.524Z] $ docker rm -f --volumes 322a2134982b73c8c3390db4e4541459172cdf2ff83daee9580bf9d38ec5b0ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-15T02:10:45.837Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-15T02:10:45.872Z] Warning: overwriting stash ‘coverage-report’ [2023-12-15T02:10:46.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-15T02:10:47.251Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-15T02:10:47.592Z] + ls -al . [2023-12-15T02:10:47.592Z] total 180 [2023-12-15T02:10:47.592Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:09 . [2023-12-15T02:10:47.592Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 02:07 .. [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 02:07 .dockerignore [2023-12-15T02:10:47.592Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 02:07 .git [2023-12-15T02:10:47.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:07 .github [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 264 Dec 15 02:07 .gitignore [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 02:07 .golangci.yml [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 10386 Dec 15 02:07 Attribution.txt [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 18574 Dec 15 02:07 CHANGELOG.md [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 1798 Dec 15 02:07 Dockerfile [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 02:07 GOVERNANCE.md [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 657 Dec 15 02:07 Jenkinsfile [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 02:07 LICENSE [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 1963 Dec 15 02:07 Makefile [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 02:07 OWNERS.md [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 3599 Dec 15 02:07 README.md [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 02:03 VERSION [2023-12-15T02:10:47.592Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:07 bin [2023-12-15T02:10:47.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:07 cmd [2023-12-15T02:10:47.592Z] -rw-r--r-- 1 jenkins jenkins 18506 Dec 15 02:10 coverage.out [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 3817 Dec 15 02:07 go.mod [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 35084 Dec 15 02:07 go.sum [2023-12-15T02:10:47.592Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 02:07 internal [2023-12-15T02:10:47.592Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 02:07 mock [2023-12-15T02:10:47.592Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 02:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:10:48.092Z] + 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=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 --label arch=arm64 --label version=0.0.0 . [2023-12-15T02:10:51.454Z] #0 building with "default" instance using docker driver [2023-12-15T02:10:51.454Z] [2023-12-15T02:10:51.454Z] #1 [internal] load build definition from Dockerfile [2023-12-15T02:10:51.454Z] #1 transferring dockerfile: 1.84kB 0.0s done [2023-12-15T02:10:51.454Z] #1 DONE 0.0s [2023-12-15T02:10:51.454Z] [2023-12-15T02:10:51.454Z] #2 [internal] load .dockerignore [2023-12-15T02:10:51.454Z] #2 transferring context: 182B 0.0s done [2023-12-15T02:10:51.454Z] #2 DONE 0.0s [2023-12-15T02:10:51.454Z] [2023-12-15T02:10:51.454Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-15T02:10:51.454Z] #3 DONE 0.0s [2023-12-15T02:10:51.454Z] [2023-12-15T02:10:51.454Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-15T02:10:51.454Z] #4 DONE 0.3s [2023-12-15T02:10:51.454Z] [2023-12-15T02:10:51.454Z] #5 [internal] load build context [2023-12-15T02:10:51.454Z] #5 transferring context: 26.09kB 0.1s done [2023-12-15T02:10:51.454Z] #5 DONE 0.1s [2023-12-15T02:10:51.454Z] [2023-12-15T02:10:51.454Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-15T02:10:51.454Z] #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-15T02:10:51.454Z] #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-15T02:10:51.454Z] #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-15T02:10:51.454Z] #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-15T02:10:51.454Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s [2023-12-15T02:10:51.454Z] #6 ... [2023-12-15T02:10:51.454Z] [2023-12-15T02:10:51.454Z] #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-15T02:10:51.454Z] #7 DONE 0.3s [2023-12-15T02:10:51.454Z] [2023-12-15T02:10:51.454Z] #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-15T02:10:51.454Z] #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-15T02:10:51.454Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-15T02:10:51.722Z] #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done [2023-12-15T02:10:52.307Z] #6 DONE 1.0s [2023-12-15T02:10:52.307Z] [2023-12-15T02:10:52.307Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-15T02:10:52.892Z] #8 0.709 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-15T02:10:53.162Z] #8 1.060 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-15T02:10:54.142Z] #8 ... [2023-12-15T02:10:54.142Z] [2023-12-15T02:10:54.142Z] #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client [2023-12-15T02:10:54.142Z] #9 0.691 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-15T02:10:54.142Z] #9 1.180 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-15T02:10:54.142Z] #9 2.388 OK: 271 MiB in 56 packages [2023-12-15T02:10:54.142Z] #9 DONE 2.7s [2023-12-15T02:10:54.142Z] [2023-12-15T02:10:54.142Z] #10 [builder 3/7] WORKDIR /device-mqtt-go [2023-12-15T02:10:54.142Z] #10 DONE 0.1s [2023-12-15T02:10:54.142Z] [2023-12-15T02:10:54.142Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-15T02:10:54.415Z] #8 2.248 (1/1) Installing dumb-init (1.2.5-r2) [2023-12-15T02:10:54.415Z] #8 2.264 Executing busybox-1.36.1-r5.trigger [2023-12-15T02:10:54.415Z] #8 ... [2023-12-15T02:10:54.415Z] [2023-12-15T02:10:54.415Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-15T02:10:54.415Z] #11 DONE 0.1s [2023-12-15T02:10:54.415Z] [2023-12-15T02:10:54.415Z] #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init [2023-12-15T02:10:54.415Z] #8 2.303 OK: 8 MiB in 16 packages [2023-12-15T02:10:54.687Z] #8 DONE 2.7s [2023-12-15T02:10:54.687Z] [2023-12-15T02:10:54.687Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-15T02:10:56.104Z] #12 DONE 1.5s [2023-12-15T02:10:56.104Z] [2023-12-15T02:10:56.104Z] #13 [builder 6/7] COPY . . [2023-12-15T02:10:56.104Z] #13 DONE 0.3s [2023-12-15T02:10:56.104Z] [2023-12-15T02:10:56.104Z] #14 [stage-1 3/6] RUN apk --no-cache upgrade [2023-12-15T02:10:56.104Z] #14 0.899 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-15T02:10:56.104Z] #14 1.373 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-15T02:10:57.526Z] #14 2.633 OK: 8 MiB in 16 packages [2023-12-15T02:10:57.795Z] #14 DONE 3.0s [2023-12-15T02:10:57.795Z] [2023-12-15T02:10:57.795Z] #15 [builder 7/7] RUN make build [2023-12-15T02:10:57.795Z] #15 0.708 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.4" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-12-15T02:12:19.455Z] #15 DONE 79.2s [2023-12-15T02:12:19.455Z] [2023-12-15T02:12:19.455Z] #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / [2023-12-15T02:12:19.455Z] #16 DONE 0.7s [2023-12-15T02:12:19.455Z] [2023-12-15T02:12:19.455Z] #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / [2023-12-15T02:12:19.455Z] #17 DONE 0.1s [2023-12-15T02:12:19.455Z] [2023-12-15T02:12:19.455Z] #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-12-15T02:12:19.455Z] #18 DONE 0.1s [2023-12-15T02:12:19.455Z] [2023-12-15T02:12:19.455Z] #19 exporting to image [2023-12-15T02:12:19.455Z] #19 exporting layers [2023-12-15T02:12:19.455Z] #19 exporting layers 0.3s done [2023-12-15T02:12:19.455Z] #19 writing image sha256:2a4e5c41119f68ef51c72cd1750473065757e8a44dbe6bf8d684817b6f02ca5a done [2023-12-15T02:12:19.455Z] #19 naming to docker.io/library/device-mqtt-arm64 done [2023-12-15T02:12:19.455Z] #19 DONE 0.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:12:20.811Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-15T02:12:20.811Z] [2023-12-15T02:12:20.811Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:12:21.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-15T02:12:21.527Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-15T02:12:21.527Z] 8998bd30e6a1: Pulling fs layer [2023-12-15T02:12:21.527Z] 04944245beec: Pulling fs layer [2023-12-15T02:12:21.527Z] 699f458cf7ca: Pulling fs layer [2023-12-15T02:12:21.527Z] 765212b225bb: Pulling fs layer [2023-12-15T02:12:21.527Z] f23df028b6ca: Pulling fs layer [2023-12-15T02:12:21.527Z] d65c8cfc05b1: Pulling fs layer [2023-12-15T02:12:21.527Z] 2437ff75d9bd: Pulling fs layer [2023-12-15T02:12:21.527Z] 765212b225bb: Waiting [2023-12-15T02:12:21.527Z] f23df028b6ca: Waiting [2023-12-15T02:12:21.527Z] d65c8cfc05b1: Waiting [2023-12-15T02:12:21.527Z] 2437ff75d9bd: Waiting [2023-12-15T02:12:21.527Z] 04944245beec: Verifying Checksum [2023-12-15T02:12:21.527Z] 04944245beec: Download complete [2023-12-15T02:12:21.527Z] 765212b225bb: Verifying Checksum [2023-12-15T02:12:21.527Z] 765212b225bb: Download complete [2023-12-15T02:12:21.527Z] f23df028b6ca: Verifying Checksum [2023-12-15T02:12:21.527Z] f23df028b6ca: Download complete [2023-12-15T02:12:21.527Z] d65c8cfc05b1: Verifying Checksum [2023-12-15T02:12:21.527Z] d65c8cfc05b1: Download complete [2023-12-15T02:12:21.803Z] 699f458cf7ca: Verifying Checksum [2023-12-15T02:12:21.804Z] 699f458cf7ca: Download complete [2023-12-15T02:12:22.078Z] 8998bd30e6a1: Download complete [2023-12-15T02:12:24.027Z] 2437ff75d9bd: Verifying Checksum [2023-12-15T02:12:24.027Z] 2437ff75d9bd: Download complete [2023-12-15T02:12:28.308Z] 8998bd30e6a1: Pull complete [2023-12-15T02:12:28.892Z] 04944245beec: Pull complete [2023-12-15T02:12:30.837Z] 699f458cf7ca: Pull complete [2023-12-15T02:12:30.838Z] 765212b225bb: Pull complete [2023-12-15T02:12:31.800Z] f23df028b6ca: Pull complete [2023-12-15T02:12:31.800Z] d65c8cfc05b1: Pull complete [2023-12-15T02:12:58.479Z] 2437ff75d9bd: Pull complete [2023-12-15T02:12:58.479Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-15T02:12:58.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-15T02:12:58.479Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T02:12:58.973Z] prd-ubuntu20.04-docker-arm64-4c-16g-25092 does not seem to be running inside a container [2023-12-15T02:12:59.059Z] $ 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 [2023-12-15T02:13:01.294Z] $ docker top 887b2b3a8ea6f9b4dfa7ef3e9d2225bc91398f5258919e989ba0edd040ada2eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:13:01.967Z] ---> job-cost.sh [2023-12-15T02:13:02.425Z] lf-activate-venv: SKIPPING [2023-12-15T02:13:02.425Z] INFO: No Stack... [2023-12-15T02:13:02.692Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-15T02:13:03.666Z] INFO: Archiving Costs [Pipeline] sh [2023-12-15T02:13:04.026Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-12-15T02:13:04.026Z] + cut -d, -f6 [Pipeline] lock [2023-12-15T02:13:04.086Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [2023-12-15T02:13:04.094Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] did not exist. Created. [2023-12-15T02:13:04.094Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-15T02:13:04.669Z] /w/workspace/device-mqtt-go/1@tmp/durable-8830055d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-15T02:13:05.037Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-15T02:13:05.073Z] Warning: overwriting stash ‘stack-cost’ [2023-12-15T02:13:05.137Z] Stashed 1 file(s) [Pipeline] } [2023-12-15T02:13:05.163Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-654-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-15T02:13:05.349Z] $ docker stop --time=1 887b2b3a8ea6f9b4dfa7ef3e9d2225bc91398f5258919e989ba0edd040ada2eb [2023-12-15T02:13:06.825Z] $ docker rm -f --volumes 887b2b3a8ea6f9b4dfa7ef3e9d2225bc91398f5258919e989ba0edd040ada2eb [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 [2023-12-15T02:13:08.794Z] provisioning config files... [2023-12-15T02:13:08.802Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/config16924321226479850974tmp [Pipeline] { [Pipeline] sh [2023-12-15T02:13:09.233Z] + set +x [2023-12-15T02:13:09.233Z] + bash -s -- [2023-12-15T02:13:09.233Z] + curl -s https://codecov.io/bash [2023-12-15T02:13:09.233Z] [2023-12-15T02:13:09.233Z] _____ _ [2023-12-15T02:13:09.233Z] / ____| | | [2023-12-15T02:13:09.233Z] | | ___ __| | ___ ___ _____ __ [2023-12-15T02:13:09.233Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-15T02:13:09.233Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-15T02:13:09.233Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-15T02:13:09.233Z] Bash-1.0.6 [2023-12-15T02:13:09.233Z] [2023-12-15T02:13:09.233Z] [2023-12-15T02:13:09.233Z] ==> git version 2.25.1 found [2023-12-15T02:13:09.233Z] ==> 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 [2023-12-15T02:13:09.233Z] Release-Date: 2020-01-08 [2023-12-15T02:13:09.233Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-12-15T02:13:09.233Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-15T02:13:09.233Z] ==> Jenkins CI detected. [2023-12-15T02:13:09.233Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-654 [2023-12-15T02:13:09.233Z] project root: . [2023-12-15T02:13:09.233Z] --> token set from env [2023-12-15T02:13:09.233Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-15T02:13:09.233Z] ==> Running gcov in . (disable via -X gcov) [2023-12-15T02:13:09.233Z] ==> Python coveragepy not found [2023-12-15T02:13:09.233Z] ==> Searching for coverage reports in: [2023-12-15T02:13:09.233Z] + . [2023-12-15T02:13:09.233Z] -> Found 1 reports [2023-12-15T02:13:09.233Z] ==> Detecting git/mercurial file structure [2023-12-15T02:13:09.233Z] ==> Reading reports [2023-12-15T02:13:09.490Z] + ./coverage.out bytes=18506 [2023-12-15T02:13:09.490Z] ==> Appending adjustments [2023-12-15T02:13:09.490Z] https://docs.codecov.io/docs/fixing-reports [2023-12-15T02:13:09.490Z] + Found adjustments [2023-12-15T02:13:09.490Z] ==> Gzipping contents [2023-12-15T02:13:09.490Z] 4.0K /tmp/codecov.lZXLQ3.gz [2023-12-15T02:13:09.490Z] ==> Uploading reports [2023-12-15T02:13:09.490Z] url: https://codecov.io [2023-12-15T02:13:09.491Z] query: branch=PR-654&commit=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-654%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=654&job=&cmd_args= [2023-12-15T02:13:09.491Z] -> Pinging Codecov [2023-12-15T02:13:09.491Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-654&commit=c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-654%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=654&job=&cmd_args= [2023-12-15T02:13:09.751Z] -> Uploading to [2023-12-15T02:13:09.751Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-15/7D719EC7BBE17E464838252E33014C33/c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537/b56e0f52-db77-453a-8b20-9edaf8c08380.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231215T021309Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8393c4d00c1cd1acf462f0bffc0347031fea19f57bb793d0344b09638de0bf0 [2023-12-15T02:13:09.751Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-15T02:13:09.751Z] Dload Upload Total Spent Left Speed [2023-12-15T02:13:10.011Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 13029 --:--:-- --:--:-- --:--:-- 12974 [2023-12-15T02:13:10.011Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c2f0fc803fbff2fbbff8ad7b248d0d6b60dca537 [Pipeline] } [2023-12-15T02:13:10.042Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-12-15T02:13:13.223Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives ] [2023-12-15T02:13:13.223Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives [2023-12-15T02:13:13.223Z] total 16 [2023-12-15T02:13:13.223Z] drwxr-xr-x 3 root root 4096 Dec 15 02:06 . [2023-12-15T02:13:13.223Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:06 .. [2023-12-15T02:13:13.223Z] drwxr-xr-x 2 root root 4096 Dec 15 02:06 cost [2023-12-15T02:13:13.223Z] -rw-r--r-- 1 root root 86 Dec 15 02:06 cost.csv [2023-12-15T02:13:13.223Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives [2023-12-15T02:13:13.223Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives [2023-12-15T02:13:13.223Z] total 16 [2023-12-15T02:13:13.223Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 02:06 . [2023-12-15T02:13:13.223Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 02:06 .. [2023-12-15T02:13:13.223Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 02:06 cost [2023-12-15T02:13:13.223Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 15 02:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:13:13.550Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:13:14.539Z] ---> package-listing.sh [2023-12-15T02:13:14.539Z] ++ facter osfamily [2023-12-15T02:13:14.539Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-15T02:13:14.799Z] + OS_FAMILY=debian [2023-12-15T02:13:14.799Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-654 [2023-12-15T02:13:14.799Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-15T02:13:14.799Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-15T02:13:14.799Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-15T02:13:14.799Z] + PACKAGES=/tmp/packages_start.txt [2023-12-15T02:13:14.799Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-654 ']' [2023-12-15T02:13:14.799Z] + PACKAGES=/tmp/packages_end.txt [2023-12-15T02:13:14.799Z] + case "${OS_FAMILY}" in [2023-12-15T02:13:14.799Z] + dpkg -l [2023-12-15T02:13:14.799Z] + grep '^ii' [2023-12-15T02:13:14.799Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-15T02:13:14.799Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-15T02:13:14.799Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-15T02:13:14.799Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-654 ']' [2023-12-15T02:13:14.799Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives/ [2023-12-15T02:13:14.799Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-654/archives/ [Pipeline] echo [2023-12-15T02:13:14.833Z] 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-654/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-15T02:13:15.130Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-15T02:13:15.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-15T02:13:15.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-15T02:13:16.094Z] prd-ubuntu20.04-docker-8c-8g-25089 does not seem to be running inside a container [2023-12-15T02:13:16.125Z] $ 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-654/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-654 -v /w/workspace/gexfoundry_device-mqtt-go_PR-654:/w/workspace/gexfoundry_device-mqtt-go_PR-654:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-654@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 [2023-12-15T02:13:17.095Z] $ docker top 52cc72fadf20539eb5e0d7d998a319eb5487649b563fcfc89694bfa9211984f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-15T02:13:17.575Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-15T02:13:17.896Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-15T02:13:18.215Z] + ls /var/log/sa-host [2023-12-15T02:13:18.215Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-15T02:13:18.484Z] provisioning config files... [2023-12-15T02:13:18.492Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-654@tmp/config15081101393360360696tmp [Pipeline] { [Pipeline] echo [2023-12-15T02:13:18.648Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:13:18.962Z] ---> create-netrc.sh [Pipeline] } [2023-12-15T02:13:18.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:13:20.048Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-15T02:13:20.085Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:13:20.431Z] ---> sudo-logs.sh [2023-12-15T02:13:20.431Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-15T02:13:20.573Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:13:20.909Z] ---> job-cost.sh [2023-12-15T02:13:20.909Z] lf-activate-venv: SKIPPING [2023-12-15T02:13:20.909Z] DEBUG: total: 0.2199999988079071 [2023-12-15T02:13:20.909Z] INFO: Retrieving Stack Cost... [2023-12-15T02:13:21.478Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-15T02:13:21.737Z] INFO: Archiving Costs [Pipeline] echo [2023-12-15T02:13:21.766Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-15T02:13:22.070Z] ---> logs-deploy.sh [2023-12-15T02:13:22.070Z] lf-activate-venv: SKIPPING [2023-12-15T02:13:22.070Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-654/1 [2023-12-15T02:13:22.070Z] INFO: archiving workspace using pattern(s): [2023-12-15T02:13:23.005Z] Archives upload complete. [2023-12-15T02:13:23.005Z] INFO: archiving logs to Nexus