Pull request #648 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c+2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 (5a52f6b9ab93e1bdb218b31744aab7b67a53d66b) 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-ssh5300550824816662491.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-ssh357135370398890458.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-648/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-648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1677853076180256617.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-648/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3993682441414372478.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-ssh5690017360474416559.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-648/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-648/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17706438491687876931.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-351 in /w/workspace/gexfoundry_device-mqtt-go_PR-648 [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-648 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 into PR head commit 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c Merge succeeded, producing 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c Checking out Revision 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c (PR-648) > 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/648/head:refs/remotes/origin/PR-648 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c # 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 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c # timeout=10 Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" 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-11-21T22:21:47.678Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-21T22:21:47.918Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-21T22:21:48.099Z] ========================================================= [2023-11-21T22:21:48.099Z] EdgeX Global Pipelines Version Info [2023-11-21T22:21:48.099Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:21:48.917Z] ------------------- [2023-11-21T22:21:48.917Z] stable info: [2023-11-21T22:21:48.917Z] ------------------- [2023-11-21T22:21:48.917Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-21T22:21:48.917Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:21:48.917Z] Message: update stable to v1.0.258 [2023-11-21T22:21:49.488Z] ------------------- [2023-11-21T22:21:49.488Z] experimental info: [2023-11-21T22:21:49.488Z] ------------------- [2023-11-21T22:21:49.488Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-21T22:21:49.488Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:21:49.488Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-21T22:21:49.779Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-11-21T22:21:49.844Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-11-21T22:21:49.911Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-21T22:21:49.989Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-21T22:21:50.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-21T22:21:50.250Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-21T22:21:50.381Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-21T22:21:50.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-21T22:21:50.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-21T22:21:50.694Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-21T22:21:50.783Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-21T22:21:50.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-11-21T22:21:50.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-21T22:21:51.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-21T22:21:51.170Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:21:51.279Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:21:51.378Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:21:51.467Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:21:51.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-21T22:21:51.698Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-21T22:21:51.846Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-21T22:21:51.986Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-21T22:21:52.118Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-21T22:21:52.245Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-21T22:21:52.372Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-21T22:21:52.483Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-21T22:21:52.587Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-21T22:21:52.772Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-648 [Pipeline] echo [2023-11-21T22:21:52.891Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-648 [Pipeline] echo [2023-11-21T22:21:52.989Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-648 [Pipeline] echo [2023-11-21T22:21:53.083Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] echo [2023-11-21T22:21:53.186Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b7f6d1 [Pipeline] echo [2023-11-21T22:21:53.281Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:21:53.519Z] provisioning config files... [2023-11-21T22:21:53.534Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/config4798995469366445495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:21:54.004Z] ---> ****-login.sh [2023-11-21T22:21:54.004Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:21:54.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.279Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.279Z] [2023-11-21T22:21:54.279Z] Login Succeeded [2023-11-21T22:21:54.279Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:21:54.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.279Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.279Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.279Z] [2023-11-21T22:21:54.279Z] Login Succeeded [2023-11-21T22:21:54.279Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:21:54.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.556Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.556Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.556Z] [2023-11-21T22:21:54.556Z] Login Succeeded [2023-11-21T22:21:54.556Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:21:54.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.556Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.556Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.556Z] [2023-11-21T22:21:54.556Z] Login Succeeded [2023-11-21T22:21:54.556Z] ****.io [2023-11-21T22:21:54.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.818Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.818Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.818Z] [2023-11-21T22:21:54.818Z] Login Succeeded [2023-11-21T22:21:54.818Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:21:54.846Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-21T22:21:55.790Z] + git rev-list -1 --merges 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c~1..2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] echo [2023-11-21T22:21:55.866Z] -----------> git rev-list -1 --merges 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c~1..2b7f6d12a1e62e52dc2122153b79ddc5c02e182c 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [false] [Pipeline] sh [2023-11-21T22:21:56.252Z] + git log --format=format:%s -1 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] echo [2023-11-21T22:21:56.317Z] ========================================================= [2023-11-21T22:21:56.318Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-21T22:21:56.318Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:21:56.902Z] + git log --format=format:%s -1 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] echo [2023-11-21T22:21:56.998Z] [semverPrep] GIT_COMMIT: 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c, Commit Message: build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [Pipeline] echo [2023-11-21T22:21:57.088Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-21T22:21:57.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-21T22:21:57.536Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-21T22:21:57.536Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-21T22:21:57.536Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-21T22:21:57.536Z] + sudo tee -a+ /etc/ssh/ssh_known_hosts [2023-11-21T22:21:57.536Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-21T22:21:57.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:58.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:21:58.055Z] [2023-11-21T22:21:58.055Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:58.459Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:21:58.459Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-21T22:21:58.459Z] b85a868b505f: Pulling fs layer [2023-11-21T22:21:58.459Z] e2be974225ed: Pulling fs layer [2023-11-21T22:21:58.459Z] 339a4e72a1f5: Pulling fs layer [2023-11-21T22:21:58.459Z] 988bab9f4d93: Pulling fs layer [2023-11-21T22:21:58.459Z] 1469e6f7b9e6: Pulling fs layer [2023-11-21T22:21:58.459Z] eaf3925da568: Pulling fs layer [2023-11-21T22:21:58.459Z] bab4dde63d76: Pulling fs layer [2023-11-21T22:21:58.459Z] bde34c3a00c8: Pulling fs layer [2023-11-21T22:21:58.459Z] b352a97aabf1: Pulling fs layer [2023-11-21T22:21:58.459Z] 4872d77fe225: Pulling fs layer [2023-11-21T22:21:58.459Z] 5851b861e8e6: Pulling fs layer [2023-11-21T22:21:58.459Z] eaf3925da568: Waiting [2023-11-21T22:21:58.459Z] 988bab9f4d93: Waiting [2023-11-21T22:21:58.459Z] bab4dde63d76: Waiting [2023-11-21T22:21:58.459Z] 4872d77fe225: Waiting [2023-11-21T22:21:58.459Z] bde34c3a00c8: Waiting [2023-11-21T22:21:58.459Z] 1469e6f7b9e6: Waiting [2023-11-21T22:21:58.459Z] b352a97aabf1: Waiting [2023-11-21T22:21:58.459Z] 5851b861e8e6: Waiting [2023-11-21T22:21:58.459Z] e2be974225ed: Verifying Checksum [2023-11-21T22:21:58.459Z] e2be974225ed: Download complete [2023-11-21T22:21:58.459Z] 988bab9f4d93: Verifying Checksum [2023-11-21T22:21:58.459Z] 988bab9f4d93: Download complete [2023-11-21T22:21:58.721Z] 1469e6f7b9e6: Verifying Checksum [2023-11-21T22:21:58.721Z] 1469e6f7b9e6: Download complete [2023-11-21T22:21:58.721Z] eaf3925da568: Verifying Checksum [2023-11-21T22:21:58.721Z] eaf3925da568: Download complete [2023-11-21T22:21:58.981Z] 339a4e72a1f5: Verifying Checksum [2023-11-21T22:21:58.981Z] 339a4e72a1f5: Download complete [2023-11-21T22:21:58.981Z] bde34c3a00c8: Verifying Checksum [2023-11-21T22:21:58.981Z] bde34c3a00c8: Download complete [2023-11-21T22:21:58.981Z] b352a97aabf1: Download complete [2023-11-21T22:21:58.981Z] 4872d77fe225: Verifying Checksum [2023-11-21T22:21:58.981Z] 4872d77fe225: Download complete [2023-11-21T22:21:58.981Z] 5851b861e8e6: Download complete [2023-11-21T22:21:59.242Z] b85a868b505f: Verifying Checksum [2023-11-21T22:21:59.242Z] b85a868b505f: Download complete [2023-11-21T22:21:59.808Z] bab4dde63d76: Verifying Checksum [2023-11-21T22:21:59.808Z] bab4dde63d76: Download complete [2023-11-21T22:22:00.532Z] b85a868b505f: Pull complete [2023-11-21T22:22:00.793Z] e2be974225ed: Pull complete [2023-11-21T22:22:01.363Z] 339a4e72a1f5: Pull complete [2023-11-21T22:22:01.628Z] 988bab9f4d93: Pull complete [2023-11-21T22:22:02.196Z] 1469e6f7b9e6: Pull complete [2023-11-21T22:22:02.459Z] eaf3925da568: Pull complete [2023-11-21T22:22:05.005Z] bab4dde63d76: Pull complete [2023-11-21T22:22:05.005Z] bde34c3a00c8: Pull complete [2023-11-21T22:22:05.265Z] b352a97aabf1: Pull complete [2023-11-21T22:22:05.531Z] 4872d77fe225: Pull complete [2023-11-21T22:22:05.805Z] 5851b861e8e6: Pull complete [2023-11-21T22:22:05.805Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-21T22:22:05.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:22:05.816Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:22:06.194Z] prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container [2023-11-21T22:22:06.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@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-11-21T22:22:13.674Z] $ docker top c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 -eo pid,comm [2023-11-21T22:22:13.747Z] 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-11-21T22:22:13.747Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-21T22:22:14.108Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:22:14.108Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:22:14.226Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:22:14.230Z] $ docker exec c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 ssh-agent [2023-11-21T22:22:14.352Z] SSH_AUTH_SOCK=/tmp/ssh-LUbw90LSwtuS/agent.33 [2023-11-21T22:22:14.352Z] SSH_AGENT_PID=39 [2023-11-21T22:22:14.359Z] Running ssh-add (command line suppressed) [2023-11-21T22:22:14.459Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/private_key_16414160015144306515.key (/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/private_key_16414160015144306515.key) [2023-11-21T22:22:14.473Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:22:14.896Z] + git tag --points-at HEAD [Pipeline] } [2023-11-21T22:22:14.925Z] $ docker exec --env ******** --env ******** c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 ssh-agent -k [2023-11-21T22:22:15.039Z] unset SSH_AUTH_SOCK; [2023-11-21T22:22:15.039Z] unset SSH_AGENT_PID; [2023-11-21T22:22:15.039Z] echo Agent pid 39 killed; [2023-11-21T22:22:15.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-21T22:22:15.263Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:22:15.263Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:22:15.368Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:22:15.372Z] $ docker exec c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 ssh-agent [2023-11-21T22:22:15.472Z] SSH_AUTH_SOCK=/tmp/ssh-QeQqTvRsPjsh/agent.71 [2023-11-21T22:22:15.472Z] SSH_AGENT_PID=77 [2023-11-21T22:22:15.479Z] Running ssh-add (command line suppressed) [2023-11-21T22:22:15.587Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/private_key_16673717537868372663.key (/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/private_key_16673717537868372663.key) [2023-11-21T22:22:15.597Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:22:15.951Z] + git semver init [2023-11-21T22:22:16.211Z] 2023-11-21 22:22:16,188 [run_init] DEBUG init version:0.0.0 force:False [2023-11-21T22:22:16.211Z] 2023-11-21 22:22:16,189 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver [2023-11-21T22:22:16.211Z] 2023-11-21 22:22:16,190 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver [2023-11-21T22:22:16.211Z] 2023-11-21 22:22:16,190 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-648, universal_newlines=False, shell=None, istream=None) [2023-11-21T22:22:19.473Z] 2023-11-21 22:22:18,979 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648/.git/info/exclude [2023-11-21T22:22:19.473Z] 2023-11-21 22:22:18,980 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver/PR-648 with force:False [2023-11-21T22:22:19.473Z] 2023-11-21 22:22:18,980 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver/PR-648 [2023-11-21T22:22:19.473Z] 2023-11-21 22:22:18,984 [execute] INFO git cat-file --batch-check [2023-11-21T22:22:19.473Z] 2023-11-21 22:22:18,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:22:19.473Z] 2023-11-21 22:22:18,991 [execute] INFO git cat-file --batch [2023-11-21T22:22:19.473Z] 2023-11-21 22:22:18,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:22:19.473Z] 2023-11-21 22:22:18,995 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-648/.semver/PR-648 [2023-11-21T22:22:19.473Z] 0.0.0 [Pipeline] } [2023-11-21T22:22:19.503Z] $ docker exec --env ******** --env ******** c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 ssh-agent -k [2023-11-21T22:22:19.598Z] unset SSH_AUTH_SOCK; [2023-11-21T22:22:19.599Z] unset SSH_AGENT_PID; [2023-11-21T22:22:19.599Z] echo Agent pid 77 killed; [2023-11-21T22:22:19.608Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-21T22:22:20.128Z] + git semver [Pipeline] } [2023-11-21T22:22:20.414Z] $ docker stop --time=1 c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 [2023-11-21T22:22:21.712Z] $ docker rm -f --volumes c6e2f3321604a045baa697d54fbd7ed4efc178b8ba3dc2c2400347d5d0fe93d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:22:22.276Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-21T22:22:22.718Z] Stashed 1 file(s) [Pipeline] echo [2023-11-21T22:22:22.748Z] [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-11-21T22:22:23.791Z] provisioning config files... [2023-11-21T22:22:23.802Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/config18120925925512299068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:22:24.214Z] ---> ****-login.sh [2023-11-21T22:22:24.214Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:22:24.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:24.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:24.214Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:24.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:24.214Z] [2023-11-21T22:22:24.214Z] Login Succeeded [2023-11-21T22:22:24.214Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:22:24.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:24.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:24.214Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:24.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:24.214Z] [2023-11-21T22:22:24.214Z] Login Succeeded [2023-11-21T22:22:24.214Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:22:24.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:24.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:24.478Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:24.478Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:24.478Z] [2023-11-21T22:22:24.478Z] Login Succeeded [2023-11-21T22:22:24.478Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:22:24.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:24.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:24.478Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:24.478Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:24.478Z] [2023-11-21T22:22:24.478Z] Login Succeeded [2023-11-21T22:22:24.478Z] ****.io [2023-11-21T22:22:24.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:24.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:24.738Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:24.738Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:24.738Z] [2023-11-21T22:22:24.738Z] Login Succeeded [2023-11-21T22:22:24.738Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:22:24.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:22:25.137Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:22:25.199Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:22:25.258Z] ========================================================= [2023-11-21T22:22:25.258Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-21T22:22:25.258Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:22:25.838Z] + 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-11-21T22:22:25.838Z] Sending build context to Docker daemon 17.3MB [2023-11-21T22:22:25.838Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:22:25.838Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:22:26.098Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-21T22:22:26.098Z] 7264a8db6415: Pulling fs layer [2023-11-21T22:22:26.098Z] c4d48a809fc2: Pulling fs layer [2023-11-21T22:22:26.098Z] 4f1c88b9dad5: Pulling fs layer [2023-11-21T22:22:26.098Z] ad3a456e5733: Pulling fs layer [2023-11-21T22:22:26.098Z] 69c7f0334f64: Pulling fs layer [2023-11-21T22:22:26.098Z] 1f1c1a5573a3: Pulling fs layer [2023-11-21T22:22:26.098Z] ce7588e14bc9: Pulling fs layer [2023-11-21T22:22:26.098Z] b5e4710f87ac: Pulling fs layer [2023-11-21T22:22:26.098Z] 1f1c1a5573a3: Waiting [2023-11-21T22:22:26.098Z] ce7588e14bc9: Waiting [2023-11-21T22:22:26.098Z] b5e4710f87ac: Waiting [2023-11-21T22:22:26.098Z] ad3a456e5733: Waiting [2023-11-21T22:22:26.098Z] 69c7f0334f64: Waiting [2023-11-21T22:22:26.098Z] c4d48a809fc2: Verifying Checksum [2023-11-21T22:22:26.098Z] c4d48a809fc2: Download complete [2023-11-21T22:22:26.098Z] ad3a456e5733: Verifying Checksum [2023-11-21T22:22:26.098Z] ad3a456e5733: Download complete [2023-11-21T22:22:26.098Z] 69c7f0334f64: Verifying Checksum [2023-11-21T22:22:26.362Z] 7264a8db6415: Verifying Checksum [2023-11-21T22:22:26.362Z] 7264a8db6415: Download complete [2023-11-21T22:22:26.362Z] 1f1c1a5573a3: Verifying Checksum [2023-11-21T22:22:26.362Z] 1f1c1a5573a3: Download complete [2023-11-21T22:22:26.627Z] 7264a8db6415: Pull complete [2023-11-21T22:22:26.627Z] b5e4710f87ac: Verifying Checksum [2023-11-21T22:22:26.627Z] b5e4710f87ac: Download complete [2023-11-21T22:22:27.195Z] c4d48a809fc2: Pull complete [2023-11-21T22:22:27.464Z] 4f1c88b9dad5: Verifying Checksum [2023-11-21T22:22:27.464Z] 4f1c88b9dad5: Download complete [2023-11-21T22:22:27.724Z] ce7588e14bc9: Verifying Checksum [2023-11-21T22:22:27.724Z] ce7588e14bc9: Download complete [2023-11-21T22:22:32.012Z] 4f1c88b9dad5: Pull complete [2023-11-21T22:22:32.012Z] ad3a456e5733: Pull complete [2023-11-21T22:22:32.012Z] 69c7f0334f64: Pull complete [2023-11-21T22:22:32.585Z] 1f1c1a5573a3: Pull complete [2023-11-21T22:22:35.869Z] ce7588e14bc9: Pull complete [2023-11-21T22:22:36.129Z] b5e4710f87ac: Pull complete [2023-11-21T22:22:36.129Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-21T22:22:36.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-21T22:22:36.129Z] ---> 88b5674ff536 [2023-11-21T22:22:36.129Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:22:38.504Z] Still waiting to schedule task [2023-11-21T22:22:38.504Z] ‘prd-centos7-blackbox-4c-2g-162’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:38.504Z] ‘prd-centos7-blackbox-4c-2g-163’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:38.504Z] ‘prd-ubuntu20.04-docker-8c-8g-359’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:38.504Z] ‘prd-ubuntu20.04-docker-8c-8g-362’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:38.504Z] ‘prd-ubuntu20.04-docker-8c-8g-363’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:38.504Z] ‘prd-ubuntu20.04-docker-8c-8g-364’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:38.504Z] ‘prd-ubuntu20.04-docker-8c-8g-365’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:38.504Z] ‘prd-ubuntu20.04-docker-8c-8g-366’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:38.504Z] ‘prd-ubuntu20.04-docker-8c-8g-367’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:38.504Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-358’ is offline [2023-11-21T22:22:48.378Z] ---> Running in d20dc8986372 [2023-11-21T22:22:49.312Z] Removing intermediate container d20dc8986372 [2023-11-21T22:22:49.312Z] ---> 7129bdc6f8ff [2023-11-21T22:22:49.312Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:22:49.882Z] ---> Running in 6589248fbecf [2023-11-21T22:22:50.832Z] Removing intermediate container 6589248fbecf [2023-11-21T22:22:50.832Z] ---> a5e6f3f17ea5 [2023-11-21T22:22:50.832Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:22:51.405Z] ---> Running in 5b9fd3d1bec5 [2023-11-21T22:22:51.974Z] Removing intermediate container 5b9fd3d1bec5 [2023-11-21T22:22:51.974Z] ---> 3264812c6869 [2023-11-21T22:22:51.974Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:22:52.236Z] ---> Running in 49ee6091980b [2023-11-21T22:22:52.805Z] Removing intermediate container 49ee6091980b [2023-11-21T22:22:52.805Z] ---> 24dfd2061329 [2023-11-21T22:22:52.805Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:22:53.065Z] ---> Running in 379dd2985435 [2023-11-21T22:22:53.633Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:53.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:54.152Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:22:54.152Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:22:54.152Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:22:54.152Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:22:54.152Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:22:54.152Z] OK: 268 MiB in 56 packages [2023-11-21T22:22:56.053Z] Removing intermediate container 379dd2985435 [2023-11-21T22:22:56.053Z] ---> ce1d99d20e3c [2023-11-21T22:22:56.053Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-21T22:22:56.313Z] ---> Running in a54c9fa36050 [2023-11-21T22:22:56.573Z] Removing intermediate container a54c9fa36050 [2023-11-21T22:22:56.573Z] ---> 7c9b6a905026 [2023-11-21T22:22:56.573Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-21T22:22:57.211Z] ---> ba85828ffd77 [2023-11-21T22:22:57.211Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:22:57.777Z] ---> Running in bd948907e9ae [2023-11-21T22:24:34.402Z] Removing intermediate container bd948907e9ae [2023-11-21T22:24:34.402Z] ---> 5072ee2ea85b [2023-11-21T22:24:34.402Z] Step 11/12 : COPY . . [2023-11-21T22:24:34.402Z] ---> 55308faf090e [2023-11-21T22:24:34.402Z] Step 12/12 : RUN $MAKE [2023-11-21T22:24:34.402Z] ---> Running in ded8e68648b0 [2023-11-21T22:24:34.402Z] noop [2023-11-21T22:24:34.402Z] Removing intermediate container ded8e68648b0 [2023-11-21T22:24:34.402Z] ---> fec72f96fdad [2023-11-21T22:24:34.402Z] Successfully built fec72f96fdad [2023-11-21T22:24:34.402Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:24:34.951Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:24:34.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:24:35.145Z] prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container [2023-11-21T22:24:35.177Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@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-11-21T22:24:35.497Z] $ docker top dd79543c6551d2c0fa4e35490e15216b189122b2ff07cc3e7a2c2f7a9c70e0f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:24:35.942Z] + go version [2023-11-21T22:24:35.942Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-21T22:24:35.974Z] $ docker stop --time=1 dd79543c6551d2c0fa4e35490e15216b189122b2ff07cc3e7a2c2f7a9c70e0f2 [2023-11-21T22:24:37.469Z] $ docker rm -f --volumes dd79543c6551d2c0fa4e35490e15216b189122b2ff07cc3e7a2c2f7a9c70e0f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:24:38.466Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:24:38.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:24:38.732Z] prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container [2023-11-21T22:24:38.760Z] $ 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-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@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-11-21T22:24:39.058Z] $ docker top e46b1c74acaa1a99b754dccc20e1f9036cae8a49dc910f173b7901615e8ae392 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:24:39.535Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-648 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:24:39.938Z] + make test [2023-11-21T22:24:39.938Z] go test ./... -coverprofile=coverage.out ./... [2023-11-21T22:24:41.845Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-21T22:24:51.851Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-21T22:24:51.851Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-21T22:24:51.851Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements [2023-11-21T22:24:58.412Z] go vet ./... [2023-11-21T22:25:01.879Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:25:01.879Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:25:01.879Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:25:01.917Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:25:01.980Z] $ docker stop --time=1 e46b1c74acaa1a99b754dccc20e1f9036cae8a49dc910f173b7901615e8ae392 [2023-11-21T22:25:07.456Z] $ docker rm -f --volumes e46b1c74acaa1a99b754dccc20e1f9036cae8a49dc910f173b7901615e8ae392 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:25:08.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:25:08.212Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-21T22:25:08.984Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:25:09.293Z] + ls -al . [2023-11-21T22:25:09.293Z] total 184 [2023-11-21T22:25:09.293Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 21 22:24 . [2023-11-21T22:25:09.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:21 .. [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 21 22:21 .dockerignore [2023-11-21T22:25:09.293Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:24 .git [2023-11-21T22:25:09.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 .github [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 21 22:21 .gitignore [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:21 .golangci.yml [2023-11-21T22:25:09.293Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:22 .semver [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 21 22:21 Attribution.txt [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 21 22:21 CHANGELOG.md [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 21 22:21 Dockerfile [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:21 GOVERNANCE.md [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 21 22:21 Jenkinsfile [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:21 LICENSE [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 21 22:21 Makefile [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 21 22:21 OWNERS.md [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 21 22:21 README.md [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION [2023-11-21T22:25:09.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:21 bin [2023-11-21T22:25:09.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 cmd [2023-11-21T22:25:09.293Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 21 22:24 coverage.out [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 21 22:21 go.mod [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 21 22:21 go.sum [2023-11-21T22:25:09.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 internal [2023-11-21T22:25:09.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:21 mock [2023-11-21T22:25:09.293Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 21 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:25:09.744Z] + 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=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c --label arch=amd64 --label version=0.0.0 . [2023-11-21T22:25:09.744Z] Sending build context to Docker daemon 17.32MB [2023-11-21T22:25:09.744Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:25:09.744Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-21T22:25:09.744Z] ---> fec72f96fdad [2023-11-21T22:25:09.744Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:25:10.004Z] ---> Running in 8ef8bd1eb164 [2023-11-21T22:25:10.005Z] Removing intermediate container 8ef8bd1eb164 [2023-11-21T22:25:10.005Z] ---> 02a18120bc72 [2023-11-21T22:25:10.005Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:25:10.263Z] ---> Running in a7281f802f84 [2023-11-21T22:25:10.263Z] Removing intermediate container a7281f802f84 [2023-11-21T22:25:10.263Z] ---> 419dd09cf0d2 [2023-11-21T22:25:10.263Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:25:10.263Z] ---> Running in 8177d015a035 [2023-11-21T22:25:10.263Z] Removing intermediate container 8177d015a035 [2023-11-21T22:25:10.263Z] ---> 8d4b3019f771 [2023-11-21T22:25:10.263Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:25:10.263Z] ---> Running in 0c4460c72019 [2023-11-21T22:25:10.525Z] Removing intermediate container 0c4460c72019 [2023-11-21T22:25:10.525Z] ---> fba083bffc72 [2023-11-21T22:25:10.525Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:25:10.525Z] ---> Running in 7d6a0e1a820a [2023-11-21T22:25:10.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:10.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:11.043Z] OK: 268 MiB in 56 packages [2023-11-21T22:25:11.612Z] Removing intermediate container 7d6a0e1a820a [2023-11-21T22:25:11.612Z] ---> 88e4fbf55ac4 [2023-11-21T22:25:11.612Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-21T22:25:11.612Z] ---> Running in 9debba5d1734 [2023-11-21T22:25:12.186Z] Removing intermediate container 9debba5d1734 [2023-11-21T22:25:12.186Z] ---> 057e407dfd62 [2023-11-21T22:25:12.186Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-21T22:25:12.446Z] ---> 834c8a426b5a [2023-11-21T22:25:12.446Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:25:12.705Z] ---> Running in 0e2017b4133b [2023-11-21T22:25:13.296Z] Removing intermediate container 0e2017b4133b [2023-11-21T22:25:13.296Z] ---> bdec2ec54da1 [2023-11-21T22:25:13.296Z] Step 11/25 : COPY . . [2023-11-21T22:25:13.861Z] ---> f9b46f009550 [2023-11-21T22:25:13.861Z] Step 12/25 : RUN $MAKE [2023-11-21T22:25:13.861Z] ---> Running in a1dfec08346a [2023-11-21T22:25:14.119Z] 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.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-21T22:25:40.703Z] Removing intermediate container a1dfec08346a [2023-11-21T22:25:40.703Z] ---> b049923cb9e6 [2023-11-21T22:25:40.703Z] Step 13/25 : FROM alpine:3.18 [2023-11-21T22:25:40.703Z] 3.18: Pulling from library/alpine [2023-11-21T22:25:40.703Z] 96526aa774ef: Pulling fs layer [2023-11-21T22:25:40.703Z] 96526aa774ef: Verifying Checksum [2023-11-21T22:25:40.703Z] 96526aa774ef: Download complete [2023-11-21T22:25:40.703Z] 96526aa774ef: Pull complete [2023-11-21T22:25:40.703Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:25:40.703Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:25:40.703Z] ---> 8ca4688f4f35 [2023-11-21T22:25:40.703Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-21T22:25:40.703Z] ---> Running in 6a7579d676c5 [2023-11-21T22:25:40.703Z] Removing intermediate container 6a7579d676c5 [2023-11-21T22:25:40.703Z] ---> f7fbdd024c26 [2023-11-21T22:25:40.703Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:25:40.703Z] ---> Running in 45b78c71df71 [2023-11-21T22:25:40.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:40.703Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:40.703Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:25:40.703Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:25:40.703Z] OK: 7 MiB in 16 packages [2023-11-21T22:25:40.960Z] Removing intermediate container 45b78c71df71 [2023-11-21T22:25:40.960Z] ---> a81f5c183a79 [2023-11-21T22:25:40.960Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-21T22:25:40.960Z] ---> Running in cb7d6f017812 [2023-11-21T22:25:41.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:41.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:41.478Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:25:41.478Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:25:41.478Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:25:41.478Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:25:41.736Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:25:41.736Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:25:41.736Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:25:41.736Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:25:41.736Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:25:41.736Z] OK: 7 MiB in 16 packages [2023-11-21T22:25:42.303Z] Removing intermediate container cb7d6f017812 [2023-11-21T22:25:42.303Z] ---> 1a8016c40631 [2023-11-21T22:25:42.303Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-21T22:25:43.248Z] ---> 556b3577ef87 [2023-11-21T22:25:43.248Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-21T22:25:43.507Z] ---> 69e96d1a132d [2023-11-21T22:25:43.507Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-21T22:25:43.764Z] ---> 69e05c7611f5 [2023-11-21T22:25:43.764Z] Step 20/25 : EXPOSE 59982 [2023-11-21T22:25:43.764Z] ---> Running in 60e8d6f223fb [2023-11-21T22:25:43.764Z] Removing intermediate container 60e8d6f223fb [2023-11-21T22:25:43.764Z] ---> 11f6181551fc [2023-11-21T22:25:43.764Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-21T22:25:43.764Z] ---> Running in 8b6eeecf5620 [2023-11-21T22:25:44.022Z] Removing intermediate container 8b6eeecf5620 [2023-11-21T22:25:44.022Z] ---> 06749d4a9b10 [2023-11-21T22:25:44.022Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-21T22:25:44.022Z] ---> Running in 513fe30fd22a [2023-11-21T22:25:44.022Z] Removing intermediate container 513fe30fd22a [2023-11-21T22:25:44.022Z] ---> 526cd40a9c42 [2023-11-21T22:25:44.022Z] Step 23/25 : LABEL arch=amd64 [2023-11-21T22:25:44.022Z] ---> Running in 81b981214dfa [2023-11-21T22:25:44.022Z] Removing intermediate container 81b981214dfa [2023-11-21T22:25:44.022Z] ---> a5b2506290ef [2023-11-21T22:25:44.022Z] Step 24/25 : LABEL git_sha=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [2023-11-21T22:25:44.022Z] ---> Running in 3035a8a99989 [2023-11-21T22:25:44.590Z] Removing intermediate container 3035a8a99989 [2023-11-21T22:25:44.590Z] ---> d3f92ead8b01 [2023-11-21T22:25:44.590Z] Step 25/25 : LABEL version=0.0.0 [2023-11-21T22:25:44.590Z] ---> Running in 9b020ba4667c [2023-11-21T22:25:44.852Z] Removing intermediate container 9b020ba4667c [2023-11-21T22:25:44.852Z] ---> fc28b27d2892 [2023-11-21T22:25:44.852Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:25:44.852Z] Successfully built fc28b27d2892 [2023-11-21T22:25:44.852Z] 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-11-21T22:25:46.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:46.116Z] [2023-11-21T22:25:46.116Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:25:46.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:46.502Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-21T22:25:46.502Z] 5eb5b503b376: Pulling fs layer [2023-11-21T22:25:46.502Z] 5c69ac0246d0: Pulling fs layer [2023-11-21T22:25:46.502Z] ec43610c2a17: Pulling fs layer [2023-11-21T22:25:46.502Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-21T22:25:46.502Z] 33b1e0a273af: Pulling fs layer [2023-11-21T22:25:46.502Z] 3a2ae6a8a46f: Waiting [2023-11-21T22:25:46.502Z] 33b1e0a273af: Waiting [2023-11-21T22:25:46.502Z] 5d3b04190fa2: Pulling fs layer [2023-11-21T22:25:46.502Z] 2f39f015ded8: Pulling fs layer [2023-11-21T22:25:46.502Z] 5d3b04190fa2: Waiting [2023-11-21T22:25:46.502Z] 2f39f015ded8: Waiting [2023-11-21T22:25:46.502Z] 5c69ac0246d0: Verifying Checksum [2023-11-21T22:25:46.502Z] 5c69ac0246d0: Download complete [2023-11-21T22:25:46.502Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-21T22:25:46.502Z] 3a2ae6a8a46f: Download complete [2023-11-21T22:25:46.502Z] 33b1e0a273af: Verifying Checksum [2023-11-21T22:25:46.502Z] 33b1e0a273af: Download complete [2023-11-21T22:25:46.502Z] 5d3b04190fa2: Verifying Checksum [2023-11-21T22:25:46.502Z] 5d3b04190fa2: Download complete [2023-11-21T22:25:46.502Z] ec43610c2a17: Verifying Checksum [2023-11-21T22:25:46.502Z] ec43610c2a17: Download complete [2023-11-21T22:25:46.762Z] 5eb5b503b376: Download complete [2023-11-21T22:25:47.326Z] 2f39f015ded8: Download complete [2023-11-21T22:25:47.891Z] 5eb5b503b376: Pull complete [2023-11-21T22:25:48.149Z] 5c69ac0246d0: Pull complete [2023-11-21T22:25:48.715Z] ec43610c2a17: Pull complete [2023-11-21T22:25:48.715Z] 3a2ae6a8a46f: Pull complete [2023-11-21T22:25:48.715Z] 33b1e0a273af: Pull complete [2023-11-21T22:25:48.975Z] 5d3b04190fa2: Pull complete [2023-11-21T22:25:53.279Z] 2f39f015ded8: Pull complete [2023-11-21T22:25:53.279Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-21T22:25:53.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:53.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:25:53.633Z] prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container [2023-11-21T22:25:53.663Z] $ 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-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@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-11-21T22:26:07.076Z] $ docker top 5ffa7450b25b866449219e68624828a3dc8dfb5e879a0a16491c3d031ac3ac9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:26:07.572Z] ---> job-cost.sh [2023-11-21T22:26:07.572Z] lf-activate-venv: SKIPPING [2023-11-21T22:26:07.572Z] INFO: No Stack... [2023-11-21T22:26:07.833Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:26:08.091Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:26:08.399Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives/cost.csv [2023-11-21T22:26:08.399Z] + cut -d, -f6 [Pipeline] lock [2023-11-21T22:26:08.437Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [2023-11-21T22:26:08.442Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] did not exist. Created. [2023-11-21T22:26:08.442Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:26:08.887Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-21T22:26:08.974Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:26:08.997Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:26:09.144Z] $ docker stop --time=1 5ffa7450b25b866449219e68624828a3dc8dfb5e879a0a16491c3d031ac3ac9f [2023-11-21T22:26:10.869Z] $ docker rm -f --volumes 5ffa7450b25b866449219e68624828a3dc8dfb5e879a0a16491c3d031ac3ac9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-21T22:37:27.564Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-750 in /w/workspace/gexfoundry_device-mqtt-go_PR-648 [Pipeline] { [Pipeline] ws [2023-11-21T22:37:27.662Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-11-21T22:37:30.814Z] The recommended git tool is: git [2023-11-21T22:37:40.592Z] using credential edgex-jenkins-ssh [2023-11-21T22:37:40.611Z] Cloning the remote Git repository [2023-11-21T22:37:40.668Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-21T22:37:40.776Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-11-21T22:37:40.958Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-21T22:37:40.959Z] > git --version # timeout=10 [2023-11-21T22:37:40.980Z] > git --version # 'git version 2.25.1' [2023-11-21T22:37:40.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:41.159Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:37:43.288Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-21T22:37:43.312Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:37:45.028Z] Merging remotes/origin/main commit 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 into PR head commit 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [2023-11-21T22:37:45.343Z] Merge succeeded, producing 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [2023-11-21T22:37:45.344Z] Checking out Revision 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c (PR-648) [2023-11-21T22:37:44.359Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-21T22:37:44.402Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-21T22:37:44.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:44.435Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/648/head:refs/remotes/origin/PR-648 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-21T22:37:45.053Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:37:45.135Z] > git checkout -f 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c # timeout=10 [2023-11-21T22:37:45.234Z] > git remote # timeout=10 [2023-11-21T22:37:45.257Z] > git config --get remote.origin.url # timeout=10 [2023-11-21T22:37:45.280Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:45.297Z] > git merge 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 [2023-11-21T22:37:45.327Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-21T22:37:45.353Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:37:45.368Z] > git checkout -f 2b7f6d12a1e62e52dc2122153b79ddc5c02e182c # timeout=10 [2023-11-21T22:37:45.935Z] Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" [2023-11-21T22:37:46.030Z] > git --version # timeout=10 [2023-11-21T22:37:46.042Z] > git --version # 'git version 2.25.1' [2023-11-21T22:37:46.061Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:37:47.418Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-21T22:37:47.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:37:47.418Z] Dload Upload Total Spent Left Speed [2023-11-21T22:37:47.418Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 179k 0 --:--:-- --:--:-- --:--:-- 179k [Pipeline] sh [2023-11-21T22:37:47.771Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-21T22:37:48.125Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-21T22:37:48.126Z] + sudo tee /etc/docker/daemon.new [2023-11-21T22:37:48.126Z] { [2023-11-21T22:37:48.126Z] "registry-mirrors": [ [2023-11-21T22:37:48.126Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-21T22:37:48.126Z] ], [2023-11-21T22:37:48.126Z] "bip": "10.250.0.254/24", [2023-11-21T22:37:48.126Z] "hosts": [ [2023-11-21T22:37:48.126Z] "tcp://0.0.0.0:5555", [2023-11-21T22:37:48.126Z] "unix:///var/run/docker.sock" [2023-11-21T22:37:48.126Z] ], [2023-11-21T22:37:48.126Z] "mtu": 1458, [2023-11-21T22:37:48.126Z] "selinux-enabled": true, [2023-11-21T22:37:48.126Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-21T22:37:48.126Z] } [Pipeline] sh [2023-11-21T22:37:48.524Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-21T22:37:48.890Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:38:07.294Z] provisioning config files... [2023-11-21T22:38:07.328Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config13551038539574518945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:38:07.862Z] ---> ****-login.sh [2023-11-21T22:38:07.862Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:38:08.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:38:08.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:38:08.453Z] Configure a credential helper to remove this warning. See [2023-11-21T22:38:08.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:38:08.453Z] [2023-11-21T22:38:08.453Z] Login Succeeded [2023-11-21T22:38:08.453Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:38:08.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:38:09.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:38:09.005Z] Configure a credential helper to remove this warning. See [2023-11-21T22:38:09.005Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:38:09.005Z] [2023-11-21T22:38:09.005Z] Login Succeeded [2023-11-21T22:38:09.005Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:38:09.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:38:09.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:38:09.277Z] Configure a credential helper to remove this warning. See [2023-11-21T22:38:09.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:38:09.277Z] [2023-11-21T22:38:09.277Z] Login Succeeded [2023-11-21T22:38:09.277Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:38:09.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:38:09.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:38:09.834Z] Configure a credential helper to remove this warning. See [2023-11-21T22:38:09.834Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:38:09.834Z] [2023-11-21T22:38:09.834Z] Login Succeeded [2023-11-21T22:38:09.834Z] ****.io [2023-11-21T22:38:10.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:38:10.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:38:10.374Z] Configure a credential helper to remove this warning. See [2023-11-21T22:38:10.374Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:38:10.374Z] [2023-11-21T22:38:10.374Z] Login Succeeded [2023-11-21T22:38:10.374Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:38:10.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:38:11.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:38:11.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:38:11.178Z] ========================================================= [2023-11-21T22:38:11.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-21T22:38:11.178Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:38:11.857Z] + 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-11-21T22:38:12.127Z] Sending build context to Docker daemon 8.753MB [2023-11-21T22:38:12.404Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:38:12.404Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-21T22:38:12.404Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-21T22:38:12.404Z] 9fda8d8052c6: Pulling fs layer [2023-11-21T22:38:12.404Z] 5d54e960e981: Pulling fs layer [2023-11-21T22:38:12.404Z] c4a7e357bf2a: Pulling fs layer [2023-11-21T22:38:12.404Z] f0e02332f6b5: Pulling fs layer [2023-11-21T22:38:12.404Z] 872ee5b61b7b: Pulling fs layer [2023-11-21T22:38:12.404Z] 0c6a40ed1a82: Pulling fs layer [2023-11-21T22:38:12.404Z] 94ae7d8d031c: Pulling fs layer [2023-11-21T22:38:12.404Z] 872ee5b61b7b: Waiting [2023-11-21T22:38:12.404Z] 0c6a40ed1a82: Waiting [2023-11-21T22:38:12.404Z] 94ae7d8d031c: Waiting [2023-11-21T22:38:12.404Z] f0e02332f6b5: Waiting [2023-11-21T22:38:12.681Z] 5d54e960e981: Verifying Checksum [2023-11-21T22:38:12.681Z] 5d54e960e981: Download complete [2023-11-21T22:38:12.681Z] f0e02332f6b5: Verifying Checksum [2023-11-21T22:38:12.681Z] f0e02332f6b5: Download complete [2023-11-21T22:38:12.681Z] 872ee5b61b7b: Download complete [2023-11-21T22:38:12.681Z] 9fda8d8052c6: Verifying Checksum [2023-11-21T22:38:12.681Z] 9fda8d8052c6: Download complete [2023-11-21T22:38:13.695Z] 94ae7d8d031c: Verifying Checksum [2023-11-21T22:38:13.695Z] 94ae7d8d031c: Download complete [2023-11-21T22:38:13.695Z] 9fda8d8052c6: Pull complete [2023-11-21T22:38:14.305Z] 5d54e960e981: Pull complete [2023-11-21T22:38:14.907Z] c4a7e357bf2a: Download complete [2023-11-21T22:38:16.337Z] 0c6a40ed1a82: Verifying Checksum [2023-11-21T22:38:16.337Z] 0c6a40ed1a82: Download complete [2023-11-21T22:38:28.677Z] c4a7e357bf2a: Pull complete [2023-11-21T22:38:28.677Z] f0e02332f6b5: Pull complete [2023-11-21T22:38:28.677Z] 872ee5b61b7b: Pull complete [2023-11-21T22:38:36.910Z] 0c6a40ed1a82: Pull complete [2023-11-21T22:38:38.327Z] 94ae7d8d031c: Pull complete [2023-11-21T22:38:38.327Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-21T22:38:38.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-21T22:38:38.327Z] ---> 86de565de09d [2023-11-21T22:38:38.327Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:38:39.742Z] ---> Running in 09f097afe2ac [2023-11-21T22:38:40.009Z] Removing intermediate container 09f097afe2ac [2023-11-21T22:38:40.009Z] ---> eb28a30217fa [2023-11-21T22:38:40.009Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:38:40.277Z] ---> Running in 095f559cc7ac [2023-11-21T22:38:40.546Z] Removing intermediate container 095f559cc7ac [2023-11-21T22:38:40.546Z] ---> d5b891293272 [2023-11-21T22:38:40.546Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:38:40.546Z] ---> Running in 0b96f5975ea1 [2023-11-21T22:38:40.816Z] Removing intermediate container 0b96f5975ea1 [2023-11-21T22:38:40.816Z] ---> ab9f1264ca11 [2023-11-21T22:38:40.816Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:38:41.085Z] ---> Running in c7a7eec38b5e [2023-11-21T22:38:41.353Z] Removing intermediate container c7a7eec38b5e [2023-11-21T22:38:41.353Z] ---> 6f0fa6828b22 [2023-11-21T22:38:41.353Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:38:41.353Z] ---> Running in e4282d0a7b8b [2023-11-21T22:38:42.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:38:43.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:38:44.611Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-21T22:38:44.611Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-21T22:38:44.611Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-21T22:38:44.611Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-21T22:38:44.611Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:38:44.611Z] OK: 271 MiB in 56 packages [2023-11-21T22:38:45.614Z] Removing intermediate container e4282d0a7b8b [2023-11-21T22:38:45.615Z] ---> 5bb273bdef75 [2023-11-21T22:38:45.615Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-21T22:38:45.898Z] ---> Running in 9f67c43fb55f [2023-11-21T22:38:46.177Z] Removing intermediate container 9f67c43fb55f [2023-11-21T22:38:46.177Z] ---> b6007079ab05 [2023-11-21T22:38:46.178Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-21T22:38:46.765Z] ---> 2fb2ff65ed62 [2023-11-21T22:38:46.765Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:38:46.765Z] ---> Running in f6ea0a31604c [2023-11-21T22:40:08.472Z] Removing intermediate container f6ea0a31604c [2023-11-21T22:40:08.472Z] ---> 21c4e2da6ead [2023-11-21T22:40:08.472Z] Step 11/12 : COPY . . [2023-11-21T22:40:08.472Z] ---> f1fcb2ab11cb [2023-11-21T22:40:08.472Z] Step 12/12 : RUN $MAKE [2023-11-21T22:40:08.472Z] ---> Running in d0a7b9072a2a [2023-11-21T22:40:08.472Z] noop [2023-11-21T22:40:08.472Z] Removing intermediate container d0a7b9072a2a [2023-11-21T22:40:08.472Z] ---> efd9a50b6c23 [2023-11-21T22:40:08.472Z] Successfully built efd9a50b6c23 [2023-11-21T22:40:08.472Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:40:09.145Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:40:09.145Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:40:09.546Z] prd-ubuntu20.04-docker-arm64-4c-16g-750 does not seem to be running inside a container [2023-11-21T22:40:09.624Z] $ 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-11-21T22:40:11.060Z] $ docker top aa97fb2c55b80dd93d391e4381439074cdefcc804e2433fd97d652408d70f9a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:40:12.094Z] + go version [2023-11-21T22:40:12.094Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-21T22:40:12.125Z] $ docker stop --time=1 aa97fb2c55b80dd93d391e4381439074cdefcc804e2433fd97d652408d70f9a0 [2023-11-21T22:40:13.839Z] $ docker rm -f --volumes aa97fb2c55b80dd93d391e4381439074cdefcc804e2433fd97d652408d70f9a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:40:15.240Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:40:15.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:40:15.596Z] prd-ubuntu20.04-docker-arm64-4c-16g-750 does not seem to be running inside a container [2023-11-21T22:40:15.688Z] $ 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-11-21T22:40:19.761Z] $ docker top 32e47d9ef670e9b0c881c228f74ab13c901a10066e6367a57eb7310625c8b667 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:40:20.781Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:40:21.543Z] + make test [2023-11-21T22:40:21.543Z] go test ./... -coverprofile=coverage.out ./... [2023-11-21T22:40:25.828Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-21T22:42:32.612Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-21T22:42:35.985Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-21T22:42:35.985Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.8% of statements [2023-11-21T22:42:36.953Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-21T22:42:36.953Z] go vet ./... [2023-11-21T22:43:03.717Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:43:03.717Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:43:03.717Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:43:04.020Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:43:04.096Z] $ docker stop --time=1 32e47d9ef670e9b0c881c228f74ab13c901a10066e6367a57eb7310625c8b667 [2023-11-21T22:43:06.098Z] $ docker rm -f --volumes 32e47d9ef670e9b0c881c228f74ab13c901a10066e6367a57eb7310625c8b667 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:43:07.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:43:07.665Z] Warning: overwriting stash ‘coverage-report’ [2023-11-21T22:43:08.232Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:43:09.077Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:43:09.439Z] + ls -al . [2023-11-21T22:43:09.439Z] total 180 [2023-11-21T22:43:09.439Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:40 . [2023-11-21T22:43:09.439Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:37 .. [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 21 22:37 .dockerignore [2023-11-21T22:43:09.439Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:37 .git [2023-11-21T22:43:09.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 .github [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 21 22:37 .gitignore [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 21 22:37 .golangci.yml [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 21 22:37 Attribution.txt [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 21 22:37 CHANGELOG.md [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 21 22:37 Dockerfile [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:37 GOVERNANCE.md [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 21 22:37 Jenkinsfile [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 21 22:37 LICENSE [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 21 22:37 Makefile [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 21 22:37 OWNERS.md [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 21 22:37 README.md [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION [2023-11-21T22:43:09.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:37 bin [2023-11-21T22:43:09.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 cmd [2023-11-21T22:43:09.439Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 21 22:42 coverage.out [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 21 22:37 go.mod [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 21 22:37 go.sum [2023-11-21T22:43:09.439Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 internal [2023-11-21T22:43:09.439Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:37 mock [2023-11-21T22:43:09.439Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 21 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:43:09.946Z] + 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=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c --label arch=arm64 --label version=0.0.0 . [2023-11-21T22:43:10.215Z] Sending build context to Docker daemon 8.773MB [2023-11-21T22:43:10.490Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:43:10.490Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-21T22:43:10.490Z] ---> efd9a50b6c23 [2023-11-21T22:43:10.490Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-21T22:43:10.490Z] ---> Running in 086f06d14cb9 [2023-11-21T22:43:11.080Z] Removing intermediate container 086f06d14cb9 [2023-11-21T22:43:11.080Z] ---> 299275d65869 [2023-11-21T22:43:11.080Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-21T22:43:11.080Z] ---> Running in 6707f1704b64 [2023-11-21T22:43:11.350Z] Removing intermediate container 6707f1704b64 [2023-11-21T22:43:11.350Z] ---> 4c990e920cb7 [2023-11-21T22:43:11.350Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-21T22:43:11.350Z] ---> Running in c896d761c82e [2023-11-21T22:43:11.949Z] Removing intermediate container c896d761c82e [2023-11-21T22:43:11.949Z] ---> 297e323180b7 [2023-11-21T22:43:11.949Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-21T22:43:11.949Z] ---> Running in 913139e40fc6 [2023-11-21T22:43:12.536Z] Removing intermediate container 913139e40fc6 [2023-11-21T22:43:12.536Z] ---> ea79a49645a1 [2023-11-21T22:43:12.536Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-21T22:43:12.536Z] ---> Running in 7313bb98dd7f [2023-11-21T22:43:13.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:43:14.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:43:15.505Z] OK: 271 MiB in 56 packages [2023-11-21T22:43:16.473Z] Removing intermediate container 7313bb98dd7f [2023-11-21T22:43:16.473Z] ---> be9b16eaa7d8 [2023-11-21T22:43:16.473Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-21T22:43:16.473Z] ---> Running in 54cbad330ef8 [2023-11-21T22:43:16.742Z] Removing intermediate container 54cbad330ef8 [2023-11-21T22:43:16.742Z] ---> e9b51fa3dbe2 [2023-11-21T22:43:16.742Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-21T22:43:17.333Z] ---> 2ba2bd367df9 [2023-11-21T22:43:17.333Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:43:17.333Z] ---> Running in 61b985f0739a [2023-11-21T22:43:19.932Z] Removing intermediate container 61b985f0739a [2023-11-21T22:43:19.932Z] ---> ed129ebb3a7a [2023-11-21T22:43:19.932Z] Step 11/25 : COPY . . [2023-11-21T22:43:20.906Z] ---> 99011004fd57 [2023-11-21T22:43:20.906Z] Step 12/25 : RUN $MAKE [2023-11-21T22:43:20.906Z] ---> Running in 866ede4479b1 [2023-11-21T22:43:21.878Z] 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.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-21T22:45:43.634Z] Removing intermediate container 866ede4479b1 [2023-11-21T22:45:43.634Z] ---> 5bc740b1d6a5 [2023-11-21T22:45:43.634Z] Step 13/25 : FROM alpine:3.18 [2023-11-21T22:45:43.634Z] 3.18: Pulling from library/alpine [2023-11-21T22:45:43.634Z] 579b34f0a95b: Pulling fs layer [2023-11-21T22:45:43.634Z] 579b34f0a95b: Verifying Checksum [2023-11-21T22:45:43.634Z] 579b34f0a95b: Download complete [2023-11-21T22:45:43.634Z] 579b34f0a95b: Pull complete [2023-11-21T22:45:43.634Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:45:43.634Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:45:43.634Z] ---> 3cc203321400 [2023-11-21T22:45:43.634Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-21T22:45:43.634Z] ---> Running in 970c224f47b0 [2023-11-21T22:45:43.634Z] Removing intermediate container 970c224f47b0 [2023-11-21T22:45:43.634Z] ---> 4f3372cb264f [2023-11-21T22:45:43.634Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-21T22:45:43.634Z] ---> Running in f6a8b52ad624 [2023-11-21T22:45:43.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:43.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:43.634Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-21T22:45:43.634Z] Executing busybox-1.36.1-r2.trigger [2023-11-21T22:45:43.634Z] OK: 8 MiB in 16 packages [2023-11-21T22:45:43.634Z] Removing intermediate container f6a8b52ad624 [2023-11-21T22:45:43.634Z] ---> 4c2cf71a140c [2023-11-21T22:45:43.634Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-21T22:45:43.634Z] ---> Running in d359c44a4cec [2023-11-21T22:45:43.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:43.634Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:45:43.634Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:45:43.634Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:45:43.634Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-21T22:45:43.634Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:45:43.634Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:45:43.634Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-21T22:45:43.634Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-21T22:45:43.634Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-21T22:45:43.634Z] Executing busybox-1.36.1-r5.trigger [2023-11-21T22:45:43.634Z] OK: 8 MiB in 16 packages [2023-11-21T22:45:43.634Z] Removing intermediate container d359c44a4cec [2023-11-21T22:45:43.634Z] ---> 7e9f54eb9758 [2023-11-21T22:45:43.634Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-21T22:45:44.608Z] ---> fed523a33731 [2023-11-21T22:45:44.608Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-21T22:45:45.199Z] ---> 35c9093cf534 [2023-11-21T22:45:45.199Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-21T22:45:45.805Z] ---> e423085ea9d9 [2023-11-21T22:45:45.805Z] Step 20/25 : EXPOSE 59982 [2023-11-21T22:45:45.805Z] ---> Running in b6ede763ef1a [2023-11-21T22:45:46.083Z] Removing intermediate container b6ede763ef1a [2023-11-21T22:45:46.083Z] ---> 443a5bc23ad6 [2023-11-21T22:45:46.083Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-21T22:45:46.358Z] ---> Running in 26e86b4ba2b3 [2023-11-21T22:45:46.627Z] Removing intermediate container 26e86b4ba2b3 [2023-11-21T22:45:46.627Z] ---> 115d78865cfb [2023-11-21T22:45:46.627Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-21T22:45:46.627Z] ---> Running in 51fc83b172c8 [2023-11-21T22:45:47.220Z] Removing intermediate container 51fc83b172c8 [2023-11-21T22:45:47.220Z] ---> 9d3db7070113 [2023-11-21T22:45:47.220Z] Step 23/25 : LABEL arch=arm64 [2023-11-21T22:45:47.220Z] ---> Running in 3c57186a88f6 [2023-11-21T22:45:47.501Z] Removing intermediate container 3c57186a88f6 [2023-11-21T22:45:47.501Z] ---> 535377ae1501 [2023-11-21T22:45:47.501Z] Step 24/25 : LABEL git_sha=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [2023-11-21T22:45:47.501Z] ---> Running in 41faf2015574 [2023-11-21T22:45:51.066Z] Removing intermediate container 41faf2015574 [2023-11-21T22:45:51.066Z] ---> 3874fcc333d6 [2023-11-21T22:45:51.066Z] Step 25/25 : LABEL version=0.0.0 [2023-11-21T22:45:51.066Z] ---> Running in 9fe8cbfac65b [2023-11-21T22:45:51.333Z] Removing intermediate container 9fe8cbfac65b [2023-11-21T22:45:51.333Z] ---> e7153aec465c [2023-11-21T22:45:51.333Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:45:51.333Z] Successfully built e7153aec465c [2023-11-21T22:45:51.333Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:45:52.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:45:52.602Z] [2023-11-21T22:45:52.602Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:45:53.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:45:53.313Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-21T22:45:53.313Z] 8998bd30e6a1: Pulling fs layer [2023-11-21T22:45:53.313Z] 04944245beec: Pulling fs layer [2023-11-21T22:45:53.313Z] 699f458cf7ca: Pulling fs layer [2023-11-21T22:45:53.313Z] 765212b225bb: Pulling fs layer [2023-11-21T22:45:53.313Z] f23df028b6ca: Pulling fs layer [2023-11-21T22:45:53.313Z] d65c8cfc05b1: Pulling fs layer [2023-11-21T22:45:53.313Z] 2437ff75d9bd: Pulling fs layer [2023-11-21T22:45:53.313Z] f23df028b6ca: Waiting [2023-11-21T22:45:53.313Z] d65c8cfc05b1: Waiting [2023-11-21T22:45:53.313Z] 2437ff75d9bd: Waiting [2023-11-21T22:45:53.313Z] 765212b225bb: Waiting [2023-11-21T22:45:53.313Z] 04944245beec: Verifying Checksum [2023-11-21T22:45:53.313Z] 04944245beec: Download complete [2023-11-21T22:45:53.313Z] 765212b225bb: Verifying Checksum [2023-11-21T22:45:53.313Z] 765212b225bb: Download complete [2023-11-21T22:45:53.313Z] f23df028b6ca: Verifying Checksum [2023-11-21T22:45:53.313Z] f23df028b6ca: Download complete [2023-11-21T22:45:53.586Z] d65c8cfc05b1: Verifying Checksum [2023-11-21T22:45:53.586Z] d65c8cfc05b1: Download complete [2023-11-21T22:45:53.586Z] 699f458cf7ca: Verifying Checksum [2023-11-21T22:45:53.586Z] 699f458cf7ca: Download complete [2023-11-21T22:45:54.175Z] 8998bd30e6a1: Verifying Checksum [2023-11-21T22:45:54.175Z] 8998bd30e6a1: Download complete [2023-11-21T22:45:56.776Z] 2437ff75d9bd: Download complete [2023-11-21T22:45:59.377Z] 8998bd30e6a1: Pull complete [2023-11-21T22:45:59.377Z] 04944245beec: Pull complete [2023-11-21T22:46:01.330Z] 699f458cf7ca: Pull complete [2023-11-21T22:46:01.330Z] 765212b225bb: Pull complete [2023-11-21T22:46:02.304Z] f23df028b6ca: Pull complete [2023-11-21T22:46:06.566Z] d65c8cfc05b1: Pull complete [2023-11-21T22:46:24.986Z] 2437ff75d9bd: Pull complete [2023-11-21T22:46:24.986Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-21T22:46:24.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:46:24.986Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:46:25.571Z] prd-ubuntu20.04-docker-arm64-4c-16g-750 does not seem to be running inside a container [2023-11-21T22:46:25.667Z] $ 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-11-21T22:46:27.178Z] $ docker top 1dfb7e33e81f680d3a24aee9c4c03a2faa53fc4ae5a9e95bffcb3a941278d194 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:28.208Z] ---> job-cost.sh [2023-11-21T22:46:28.208Z] lf-activate-venv: SKIPPING [2023-11-21T22:46:28.208Z] INFO: No Stack... [2023-11-21T22:46:28.791Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-21T22:46:29.758Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:46:30.433Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-11-21T22:46:30.433Z] + cut -d, -f6 [Pipeline] lock [2023-11-21T22:46:30.526Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [2023-11-21T22:46:30.530Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] did not exist. Created. [2023-11-21T22:46:30.530Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:46:31.373Z] /w/workspace/device-mqtt-go/1@tmp/durable-f017c0a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-21T22:46:32.050Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-21T22:46:32.098Z] Warning: overwriting stash ‘stack-cost’ [2023-11-21T22:46:32.153Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:46:32.183Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-648-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:46:32.352Z] $ docker stop --time=1 1dfb7e33e81f680d3a24aee9c4c03a2faa53fc4ae5a9e95bffcb3a941278d194 [2023-11-21T22:46:35.369Z] $ docker rm -f --volumes 1dfb7e33e81f680d3a24aee9c4c03a2faa53fc4ae5a9e95bffcb3a941278d194 [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-11-21T22:46:37.359Z] provisioning config files... [2023-11-21T22:46:37.369Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/config17515682079582798996tmp [Pipeline] { [Pipeline] sh [2023-11-21T22:46:37.800Z] + set +x [2023-11-21T22:46:37.800Z] + curl -s+ https://codecov.io/bash [2023-11-21T22:46:37.800Z] bash -s -- [2023-11-21T22:46:37.800Z] [2023-11-21T22:46:37.800Z] _____ _ [2023-11-21T22:46:37.801Z] / ____| | | [2023-11-21T22:46:37.801Z] | | ___ __| | ___ ___ _____ __ [2023-11-21T22:46:37.801Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-21T22:46:37.801Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-21T22:46:37.801Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-21T22:46:37.801Z] Bash-1.0.6 [2023-11-21T22:46:37.801Z] [2023-11-21T22:46:37.801Z] [2023-11-21T22:46:37.801Z] ==> git version 2.25.1 found [2023-11-21T22:46:37.801Z] ==> 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-11-21T22:46:37.801Z] Release-Date: 2020-01-08 [2023-11-21T22:46:37.801Z] 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-11-21T22:46:37.801Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-21T22:46:37.801Z] ==> Jenkins CI detected. [2023-11-21T22:46:37.801Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-648 [2023-11-21T22:46:37.801Z] project root: . [2023-11-21T22:46:37.801Z] --> token set from env [2023-11-21T22:46:37.801Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-21T22:46:37.801Z] ==> Running gcov in . (disable via -X gcov) [2023-11-21T22:46:37.801Z] ==> Python coveragepy not found [2023-11-21T22:46:37.801Z] ==> Searching for coverage reports in: [2023-11-21T22:46:37.801Z] + . [2023-11-21T22:46:37.801Z] -> Found 1 reports [2023-11-21T22:46:37.801Z] ==> Detecting git/mercurial file structure [2023-11-21T22:46:37.801Z] ==> Reading reports [2023-11-21T22:46:37.801Z] + ./coverage.out bytes=18506 [2023-11-21T22:46:37.801Z] ==> Appending adjustments [2023-11-21T22:46:37.801Z] https://docs.codecov.io/docs/fixing-reports [2023-11-21T22:46:38.063Z] + Found adjustments [2023-11-21T22:46:38.063Z] ==> Gzipping contents [2023-11-21T22:46:38.063Z] 4.0K /tmp/codecov.OF17Rz.gz [2023-11-21T22:46:38.063Z] ==> Uploading reports [2023-11-21T22:46:38.063Z] url: https://codecov.io [2023-11-21T22:46:38.063Z] query: branch=PR-648&commit=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-648%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=648&job=&cmd_args= [2023-11-21T22:46:38.063Z] -> Pinging Codecov [2023-11-21T22:46:38.063Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-648&commit=2b7f6d12a1e62e52dc2122153b79ddc5c02e182c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-648%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=648&job=&cmd_args= [2023-11-21T22:46:38.063Z] -> Uploading to [2023-11-21T22:46:38.063Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-21/7D719EC7BBE17E464838252E33014C33/2b7f6d12a1e62e52dc2122153b79ddc5c02e182c/40b985db-18e7-4db7-9825-1719af6620ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231121T224637Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=defb0fb5722f7419df0977893eeb2a0917d7388d723b17059e5386a465d41174 [2023-11-21T22:46:38.063Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:46:38.063Z] Dload Upload Total Spent Left Speed [2023-11-21T22:46:38.321Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11593 --:--:-- --:--:-- --:--:-- 11593 [2023-11-21T22:46:38.322Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2b7f6d12a1e62e52dc2122153b79ddc5c02e182c [Pipeline] } [2023-11-21T22:46:38.354Z] 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-11-21T22:46:41.566Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives ] [2023-11-21T22:46:41.566Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives [2023-11-21T22:46:41.566Z] total 16 [2023-11-21T22:46:41.566Z] drwxr-xr-x 3 root root 4096 Nov 21 22:26 . [2023-11-21T22:46:41.566Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 21 22:26 .. [2023-11-21T22:46:41.566Z] drwxr-xr-x 2 root root 4096 Nov 21 22:26 cost [2023-11-21T22:46:41.566Z] -rw-r--r-- 1 root root 86 Nov 21 22:26 cost.csv [2023-11-21T22:46:41.567Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives [2023-11-21T22:46:41.567Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives [2023-11-21T22:46:41.567Z] total 16 [2023-11-21T22:46:41.567Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:26 . [2023-11-21T22:46:41.567Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 21 22:26 .. [2023-11-21T22:46:41.567Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 22:26 cost [2023-11-21T22:46:41.567Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 21 22:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:41.898Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:42.819Z] ---> package-listing.sh [2023-11-21T22:46:42.819Z] ++ facter osfamily [2023-11-21T22:46:42.819Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-21T22:46:43.079Z] + OS_FAMILY=debian [2023-11-21T22:46:43.079Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-648 [2023-11-21T22:46:43.079Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-21T22:46:43.079Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-21T22:46:43.079Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-21T22:46:43.079Z] + PACKAGES=/tmp/packages_start.txt [2023-11-21T22:46:43.079Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-648 ']' [2023-11-21T22:46:43.079Z] + PACKAGES=/tmp/packages_end.txt [2023-11-21T22:46:43.079Z] + case "${OS_FAMILY}" in [2023-11-21T22:46:43.079Z] + dpkg -l [2023-11-21T22:46:43.079Z] + grep '^ii' [2023-11-21T22:46:43.079Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-21T22:46:43.079Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-21T22:46:43.079Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-21T22:46:43.079Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-648 ']' [2023-11-21T22:46:43.079Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives/ [2023-11-21T22:46:43.079Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-648/archives/ [Pipeline] echo [2023-11-21T22:46:43.113Z] 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-648/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-21T22:46:43.403Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:46:44.086Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:46:44.086Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:46:44.338Z] prd-ubuntu20.04-docker-8c-8g-351 does not seem to be running inside a container [2023-11-21T22:46:44.368Z] $ 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-648/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-648 -v /w/workspace/gexfoundry_device-mqtt-go_PR-648:/w/workspace/gexfoundry_device-mqtt-go_PR-648:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-648@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-11-21T22:46:44.561Z] $ docker top b7c66771ed320ff70813b1a604f8492b6df9a98bd396c9e2c7123c12c811d6e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:46:45.043Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-21T22:46:45.364Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-21T22:46:45.690Z] + ls /var/log/sa-host [2023-11-21T22:46:45.690Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:46:45.871Z] provisioning config files... [2023-11-21T22:46:45.880Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-648@tmp/config3932900734313676895tmp [Pipeline] { [Pipeline] echo [2023-11-21T22:46:46.023Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:46.336Z] ---> create-netrc.sh [Pipeline] } [2023-11-21T22:46:46.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:46.859Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-21T22:46:46.896Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:47.209Z] ---> sudo-logs.sh [2023-11-21T22:46:47.209Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-21T22:46:47.341Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:47.663Z] ---> job-cost.sh [2023-11-21T22:46:47.663Z] lf-activate-venv: SKIPPING [2023-11-21T22:46:47.663Z] DEBUG: total: 0.2199999988079071 [2023-11-21T22:46:47.663Z] INFO: Retrieving Stack Cost... [2023-11-21T22:46:48.232Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:46:48.491Z] INFO: Archiving Costs [Pipeline] echo [2023-11-21T22:46:48.524Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:46:48.837Z] ---> logs-deploy.sh [2023-11-21T22:46:48.837Z] lf-activate-venv: SKIPPING [2023-11-21T22:46:48.837Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-648/1 [2023-11-21T22:46:48.837Z] INFO: archiving workspace using pattern(s): [2023-11-21T22:46:49.772Z] Archives upload complete. [2023-11-21T22:46:49.772Z] INFO: archiving logs to Nexus [2023-11-21T22:46:50.340Z] ---> uname -a: [2023-11-21T22:46:50.340Z] Linux prd-ubuntu20-04-docker-8c-8g-351 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-11-21T22:46:50.340Z] [2023-11-21T22:46:50.340Z] [2023-11-21T22:46:50.340Z] ---> lscpu: [2023-11-21T22:46:50.340Z] Architecture: x86_64 [2023-11-21T22:46:50.340Z] CPU op-mode(s): 32-bit, 64-bit [2023-11-21T22:46:50.340Z] Byte Order: Little Endian [2023-11-21T22:46:50.340Z] Address sizes: 40 bits physical, 48 bits virtual [2023-11-21T22:46:50.340Z] CPU(s): 8 [2023-11-21T22:46:50.340Z] On-line CPU(s) list: 0-7 [2023-11-21T22:46:50.340Z] Thread(s) per core: 1 [2023-11-21T22:46:50.340Z] Core(s) per socket: 1 [2023-11-21T22:46:50.340Z] Socket(s): 8 [2023-11-21T22:46:50.340Z] NUMA node(s): 1 [2023-11-21T22:46:50.340Z] Vendor ID: AuthenticAMD [2023-11-21T22:46:50.340Z] CPU family: 23 [2023-11-21T22:46:50.340Z] Model: 49 [2023-11-21T22:46:50.340Z] Model name: AMD EPYC-Rome Processor [2023-11-21T22:46:50.340Z] Stepping: 0 [2023-11-21T22:46:50.340Z] CPU MHz: 2799.998 [2023-11-21T22:46:50.340Z] BogoMIPS: 5599.99 [2023-11-21T22:46:50.340Z] Virtualization: AMD-V [2023-11-21T22:46:50.340Z] Hypervisor vendor: KVM [2023-11-21T22:46:50.340Z] Virtualization type: full [2023-11-21T22:46:50.340Z] L1d cache: 256 KiB [2023-11-21T22:46:50.340Z] L1i cache: 256 KiB [2023-11-21T22:46:50.340Z] L2 cache: 4 MiB [2023-11-21T22:46:50.340Z] L3 cache: 128 MiB [2023-11-21T22:46:50.340Z] NUMA node0 CPU(s): 0-7 [2023-11-21T22:46:50.340Z] Vulnerability Itlb multihit: Not affected [2023-11-21T22:46:50.340Z] Vulnerability L1tf: Not affected [2023-11-21T22:46:50.340Z] Vulnerability Mds: Not affected [2023-11-21T22:46:50.340Z] Vulnerability Meltdown: Not affected [2023-11-21T22:46:50.340Z] Vulnerability Mmio stale data: Not affected [2023-11-21T22:46:50.340Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-11-21T22:46:50.340Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-11-21T22:46:50.340Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-11-21T22:46:50.340Z] Vulnerability Srbds: Not affected [2023-11-21T22:46:50.340Z] Vulnerability Tsx async abort: Not affected [2023-11-21T22:46:50.340Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-11-21T22:46:50.340Z] [2023-11-21T22:46:50.340Z] [2023-11-21T22:46:50.340Z] ---> nproc: [2023-11-21T22:46:50.340Z] 8 [2023-11-21T22:46:50.340Z] [2023-11-21T22:46:50.340Z] [2023-11-21T22:46:50.340Z] ---> df -h: [2023-11-21T22:46:50.340Z] Filesystem Size Used Avail Use% Mounted on [2023-11-21T22:46:50.340Z] overlay 155G 12G 144G 8% / [2023-11-21T22:46:50.340Z] tmpfs 64M 0 64M 0% /dev [2023-11-21T22:46:50.340Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-11-21T22:46:50.340Z] shm 64M 0 64M 0% /dev/shm [2023-11-21T22:46:50.340Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-11-21T22:46:50.340Z] [2023-11-21T22:46:50.340Z]