Pull request #448 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fe821bf7dec72850af0456559ec0fef6477a5a4d+fe528491bba3fee0f8df2cff68391009d47da719 (93a5bea6b81540cd71d578acf4062531efd38155) 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-ssh9878988130221467419.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4281485528724956855.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-448/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-448/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10908698102772918197.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-448/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14761809590416527341.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2286209852076651569.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-448/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-448/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9660393560991103055.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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, buildSnap:false] ========================================================= [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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1503’ Running on prd-ubuntu20.04-docker-8c-8g-1514 in /w/workspace/gexfoundry_device-mqtt-go_PR-448 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-448 # 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 fe528491bba3fee0f8df2cff68391009d47da719 into PR head commit fe821bf7dec72850af0456559ec0fef6477a5a4d > 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/448/head:refs/remotes/origin/PR-448 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe821bf7dec72850af0456559ec0fef6477a5a4d # 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 fe528491bba3fee0f8df2cff68391009d47da719 # timeout=10 Merge succeeded, producing fe821bf7dec72850af0456559ec0fef6477a5a4d Checking out Revision fe821bf7dec72850af0456559ec0fef6477a5a4d (PR-448) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-10T01:03:55.760Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T01:03:55.915Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T01:03:55.999Z] ========================================================= [2023-01-10T01:03:55.999Z] EdgeX Global Pipelines Version Info [2023-01-10T01:03:55.999Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fe821bf7dec72850af0456559ec0fef6477a5a4d # timeout=10 [2023-01-10T01:03:56.746Z] ------------------- [2023-01-10T01:03:56.746Z] stable info: [2023-01-10T01:03:56.746Z] ------------------- [2023-01-10T01:03:56.746Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T01:03:56.746Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T01:03:56.746Z] Message: update stable to v1.0.244 [2023-01-10T01:03:57.321Z] ------------------- [2023-01-10T01:03:57.321Z] experimental info: [2023-01-10T01:03:57.321Z] ------------------- [2023-01-10T01:03:57.321Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T01:03:57.321Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T01:03:57.321Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T01:03:57.654Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-10T01:03:57.701Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-10T01:03:57.743Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T01:03:57.785Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T01:03:57.828Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T01:03:57.872Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T01:03:57.913Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T01:03:57.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T01:03:58.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T01:03:58.044Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T01:03:58.087Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T01:03:58.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-10T01:03:58.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T01:03:58.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T01:03:58.236Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T01:03:58.272Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T01:03:58.309Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T01:03:58.344Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T01:03:58.385Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T01:03:58.425Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T01:03:58.466Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T01:03:58.504Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T01:03:58.548Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T01:03:58.597Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T01:03:58.638Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T01:03:58.685Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T01:03:58.724Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T01:03:58.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-448 [Pipeline] echo [2023-01-10T01:03:58.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-448 [Pipeline] echo [2023-01-10T01:03:58.847Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-448 [Pipeline] echo [2023-01-10T01:03:58.889Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fe821bf7dec72850af0456559ec0fef6477a5a4d [Pipeline] echo [2023-01-10T01:03:58.930Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fe821bf [Pipeline] echo [2023-01-10T01:03:58.970Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T01:03:59.086Z] provisioning config files... [2023-01-10T01:03:59.098Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp/config6672434037819929811tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:03:59.450Z] ---> docker-login.sh [2023-01-10T01:03:59.450Z] nexus3.edgexfoundry.org:10001 [2023-01-10T01:04:00.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:00.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:00.019Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:00.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:00.019Z] [2023-01-10T01:04:00.019Z] Login Succeeded [2023-01-10T01:04:00.019Z] nexus3.edgexfoundry.org:10002 [2023-01-10T01:04:00.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:00.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:00.288Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:00.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:00.288Z] [2023-01-10T01:04:00.288Z] Login Succeeded [2023-01-10T01:04:00.288Z] nexus3.edgexfoundry.org:10003 [2023-01-10T01:04:00.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:00.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:00.288Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:00.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:00.288Z] [2023-01-10T01:04:00.288Z] Login Succeeded [2023-01-10T01:04:00.288Z] nexus3.edgexfoundry.org:10004 [2023-01-10T01:04:00.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:00.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:00.548Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:00.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:00.548Z] [2023-01-10T01:04:00.548Z] Login Succeeded [2023-01-10T01:04:00.548Z] docker.io [2023-01-10T01:04:00.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:00.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:00.807Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:00.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:00.807Z] [2023-01-10T01:04:00.807Z] Login Succeeded [2023-01-10T01:04:00.807Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T01:04:00.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T01:04:01.426Z] + git rev-list -1 --merges fe821bf7dec72850af0456559ec0fef6477a5a4d~1..fe821bf7dec72850af0456559ec0fef6477a5a4d [Pipeline] echo [2023-01-10T01:04:01.482Z] -----------> git rev-list -1 --merges fe821bf7dec72850af0456559ec0fef6477a5a4d~1..fe821bf7dec72850af0456559ec0fef6477a5a4d fe821bf7dec72850af0456559ec0fef6477a5a4d [false] [Pipeline] sh [2023-01-10T01:04:01.793Z] + git log --format=format:%s -1 fe821bf7dec72850af0456559ec0fef6477a5a4d [Pipeline] echo [2023-01-10T01:04:01.826Z] ========================================================= [2023-01-10T01:04:01.826Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T01:04:01.826Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T01:04:02.250Z] + git log --format=format:%s -1 fe821bf7dec72850af0456559ec0fef6477a5a4d [Pipeline] echo [2023-01-10T01:04:02.290Z] [semverPrep] GIT_COMMIT: fe821bf7dec72850af0456559ec0fef6477a5a4d, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-01-10T01:04:02.321Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T01:04:02.690Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T01:04:02.690Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T01:04:02.690Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T01:04:02.690Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T01:04:02.690Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-01-10T01:04:02.690Z] -a /etc/ssh/ssh_known_hosts [2023-01-10T01:04:02.690Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:04:03.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T01:04:03.120Z] [2023-01-10T01:04:03.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:04:03.502Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T01:04:03.502Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T01:04:03.502Z] b85a868b505f: Pulling fs layer [2023-01-10T01:04:03.502Z] e2be974225ed: Pulling fs layer [2023-01-10T01:04:03.502Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T01:04:03.502Z] 988bab9f4d93: Pulling fs layer [2023-01-10T01:04:03.502Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T01:04:03.502Z] eaf3925da568: Pulling fs layer [2023-01-10T01:04:03.502Z] bab4dde63d76: Pulling fs layer [2023-01-10T01:04:03.502Z] bde34c3a00c8: Pulling fs layer [2023-01-10T01:04:03.503Z] b352a97aabf1: Pulling fs layer [2023-01-10T01:04:03.503Z] 4872d77fe225: Pulling fs layer [2023-01-10T01:04:03.503Z] 5851b861e8e6: Pulling fs layer [2023-01-10T01:04:03.503Z] bde34c3a00c8: Waiting [2023-01-10T01:04:03.503Z] b352a97aabf1: Waiting [2023-01-10T01:04:03.503Z] 988bab9f4d93: Waiting [2023-01-10T01:04:03.503Z] eaf3925da568: Waiting [2023-01-10T01:04:03.503Z] bab4dde63d76: Waiting [2023-01-10T01:04:03.503Z] 1469e6f7b9e6: Waiting [2023-01-10T01:04:03.503Z] 4872d77fe225: Waiting [2023-01-10T01:04:03.503Z] e2be974225ed: Verifying Checksum [2023-01-10T01:04:03.503Z] e2be974225ed: Download complete [2023-01-10T01:04:03.503Z] 988bab9f4d93: Verifying Checksum [2023-01-10T01:04:03.503Z] 988bab9f4d93: Download complete [2023-01-10T01:04:03.769Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T01:04:03.769Z] 1469e6f7b9e6: Download complete [2023-01-10T01:04:03.769Z] eaf3925da568: Download complete [2023-01-10T01:04:03.769Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T01:04:03.769Z] 339a4e72a1f5: Download complete [2023-01-10T01:04:03.769Z] bde34c3a00c8: Verifying Checksum [2023-01-10T01:04:03.769Z] bde34c3a00c8: Download complete [2023-01-10T01:04:03.769Z] b352a97aabf1: Verifying Checksum [2023-01-10T01:04:03.769Z] b352a97aabf1: Download complete [2023-01-10T01:04:03.769Z] 4872d77fe225: Verifying Checksum [2023-01-10T01:04:03.769Z] 4872d77fe225: Download complete [2023-01-10T01:04:03.769Z] 5851b861e8e6: Verifying Checksum [2023-01-10T01:04:03.769Z] 5851b861e8e6: Download complete [2023-01-10T01:04:04.028Z] b85a868b505f: Verifying Checksum [2023-01-10T01:04:04.028Z] b85a868b505f: Download complete [2023-01-10T01:04:04.287Z] bab4dde63d76: Verifying Checksum [2023-01-10T01:04:04.287Z] bab4dde63d76: Download complete [2023-01-10T01:04:05.223Z] b85a868b505f: Pull complete [2023-01-10T01:04:05.223Z] e2be974225ed: Pull complete [2023-01-10T01:04:05.791Z] 339a4e72a1f5: Pull complete [2023-01-10T01:04:05.791Z] 988bab9f4d93: Pull complete [2023-01-10T01:04:06.359Z] 1469e6f7b9e6: Pull complete [2023-01-10T01:04:06.359Z] eaf3925da568: Pull complete [2023-01-10T01:04:08.266Z] bab4dde63d76: Pull complete [2023-01-10T01:04:08.266Z] bde34c3a00c8: Pull complete [2023-01-10T01:04:08.266Z] b352a97aabf1: Pull complete [2023-01-10T01:04:08.266Z] 4872d77fe225: Pull complete [2023-01-10T01:04:08.266Z] 5851b861e8e6: Pull complete [2023-01-10T01:04:08.266Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T01:04:08.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T01:04:08.266Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:04:08.503Z] prd-ubuntu20.04-docker-8c-8g-1514 does not seem to be running inside a container [2023-01-10T01:04:08.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-448 -v /w/workspace/gexfoundry_device-mqtt-go_PR-448:/w/workspace/gexfoundry_device-mqtt-go_PR-448:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-448@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-01-10T01:04:11.055Z] $ docker top b4689f86fcbd41e4d71c426dd51bb26e210008c66dbd3ef260a875a8e7d7f609 -eo pid,comm [2023-01-10T01:04:11.111Z] 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-01-10T01:04:11.111Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T01:04:11.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T01:04:11.232Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T01:04:11.358Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T01:04:11.360Z] $ docker exec b4689f86fcbd41e4d71c426dd51bb26e210008c66dbd3ef260a875a8e7d7f609 ssh-agent [2023-01-10T01:04:11.472Z] SSH_AUTH_SOCK=/tmp/ssh-knK2YDo5t8Y9/agent.31 [2023-01-10T01:04:11.472Z] SSH_AGENT_PID=37 [2023-01-10T01:04:11.479Z] Running ssh-add (command line suppressed) [2023-01-10T01:04:11.584Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp/private_key_3621358927091248625.key (/w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp/private_key_3621358927091248625.key) [2023-01-10T01:04:11.601Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T01:04:11.937Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T01:04:11.968Z] $ docker exec --env ******** --env ******** b4689f86fcbd41e4d71c426dd51bb26e210008c66dbd3ef260a875a8e7d7f609 ssh-agent -k [2023-01-10T01:04:12.066Z] unset SSH_AUTH_SOCK; [2023-01-10T01:04:12.066Z] unset SSH_AGENT_PID; [2023-01-10T01:04:12.066Z] echo Agent pid 37 killed; [2023-01-10T01:04:12.079Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T01:04:12.171Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T01:04:12.171Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T01:04:12.292Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T01:04:12.295Z] $ docker exec b4689f86fcbd41e4d71c426dd51bb26e210008c66dbd3ef260a875a8e7d7f609 ssh-agent [2023-01-10T01:04:12.415Z] SSH_AUTH_SOCK=/tmp/ssh-amRA6Bo4EwCL/agent.70 [2023-01-10T01:04:12.415Z] SSH_AGENT_PID=77 [2023-01-10T01:04:12.421Z] Running ssh-add (command line suppressed) [2023-01-10T01:04:12.521Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp/private_key_15686069632805812767.key (/w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp/private_key_15686069632805812767.key) [2023-01-10T01:04:12.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T01:04:12.872Z] + git semver init [2023-01-10T01:04:13.131Z] 2023-01-10 01:04:13,047 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T01:04:13.131Z] 2023-01-10 01:04:13,048 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-448/.semver [2023-01-10T01:04:13.131Z] 2023-01-10 01:04:13,049 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-448/.semver [2023-01-10T01:04:13.131Z] 2023-01-10 01:04:13,049 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-448/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-448, universal_newlines=False, shell=None, istream=None) [2023-01-10T01:04:14.074Z] 2023-01-10 01:04:13,883 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-448/.git/info/exclude [2023-01-10T01:04:14.074Z] 2023-01-10 01:04:13,884 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-448/.semver/PR-448 with force:False [2023-01-10T01:04:14.074Z] 2023-01-10 01:04:13,884 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-448/.semver/PR-448 [2023-01-10T01:04:14.074Z] 2023-01-10 01:04:13,888 [execute] INFO git cat-file --batch-check [2023-01-10T01:04:14.074Z] 2023-01-10 01:04:13,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-448/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T01:04:14.074Z] 2023-01-10 01:04:13,895 [execute] INFO git cat-file --batch [2023-01-10T01:04:14.074Z] 2023-01-10 01:04:13,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-448/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T01:04:14.074Z] 2023-01-10 01:04:13,901 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-448/.semver/PR-448 [2023-01-10T01:04:14.074Z] 0.0.0 [Pipeline] } [2023-01-10T01:04:14.100Z] $ docker exec --env ******** --env ******** b4689f86fcbd41e4d71c426dd51bb26e210008c66dbd3ef260a875a8e7d7f609 ssh-agent -k [2023-01-10T01:04:14.202Z] unset SSH_AUTH_SOCK; [2023-01-10T01:04:14.203Z] unset SSH_AGENT_PID; [2023-01-10T01:04:14.203Z] echo Agent pid 77 killed; [2023-01-10T01:04:14.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T01:04:14.626Z] + git semver [Pipeline] } [2023-01-10T01:04:14.909Z] $ docker stop --time=1 b4689f86fcbd41e4d71c426dd51bb26e210008c66dbd3ef260a875a8e7d7f609 [2023-01-10T01:04:16.203Z] $ docker rm -f --volumes b4689f86fcbd41e4d71c426dd51bb26e210008c66dbd3ef260a875a8e7d7f609 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T01:04:16.602Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T01:04:16.874Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T01:04:16.891Z] [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-01-10T01:04:17.462Z] provisioning config files... [2023-01-10T01:04:17.473Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp/config5742603358040481242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:04:17.809Z] ---> docker-login.sh [2023-01-10T01:04:17.809Z] nexus3.edgexfoundry.org:10001 [2023-01-10T01:04:17.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:17.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:17.809Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:17.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:17.809Z] [2023-01-10T01:04:17.809Z] Login Succeeded [2023-01-10T01:04:17.809Z] nexus3.edgexfoundry.org:10002 [2023-01-10T01:04:17.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:17.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:17.809Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:17.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:17.809Z] [2023-01-10T01:04:17.809Z] Login Succeeded [2023-01-10T01:04:17.809Z] nexus3.edgexfoundry.org:10003 [2023-01-10T01:04:18.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:18.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:18.069Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:18.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:18.069Z] [2023-01-10T01:04:18.069Z] Login Succeeded [2023-01-10T01:04:18.069Z] nexus3.edgexfoundry.org:10004 [2023-01-10T01:04:18.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:18.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:18.069Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:18.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:18.069Z] [2023-01-10T01:04:18.069Z] Login Succeeded [2023-01-10T01:04:18.069Z] docker.io [2023-01-10T01:04:18.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:04:18.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:04:18.328Z] Configure a credential helper to remove this warning. See [2023-01-10T01:04:18.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:04:18.328Z] [2023-01-10T01:04:18.328Z] Login Succeeded [2023-01-10T01:04:18.328Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T01:04:18.355Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T01:04:18.547Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T01:04:18.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T01:04:18.619Z] ========================================================= [2023-01-10T01:04:18.619Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T01:04:18.619Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:04:19.082Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T01:04:19.082Z] Sending build context to Docker daemon 6.287MB [2023-01-10T01:04:19.082Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T01:04:19.082Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T01:04:19.082Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T01:04:19.082Z] 213ec9aee27d: Pulling fs layer [2023-01-10T01:04:19.082Z] 4583459ba037: Pulling fs layer [2023-01-10T01:04:19.082Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T01:04:19.082Z] 53926ce57604: Pulling fs layer [2023-01-10T01:04:19.082Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T01:04:19.082Z] 22ff95d597cd: Pulling fs layer [2023-01-10T01:04:19.082Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T01:04:19.082Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T01:04:19.082Z] a7acece74701: Pulling fs layer [2023-01-10T01:04:19.082Z] 12d6caf4c0d1: Waiting [2023-01-10T01:04:19.082Z] 96b7cbca73a9: Waiting [2023-01-10T01:04:19.082Z] a7acece74701: Waiting [2023-01-10T01:04:19.082Z] 53926ce57604: Waiting [2023-01-10T01:04:19.082Z] 21b2b0c7a3f4: Waiting [2023-01-10T01:04:19.082Z] 22ff95d597cd: Waiting [2023-01-10T01:04:19.082Z] 93c1e223e6f2: Download complete [2023-01-10T01:04:19.082Z] 4583459ba037: Verifying Checksum [2023-01-10T01:04:19.082Z] 4583459ba037: Download complete [2023-01-10T01:04:19.343Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T01:04:19.343Z] 21b2b0c7a3f4: Download complete [2023-01-10T01:04:19.343Z] 22ff95d597cd: Verifying Checksum [2023-01-10T01:04:19.343Z] 22ff95d597cd: Download complete [2023-01-10T01:04:19.343Z] 213ec9aee27d: Verifying Checksum [2023-01-10T01:04:19.343Z] 213ec9aee27d: Download complete [2023-01-10T01:04:19.343Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T01:04:19.343Z] 12d6caf4c0d1: Download complete [2023-01-10T01:04:19.343Z] 213ec9aee27d: Pull complete [2023-01-10T01:04:19.607Z] 4583459ba037: Pull complete [2023-01-10T01:04:19.607Z] 93c1e223e6f2: Pull complete [2023-01-10T01:04:19.869Z] a7acece74701: Download complete [2023-01-10T01:04:19.869Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T01:04:19.869Z] 96b7cbca73a9: Download complete [2023-01-10T01:04:20.126Z] 53926ce57604: Verifying Checksum [2023-01-10T01:04:20.126Z] 53926ce57604: Download complete [2023-01-10T01:04:24.308Z] 53926ce57604: Pull complete [2023-01-10T01:04:24.308Z] 21b2b0c7a3f4: Pull complete [2023-01-10T01:04:24.308Z] 22ff95d597cd: Pull complete [2023-01-10T01:04:24.308Z] 12d6caf4c0d1: Pull complete [2023-01-10T01:04:26.209Z] 96b7cbca73a9: Pull complete [2023-01-10T01:04:27.143Z] a7acece74701: Pull complete [2023-01-10T01:04:27.143Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T01:04:27.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T01:04:27.143Z] ---> db6d94c90886 [2023-01-10T01:04:27.143Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T01:04:30.463Z] ---> Running in 19e664a78f30 [2023-01-10T01:04:30.723Z] Removing intermediate container 19e664a78f30 [2023-01-10T01:04:30.723Z] ---> 75ce64bb93e6 [2023-01-10T01:04:30.723Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T01:04:30.723Z] ---> Running in d8131441eaea [2023-01-10T01:04:30.723Z] Removing intermediate container d8131441eaea [2023-01-10T01:04:30.723Z] ---> 4991aa20fa37 [2023-01-10T01:04:30.723Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T01:04:30.981Z] ---> Running in 0bc4426222be [2023-01-10T01:04:31.241Z] Removing intermediate container 0bc4426222be [2023-01-10T01:04:31.241Z] ---> c942f814fe85 [2023-01-10T01:04:31.241Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T01:04:31.500Z] ---> Running in 3a244a008f02 [2023-01-10T01:04:31.500Z] Removing intermediate container 3a244a008f02 [2023-01-10T01:04:31.500Z] ---> f111839c0bb8 [2023-01-10T01:04:31.500Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T01:04:31.500Z] ---> Running in 68d4c5f65fd6 [2023-01-10T01:04:31.758Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T01:04:32.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T01:04:32.274Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T01:04:32.274Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T01:04:32.274Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T01:04:32.274Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T01:04:32.274Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T01:04:32.274Z] OK: 216 MiB in 55 packages [2023-01-10T01:04:32.295Z] Still waiting to schedule task [2023-01-10T01:04:32.296Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1512’ [2023-01-10T01:04:32.852Z] Removing intermediate container 68d4c5f65fd6 [2023-01-10T01:04:32.852Z] ---> b9410a7318b7 [2023-01-10T01:04:32.852Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-10T01:04:32.852Z] ---> Running in 1fe4e4ab926d [2023-01-10T01:04:32.852Z] Removing intermediate container 1fe4e4ab926d [2023-01-10T01:04:32.852Z] ---> a6ac497f3f38 [2023-01-10T01:04:32.852Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T01:04:33.110Z] ---> d7f05474d26b [2023-01-10T01:04:33.110Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T01:04:33.110Z] ---> Running in 42c6e2863c33 [2023-01-10T01:04:55.041Z] Removing intermediate container 42c6e2863c33 [2023-01-10T01:04:55.041Z] ---> 6a27920896f0 [2023-01-10T01:04:55.041Z] Step 11/12 : COPY . . [2023-01-10T01:04:55.041Z] ---> 3009d0d82be0 [2023-01-10T01:04:55.041Z] Step 12/12 : RUN $MAKE [2023-01-10T01:04:55.041Z] ---> Running in c4558fd40ade [2023-01-10T01:04:55.041Z] noop [2023-01-10T01:04:55.041Z] Removing intermediate container c4558fd40ade [2023-01-10T01:04:55.041Z] ---> 4e5373ea0e80 [2023-01-10T01:04:55.041Z] Successfully built 4e5373ea0e80 [2023-01-10T01:04:55.041Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:04:55.522Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T01:04:55.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:04:55.673Z] prd-ubuntu20.04-docker-8c-8g-1514 does not seem to be running inside a container [2023-01-10T01:04:55.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-448 -v /w/workspace/gexfoundry_device-mqtt-go_PR-448:/w/workspace/gexfoundry_device-mqtt-go_PR-448:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-448@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-01-10T01:04:56.052Z] $ docker top fbe83afdaa537be2df1a3d67b9e45794d2879dbf63e036156ca6e83202a3406e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:04:56.445Z] + go version [2023-01-10T01:04:56.445Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T01:04:56.485Z] $ docker stop --time=1 fbe83afdaa537be2df1a3d67b9e45794d2879dbf63e036156ca6e83202a3406e [2023-01-10T01:04:57.753Z] $ docker rm -f --volumes fbe83afdaa537be2df1a3d67b9e45794d2879dbf63e036156ca6e83202a3406e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:04:58.457Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T01:04:58.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:04:58.601Z] prd-ubuntu20.04-docker-8c-8g-1514 does not seem to be running inside a container [2023-01-10T01:04:58.633Z] $ 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-448 -v /w/workspace/gexfoundry_device-mqtt-go_PR-448:/w/workspace/gexfoundry_device-mqtt-go_PR-448:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-448@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-01-10T01:04:58.957Z] $ docker top 6e6fdfa77a1304c7aa8da152bc8adabe6a5e9a3a7ebf1a77f251f3baece077d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:04:59.342Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-448 [Pipeline] fileExists [Pipeline] sh [2023-01-10T01:04:59.735Z] + make test [2023-01-10T01:04:59.735Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T01:04:59.994Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-10T01:05:09.952Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-10T01:05:09.952Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2023-01-10T01:05:09.952Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-10T01:05:16.510Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-10T01:05:16.510Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T01:05:19.791Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T01:05:19.791Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T01:05:19.791Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T01:05:19.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T01:05:19.863Z] $ docker stop --time=1 6e6fdfa77a1304c7aa8da152bc8adabe6a5e9a3a7ebf1a77f251f3baece077d7 [2023-01-10T01:05:22.232Z] $ docker rm -f --volumes 6e6fdfa77a1304c7aa8da152bc8adabe6a5e9a3a7ebf1a77f251f3baece077d7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T01:05:22.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T01:05:22.866Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T01:05:23.487Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T01:05:23.797Z] + ls -al . [2023-01-10T01:05:23.797Z] total 192 [2023-01-10T01:05:23.797Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 01:04 . [2023-01-10T01:05:23.797Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 01:03 .. [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 01:03 .dockerignore [2023-01-10T01:05:23.797Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 01:05 .git [2023-01-10T01:05:23.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:03 .github [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 01:03 .gitignore [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 01:03 .golangci.yml [2023-01-10T01:05:23.797Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 01:04 .semver [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 10 01:03 Attribution.txt [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 10 01:03 CHANGELOG.md [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 10 01:03 Dockerfile [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 01:03 GOVERNANCE.md [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 01:03 Jenkinsfile [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 01:03 LICENSE [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 10 01:03 Makefile [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 01:03 OWNERS.md [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 10 01:03 README.md [2023-01-10T01:05:23.797Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 01:04 VERSION [2023-01-10T01:05:23.797Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 01:03 bin [2023-01-10T01:05:23.797Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:03 cmd [2023-01-10T01:05:23.797Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 10 01:05 coverage.out [2023-01-10T01:05:23.798Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 10 01:03 go.mod [2023-01-10T01:05:23.798Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 01:03 go.sum [2023-01-10T01:05:23.798Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:03 internal [2023-01-10T01:05:23.798Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 01:03 mock [2023-01-10T01:05:23.798Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 01:03 snap [2023-01-10T01:05:23.798Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 10 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:05:24.198Z] + 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=fe821bf7dec72850af0456559ec0fef6477a5a4d --label arch=amd64 --label version=0.0.0 . [2023-01-10T01:05:24.198Z] Sending build context to Docker daemon 6.306MB [2023-01-10T01:05:24.198Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T01:05:24.198Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-10T01:05:24.198Z] ---> 4e5373ea0e80 [2023-01-10T01:05:24.198Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-10T01:05:24.458Z] ---> Running in 2f16a45fec4b [2023-01-10T01:05:24.458Z] Removing intermediate container 2f16a45fec4b [2023-01-10T01:05:24.458Z] ---> 081e5f582bd6 [2023-01-10T01:05:24.458Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T01:05:24.458Z] ---> Running in 003ae83c61e2 [2023-01-10T01:05:24.458Z] Removing intermediate container 003ae83c61e2 [2023-01-10T01:05:24.458Z] ---> 1b95a6f2afa3 [2023-01-10T01:05:24.458Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T01:05:24.458Z] ---> Running in 0e50227650e0 [2023-01-10T01:05:24.718Z] Removing intermediate container 0e50227650e0 [2023-01-10T01:05:24.718Z] ---> b740638f4991 [2023-01-10T01:05:24.718Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T01:05:24.718Z] ---> Running in 8ca44dcad006 [2023-01-10T01:05:24.718Z] Removing intermediate container 8ca44dcad006 [2023-01-10T01:05:24.718Z] ---> 95f5e42201fd [2023-01-10T01:05:24.718Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T01:05:24.718Z] ---> Running in 364a26999c13 [2023-01-10T01:05:24.977Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T01:05:25.236Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T01:05:25.236Z] OK: 216 MiB in 55 packages [2023-01-10T01:05:25.804Z] Removing intermediate container 364a26999c13 [2023-01-10T01:05:25.804Z] ---> 54465076458a [2023-01-10T01:05:25.804Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-10T01:05:25.804Z] ---> Running in b2741b471f56 [2023-01-10T01:05:25.804Z] Removing intermediate container b2741b471f56 [2023-01-10T01:05:25.804Z] ---> 3fe0fd8c39bc [2023-01-10T01:05:25.804Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-10T01:05:25.804Z] ---> 8d98d5263959 [2023-01-10T01:05:25.804Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T01:05:26.064Z] ---> Running in 91edbd3e7090 [2023-01-10T01:05:26.631Z] Removing intermediate container 91edbd3e7090 [2023-01-10T01:05:26.631Z] ---> 6c7cc68204c7 [2023-01-10T01:05:26.631Z] Step 11/24 : COPY . . [2023-01-10T01:05:26.891Z] ---> 0346d8967ab6 [2023-01-10T01:05:26.891Z] Step 12/24 : RUN $MAKE [2023-01-10T01:05:27.150Z] ---> Running in 90e90f75d209 [2023-01-10T01:05:27.408Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2023-01-10T01:05:49.325Z] Removing intermediate container 90e90f75d209 [2023-01-10T01:05:49.325Z] ---> 6d5cc2472bd3 [2023-01-10T01:05:49.325Z] Step 13/24 : FROM alpine:3.16 [2023-01-10T01:05:49.325Z] 3.16: Pulling from library/alpine [2023-01-10T01:05:49.325Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T01:05:49.325Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T01:05:49.325Z] ca7dd9ec2225: Download complete [2023-01-10T01:05:49.584Z] ca7dd9ec2225: Pull complete [2023-01-10T01:05:49.584Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T01:05:49.584Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T01:05:49.584Z] ---> bfe296a52501 [2023-01-10T01:05:49.584Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-10T01:05:49.584Z] ---> Running in c3d29dad980f [2023-01-10T01:05:49.843Z] Removing intermediate container c3d29dad980f [2023-01-10T01:05:49.843Z] ---> a204c9a58ce9 [2023-01-10T01:05:49.843Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-10T01:05:49.843Z] ---> Running in 225c322318ca [2023-01-10T01:05:50.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T01:05:50.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T01:05:50.359Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-10T01:05:50.359Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T01:05:50.359Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-10T01:05:50.638Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T01:05:50.638Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-10T01:05:50.638Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-10T01:05:50.638Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T01:05:50.638Z] OK: 8 MiB in 20 packages [2023-01-10T01:05:50.894Z] Removing intermediate container 225c322318ca [2023-01-10T01:05:50.894Z] ---> 459efc00e1e5 [2023-01-10T01:05:50.894Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-10T01:05:51.829Z] ---> cb15c270f71b [2023-01-10T01:05:51.829Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-10T01:05:51.829Z] ---> 3589231ae468 [2023-01-10T01:05:51.829Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-10T01:05:52.088Z] ---> f286c1e9ed50 [2023-01-10T01:05:52.088Z] Step 19/24 : EXPOSE 59982 [2023-01-10T01:05:52.088Z] ---> Running in 1fc8dda3e9e5 [2023-01-10T01:05:52.088Z] Removing intermediate container 1fc8dda3e9e5 [2023-01-10T01:05:52.088Z] ---> 88818fb2376c [2023-01-10T01:05:52.088Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-10T01:05:52.088Z] ---> Running in 8cfa5caec7ee [2023-01-10T01:05:52.088Z] Removing intermediate container 8cfa5caec7ee [2023-01-10T01:05:52.088Z] ---> 032473220154 [2023-01-10T01:05:52.088Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T01:05:52.088Z] ---> Running in c31f31638890 [2023-01-10T01:05:52.346Z] Removing intermediate container c31f31638890 [2023-01-10T01:05:52.346Z] ---> 53c95d4bbf60 [2023-01-10T01:05:52.346Z] Step 22/24 : LABEL arch=amd64 [2023-01-10T01:05:52.346Z] ---> Running in cb0741a5491f [2023-01-10T01:05:52.346Z] Removing intermediate container cb0741a5491f [2023-01-10T01:05:52.346Z] ---> 2ee1f05772b8 [2023-01-10T01:05:52.346Z] Step 23/24 : LABEL git_sha=fe821bf7dec72850af0456559ec0fef6477a5a4d [2023-01-10T01:05:52.346Z] ---> Running in 04f581be8f50 [2023-01-10T01:05:52.346Z] Removing intermediate container 04f581be8f50 [2023-01-10T01:05:52.346Z] ---> fd14d0b0f5eb [2023-01-10T01:05:52.346Z] Step 24/24 : LABEL version=0.0.0 [2023-01-10T01:05:52.605Z] ---> Running in c83775b04526 [2023-01-10T01:05:52.605Z] Removing intermediate container c83775b04526 [2023-01-10T01:05:52.605Z] ---> a83e36125776 [2023-01-10T01:05:52.605Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T01:05:52.605Z] Successfully built a83e36125776 [2023-01-10T01:05:52.605Z] 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-01-10T01:05:53.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T01:05:53.457Z] [2023-01-10T01:05:53.457Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:05:53.836Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T01:05:53.836Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T01:05:53.836Z] 5eb5b503b376: Pulling fs layer [2023-01-10T01:05:53.836Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T01:05:53.836Z] ec43610c2a17: Pulling fs layer [2023-01-10T01:05:53.836Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T01:05:53.836Z] 33b1e0a273af: Pulling fs layer [2023-01-10T01:05:53.836Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T01:05:53.836Z] 2f39f015ded8: Pulling fs layer [2023-01-10T01:05:53.836Z] 5d3b04190fa2: Waiting [2023-01-10T01:05:53.836Z] 3a2ae6a8a46f: Waiting [2023-01-10T01:05:53.836Z] 2f39f015ded8: Waiting [2023-01-10T01:05:53.836Z] 33b1e0a273af: Waiting [2023-01-10T01:05:53.836Z] 5c69ac0246d0: Download complete [2023-01-10T01:05:53.836Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T01:05:53.836Z] 3a2ae6a8a46f: Download complete [2023-01-10T01:05:53.836Z] 33b1e0a273af: Verifying Checksum [2023-01-10T01:05:53.836Z] 33b1e0a273af: Download complete [2023-01-10T01:05:54.096Z] ec43610c2a17: Verifying Checksum [2023-01-10T01:05:54.096Z] ec43610c2a17: Download complete [2023-01-10T01:05:54.096Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T01:05:54.096Z] 5d3b04190fa2: Download complete [2023-01-10T01:05:54.096Z] 5eb5b503b376: Verifying Checksum [2023-01-10T01:05:54.096Z] 5eb5b503b376: Download complete [2023-01-10T01:05:54.664Z] 2f39f015ded8: Download complete [2023-01-10T01:05:55.230Z] 5eb5b503b376: Pull complete [2023-01-10T01:05:55.490Z] 5c69ac0246d0: Pull complete [2023-01-10T01:05:55.749Z] ec43610c2a17: Pull complete [2023-01-10T01:05:55.749Z] 3a2ae6a8a46f: Pull complete [2023-01-10T01:05:56.008Z] 33b1e0a273af: Pull complete [2023-01-10T01:05:56.266Z] 5d3b04190fa2: Pull complete [2023-01-10T01:06:00.454Z] 2f39f015ded8: Pull complete [2023-01-10T01:06:00.454Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T01:06:00.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T01:06:00.454Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:06:00.678Z] prd-ubuntu20.04-docker-8c-8g-1514 does not seem to be running inside a container [2023-01-10T01:06:00.708Z] $ 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-448 -v /w/workspace/gexfoundry_device-mqtt-go_PR-448:/w/workspace/gexfoundry_device-mqtt-go_PR-448:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-448@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-01-10T01:06:03.738Z] $ docker top 7a8833a31c2dc34060a036a8873f8816b585875a4ab09ffb95deaaeebda80174 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:06:04.170Z] ---> job-cost.sh [2023-01-10T01:06:04.170Z] lf-activate-venv: SKIPPING [2023-01-10T01:06:04.170Z] INFO: No Stack... [2023-01-10T01:06:04.738Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T01:06:04.996Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T01:06:05.314Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-448/archives/cost.csv [2023-01-10T01:06:05.314Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T01:06:05.353Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-448-1-stack-cost] [2023-01-10T01:06:05.358Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-448-1-stack-cost] did not exist. Created. [2023-01-10T01:06:05.358Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-448-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T01:06:05.789Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T01:06:05.870Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T01:06:05.897Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-448-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T01:06:05.984Z] $ docker stop --time=1 7a8833a31c2dc34060a036a8873f8816b585875a4ab09ffb95deaaeebda80174 [2023-01-10T01:06:07.143Z] $ docker rm -f --volumes 7a8833a31c2dc34060a036a8873f8816b585875a4ab09ffb95deaaeebda80174 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T01:07:49.063Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1517 in /w/workspace/gexfoundry_device-mqtt-go_PR-448 [Pipeline] { [Pipeline] ws [2023-01-10T01:07:49.115Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T01:07:49.208Z] Selected Git installation does not exist. Using Default [2023-01-10T01:07:49.208Z] The recommended git tool is: NONE [2023-01-10T01:07:59.525Z] using credential edgex-jenkins-ssh [2023-01-10T01:07:59.545Z] Cloning the remote Git repository [2023-01-10T01:07:59.606Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-10T01:07:59.711Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-10T01:07:59.904Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-10T01:07:59.906Z] > git --version # timeout=10 [2023-01-10T01:07:59.934Z] > git --version # 'git version 2.25.1' [2023-01-10T01:07:59.936Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T01:08:00.012Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T01:08:01.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-10T01:08:01.218Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T01:08:02.315Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-10T01:08:02.360Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-10T01:08:02.362Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T01:08:02.382Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/448/head:refs/remotes/origin/PR-448 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T01:08:03.556Z] Merging remotes/origin/main commit fe528491bba3fee0f8df2cff68391009d47da719 into PR head commit fe821bf7dec72850af0456559ec0fef6477a5a4d [2023-01-10T01:08:03.807Z] Merge succeeded, producing fe821bf7dec72850af0456559ec0fef6477a5a4d [2023-01-10T01:08:03.807Z] Checking out Revision fe821bf7dec72850af0456559ec0fef6477a5a4d (PR-448) [2023-01-10T01:08:04.378Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-01-10T01:08:04.436Z] > git --version # timeout=10 [2023-01-10T01:08:04.450Z] > git --version # 'git version 2.25.1' [2023-01-10T01:08:04.472Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T01:08:03.579Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T01:08:03.601Z] > git checkout -f fe821bf7dec72850af0456559ec0fef6477a5a4d # timeout=10 [2023-01-10T01:08:03.697Z] > git remote # timeout=10 [2023-01-10T01:08:03.717Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T01:08:03.738Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T01:08:03.754Z] > git merge fe528491bba3fee0f8df2cff68391009d47da719 # timeout=10 [2023-01-10T01:08:03.789Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T01:08:03.815Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T01:08:03.835Z] > git checkout -f fe821bf7dec72850af0456559ec0fef6477a5a4d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T01:08:05.642Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T01:08:05.642Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T01:08:05.642Z] Dload Upload Total Spent Left Speed [2023-01-10T01:08:05.642Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-01-10T01:08:06.281Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T01:08:06.640Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T01:08:06.640Z] + sudo tee /etc/docker/daemon.new [2023-01-10T01:08:06.640Z] { [2023-01-10T01:08:06.640Z] "registry-mirrors": [ [2023-01-10T01:08:06.640Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T01:08:06.640Z] ], [2023-01-10T01:08:06.640Z] "bip": "10.250.0.254/24", [2023-01-10T01:08:06.640Z] "hosts": [ [2023-01-10T01:08:06.640Z] "tcp://0.0.0.0:5555", [2023-01-10T01:08:06.640Z] "unix:///var/run/docker.sock" [2023-01-10T01:08:06.640Z] ], [2023-01-10T01:08:06.640Z] "mtu": 1458, [2023-01-10T01:08:06.640Z] "selinux-enabled": true, [2023-01-10T01:08:06.640Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T01:08:06.640Z] } [Pipeline] sh [2023-01-10T01:08:07.002Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T01:08:07.363Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T01:08:25.721Z] provisioning config files... [2023-01-10T01:08:25.753Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15461410357412971083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:08:26.258Z] ---> docker-login.sh [2023-01-10T01:08:26.258Z] nexus3.edgexfoundry.org:10001 [2023-01-10T01:08:26.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:08:27.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:08:27.123Z] Configure a credential helper to remove this warning. See [2023-01-10T01:08:27.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:08:27.123Z] [2023-01-10T01:08:27.123Z] Login Succeeded [2023-01-10T01:08:27.123Z] nexus3.edgexfoundry.org:10002 [2023-01-10T01:08:27.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:08:27.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:08:27.394Z] Configure a credential helper to remove this warning. See [2023-01-10T01:08:27.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:08:27.394Z] [2023-01-10T01:08:27.394Z] Login Succeeded [2023-01-10T01:08:27.394Z] nexus3.edgexfoundry.org:10003 [2023-01-10T01:08:27.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:08:27.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:08:27.955Z] Configure a credential helper to remove this warning. See [2023-01-10T01:08:27.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:08:27.955Z] [2023-01-10T01:08:27.955Z] Login Succeeded [2023-01-10T01:08:27.955Z] nexus3.edgexfoundry.org:10004 [2023-01-10T01:08:28.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:08:28.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:08:28.228Z] Configure a credential helper to remove this warning. See [2023-01-10T01:08:28.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:08:28.228Z] [2023-01-10T01:08:28.228Z] Login Succeeded [2023-01-10T01:08:28.228Z] docker.io [2023-01-10T01:08:28.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:08:28.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:08:28.772Z] Configure a credential helper to remove this warning. See [2023-01-10T01:08:28.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:08:28.772Z] [2023-01-10T01:08:28.772Z] Login Succeeded [2023-01-10T01:08:28.772Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T01:08:28.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T01:08:29.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T01:08:29.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T01:08:29.285Z] ========================================================= [2023-01-10T01:08:29.285Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T01:08:29.285Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:08:29.796Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T01:08:30.075Z] Sending build context to Docker daemon 3.276MB [2023-01-10T01:08:30.075Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T01:08:30.075Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T01:08:30.364Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T01:08:30.364Z] 9b18e9b68314: Pulling fs layer [2023-01-10T01:08:30.364Z] 35d82f9e3411: Pulling fs layer [2023-01-10T01:08:30.364Z] e16973657156: Pulling fs layer [2023-01-10T01:08:30.364Z] fc693d55d65f: Pulling fs layer [2023-01-10T01:08:30.364Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T01:08:30.364Z] dda99020689f: Pulling fs layer [2023-01-10T01:08:30.364Z] db1c61fa0a46: Pulling fs layer [2023-01-10T01:08:30.364Z] 891c053d2c06: Pulling fs layer [2023-01-10T01:08:30.364Z] dda99020689f: Waiting [2023-01-10T01:08:30.364Z] db1c61fa0a46: Waiting [2023-01-10T01:08:30.364Z] 891c053d2c06: Waiting [2023-01-10T01:08:30.364Z] fc693d55d65f: Waiting [2023-01-10T01:08:30.364Z] 7e9fc2657dce: Waiting [2023-01-10T01:08:30.364Z] e16973657156: Download complete [2023-01-10T01:08:30.364Z] 35d82f9e3411: Verifying Checksum [2023-01-10T01:08:30.364Z] 35d82f9e3411: Download complete [2023-01-10T01:08:30.364Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T01:08:30.364Z] 7e9fc2657dce: Download complete [2023-01-10T01:08:30.364Z] dda99020689f: Verifying Checksum [2023-01-10T01:08:30.364Z] dda99020689f: Download complete [2023-01-10T01:08:30.364Z] 9b18e9b68314: Verifying Checksum [2023-01-10T01:08:30.364Z] 9b18e9b68314: Download complete [2023-01-10T01:08:31.367Z] 9b18e9b68314: Pull complete [2023-01-10T01:08:31.647Z] 891c053d2c06: Verifying Checksum [2023-01-10T01:08:31.647Z] 891c053d2c06: Download complete [2023-01-10T01:08:32.246Z] 35d82f9e3411: Pull complete [2023-01-10T01:08:32.524Z] e16973657156: Pull complete [2023-01-10T01:08:33.134Z] db1c61fa0a46: Verifying Checksum [2023-01-10T01:08:33.135Z] db1c61fa0a46: Download complete [2023-01-10T01:08:33.733Z] fc693d55d65f: Verifying Checksum [2023-01-10T01:08:33.733Z] fc693d55d65f: Download complete [2023-01-10T01:08:48.775Z] fc693d55d65f: Pull complete [2023-01-10T01:08:48.775Z] 7e9fc2657dce: Pull complete [2023-01-10T01:08:48.775Z] dda99020689f: Pull complete [2023-01-10T01:08:53.075Z] db1c61fa0a46: Pull complete [2023-01-10T01:08:55.162Z] 891c053d2c06: Pull complete [2023-01-10T01:08:55.163Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T01:08:55.163Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T01:08:55.163Z] ---> f96f9c87975a [2023-01-10T01:08:55.163Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T01:08:56.214Z] ---> Running in 3c7d8547cd60 [2023-01-10T01:08:56.807Z] Removing intermediate container 3c7d8547cd60 [2023-01-10T01:08:56.807Z] ---> be2a25bda72c [2023-01-10T01:08:56.807Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T01:08:56.807Z] ---> Running in e6a8a8d28bdd [2023-01-10T01:08:57.085Z] Removing intermediate container e6a8a8d28bdd [2023-01-10T01:08:57.085Z] ---> 7bbfb49a1368 [2023-01-10T01:08:57.085Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T01:08:57.085Z] ---> Running in c886c9c82c05 [2023-01-10T01:08:57.680Z] Removing intermediate container c886c9c82c05 [2023-01-10T01:08:57.680Z] ---> 7acc8c962889 [2023-01-10T01:08:57.680Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T01:08:57.680Z] ---> Running in 10125fedb1e6 [2023-01-10T01:08:57.955Z] Removing intermediate container 10125fedb1e6 [2023-01-10T01:08:57.955Z] ---> 937ebb1c2a57 [2023-01-10T01:08:57.955Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T01:08:58.231Z] ---> Running in 311a475b087c [2023-01-10T01:08:59.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T01:09:00.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T01:09:00.993Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T01:09:00.993Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T01:09:00.993Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T01:09:01.263Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T01:09:01.263Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T01:09:01.263Z] OK: 226 MiB in 55 packages [2023-01-10T01:09:02.245Z] Removing intermediate container 311a475b087c [2023-01-10T01:09:02.245Z] ---> 777cde48618d [2023-01-10T01:09:02.245Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-10T01:09:02.516Z] ---> Running in da45cc6ca16f [2023-01-10T01:09:02.790Z] Removing intermediate container da45cc6ca16f [2023-01-10T01:09:02.790Z] ---> 2ea436782d7d [2023-01-10T01:09:02.790Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T01:09:03.379Z] ---> f47a12146f0c [2023-01-10T01:09:03.379Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T01:09:03.379Z] ---> Running in 97d51215bd07 [2023-01-10T01:09:59.848Z] Removing intermediate container 97d51215bd07 [2023-01-10T01:09:59.848Z] ---> 25250d631704 [2023-01-10T01:09:59.848Z] Step 11/12 : COPY . . [2023-01-10T01:09:59.848Z] ---> b6a96125602a [2023-01-10T01:09:59.848Z] Step 12/12 : RUN $MAKE [2023-01-10T01:09:59.848Z] ---> Running in c7de477e3717 [2023-01-10T01:10:00.119Z] noop [2023-01-10T01:10:03.474Z] Removing intermediate container c7de477e3717 [2023-01-10T01:10:03.474Z] ---> 08dea89c8b2c [2023-01-10T01:10:03.474Z] Successfully built 08dea89c8b2c [2023-01-10T01:10:03.474Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:10:03.964Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T01:10:03.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:10:04.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-1517 does not seem to be running inside a container [2023-01-10T01:10:04.311Z] $ 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-01-10T01:10:05.582Z] $ docker top 4cb07f596a876db4ba76f383c3c818f4e5bcc89191be872312b0217c3b88009b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:10:06.473Z] + go version [2023-01-10T01:10:06.474Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T01:10:06.508Z] $ docker stop --time=1 4cb07f596a876db4ba76f383c3c818f4e5bcc89191be872312b0217c3b88009b [2023-01-10T01:10:08.142Z] $ docker rm -f --volumes 4cb07f596a876db4ba76f383c3c818f4e5bcc89191be872312b0217c3b88009b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:10:09.008Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T01:10:09.008Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:10:09.258Z] prd-ubuntu20.04-docker-arm64-4c-16g-1517 does not seem to be running inside a container [2023-01-10T01:10:09.338Z] $ 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-01-10T01:10:10.551Z] $ docker top 061573baa974da5bed1ed5f95946eff54284db91a48e48667c72055796ba5132 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:10:11.118Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T01:10:11.779Z] + make test [2023-01-10T01:10:11.779Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T01:10:13.729Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-10T01:11:50.430Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-10T01:11:50.430Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2023-01-10T01:11:50.430Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-10T01:11:50.430Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T01:11:50.430Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T01:12:05.463Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T01:12:05.463Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T01:12:05.463Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T01:12:05.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T01:12:05.803Z] $ docker stop --time=1 061573baa974da5bed1ed5f95946eff54284db91a48e48667c72055796ba5132 [2023-01-10T01:12:07.621Z] $ docker rm -f --volumes 061573baa974da5bed1ed5f95946eff54284db91a48e48667c72055796ba5132 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T01:12:08.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T01:12:08.726Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T01:12:09.325Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T01:12:10.031Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T01:12:10.379Z] + ls -al . [2023-01-10T01:12:10.379Z] total 188 [2023-01-10T01:12:10.379Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 01:10 . [2023-01-10T01:12:10.379Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 01:07 .. [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 01:08 .dockerignore [2023-01-10T01:12:10.379Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 01:08 .git [2023-01-10T01:12:10.379Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:08 .github [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 01:08 .gitignore [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 01:08 .golangci.yml [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 10 01:08 Attribution.txt [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 10 01:08 CHANGELOG.md [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 10 01:08 Dockerfile [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 01:08 GOVERNANCE.md [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 01:08 Jenkinsfile [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 01:08 LICENSE [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 10 01:08 Makefile [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 01:08 OWNERS.md [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 10 01:08 README.md [2023-01-10T01:12:10.379Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 01:04 VERSION [2023-01-10T01:12:10.379Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 01:08 bin [2023-01-10T01:12:10.380Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:08 cmd [2023-01-10T01:12:10.380Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 10 01:11 coverage.out [2023-01-10T01:12:10.380Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 10 01:08 go.mod [2023-01-10T01:12:10.380Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 01:08 go.sum [2023-01-10T01:12:10.380Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:08 internal [2023-01-10T01:12:10.380Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 01:08 mock [2023-01-10T01:12:10.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 01:08 snap [2023-01-10T01:12:10.380Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 10 01:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:12:10.819Z] + 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=fe821bf7dec72850af0456559ec0fef6477a5a4d --label arch=arm64 --label version=0.0.0 . [2023-01-10T01:12:11.102Z] Sending build context to Docker daemon 3.295MB [2023-01-10T01:12:11.102Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T01:12:11.102Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-10T01:12:11.102Z] ---> 08dea89c8b2c [2023-01-10T01:12:11.102Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-10T01:12:11.701Z] ---> Running in bcbb46e28d53 [2023-01-10T01:12:11.973Z] Removing intermediate container bcbb46e28d53 [2023-01-10T01:12:11.973Z] ---> 5e1bc4fae19a [2023-01-10T01:12:11.973Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T01:12:11.973Z] ---> Running in 4db877a46b21 [2023-01-10T01:12:12.247Z] Removing intermediate container 4db877a46b21 [2023-01-10T01:12:12.247Z] ---> 9e7b902e40a7 [2023-01-10T01:12:12.247Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T01:12:12.519Z] ---> Running in 3b7e03b3502b [2023-01-10T01:12:12.791Z] Removing intermediate container 3b7e03b3502b [2023-01-10T01:12:12.791Z] ---> 5ca9a2222e5a [2023-01-10T01:12:12.791Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T01:12:12.791Z] ---> Running in 9d19329f006f [2023-01-10T01:12:13.062Z] Removing intermediate container 9d19329f006f [2023-01-10T01:12:13.062Z] ---> c19bd1f7dd97 [2023-01-10T01:12:13.062Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T01:12:13.332Z] ---> Running in 11a8b49c260b [2023-01-10T01:12:14.304Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T01:12:14.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T01:12:15.868Z] OK: 226 MiB in 55 packages [2023-01-10T01:12:16.842Z] Removing intermediate container 11a8b49c260b [2023-01-10T01:12:16.842Z] ---> cb63b13ae440 [2023-01-10T01:12:16.842Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-10T01:12:16.842Z] ---> Running in 278336cb99d7 [2023-01-10T01:12:17.437Z] Removing intermediate container 278336cb99d7 [2023-01-10T01:12:17.437Z] ---> 2ea9013f6f8b [2023-01-10T01:12:17.438Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-10T01:12:18.037Z] ---> bb06909d215f [2023-01-10T01:12:18.037Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T01:12:18.037Z] ---> Running in 7f1a79bee7bc [2023-01-10T01:12:20.005Z] Removing intermediate container 7f1a79bee7bc [2023-01-10T01:12:20.005Z] ---> be098bc5cf7b [2023-01-10T01:12:20.005Z] Step 11/24 : COPY . . [2023-01-10T01:12:21.434Z] ---> 6bc37c6707cd [2023-01-10T01:12:21.434Z] Step 12/24 : RUN $MAKE [2023-01-10T01:12:21.434Z] ---> Running in 02149a24ad98 [2023-01-10T01:12:22.411Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2023-01-10T01:14:59.267Z] Removing intermediate container 02149a24ad98 [2023-01-10T01:14:59.267Z] ---> d234aeb76919 [2023-01-10T01:14:59.267Z] Step 13/24 : FROM alpine:3.16 [2023-01-10T01:14:59.267Z] 3.16: Pulling from library/alpine [2023-01-10T01:14:59.267Z] 6875df1f5354: Pulling fs layer [2023-01-10T01:14:59.267Z] 6875df1f5354: Verifying Checksum [2023-01-10T01:14:59.267Z] 6875df1f5354: Download complete [2023-01-10T01:14:59.267Z] 6875df1f5354: Pull complete [2023-01-10T01:14:59.267Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T01:14:59.267Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T01:14:59.267Z] ---> 2b4661558fb8 [2023-01-10T01:14:59.267Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-10T01:14:59.267Z] ---> Running in c128849d3d29 [2023-01-10T01:14:59.267Z] Removing intermediate container c128849d3d29 [2023-01-10T01:14:59.267Z] ---> 3e15711bfc2a [2023-01-10T01:14:59.267Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-10T01:14:59.267Z] ---> Running in 27b72b033c6b [2023-01-10T01:14:59.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T01:14:59.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T01:14:59.267Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-10T01:14:59.267Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T01:14:59.267Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-10T01:14:59.267Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T01:14:59.267Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-10T01:14:59.267Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-10T01:14:59.267Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T01:14:59.267Z] OK: 8 MiB in 20 packages [2023-01-10T01:14:59.267Z] Removing intermediate container 27b72b033c6b [2023-01-10T01:14:59.267Z] ---> 1350378f01ac [2023-01-10T01:14:59.267Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-10T01:14:59.267Z] ---> 9331504c9633 [2023-01-10T01:14:59.267Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-10T01:14:59.267Z] ---> a22f09c07820 [2023-01-10T01:14:59.267Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-10T01:14:59.267Z] ---> bb62eca6bea1 [2023-01-10T01:14:59.267Z] Step 19/24 : EXPOSE 59982 [2023-01-10T01:14:59.267Z] ---> Running in 45b21a472952 [2023-01-10T01:14:59.267Z] Removing intermediate container 45b21a472952 [2023-01-10T01:14:59.267Z] ---> 7c5076981904 [2023-01-10T01:14:59.267Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-10T01:14:59.267Z] ---> Running in 5ca22b1dfdf6 [2023-01-10T01:14:59.267Z] Removing intermediate container 5ca22b1dfdf6 [2023-01-10T01:14:59.268Z] ---> 06fb01caf65d [2023-01-10T01:14:59.268Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T01:14:59.268Z] ---> Running in a0b9e06e5fe2 [2023-01-10T01:14:59.268Z] Removing intermediate container a0b9e06e5fe2 [2023-01-10T01:14:59.268Z] ---> 69e39729ebeb [2023-01-10T01:14:59.268Z] Step 22/24 : LABEL arch=arm64 [2023-01-10T01:14:59.268Z] ---> Running in 3cadf125325b [2023-01-10T01:14:59.268Z] Removing intermediate container 3cadf125325b [2023-01-10T01:14:59.268Z] ---> 145f63efb91a [2023-01-10T01:14:59.268Z] Step 23/24 : LABEL git_sha=fe821bf7dec72850af0456559ec0fef6477a5a4d [2023-01-10T01:14:59.268Z] ---> Running in 83c37285f6d9 [2023-01-10T01:14:59.268Z] Removing intermediate container 83c37285f6d9 [2023-01-10T01:14:59.268Z] ---> 3e9eb1c60619 [2023-01-10T01:14:59.268Z] Step 24/24 : LABEL version=0.0.0 [2023-01-10T01:14:59.268Z] ---> Running in e383f408d700 [2023-01-10T01:14:59.268Z] Removing intermediate container e383f408d700 [2023-01-10T01:14:59.268Z] ---> d5869c5977fd [2023-01-10T01:14:59.268Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T01:14:59.268Z] Successfully built d5869c5977fd [2023-01-10T01:14:59.268Z] 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-01-10T01:15:00.119Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T01:15:00.119Z] [2023-01-10T01:15:00.119Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:15:00.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T01:15:00.519Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T01:15:00.519Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T01:15:00.519Z] 04944245beec: Pulling fs layer [2023-01-10T01:15:00.519Z] 699f458cf7ca: Pulling fs layer [2023-01-10T01:15:00.519Z] 765212b225bb: Pulling fs layer [2023-01-10T01:15:00.519Z] f23df028b6ca: Pulling fs layer [2023-01-10T01:15:00.519Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T01:15:00.519Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T01:15:00.519Z] f23df028b6ca: Waiting [2023-01-10T01:15:00.519Z] d65c8cfc05b1: Waiting [2023-01-10T01:15:00.519Z] 2437ff75d9bd: Waiting [2023-01-10T01:15:00.519Z] 765212b225bb: Waiting [2023-01-10T01:15:00.788Z] 04944245beec: Verifying Checksum [2023-01-10T01:15:00.788Z] 04944245beec: Download complete [2023-01-10T01:15:00.788Z] 765212b225bb: Verifying Checksum [2023-01-10T01:15:00.788Z] 765212b225bb: Download complete [2023-01-10T01:15:00.788Z] f23df028b6ca: Verifying Checksum [2023-01-10T01:15:00.788Z] f23df028b6ca: Download complete [2023-01-10T01:15:00.788Z] d65c8cfc05b1: Download complete [2023-01-10T01:15:01.057Z] 699f458cf7ca: Verifying Checksum [2023-01-10T01:15:01.057Z] 699f458cf7ca: Download complete [2023-01-10T01:15:01.331Z] 8998bd30e6a1: Download complete [2023-01-10T01:15:03.949Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T01:15:03.949Z] 2437ff75d9bd: Download complete [2023-01-10T01:15:05.908Z] 8998bd30e6a1: Pull complete [2023-01-10T01:15:06.874Z] 04944245beec: Pull complete [2023-01-10T01:15:08.294Z] 699f458cf7ca: Pull complete [2023-01-10T01:15:08.564Z] 765212b225bb: Pull complete [2023-01-10T01:15:09.531Z] f23df028b6ca: Pull complete [2023-01-10T01:15:09.800Z] d65c8cfc05b1: Pull complete [2023-01-10T01:15:24.935Z] 2437ff75d9bd: Pull complete [2023-01-10T01:15:24.935Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T01:15:24.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T01:15:24.935Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:15:25.259Z] prd-ubuntu20.04-docker-arm64-4c-16g-1517 does not seem to be running inside a container [2023-01-10T01:15:25.342Z] $ 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-01-10T01:15:28.140Z] $ docker top 3b63252f3a62e724f6f5e08663ad48c83656ed40ec32572bdb2cc3ca841bbcfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:15:29.045Z] ---> job-cost.sh [2023-01-10T01:15:29.045Z] lf-activate-venv: SKIPPING [2023-01-10T01:15:29.045Z] INFO: No Stack... [2023-01-10T01:15:29.315Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T01:15:30.278Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T01:15:30.942Z] + + cat /w/workspace/device-mqtt-go/1/archives/cost.csvcut [2023-01-10T01:15:30.942Z] -d, -f6 [Pipeline] lock [2023-01-10T01:15:31.038Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-448-1-stack-cost] [2023-01-10T01:15:31.043Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-448-1-stack-cost] did not exist. Created. [2023-01-10T01:15:31.043Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-448-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T01:15:31.787Z] /w/workspace/device-mqtt-go/1@tmp/durable-a67ea3ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T01:15:32.465Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T01:15:32.501Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T01:15:32.553Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T01:15:32.570Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-448-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T01:15:32.644Z] $ docker stop --time=1 3b63252f3a62e724f6f5e08663ad48c83656ed40ec32572bdb2cc3ca841bbcfb [2023-01-10T01:15:34.202Z] $ docker rm -f --volumes 3b63252f3a62e724f6f5e08663ad48c83656ed40ec32572bdb2cc3ca841bbcfb [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-01-10T01:15:35.155Z] provisioning config files... [2023-01-10T01:15:35.162Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp/config14478231986634305951tmp [Pipeline] { [Pipeline] sh [2023-01-10T01:15:35.493Z] + set +x [2023-01-10T01:15:35.493Z] + bash -s -- [2023-01-10T01:15:35.493Z] + curl -s https://codecov.io/bash [2023-01-10T01:15:35.493Z] [2023-01-10T01:15:35.493Z] _____ _ [2023-01-10T01:15:35.493Z] / ____| | | [2023-01-10T01:15:35.493Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T01:15:35.493Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T01:15:35.493Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T01:15:35.493Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T01:15:35.493Z] Bash-1.0.6 [2023-01-10T01:15:35.493Z] [2023-01-10T01:15:35.493Z] [2023-01-10T01:15:35.493Z] ==> git version 2.25.1 found [2023-01-10T01:15:35.493Z] ==> 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-01-10T01:15:35.493Z] Release-Date: 2020-01-08 [2023-01-10T01:15:35.493Z] 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-01-10T01:15:35.493Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T01:15:35.493Z] ==> Jenkins CI detected. [2023-01-10T01:15:35.493Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-448 [2023-01-10T01:15:35.493Z] project root: . [2023-01-10T01:15:35.493Z] --> token set from env [2023-01-10T01:15:35.493Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T01:15:35.493Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T01:15:35.493Z] ==> Python coveragepy not found [2023-01-10T01:15:35.493Z] ==> Searching for coverage reports in: [2023-01-10T01:15:35.493Z] + . [2023-01-10T01:15:35.493Z] -> Found 1 reports [2023-01-10T01:15:35.493Z] ==> Detecting git/mercurial file structure [2023-01-10T01:15:35.493Z] ==> Reading reports [2023-01-10T01:15:35.493Z] + ./coverage.out bytes=17887 [2023-01-10T01:15:35.493Z] ==> Appending adjustments [2023-01-10T01:15:35.493Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T01:15:35.752Z] + Found adjustments [2023-01-10T01:15:35.752Z] ==> Gzipping contents [2023-01-10T01:15:35.752Z] 4.0K /tmp/codecov.YztaoU.gz [2023-01-10T01:15:35.752Z] ==> Uploading reports [2023-01-10T01:15:35.752Z] url: https://codecov.io [2023-01-10T01:15:35.752Z] query: branch=PR-448&commit=fe821bf7dec72850af0456559ec0fef6477a5a4d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-448%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=448&job=&cmd_args= [2023-01-10T01:15:35.752Z] -> Pinging Codecov [2023-01-10T01:15:35.752Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-448&commit=fe821bf7dec72850af0456559ec0fef6477a5a4d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-448%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=448&job=&cmd_args= [2023-01-10T01:15:36.012Z] -> Uploading to [2023-01-10T01:15:36.012Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/7D719EC7BBE17E464838252E33014C33/fe821bf7dec72850af0456559ec0fef6477a5a4d/133230e6-96f6-4611-bcc4-3d5e8d42de37.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T011535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=470fa196feaf727a9c74d97ac4d92dd16e44c13b1113637328bda506c6b524ac [2023-01-10T01:15:36.012Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T01:15:36.012Z] Dload Upload Total Spent Left Speed [2023-01-10T01:15:36.272Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 12602 --:--:-- --:--:-- --:--:-- 12602 [2023-01-10T01:15:36.272Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fe821bf7dec72850af0456559ec0fef6477a5a4d [Pipeline] } [2023-01-10T01:15:36.298Z] 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-01-10T01:15:38.002Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-448/archives ] [2023-01-10T01:15:38.002Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-448/archives [2023-01-10T01:15:38.002Z] total 16 [2023-01-10T01:15:38.002Z] drwxr-xr-x 3 root root 4096 Jan 10 01:06 . [2023-01-10T01:15:38.002Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 01:06 .. [2023-01-10T01:15:38.002Z] drwxr-xr-x 2 root root 4096 Jan 10 01:06 cost [2023-01-10T01:15:38.002Z] -rw-r--r-- 1 root root 86 Jan 10 01:06 cost.csv [2023-01-10T01:15:38.002Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-448/archives [2023-01-10T01:15:38.002Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-448/archives [2023-01-10T01:15:38.002Z] total 16 [2023-01-10T01:15:38.002Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 01:06 . [2023-01-10T01:15:38.002Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 01:06 .. [2023-01-10T01:15:38.002Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 01:06 cost [2023-01-10T01:15:38.002Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 01:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:15:38.386Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:15:39.284Z] ---> package-listing.sh [2023-01-10T01:15:39.284Z] ++ facter osfamily [2023-01-10T01:15:39.284Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T01:15:39.543Z] + OS_FAMILY=debian [2023-01-10T01:15:39.543Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-448 [2023-01-10T01:15:39.543Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T01:15:39.543Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T01:15:39.543Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T01:15:39.543Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T01:15:39.543Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-448 ']' [2023-01-10T01:15:39.543Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T01:15:39.543Z] + case "${OS_FAMILY}" in [2023-01-10T01:15:39.543Z] + dpkg -l [2023-01-10T01:15:39.543Z] + grep '^ii' [2023-01-10T01:15:39.543Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T01:15:39.543Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T01:15:39.543Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T01:15:39.543Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-448 ']' [2023-01-10T01:15:39.543Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-448/archives/ [2023-01-10T01:15:39.543Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-448/archives/ [Pipeline] echo [2023-01-10T01:15:39.577Z] 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-448/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T01:15:39.869Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:15:40.526Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T01:15:40.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:15:40.683Z] prd-ubuntu20.04-docker-8c-8g-1514 does not seem to be running inside a container [2023-01-10T01:15:40.720Z] $ 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-448/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-448 -v /w/workspace/gexfoundry_device-mqtt-go_PR-448:/w/workspace/gexfoundry_device-mqtt-go_PR-448:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-448@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-01-10T01:15:40.930Z] $ docker top 5b3fae1a7a86929cd685d38ce9938f8236335b02cfc262ad5be86325bcc20a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:15:41.307Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T01:15:41.616Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T01:15:41.923Z] + ls /var/log/sa-host [2023-01-10T01:15:41.923Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T01:15:42.067Z] provisioning config files... [2023-01-10T01:15:42.076Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-448@tmp/config8128593158725866066tmp [Pipeline] { [Pipeline] echo [2023-01-10T01:15:42.133Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:15:42.445Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T01:15:42.475Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:15:42.871Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T01:15:42.909Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:15:43.219Z] ---> sudo-logs.sh [2023-01-10T01:15:43.220Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T01:15:43.302Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:15:43.608Z] ---> job-cost.sh [2023-01-10T01:15:43.608Z] lf-activate-venv: SKIPPING [2023-01-10T01:15:43.608Z] DEBUG: total: 0.2199999988079071 [2023-01-10T01:15:43.608Z] INFO: Retrieving Stack Cost... [2023-01-10T01:15:43.867Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T01:15:44.436Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T01:15:44.468Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:15:44.778Z] ---> logs-deploy.sh [2023-01-10T01:15:44.778Z] lf-activate-venv: SKIPPING [2023-01-10T01:15:44.778Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-448/1 [2023-01-10T01:15:44.778Z] INFO: archiving workspace using pattern(s): [2023-01-10T01:15:45.712Z] Archives upload complete. [2023-01-10T01:15:45.712Z] INFO: archiving logs to Nexus