Pull request #445 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at fe528491bba3fee0f8df2cff68391009d47da719 rather than 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d Obtained Jenkinsfile from fe528491bba3fee0f8df2cff68391009d47da719 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-ssh41488947138686367.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-ssh2698286842503464676.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-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9886550543780630976.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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8608397438817602194.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-ssh4616451954482335220.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4643308724660838026.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1126 in /w/workspace/gexfoundry_device-mqtt-go_PR-445 [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-445 # 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 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d Merge succeeded, producing 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d Checking out Revision 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d (PR-445) > 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d # 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 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d # timeout=10 Commit message: "build(deps): Bump edgex-snap-hooks/v2 to v2.5.0" 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-04T19:07:48.498Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-04T19:07:48.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-04T19:07:48.750Z] ========================================================= [2023-01-04T19:07:48.750Z] EdgeX Global Pipelines Version Info [2023-01-04T19:07:48.750Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:07:49.490Z] ------------------- [2023-01-04T19:07:49.490Z] stable info: [2023-01-04T19:07:49.490Z] ------------------- [2023-01-04T19:07:49.490Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-04T19:07:49.490Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T19:07:49.490Z] Message: update stable to v1.0.244 [2023-01-04T19:07:50.061Z] ------------------- [2023-01-04T19:07:50.061Z] experimental info: [2023-01-04T19:07:50.061Z] ------------------- [2023-01-04T19:07:50.061Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-04T19:07:50.061Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-04T19:07:50.061Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-04T19:07:50.364Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-04T19:07:50.409Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-04T19:07:50.453Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-04T19:07:50.494Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-04T19:07:50.606Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-04T19:07:50.647Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-04T19:07:50.691Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-04T19:07:50.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-04T19:07:50.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-04T19:07:50.820Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-04T19:07:50.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-04T19:07:50.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-04T19:07:50.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-04T19:07:50.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-04T19:07:51.024Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T19:07:51.067Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-04T19:07:51.108Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T19:07:51.148Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-04T19:07:51.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-04T19:07:51.230Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-04T19:07:51.273Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-04T19:07:51.315Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-04T19:07:51.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-04T19:07:51.394Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-04T19:07:51.431Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-04T19:07:51.467Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-04T19:07:51.503Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-04T19:07:51.540Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo [2023-01-04T19:07:51.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo [2023-01-04T19:07:51.634Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo [2023-01-04T19:07:51.676Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [Pipeline] echo [2023-01-04T19:07:51.717Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d89416 [Pipeline] echo [2023-01-04T19:07:51.763Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T19:07:51.876Z] provisioning config files... [2023-01-04T19:07:51.890Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/config16913037623129436894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:07:52.236Z] ---> docker-login.sh [2023-01-04T19:07:52.236Z] nexus3.edgexfoundry.org:10001 [2023-01-04T19:07:52.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:07:52.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:07:52.497Z] Configure a credential helper to remove this warning. See [2023-01-04T19:07:52.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:07:52.497Z] [2023-01-04T19:07:52.497Z] Login Succeeded [2023-01-04T19:07:52.497Z] nexus3.edgexfoundry.org:10002 [2023-01-04T19:07:52.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:07:52.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:07:52.757Z] Configure a credential helper to remove this warning. See [2023-01-04T19:07:52.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:07:52.757Z] [2023-01-04T19:07:52.757Z] Login Succeeded [2023-01-04T19:07:52.757Z] nexus3.edgexfoundry.org:10003 [2023-01-04T19:07:52.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:07:52.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:07:52.757Z] Configure a credential helper to remove this warning. See [2023-01-04T19:07:52.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:07:52.757Z] [2023-01-04T19:07:52.757Z] Login Succeeded [2023-01-04T19:07:52.757Z] nexus3.edgexfoundry.org:10004 [2023-01-04T19:07:52.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:07:52.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:07:52.757Z] Configure a credential helper to remove this warning. See [2023-01-04T19:07:52.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:07:52.757Z] [2023-01-04T19:07:52.757Z] Login Succeeded [2023-01-04T19:07:52.757Z] docker.io [2023-01-04T19:07:53.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:07:54.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:07:54.425Z] Configure a credential helper to remove this warning. See [2023-01-04T19:07:54.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:07:54.425Z] [2023-01-04T19:07:54.425Z] Login Succeeded [2023-01-04T19:07:54.425Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T19:07:54.453Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-04T19:07:55.109Z] + git rev-list -1 --merges 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d~1..0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [Pipeline] echo [2023-01-04T19:07:55.173Z] -----------> git rev-list -1 --merges 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d~1..0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [false] [Pipeline] sh [2023-01-04T19:07:55.482Z] + git log --format=format:%s -1 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [Pipeline] echo [2023-01-04T19:07:55.516Z] ========================================================= [2023-01-04T19:07:55.516Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-04T19:07:55.516Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T19:07:55.946Z] + git log --format=format:%s -1 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [Pipeline] echo [2023-01-04T19:07:55.979Z] [semverPrep] GIT_COMMIT: 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d, Commit Message: build(deps): Bump edgex-snap-hooks/v2 to v2.5.0 [Pipeline] echo [2023-01-04T19:07:56.010Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-04T19:07:56.400Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-04T19:07:56.400Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-04T19:07:56.400Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-04T19:07:56.400Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-04T19:07:56.400Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-04T19:07:56.400Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-04T19:07:56.400Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:07:56.818Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T19:07:56.818Z] [2023-01-04T19:07:56.818Z] 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-04T19:07:57.197Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T19:07:57.197Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-04T19:07:57.197Z] b85a868b505f: Pulling fs layer [2023-01-04T19:07:57.197Z] e2be974225ed: Pulling fs layer [2023-01-04T19:07:57.197Z] 339a4e72a1f5: Pulling fs layer [2023-01-04T19:07:57.197Z] 988bab9f4d93: Pulling fs layer [2023-01-04T19:07:57.197Z] 1469e6f7b9e6: Pulling fs layer [2023-01-04T19:07:57.197Z] eaf3925da568: Pulling fs layer [2023-01-04T19:07:57.197Z] bab4dde63d76: Pulling fs layer [2023-01-04T19:07:57.197Z] bde34c3a00c8: Pulling fs layer [2023-01-04T19:07:57.197Z] b352a97aabf1: Pulling fs layer [2023-01-04T19:07:57.197Z] 4872d77fe225: Pulling fs layer [2023-01-04T19:07:57.197Z] 5851b861e8e6: Pulling fs layer [2023-01-04T19:07:57.197Z] 988bab9f4d93: Waiting [2023-01-04T19:07:57.197Z] 4872d77fe225: Waiting [2023-01-04T19:07:57.197Z] 1469e6f7b9e6: Waiting [2023-01-04T19:07:57.197Z] eaf3925da568: Waiting [2023-01-04T19:07:57.197Z] bde34c3a00c8: Waiting [2023-01-04T19:07:57.197Z] b352a97aabf1: Waiting [2023-01-04T19:07:57.197Z] bab4dde63d76: Waiting [2023-01-04T19:07:57.197Z] 5851b861e8e6: Waiting [2023-01-04T19:07:57.197Z] e2be974225ed: Verifying Checksum [2023-01-04T19:07:57.197Z] e2be974225ed: Download complete [2023-01-04T19:07:57.459Z] 988bab9f4d93: Verifying Checksum [2023-01-04T19:07:57.459Z] 988bab9f4d93: Download complete [2023-01-04T19:07:57.459Z] 1469e6f7b9e6: Verifying Checksum [2023-01-04T19:07:57.459Z] 339a4e72a1f5: Verifying Checksum [2023-01-04T19:07:57.459Z] 339a4e72a1f5: Download complete [2023-01-04T19:07:57.459Z] eaf3925da568: Verifying Checksum [2023-01-04T19:07:57.459Z] eaf3925da568: Download complete [2023-01-04T19:07:57.459Z] bde34c3a00c8: Verifying Checksum [2023-01-04T19:07:57.459Z] bde34c3a00c8: Download complete [2023-01-04T19:07:57.459Z] b352a97aabf1: Verifying Checksum [2023-01-04T19:07:57.459Z] b352a97aabf1: Download complete [2023-01-04T19:07:57.459Z] 4872d77fe225: Verifying Checksum [2023-01-04T19:07:57.459Z] 4872d77fe225: Download complete [2023-01-04T19:07:57.459Z] 5851b861e8e6: Verifying Checksum [2023-01-04T19:07:57.459Z] 5851b861e8e6: Download complete [2023-01-04T19:07:57.459Z] b85a868b505f: Download complete [2023-01-04T19:07:58.027Z] bab4dde63d76: Verifying Checksum [2023-01-04T19:07:58.027Z] bab4dde63d76: Download complete [2023-01-04T19:07:58.961Z] b85a868b505f: Pull complete [2023-01-04T19:07:58.961Z] e2be974225ed: Pull complete [2023-01-04T19:07:59.526Z] 339a4e72a1f5: Pull complete [2023-01-04T19:07:59.526Z] 988bab9f4d93: Pull complete [2023-01-04T19:07:59.785Z] 1469e6f7b9e6: Pull complete [2023-01-04T19:07:59.785Z] eaf3925da568: Pull complete [2023-01-04T19:08:01.683Z] bab4dde63d76: Pull complete [2023-01-04T19:08:01.683Z] bde34c3a00c8: Pull complete [2023-01-04T19:08:01.683Z] b352a97aabf1: Pull complete [2023-01-04T19:08:01.941Z] 4872d77fe225: Pull complete [2023-01-04T19:08:01.941Z] 5851b861e8e6: Pull complete [2023-01-04T19:08:01.941Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-04T19:08:01.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-04T19:08:01.941Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:08:02.152Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2023-01-04T19:08:02.179Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@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-devops/py-git-semver:0.1.4 cat [2023-01-04T19:08:03.423Z] $ docker top 658e33f1b01a9b3e1d3833fea3a06463ece61cd2fce9d042439a6d4223fa2d83 -eo pid,comm [2023-01-04T19:08:03.477Z] 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-04T19:08:03.477Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-04T19:08:03.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T19:08:03.611Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T19:08:03.734Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T19:08:03.737Z] $ docker exec 658e33f1b01a9b3e1d3833fea3a06463ece61cd2fce9d042439a6d4223fa2d83 ssh-agent [2023-01-04T19:08:03.831Z] SSH_AUTH_SOCK=/tmp/ssh-zgOb0lZ0LfRy/agent.32 [2023-01-04T19:08:03.831Z] SSH_AGENT_PID=38 [2023-01-04T19:08:03.837Z] Running ssh-add (command line suppressed) [2023-01-04T19:08:03.949Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/private_key_14053375010758567438.key (/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/private_key_14053375010758567438.key) [2023-01-04T19:08:03.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T19:08:04.294Z] + git tag --points-at HEAD [Pipeline] } [2023-01-04T19:08:04.319Z] $ docker exec --env ******** --env ******** 658e33f1b01a9b3e1d3833fea3a06463ece61cd2fce9d042439a6d4223fa2d83 ssh-agent -k [2023-01-04T19:08:04.413Z] unset SSH_AUTH_SOCK; [2023-01-04T19:08:04.413Z] unset SSH_AGENT_PID; [2023-01-04T19:08:04.413Z] echo Agent pid 38 killed; [2023-01-04T19:08:04.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-04T19:08:04.508Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-04T19:08:04.508Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-04T19:08:04.622Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-04T19:08:04.625Z] $ docker exec 658e33f1b01a9b3e1d3833fea3a06463ece61cd2fce9d042439a6d4223fa2d83 ssh-agent [2023-01-04T19:08:04.729Z] SSH_AUTH_SOCK=/tmp/ssh-IUKC5p7m5ZdH/agent.70 [2023-01-04T19:08:04.729Z] SSH_AGENT_PID=76 [2023-01-04T19:08:04.734Z] Running ssh-add (command line suppressed) [2023-01-04T19:08:04.852Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/private_key_11775832446713334603.key (/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/private_key_11775832446713334603.key) [2023-01-04T19:08:04.867Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-04T19:08:05.193Z] + git semver init [2023-01-04T19:08:05.452Z] 2023-01-04 19:08:05,383 [run_init] DEBUG init version:0.0.0 force:False [2023-01-04T19:08:05.453Z] 2023-01-04 19:08:05,384 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver [2023-01-04T19:08:05.453Z] 2023-01-04 19:08:05,384 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver [2023-01-04T19:08:05.453Z] 2023-01-04 19:08:05,384 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-445, universal_newlines=False, shell=None, istream=None) [2023-01-04T19:08:06.390Z] 2023-01-04 19:08:06,182 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445/.git/info/exclude [2023-01-04T19:08:06.390Z] 2023-01-04 19:08:06,183 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver/PR-445 with force:False [2023-01-04T19:08:06.390Z] 2023-01-04 19:08:06,183 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver/PR-445 [2023-01-04T19:08:06.390Z] 2023-01-04 19:08:06,187 [execute] INFO git cat-file --batch-check [2023-01-04T19:08:06.390Z] 2023-01-04 19:08:06,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T19:08:06.390Z] 2023-01-04 19:08:06,194 [execute] INFO git cat-file --batch [2023-01-04T19:08:06.390Z] 2023-01-04 19:08:06,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) [2023-01-04T19:08:06.390Z] 2023-01-04 19:08:06,200 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-445/.semver/PR-445 [2023-01-04T19:08:06.390Z] 0.0.0 [Pipeline] } [2023-01-04T19:08:06.419Z] $ docker exec --env ******** --env ******** 658e33f1b01a9b3e1d3833fea3a06463ece61cd2fce9d042439a6d4223fa2d83 ssh-agent -k [2023-01-04T19:08:06.508Z] unset SSH_AUTH_SOCK; [2023-01-04T19:08:06.508Z] unset SSH_AGENT_PID; [2023-01-04T19:08:06.508Z] echo Agent pid 76 killed; [2023-01-04T19:08:06.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-04T19:08:06.941Z] + git semver [Pipeline] } [2023-01-04T19:08:07.229Z] $ docker stop --time=1 658e33f1b01a9b3e1d3833fea3a06463ece61cd2fce9d042439a6d4223fa2d83 [2023-01-04T19:08:08.547Z] $ docker rm -f --volumes 658e33f1b01a9b3e1d3833fea3a06463ece61cd2fce9d042439a6d4223fa2d83 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T19:08:09.007Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-04T19:08:09.275Z] Stashed 1 file(s) [Pipeline] echo [2023-01-04T19:08:09.307Z] [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-04T19:08:09.914Z] provisioning config files... [2023-01-04T19:08:09.926Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/config17248030925537662918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:08:10.275Z] ---> docker-login.sh [2023-01-04T19:08:10.275Z] nexus3.edgexfoundry.org:10001 [2023-01-04T19:08:10.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:10.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:10.275Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:10.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:10.275Z] [2023-01-04T19:08:10.275Z] Login Succeeded [2023-01-04T19:08:10.275Z] nexus3.edgexfoundry.org:10002 [2023-01-04T19:08:10.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:10.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:10.275Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:10.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:10.275Z] [2023-01-04T19:08:10.275Z] Login Succeeded [2023-01-04T19:08:10.275Z] nexus3.edgexfoundry.org:10003 [2023-01-04T19:08:10.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:10.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:10.535Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:10.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:10.535Z] [2023-01-04T19:08:10.535Z] Login Succeeded [2023-01-04T19:08:10.535Z] nexus3.edgexfoundry.org:10004 [2023-01-04T19:08:10.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:10.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:10.535Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:10.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:10.535Z] [2023-01-04T19:08:10.535Z] Login Succeeded [2023-01-04T19:08:10.535Z] docker.io [2023-01-04T19:08:10.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:08:10.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:08:10.794Z] Configure a credential helper to remove this warning. See [2023-01-04T19:08:10.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:08:10.794Z] [2023-01-04T19:08:10.794Z] Login Succeeded [2023-01-04T19:08:10.794Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T19:08:10.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T19:08:11.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T19:08:11.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T19:08:11.067Z] ========================================================= [2023-01-04T19:08:11.067Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-04T19:08:11.067Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:08:11.544Z] + 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-04T19:08:11.544Z] Sending build context to Docker daemon 6.295MB [2023-01-04T19:08:11.544Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T19:08:11.544Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T19:08:11.544Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-04T19:08:11.544Z] 213ec9aee27d: Pulling fs layer [2023-01-04T19:08:11.544Z] 4583459ba037: Pulling fs layer [2023-01-04T19:08:11.544Z] 93c1e223e6f2: Pulling fs layer [2023-01-04T19:08:11.544Z] 53926ce57604: Pulling fs layer [2023-01-04T19:08:11.544Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-04T19:08:11.544Z] 22ff95d597cd: Pulling fs layer [2023-01-04T19:08:11.544Z] 53926ce57604: Waiting [2023-01-04T19:08:11.544Z] 12d6caf4c0d1: Pulling fs layer [2023-01-04T19:08:11.544Z] 96b7cbca73a9: Pulling fs layer [2023-01-04T19:08:11.544Z] 21b2b0c7a3f4: Waiting [2023-01-04T19:08:11.544Z] a7acece74701: Pulling fs layer [2023-01-04T19:08:11.544Z] 12d6caf4c0d1: Waiting [2023-01-04T19:08:11.544Z] 96b7cbca73a9: Waiting [2023-01-04T19:08:11.544Z] 93c1e223e6f2: Download complete [2023-01-04T19:08:11.544Z] 4583459ba037: Verifying Checksum [2023-01-04T19:08:11.544Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-04T19:08:11.544Z] 21b2b0c7a3f4: Download complete [2023-01-04T19:08:11.806Z] 22ff95d597cd: Verifying Checksum [2023-01-04T19:08:11.806Z] 22ff95d597cd: Download complete [2023-01-04T19:08:11.806Z] 213ec9aee27d: Verifying Checksum [2023-01-04T19:08:11.806Z] 213ec9aee27d: Download complete [2023-01-04T19:08:11.806Z] 12d6caf4c0d1: Verifying Checksum [2023-01-04T19:08:11.806Z] 12d6caf4c0d1: Download complete [2023-01-04T19:08:11.806Z] 213ec9aee27d: Pull complete [2023-01-04T19:08:12.075Z] 4583459ba037: Pull complete [2023-01-04T19:08:12.075Z] 93c1e223e6f2: Pull complete [2023-01-04T19:08:12.339Z] a7acece74701: Verifying Checksum [2023-01-04T19:08:12.339Z] a7acece74701: Download complete [2023-01-04T19:08:12.601Z] 53926ce57604: Verifying Checksum [2023-01-04T19:08:12.601Z] 53926ce57604: Download complete [2023-01-04T19:08:12.601Z] 96b7cbca73a9: Verifying Checksum [2023-01-04T19:08:12.601Z] 96b7cbca73a9: Download complete [2023-01-04T19:08:16.787Z] 53926ce57604: Pull complete [2023-01-04T19:08:16.787Z] 21b2b0c7a3f4: Pull complete [2023-01-04T19:08:16.787Z] 22ff95d597cd: Pull complete [2023-01-04T19:08:16.787Z] 12d6caf4c0d1: Pull complete [2023-01-04T19:08:18.161Z] 96b7cbca73a9: Pull complete [2023-01-04T19:08:19.098Z] a7acece74701: Pull complete [2023-01-04T19:08:19.098Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-04T19:08:19.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-04T19:08:19.098Z] ---> db6d94c90886 [2023-01-04T19:08:19.098Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T19:08:21.008Z] ---> Running in d74eca6a61c2 [2023-01-04T19:08:21.008Z] Removing intermediate container d74eca6a61c2 [2023-01-04T19:08:21.008Z] ---> 9db23627d414 [2023-01-04T19:08:21.008Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T19:08:21.008Z] ---> Running in 3dbed1454128 [2023-01-04T19:08:21.008Z] Removing intermediate container 3dbed1454128 [2023-01-04T19:08:21.008Z] ---> 5d51be6f01eb [2023-01-04T19:08:21.008Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T19:08:21.008Z] ---> Running in 6ec8c6970803 [2023-01-04T19:08:21.008Z] Removing intermediate container 6ec8c6970803 [2023-01-04T19:08:21.008Z] ---> 87329b9a87ba [2023-01-04T19:08:21.008Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T19:08:21.008Z] ---> Running in 38356ff5b4c6 [2023-01-04T19:08:21.008Z] Removing intermediate container 38356ff5b4c6 [2023-01-04T19:08:21.008Z] ---> c35df9d08b13 [2023-01-04T19:08:21.008Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T19:08:21.008Z] ---> Running in 07b14bc4bedf [2023-01-04T19:08:21.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T19:08:21.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T19:08:21.837Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T19:08:21.837Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T19:08:21.837Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T19:08:21.837Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T19:08:21.837Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T19:08:21.837Z] OK: 216 MiB in 55 packages [2023-01-04T19:08:22.403Z] Removing intermediate container 07b14bc4bedf [2023-01-04T19:08:22.403Z] ---> 30ce94d061a7 [2023-01-04T19:08:22.403Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-04T19:08:22.403Z] ---> Running in 73ab859718e9 [2023-01-04T19:08:22.403Z] Removing intermediate container 73ab859718e9 [2023-01-04T19:08:22.403Z] ---> 266c75adcbb9 [2023-01-04T19:08:22.403Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T19:08:22.403Z] ---> 623cc6d1cc1a [2023-01-04T19:08:22.403Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T19:08:22.403Z] ---> Running in dd597bcab532 [2023-01-04T19:08:24.733Z] Still waiting to schedule task [2023-01-04T19:08:24.733Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-04T19:08:40.501Z] Removing intermediate container dd597bcab532 [2023-01-04T19:08:40.501Z] ---> d828d8bcd04e [2023-01-04T19:08:40.501Z] Step 11/12 : COPY . . [2023-01-04T19:08:40.501Z] ---> 8023868a0d76 [2023-01-04T19:08:40.501Z] Step 12/12 : RUN $MAKE [2023-01-04T19:08:40.501Z] ---> Running in 9e9c27b8d244 [2023-01-04T19:08:40.501Z] noop [2023-01-04T19:08:40.501Z] Removing intermediate container 9e9c27b8d244 [2023-01-04T19:08:40.501Z] ---> b7f323669028 [2023-01-04T19:08:40.501Z] Successfully built b7f323669028 [2023-01-04T19:08:40.501Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:08:40.941Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T19:08:40.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:08:41.080Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2023-01-04T19:08:41.110Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T19:08:41.470Z] $ docker top 5201c49817a7417c579ec90ceed17b755dd7040b1a8e126d0c077e78f97a3539 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:08:41.861Z] + go version [2023-01-04T19:08:41.861Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-04T19:08:41.892Z] $ docker stop --time=1 5201c49817a7417c579ec90ceed17b755dd7040b1a8e126d0c077e78f97a3539 [2023-01-04T19:08:43.162Z] $ docker rm -f --volumes 5201c49817a7417c579ec90ceed17b755dd7040b1a8e126d0c077e78f97a3539 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:08:43.855Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-04T19:08:43.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:08:44.007Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2023-01-04T19:08:44.035Z] $ 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-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-04T19:08:44.384Z] $ docker top bef9c52f09178d4d38858eed936160efaf612440e3fc1c921f8642c9acdb7cf0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:08:44.770Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-445 [Pipeline] fileExists [Pipeline] sh [2023-01-04T19:08:45.127Z] + make test [2023-01-04T19:08:45.127Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T19:08:45.385Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-04T19:08:55.351Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-04T19:08:55.351Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements [2023-01-04T19:08:55.351Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-04T19:09:01.906Z] 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-04T19:09:01.906Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T19:09:05.187Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T19:09:05.187Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T19:09:05.187Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T19:09:05.224Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T19:09:05.254Z] $ docker stop --time=1 bef9c52f09178d4d38858eed936160efaf612440e3fc1c921f8642c9acdb7cf0 [2023-01-04T19:09:06.881Z] $ docker rm -f --volumes bef9c52f09178d4d38858eed936160efaf612440e3fc1c921f8642c9acdb7cf0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T19:09:07.377Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T19:09:07.441Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-04T19:09:07.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T19:09:08.313Z] + ls -al . [2023-01-04T19:09:08.313Z] total 192 [2023-01-04T19:09:08.313Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 4 19:08 . [2023-01-04T19:09:08.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 19:07 .. [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 19:07 .dockerignore [2023-01-04T19:09:08.313Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 19:08 .git [2023-01-04T19:09:08.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:07 .github [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 19:07 .gitignore [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 19:07 .golangci.yml [2023-01-04T19:09:08.313Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 19:08 .semver [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 4 19:07 Attribution.txt [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 4 19:07 CHANGELOG.md [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 4 19:07 Dockerfile [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 19:07 GOVERNANCE.md [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 4 19:07 Jenkinsfile [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 19:07 LICENSE [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 4 19:07 Makefile [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 19:07 OWNERS.md [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 4 19:07 README.md [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 19:08 VERSION [2023-01-04T19:09:08.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 19:07 bin [2023-01-04T19:09:08.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:07 cmd [2023-01-04T19:09:08.313Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 4 19:08 coverage.out [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 4 19:07 go.mod [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 19:07 go.sum [2023-01-04T19:09:08.313Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:07 internal [2023-01-04T19:09:08.313Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 19:07 mock [2023-01-04T19:09:08.313Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 19:07 snap [2023-01-04T19:09:08.313Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 4 19:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:09:08.711Z] + 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=0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d --label arch=amd64 --label version=0.0.0 . [2023-01-04T19:09:08.711Z] Sending build context to Docker daemon 6.313MB [2023-01-04T19:09:08.711Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T19:09:08.711Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-04T19:09:08.711Z] ---> b7f323669028 [2023-01-04T19:09:08.711Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-04T19:09:08.711Z] ---> Running in d9b813145577 [2023-01-04T19:09:08.711Z] Removing intermediate container d9b813145577 [2023-01-04T19:09:08.711Z] ---> abeecdc5efaa [2023-01-04T19:09:08.711Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T19:09:08.711Z] ---> Running in 61a5504de68e [2023-01-04T19:09:08.969Z] Removing intermediate container 61a5504de68e [2023-01-04T19:09:08.969Z] ---> 6b267eff03a4 [2023-01-04T19:09:08.969Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T19:09:08.969Z] ---> Running in 71b742576f37 [2023-01-04T19:09:08.969Z] Removing intermediate container 71b742576f37 [2023-01-04T19:09:08.969Z] ---> 5e37a29f950d [2023-01-04T19:09:08.969Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T19:09:08.969Z] ---> Running in bcc145cc63ed [2023-01-04T19:09:08.969Z] Removing intermediate container bcc145cc63ed [2023-01-04T19:09:08.969Z] ---> 5b1050421087 [2023-01-04T19:09:08.969Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T19:09:09.228Z] ---> Running in 05808e1681a8 [2023-01-04T19:09:09.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T19:09:09.487Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T19:09:09.747Z] OK: 216 MiB in 55 packages [2023-01-04T19:09:10.005Z] Removing intermediate container 05808e1681a8 [2023-01-04T19:09:10.005Z] ---> 566859153aa7 [2023-01-04T19:09:10.005Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-04T19:09:10.005Z] ---> Running in 038c8a785dd4 [2023-01-04T19:09:10.263Z] Removing intermediate container 038c8a785dd4 [2023-01-04T19:09:10.263Z] ---> c2537a555134 [2023-01-04T19:09:10.263Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-04T19:09:10.263Z] ---> 70d900cc55f0 [2023-01-04T19:09:10.263Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T19:09:10.263Z] ---> Running in a7dff9f0cb92 [2023-01-04T19:09:10.830Z] Removing intermediate container a7dff9f0cb92 [2023-01-04T19:09:10.830Z] ---> 98c94915f533 [2023-01-04T19:09:10.830Z] Step 11/24 : COPY . . [2023-01-04T19:09:11.088Z] ---> 9a54747c2a32 [2023-01-04T19:09:11.088Z] Step 12/24 : RUN $MAKE [2023-01-04T19:09:11.088Z] ---> Running in 5535b13d397f [2023-01-04T19:09:11.347Z] 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-04T19:09:33.267Z] Removing intermediate container 5535b13d397f [2023-01-04T19:09:33.267Z] ---> 0a1e265bef24 [2023-01-04T19:09:33.267Z] Step 13/24 : FROM alpine:3.16 [2023-01-04T19:09:33.267Z] 3.16: Pulling from library/alpine [2023-01-04T19:09:33.267Z] ca7dd9ec2225: Pulling fs layer [2023-01-04T19:09:33.267Z] ca7dd9ec2225: Verifying Checksum [2023-01-04T19:09:33.267Z] ca7dd9ec2225: Download complete [2023-01-04T19:09:33.267Z] ca7dd9ec2225: Pull complete [2023-01-04T19:09:33.267Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T19:09:33.267Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T19:09:33.267Z] ---> bfe296a52501 [2023-01-04T19:09:33.267Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-04T19:09:33.267Z] ---> Running in 002ab13ef97f [2023-01-04T19:09:33.267Z] Removing intermediate container 002ab13ef97f [2023-01-04T19:09:33.267Z] ---> 99cd1453b399 [2023-01-04T19:09:33.267Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T19:09:33.267Z] ---> Running in 82f4d8e4f983 [2023-01-04T19:09:33.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-04T19:09:33.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-04T19:09:33.267Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T19:09:33.267Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T19:09:33.267Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T19:09:33.267Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T19:09:33.267Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T19:09:33.267Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T19:09:33.267Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T19:09:33.267Z] OK: 8 MiB in 20 packages [2023-01-04T19:09:33.267Z] Removing intermediate container 82f4d8e4f983 [2023-01-04T19:09:33.267Z] ---> 453a9839c18a [2023-01-04T19:09:33.267Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-04T19:09:33.267Z] ---> d5fd3b61f56b [2023-01-04T19:09:33.267Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-04T19:09:33.267Z] ---> 92168bd39be2 [2023-01-04T19:09:33.267Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-04T19:09:33.267Z] ---> ba770f346c1e [2023-01-04T19:09:33.267Z] Step 19/24 : EXPOSE 59982 [2023-01-04T19:09:33.267Z] ---> Running in b65942ee32ab [2023-01-04T19:09:33.267Z] Removing intermediate container b65942ee32ab [2023-01-04T19:09:33.267Z] ---> 3e50dcafee41 [2023-01-04T19:09:33.267Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-04T19:09:33.267Z] ---> Running in 3dbecd41edd2 [2023-01-04T19:09:33.267Z] Removing intermediate container 3dbecd41edd2 [2023-01-04T19:09:33.267Z] ---> ff7afd876b6b [2023-01-04T19:09:33.267Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T19:09:33.267Z] ---> Running in 36762898a709 [2023-01-04T19:09:33.267Z] Removing intermediate container 36762898a709 [2023-01-04T19:09:33.267Z] ---> ad3281c2826d [2023-01-04T19:09:33.267Z] Step 22/24 : LABEL arch=amd64 [2023-01-04T19:09:33.267Z] ---> Running in 5b05a105eef3 [2023-01-04T19:09:33.267Z] Removing intermediate container 5b05a105eef3 [2023-01-04T19:09:33.267Z] ---> ff4d79204946 [2023-01-04T19:09:33.267Z] Step 23/24 : LABEL git_sha=0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [2023-01-04T19:09:33.267Z] ---> Running in d473ab507792 [2023-01-04T19:09:33.267Z] Removing intermediate container d473ab507792 [2023-01-04T19:09:33.267Z] ---> 621e9ccf4926 [2023-01-04T19:09:33.267Z] Step 24/24 : LABEL version=0.0.0 [2023-01-04T19:09:33.267Z] ---> Running in e8da3e702420 [2023-01-04T19:09:33.267Z] Removing intermediate container e8da3e702420 [2023-01-04T19:09:33.267Z] ---> a24fcbb38782 [2023-01-04T19:09:33.267Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T19:09:33.267Z] Successfully built a24fcbb38782 [2023-01-04T19:09:33.267Z] 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-04T19:09:34.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T19:09:34.139Z] [2023-01-04T19:09:34.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:09:34.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T19:09:34.774Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-04T19:09:34.774Z] 5eb5b503b376: Pulling fs layer [2023-01-04T19:09:34.774Z] 5c69ac0246d0: Pulling fs layer [2023-01-04T19:09:34.774Z] ec43610c2a17: Pulling fs layer [2023-01-04T19:09:34.774Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-04T19:09:34.774Z] 33b1e0a273af: Pulling fs layer [2023-01-04T19:09:34.774Z] 5d3b04190fa2: Pulling fs layer [2023-01-04T19:09:34.774Z] 2f39f015ded8: Pulling fs layer [2023-01-04T19:09:34.774Z] 5d3b04190fa2: Waiting [2023-01-04T19:09:34.774Z] 33b1e0a273af: Waiting [2023-01-04T19:09:34.774Z] 2f39f015ded8: Waiting [2023-01-04T19:09:34.774Z] 5c69ac0246d0: Download complete [2023-01-04T19:09:34.774Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-04T19:09:34.774Z] 3a2ae6a8a46f: Download complete [2023-01-04T19:09:34.774Z] ec43610c2a17: Verifying Checksum [2023-01-04T19:09:34.774Z] ec43610c2a17: Download complete [2023-01-04T19:09:34.774Z] 33b1e0a273af: Verifying Checksum [2023-01-04T19:09:34.774Z] 33b1e0a273af: Download complete [2023-01-04T19:09:34.774Z] 5d3b04190fa2: Verifying Checksum [2023-01-04T19:09:35.032Z] 5eb5b503b376: Download complete [2023-01-04T19:09:35.597Z] 2f39f015ded8: Download complete [2023-01-04T19:09:35.854Z] 5eb5b503b376: Pull complete [2023-01-04T19:09:36.111Z] 5c69ac0246d0: Pull complete [2023-01-04T19:09:36.370Z] ec43610c2a17: Pull complete [2023-01-04T19:09:36.628Z] 3a2ae6a8a46f: Pull complete [2023-01-04T19:09:36.628Z] 33b1e0a273af: Pull complete [2023-01-04T19:09:36.885Z] 5d3b04190fa2: Pull complete [2023-01-04T19:09:41.067Z] 2f39f015ded8: Pull complete [2023-01-04T19:09:41.067Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-04T19:09:41.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T19:09:41.067Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:09:41.287Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2023-01-04T19:09:41.314Z] $ 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-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T19:09:43.432Z] $ docker top 3cb973df8a5d67c00999b1a5d22f04d1589d06e82ee8ad54b0a1da1c5eec040d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:09:43.868Z] ---> job-cost.sh [2023-01-04T19:09:43.868Z] lf-activate-venv: SKIPPING [2023-01-04T19:09:43.868Z] INFO: No Stack... [2023-01-04T19:09:44.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T19:09:44.388Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T19:09:44.715Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives/cost.csv [2023-01-04T19:09:44.715Z] + cut -d, -f6 [Pipeline] lock [2023-01-04T19:09:44.762Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-445-1-stack-cost] [2023-01-04T19:09:44.768Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-445-1-stack-cost] did not exist. Created. [2023-01-04T19:09:44.768Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T19:09:45.179Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-04T19:09:45.233Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T19:09:45.259Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T19:09:45.335Z] $ docker stop --time=1 3cb973df8a5d67c00999b1a5d22f04d1589d06e82ee8ad54b0a1da1c5eec040d [2023-01-04T19:09:46.488Z] $ docker rm -f --volumes 3cb973df8a5d67c00999b1a5d22f04d1589d06e82ee8ad54b0a1da1c5eec040d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-04T19:11:01.581Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1128 in /w/workspace/gexfoundry_device-mqtt-go_PR-445 [Pipeline] { [Pipeline] ws [2023-01-04T19:11:01.634Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-04T19:11:01.713Z] Selected Git installation does not exist. Using Default [2023-01-04T19:11:01.713Z] The recommended git tool is: NONE [2023-01-04T19:11:07.719Z] using credential edgex-jenkins-ssh [2023-01-04T19:11:07.736Z] Cloning the remote Git repository [2023-01-04T19:11:07.787Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-04T19:11:07.877Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-04T19:11:08.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-04T19:11:08.079Z] > git --version # timeout=10 [2023-01-04T19:11:08.102Z] > git --version # 'git version 2.25.1' [2023-01-04T19:11:08.104Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T19:11:08.173Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T19:11:09.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-04T19:11:09.369Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-04T19:11:10.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-04T19:11:10.433Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-04T19:11:10.434Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T19:11:10.452Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-04T19:11:11.061Z] Merging remotes/origin/main commit fe528491bba3fee0f8df2cff68391009d47da719 into PR head commit 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [2023-01-04T19:11:11.323Z] Merge succeeded, producing 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [2023-01-04T19:11:11.323Z] Checking out Revision 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d (PR-445) [2023-01-04T19:11:11.081Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T19:11:11.108Z] > git checkout -f 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d # timeout=10 [2023-01-04T19:11:11.203Z] > git remote # timeout=10 [2023-01-04T19:11:11.226Z] > git config --get remote.origin.url # timeout=10 [2023-01-04T19:11:11.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-04T19:11:11.271Z] > git merge fe528491bba3fee0f8df2cff68391009d47da719 # timeout=10 [2023-01-04T19:11:11.302Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-04T19:11:11.330Z] > git config core.sparsecheckout # timeout=10 [2023-01-04T19:11:11.344Z] > git checkout -f 0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d # timeout=10 [2023-01-04T19:11:14.860Z] Commit message: "build(deps): Bump edgex-snap-hooks/v2 to v2.5.0" [2023-01-04T19:11:14.918Z] > git --version # timeout=10 [2023-01-04T19:11:14.932Z] > git --version # 'git version 2.25.1' [2023-01-04T19:11:14.957Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T19:11:16.028Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-04T19:11:16.028Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T19:11:16.028Z] Dload Upload Total Spent Left Speed [2023-01-04T19:11:16.028Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-01-04T19:11:16.801Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-04T19:11:17.153Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-04T19:11:17.153Z] + sudo tee /etc/docker/daemon.new [2023-01-04T19:11:17.153Z] { [2023-01-04T19:11:17.153Z] "registry-mirrors": [ [2023-01-04T19:11:17.153Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-04T19:11:17.153Z] ], [2023-01-04T19:11:17.153Z] "bip": "10.250.0.254/24", [2023-01-04T19:11:17.153Z] "hosts": [ [2023-01-04T19:11:17.153Z] "tcp://0.0.0.0:5555", [2023-01-04T19:11:17.153Z] "unix:///var/run/docker.sock" [2023-01-04T19:11:17.153Z] ], [2023-01-04T19:11:17.153Z] "mtu": 1458, [2023-01-04T19:11:17.153Z] "selinux-enabled": true, [2023-01-04T19:11:17.153Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-04T19:11:17.153Z] } [Pipeline] sh [2023-01-04T19:11:17.514Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-04T19:11:17.878Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T19:11:36.235Z] provisioning config files... [2023-01-04T19:11:36.268Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config14352231078556887641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:11:36.671Z] ---> docker-login.sh [2023-01-04T19:11:36.671Z] nexus3.edgexfoundry.org:10001 [2023-01-04T19:11:37.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:11:37.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:11:37.276Z] Configure a credential helper to remove this warning. See [2023-01-04T19:11:37.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:11:37.276Z] [2023-01-04T19:11:37.276Z] Login Succeeded [2023-01-04T19:11:37.276Z] nexus3.edgexfoundry.org:10002 [2023-01-04T19:11:37.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:11:37.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:11:37.821Z] Configure a credential helper to remove this warning. See [2023-01-04T19:11:37.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:11:37.821Z] [2023-01-04T19:11:37.821Z] Login Succeeded [2023-01-04T19:11:37.821Z] nexus3.edgexfoundry.org:10003 [2023-01-04T19:11:38.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:11:38.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:11:38.091Z] Configure a credential helper to remove this warning. See [2023-01-04T19:11:38.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:11:38.091Z] [2023-01-04T19:11:38.091Z] Login Succeeded [2023-01-04T19:11:38.091Z] nexus3.edgexfoundry.org:10004 [2023-01-04T19:11:38.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:11:38.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:11:38.638Z] Configure a credential helper to remove this warning. See [2023-01-04T19:11:38.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:11:38.638Z] [2023-01-04T19:11:38.638Z] Login Succeeded [2023-01-04T19:11:38.638Z] docker.io [2023-01-04T19:11:38.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-04T19:11:39.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-04T19:11:39.177Z] Configure a credential helper to remove this warning. See [2023-01-04T19:11:39.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-04T19:11:39.177Z] [2023-01-04T19:11:39.177Z] Login Succeeded [2023-01-04T19:11:39.177Z] ---> docker-login.sh ends [Pipeline] } [2023-01-04T19:11:39.208Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-04T19:11:39.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T19:11:39.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-04T19:11:39.704Z] ========================================================= [2023-01-04T19:11:39.704Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-04T19:11:39.704Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:11:40.225Z] + 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-04T19:11:40.499Z] Sending build context to Docker daemon 3.263MB [2023-01-04T19:11:40.499Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T19:11:40.499Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-04T19:11:40.773Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-04T19:11:40.773Z] 9b18e9b68314: Pulling fs layer [2023-01-04T19:11:40.773Z] 35d82f9e3411: Pulling fs layer [2023-01-04T19:11:40.773Z] e16973657156: Pulling fs layer [2023-01-04T19:11:40.773Z] fc693d55d65f: Pulling fs layer [2023-01-04T19:11:40.773Z] 7e9fc2657dce: Pulling fs layer [2023-01-04T19:11:40.773Z] dda99020689f: Pulling fs layer [2023-01-04T19:11:40.773Z] db1c61fa0a46: Pulling fs layer [2023-01-04T19:11:40.773Z] 891c053d2c06: Pulling fs layer [2023-01-04T19:11:40.773Z] fc693d55d65f: Waiting [2023-01-04T19:11:40.773Z] 7e9fc2657dce: Waiting [2023-01-04T19:11:40.773Z] dda99020689f: Waiting [2023-01-04T19:11:40.773Z] db1c61fa0a46: Waiting [2023-01-04T19:11:40.773Z] 891c053d2c06: Waiting [2023-01-04T19:11:40.773Z] e16973657156: Verifying Checksum [2023-01-04T19:11:40.773Z] e16973657156: Download complete [2023-01-04T19:11:40.773Z] 35d82f9e3411: Verifying Checksum [2023-01-04T19:11:40.773Z] 35d82f9e3411: Download complete [2023-01-04T19:11:40.773Z] 7e9fc2657dce: Verifying Checksum [2023-01-04T19:11:40.773Z] 7e9fc2657dce: Download complete [2023-01-04T19:11:41.049Z] dda99020689f: Download complete [2023-01-04T19:11:41.049Z] 9b18e9b68314: Verifying Checksum [2023-01-04T19:11:41.049Z] 9b18e9b68314: Download complete [2023-01-04T19:11:42.042Z] 9b18e9b68314: Pull complete [2023-01-04T19:11:42.042Z] 891c053d2c06: Verifying Checksum [2023-01-04T19:11:42.042Z] 891c053d2c06: Download complete [2023-01-04T19:11:42.318Z] 35d82f9e3411: Pull complete [2023-01-04T19:11:42.914Z] e16973657156: Pull complete [2023-01-04T19:11:43.196Z] db1c61fa0a46: Verifying Checksum [2023-01-04T19:11:43.196Z] db1c61fa0a46: Download complete [2023-01-04T19:11:43.790Z] fc693d55d65f: Verifying Checksum [2023-01-04T19:11:43.790Z] fc693d55d65f: Download complete [2023-01-04T19:11:56.162Z] fc693d55d65f: Pull complete [2023-01-04T19:11:56.162Z] 7e9fc2657dce: Pull complete [2023-01-04T19:11:56.431Z] dda99020689f: Pull complete [2023-01-04T19:12:03.132Z] db1c61fa0a46: Pull complete [2023-01-04T19:12:04.550Z] 891c053d2c06: Pull complete [2023-01-04T19:12:04.550Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-04T19:12:04.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-04T19:12:04.550Z] ---> f96f9c87975a [2023-01-04T19:12:04.550Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-04T19:12:06.496Z] ---> Running in 06bbf0c537bd [2023-01-04T19:12:06.496Z] Removing intermediate container 06bbf0c537bd [2023-01-04T19:12:06.496Z] ---> f80694fc75de [2023-01-04T19:12:06.496Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T19:12:06.764Z] ---> Running in 57e02a331bc6 [2023-01-04T19:12:07.037Z] Removing intermediate container 57e02a331bc6 [2023-01-04T19:12:07.037Z] ---> 01087f012eea [2023-01-04T19:12:07.037Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T19:12:07.037Z] ---> Running in dcc3edc98ac7 [2023-01-04T19:12:07.308Z] Removing intermediate container dcc3edc98ac7 [2023-01-04T19:12:07.308Z] ---> a1c030f4d62b [2023-01-04T19:12:07.308Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T19:12:07.576Z] ---> Running in e73a88a0896f [2023-01-04T19:12:07.853Z] Removing intermediate container e73a88a0896f [2023-01-04T19:12:07.853Z] ---> eeaacfffd896 [2023-01-04T19:12:07.853Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T19:12:07.853Z] ---> Running in 6717858da082 [2023-01-04T19:12:09.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T19:12:09.277Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T19:12:10.243Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-04T19:12:10.243Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-04T19:12:10.243Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-04T19:12:10.243Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-04T19:12:10.243Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T19:12:10.515Z] OK: 226 MiB in 55 packages [2023-01-04T19:12:11.480Z] Removing intermediate container 6717858da082 [2023-01-04T19:12:11.480Z] ---> c0e1cdc0447a [2023-01-04T19:12:11.480Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-04T19:12:11.754Z] ---> Running in cce119324565 [2023-01-04T19:12:12.024Z] Removing intermediate container cce119324565 [2023-01-04T19:12:12.024Z] ---> 7ec7ba20a874 [2023-01-04T19:12:12.024Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-04T19:12:12.613Z] ---> 3d4de754de32 [2023-01-04T19:12:12.614Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T19:12:12.614Z] ---> Running in 8940f9b09300 [2023-01-04T19:13:20.529Z] Removing intermediate container 8940f9b09300 [2023-01-04T19:13:20.529Z] ---> d2a7c29dc76b [2023-01-04T19:13:20.529Z] Step 11/12 : COPY . . [2023-01-04T19:13:20.529Z] ---> 7b3563cd8e9a [2023-01-04T19:13:20.529Z] Step 12/12 : RUN $MAKE [2023-01-04T19:13:20.529Z] ---> Running in 2f897395e235 [2023-01-04T19:13:20.529Z] noop [2023-01-04T19:13:20.529Z] Removing intermediate container 2f897395e235 [2023-01-04T19:13:20.529Z] ---> 8d235d52d18f [2023-01-04T19:13:20.529Z] Successfully built 8d235d52d18f [2023-01-04T19:13:20.529Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:13:21.023Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T19:13:21.023Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:13:21.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container [2023-01-04T19:13:21.387Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T19:13:22.725Z] $ docker top 9c6e8be9ed5ed6566f9d91cdb62bde9c62e241f5c1227ea2f4619182f9da7209 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:13:23.641Z] + go version [2023-01-04T19:13:23.641Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-04T19:13:23.676Z] $ docker stop --time=1 9c6e8be9ed5ed6566f9d91cdb62bde9c62e241f5c1227ea2f4619182f9da7209 [2023-01-04T19:13:25.346Z] $ docker rm -f --volumes 9c6e8be9ed5ed6566f9d91cdb62bde9c62e241f5c1227ea2f4619182f9da7209 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:13:26.202Z] + docker inspect -f . ci-base-image-arm64 [2023-01-04T19:13:26.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:13:26.490Z] prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container [2023-01-04T19:13:26.566Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-04T19:13:27.874Z] $ docker top 75dae1b10f3e6f76dd0e0413118195916f943872c6142fa0eb38cc53056d9249 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:13:28.803Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-04T19:13:29.513Z] + make test [2023-01-04T19:13:29.514Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-04T19:13:31.466Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-04T19:15:08.172Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-04T19:15:08.172Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 21.8% of statements [2023-01-04T19:15:08.172Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-04T19:15:08.172Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-04T19:15:08.172Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-04T19:15:30.283Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-04T19:15:30.283Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-04T19:15:30.283Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-04T19:15:30.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-04T19:15:30.354Z] $ docker stop --time=1 75dae1b10f3e6f76dd0e0413118195916f943872c6142fa0eb38cc53056d9249 [2023-01-04T19:15:32.222Z] $ docker rm -f --volumes 75dae1b10f3e6f76dd0e0413118195916f943872c6142fa0eb38cc53056d9249 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-04T19:15:33.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-04T19:15:33.390Z] Warning: overwriting stash ‘coverage-report’ [2023-01-04T19:15:34.172Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-04T19:15:34.811Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-04T19:15:35.157Z] + ls -al . [2023-01-04T19:15:35.157Z] total 188 [2023-01-04T19:15:35.157Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 4 19:13 . [2023-01-04T19:15:35.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 19:11 .. [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 4 19:11 .dockerignore [2023-01-04T19:15:35.157Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 4 19:11 .git [2023-01-04T19:15:35.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:11 .github [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 4 19:11 .gitignore [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 4 19:11 .golangci.yml [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 4 19:11 Attribution.txt [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 4 19:11 CHANGELOG.md [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 4 19:11 Dockerfile [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 4 19:11 GOVERNANCE.md [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 4 19:11 Jenkinsfile [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 4 19:11 LICENSE [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 4 19:11 Makefile [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 4 19:11 OWNERS.md [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 4 19:11 README.md [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 4 19:08 VERSION [2023-01-04T19:15:35.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 19:11 bin [2023-01-04T19:15:35.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:11 cmd [2023-01-04T19:15:35.157Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 4 19:14 coverage.out [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 4 19:11 go.mod [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 4 19:11 go.sum [2023-01-04T19:15:35.157Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 4 19:11 internal [2023-01-04T19:15:35.157Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 4 19:11 mock [2023-01-04T19:15:35.157Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 4 19:11 snap [2023-01-04T19:15:35.157Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 4 19:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:15:35.606Z] + 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=0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d --label arch=arm64 --label version=0.0.0 . [2023-01-04T19:15:36.578Z] Sending build context to Docker daemon 3.281MB [2023-01-04T19:15:36.578Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-04T19:15:36.578Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-04T19:15:36.578Z] ---> 8d235d52d18f [2023-01-04T19:15:36.578Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-04T19:15:36.578Z] ---> Running in 3fd938761bdc [2023-01-04T19:15:37.166Z] Removing intermediate container 3fd938761bdc [2023-01-04T19:15:37.166Z] ---> 1eedab962b0d [2023-01-04T19:15:37.166Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-04T19:15:37.166Z] ---> Running in 168a71eef594 [2023-01-04T19:15:37.749Z] Removing intermediate container 168a71eef594 [2023-01-04T19:15:37.749Z] ---> 59d512b20eeb [2023-01-04T19:15:37.749Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-04T19:15:37.749Z] ---> Running in abea7d372465 [2023-01-04T19:15:38.016Z] Removing intermediate container abea7d372465 [2023-01-04T19:15:38.016Z] ---> a072a49c63e6 [2023-01-04T19:15:38.016Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-04T19:15:38.287Z] ---> Running in 43577f639e24 [2023-01-04T19:15:38.557Z] Removing intermediate container 43577f639e24 [2023-01-04T19:15:38.557Z] ---> 716506b5d4e8 [2023-01-04T19:15:38.557Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-04T19:15:38.830Z] ---> Running in bedce6d59420 [2023-01-04T19:15:39.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T19:15:40.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T19:15:41.344Z] OK: 226 MiB in 55 packages [2023-01-04T19:15:42.308Z] Removing intermediate container bedce6d59420 [2023-01-04T19:15:42.308Z] ---> ab53bf65a043 [2023-01-04T19:15:42.308Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-04T19:15:42.578Z] ---> Running in 05f52e1a599f [2023-01-04T19:15:42.845Z] Removing intermediate container 05f52e1a599f [2023-01-04T19:15:42.845Z] ---> fe4fbcc84ad1 [2023-01-04T19:15:42.845Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-04T19:15:43.437Z] ---> 88a316dd1b23 [2023-01-04T19:15:43.437Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-04T19:15:43.707Z] ---> Running in 1eaba783f648 [2023-01-04T19:15:46.295Z] Removing intermediate container 1eaba783f648 [2023-01-04T19:15:46.295Z] ---> 8ae36160e8b9 [2023-01-04T19:15:46.295Z] Step 11/24 : COPY . . [2023-01-04T19:15:46.880Z] ---> 387f79378c6e [2023-01-04T19:15:46.880Z] Step 12/24 : RUN $MAKE [2023-01-04T19:15:46.880Z] ---> Running in e1ce07d16e26 [2023-01-04T19:15:48.288Z] 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-04T19:18:25.041Z] Removing intermediate container e1ce07d16e26 [2023-01-04T19:18:25.041Z] ---> 7abaa90e3183 [2023-01-04T19:18:25.041Z] Step 13/24 : FROM alpine:3.16 [2023-01-04T19:18:25.041Z] 3.16: Pulling from library/alpine [2023-01-04T19:18:25.041Z] 6875df1f5354: Pulling fs layer [2023-01-04T19:18:25.041Z] 6875df1f5354: Verifying Checksum [2023-01-04T19:18:25.041Z] 6875df1f5354: Download complete [2023-01-04T19:18:25.041Z] 6875df1f5354: Pull complete [2023-01-04T19:18:25.041Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-04T19:18:25.041Z] Status: Downloaded newer image for alpine:3.16 [2023-01-04T19:18:25.041Z] ---> 2b4661558fb8 [2023-01-04T19:18:25.041Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-04T19:18:25.041Z] ---> Running in 49eb4953717e [2023-01-04T19:18:25.041Z] Removing intermediate container 49eb4953717e [2023-01-04T19:18:25.041Z] ---> 1f9195ca209e [2023-01-04T19:18:25.041Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-04T19:18:25.041Z] ---> Running in 2d1809342493 [2023-01-04T19:18:25.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-04T19:18:25.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-04T19:18:25.041Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-04T19:18:25.041Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-04T19:18:25.041Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-04T19:18:25.041Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-04T19:18:25.041Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-04T19:18:25.041Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-04T19:18:25.041Z] Executing busybox-1.35.0-r17.trigger [2023-01-04T19:18:25.041Z] OK: 8 MiB in 20 packages [2023-01-04T19:18:25.041Z] Removing intermediate container 2d1809342493 [2023-01-04T19:18:25.041Z] ---> 6da6388b833c [2023-01-04T19:18:25.041Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-04T19:18:25.041Z] ---> 78eba666b40c [2023-01-04T19:18:25.041Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-04T19:18:25.041Z] ---> b343cbc152fa [2023-01-04T19:18:25.041Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-04T19:18:25.041Z] ---> 2166e002bee5 [2023-01-04T19:18:25.041Z] Step 19/24 : EXPOSE 59982 [2023-01-04T19:18:25.041Z] ---> Running in 9dba051e529a [2023-01-04T19:18:25.041Z] Removing intermediate container 9dba051e529a [2023-01-04T19:18:25.041Z] ---> 628970cd5959 [2023-01-04T19:18:25.041Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-04T19:18:25.041Z] ---> Running in c52bb7070a61 [2023-01-04T19:18:25.041Z] Removing intermediate container c52bb7070a61 [2023-01-04T19:18:25.041Z] ---> 6134f419755d [2023-01-04T19:18:25.041Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-04T19:18:25.041Z] ---> Running in d0452b29883c [2023-01-04T19:18:25.041Z] Removing intermediate container d0452b29883c [2023-01-04T19:18:25.041Z] ---> 4cc0f0482d80 [2023-01-04T19:18:25.041Z] Step 22/24 : LABEL arch=arm64 [2023-01-04T19:18:25.041Z] ---> Running in 94cf2e5654f7 [2023-01-04T19:18:25.041Z] Removing intermediate container 94cf2e5654f7 [2023-01-04T19:18:25.041Z] ---> 23ad28d03a4a [2023-01-04T19:18:25.041Z] Step 23/24 : LABEL git_sha=0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [2023-01-04T19:18:25.041Z] ---> Running in a790cc4386aa [2023-01-04T19:18:25.041Z] Removing intermediate container a790cc4386aa [2023-01-04T19:18:25.041Z] ---> 2278bdc57ccd [2023-01-04T19:18:25.041Z] Step 24/24 : LABEL version=0.0.0 [2023-01-04T19:18:25.041Z] ---> Running in cc8e96f451d7 [2023-01-04T19:18:25.041Z] Removing intermediate container cc8e96f451d7 [2023-01-04T19:18:25.041Z] ---> eb285c80fa02 [2023-01-04T19:18:25.041Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-04T19:18:25.041Z] Successfully built eb285c80fa02 [2023-01-04T19:18:25.041Z] 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-04T19:18:25.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T19:18:25.853Z] [2023-01-04T19:18:25.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:18:26.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T19:18:26.257Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-04T19:18:26.257Z] 8998bd30e6a1: Pulling fs layer [2023-01-04T19:18:26.257Z] 04944245beec: Pulling fs layer [2023-01-04T19:18:26.257Z] 699f458cf7ca: Pulling fs layer [2023-01-04T19:18:26.257Z] 765212b225bb: Pulling fs layer [2023-01-04T19:18:26.257Z] f23df028b6ca: Pulling fs layer [2023-01-04T19:18:26.257Z] d65c8cfc05b1: Pulling fs layer [2023-01-04T19:18:26.257Z] 2437ff75d9bd: Pulling fs layer [2023-01-04T19:18:26.257Z] f23df028b6ca: Waiting [2023-01-04T19:18:26.257Z] 765212b225bb: Waiting [2023-01-04T19:18:26.257Z] d65c8cfc05b1: Waiting [2023-01-04T19:18:26.257Z] 2437ff75d9bd: Waiting [2023-01-04T19:18:26.531Z] 04944245beec: Verifying Checksum [2023-01-04T19:18:26.531Z] 04944245beec: Download complete [2023-01-04T19:18:26.531Z] 765212b225bb: Download complete [2023-01-04T19:18:26.531Z] f23df028b6ca: Verifying Checksum [2023-01-04T19:18:26.531Z] f23df028b6ca: Download complete [2023-01-04T19:18:26.531Z] d65c8cfc05b1: Verifying Checksum [2023-01-04T19:18:26.531Z] d65c8cfc05b1: Download complete [2023-01-04T19:18:26.800Z] 699f458cf7ca: Verifying Checksum [2023-01-04T19:18:26.800Z] 699f458cf7ca: Download complete [2023-01-04T19:18:27.069Z] 8998bd30e6a1: Download complete [2023-01-04T19:18:29.657Z] 2437ff75d9bd: Verifying Checksum [2023-01-04T19:18:29.657Z] 2437ff75d9bd: Download complete [2023-01-04T19:18:31.605Z] 8998bd30e6a1: Pull complete [2023-01-04T19:18:32.189Z] 04944245beec: Pull complete [2023-01-04T19:18:33.599Z] 699f458cf7ca: Pull complete [2023-01-04T19:18:33.599Z] 765212b225bb: Pull complete [2023-01-04T19:18:34.563Z] f23df028b6ca: Pull complete [2023-01-04T19:18:34.563Z] d65c8cfc05b1: Pull complete [2023-01-04T19:18:49.573Z] 2437ff75d9bd: Pull complete [2023-01-04T19:18:49.573Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-04T19:18:49.573Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-04T19:18:49.573Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:18:49.880Z] prd-ubuntu20.04-docker-arm64-4c-16g-1128 does not seem to be running inside a container [2023-01-04T19:18:49.931Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-04T19:18:52.598Z] $ docker top 6d46ef8db6f520713f069ce4cb07268358029814c84f041f89918ea0b3fcf4e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:18:53.583Z] ---> job-cost.sh [2023-01-04T19:18:53.583Z] lf-activate-venv: SKIPPING [2023-01-04T19:18:53.583Z] INFO: No Stack... [2023-01-04T19:18:53.857Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-04T19:18:54.839Z] INFO: Archiving Costs [Pipeline] sh [2023-01-04T19:18:55.540Z] + cut -d, -f6 [2023-01-04T19:18:55.540Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-01-04T19:18:55.623Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-445-1-stack-cost] [2023-01-04T19:18:55.628Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-445-1-stack-cost] did not exist. Created. [2023-01-04T19:18:55.628Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-04T19:18:56.396Z] /w/workspace/device-mqtt-go/1@tmp/durable-329da0fe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-04T19:18:57.066Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-04T19:18:57.101Z] Warning: overwriting stash ‘stack-cost’ [2023-01-04T19:18:57.150Z] Stashed 1 file(s) [Pipeline] } [2023-01-04T19:18:57.164Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-04T19:18:57.241Z] $ docker stop --time=1 6d46ef8db6f520713f069ce4cb07268358029814c84f041f89918ea0b3fcf4e0 [2023-01-04T19:18:58.784Z] $ docker rm -f --volumes 6d46ef8db6f520713f069ce4cb07268358029814c84f041f89918ea0b3fcf4e0 [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-04T19:18:59.758Z] provisioning config files... [2023-01-04T19:18:59.765Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/config9830553808431458686tmp [Pipeline] { [Pipeline] sh [2023-01-04T19:19:00.100Z] + set +x [2023-01-04T19:19:00.100Z] + curl -s https://codecov.io/bash [2023-01-04T19:19:00.100Z] + bash -s -- [2023-01-04T19:19:00.100Z] [2023-01-04T19:19:00.100Z] _____ _ [2023-01-04T19:19:00.100Z] / ____| | | [2023-01-04T19:19:00.100Z] | | ___ __| | ___ ___ _____ __ [2023-01-04T19:19:00.100Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-04T19:19:00.100Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-04T19:19:00.100Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-04T19:19:00.100Z] Bash-1.0.6 [2023-01-04T19:19:00.100Z] [2023-01-04T19:19:00.100Z] [2023-01-04T19:19:00.100Z] ==> git version 2.25.1 found [2023-01-04T19:19:00.100Z] ==> 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-04T19:19:00.100Z] Release-Date: 2020-01-08 [2023-01-04T19:19:00.100Z] 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-04T19:19:00.100Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-04T19:19:00.100Z] ==> Jenkins CI detected. [2023-01-04T19:19:00.100Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-445 [2023-01-04T19:19:00.100Z] project root: . [2023-01-04T19:19:00.100Z] --> token set from env [2023-01-04T19:19:00.100Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-04T19:19:00.100Z] ==> Running gcov in . (disable via -X gcov) [2023-01-04T19:19:00.100Z] ==> Python coveragepy not found [2023-01-04T19:19:00.100Z] ==> Searching for coverage reports in: [2023-01-04T19:19:00.100Z] + . [2023-01-04T19:19:00.100Z] -> Found 1 reports [2023-01-04T19:19:00.100Z] ==> Detecting git/mercurial file structure [2023-01-04T19:19:00.100Z] ==> Reading reports [2023-01-04T19:19:00.100Z] + ./coverage.out bytes=17887 [2023-01-04T19:19:00.100Z] ==> Appending adjustments [2023-01-04T19:19:00.100Z] https://docs.codecov.io/docs/fixing-reports [2023-01-04T19:19:00.359Z] + Found adjustments [2023-01-04T19:19:00.359Z] ==> Gzipping contents [2023-01-04T19:19:00.359Z] 4.0K /tmp/codecov.4SoFNN.gz [2023-01-04T19:19:00.359Z] ==> Uploading reports [2023-01-04T19:19:00.359Z] url: https://codecov.io [2023-01-04T19:19:00.359Z] query: branch=PR-445&commit=0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=445&job=&cmd_args= [2023-01-04T19:19:00.359Z] -> Pinging Codecov [2023-01-04T19:19:00.359Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-445&commit=0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=445&job=&cmd_args= [2023-01-04T19:19:00.620Z] -> Uploading to [2023-01-04T19:19:00.620Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-04/7D719EC7BBE17E464838252E33014C33/0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d/35f10c8a-d456-42a9-88c8-e4292c56a9ed.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230104%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230104T191900Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=30fff779e18cf1d052eb6ec11d43d2d7fb33b0dd25007685b54bae944d4d629b [2023-01-04T19:19:00.620Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-04T19:19:00.620Z] Dload Upload Total Spent Left Speed [2023-01-04T19:19:00.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 12752 --:--:-- --:--:-- --:--:-- 12752 [2023-01-04T19:19:00.879Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0d8941610e7e56d6e7a6aa120d9f83e7a22a5b0d [Pipeline] } [2023-01-04T19:19:00.908Z] 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-04T19:19:02.642Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives ] [2023-01-04T19:19:02.642Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives [2023-01-04T19:19:02.642Z] total 16 [2023-01-04T19:19:02.642Z] drwxr-xr-x 3 root root 4096 Jan 4 19:09 . [2023-01-04T19:19:02.642Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 4 19:09 .. [2023-01-04T19:19:02.642Z] drwxr-xr-x 2 root root 4096 Jan 4 19:09 cost [2023-01-04T19:19:02.642Z] -rw-r--r-- 1 root root 86 Jan 4 19:09 cost.csv [2023-01-04T19:19:02.642Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives [2023-01-04T19:19:02.642Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives [2023-01-04T19:19:02.642Z] total 16 [2023-01-04T19:19:02.642Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 4 19:09 . [2023-01-04T19:19:02.642Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 4 19:09 .. [2023-01-04T19:19:02.642Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 4 19:09 cost [2023-01-04T19:19:02.642Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 4 19:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:19:02.967Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:19:03.857Z] ---> package-listing.sh [2023-01-04T19:19:03.857Z] ++ facter osfamily [2023-01-04T19:19:03.857Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-04T19:19:04.115Z] + OS_FAMILY=debian [2023-01-04T19:19:04.115Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-445 [2023-01-04T19:19:04.115Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-04T19:19:04.115Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-04T19:19:04.115Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-04T19:19:04.115Z] + PACKAGES=/tmp/packages_start.txt [2023-01-04T19:19:04.115Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-445 ']' [2023-01-04T19:19:04.115Z] + PACKAGES=/tmp/packages_end.txt [2023-01-04T19:19:04.115Z] + case "${OS_FAMILY}" in [2023-01-04T19:19:04.115Z] + dpkg -l [2023-01-04T19:19:04.115Z] + grep '^ii' [2023-01-04T19:19:04.115Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-04T19:19:04.115Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-04T19:19:04.115Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-04T19:19:04.115Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-445 ']' [2023-01-04T19:19:04.115Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives/ [2023-01-04T19:19:04.115Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-445/archives/ [Pipeline] echo [2023-01-04T19:19:04.145Z] 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-04T19:19:04.430Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-04T19:19:05.058Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-04T19:19:05.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-04T19:19:05.201Z] prd-ubuntu20.04-docker-8c-8g-1126 does not seem to be running inside a container [2023-01-04T19:19:05.221Z] $ 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-445/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-445 -v /w/workspace/gexfoundry_device-mqtt-go_PR-445:/w/workspace/gexfoundry_device-mqtt-go_PR-445:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-445@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-04T19:19:05.412Z] $ docker top 572c4df423572d9d12d3243297130e4e44866fdf411a83782089e3f684d91943 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-04T19:19:05.808Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-04T19:19:06.114Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-04T19:19:06.422Z] + ls /var/log/sa-host [2023-01-04T19:19:06.422Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-04T19:19:06.556Z] provisioning config files... [2023-01-04T19:19:06.565Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-445@tmp/config11685043949496944905tmp [Pipeline] { [Pipeline] echo [2023-01-04T19:19:06.615Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:19:06.922Z] ---> create-netrc.sh [Pipeline] } [2023-01-04T19:19:06.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:19:07.354Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-04T19:19:07.386Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:19:07.693Z] ---> sudo-logs.sh [2023-01-04T19:19:07.693Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-04T19:19:07.775Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:19:08.091Z] ---> job-cost.sh [2023-01-04T19:19:08.091Z] lf-activate-venv: SKIPPING [2023-01-04T19:19:08.091Z] DEBUG: total: 0.2199999988079071 [2023-01-04T19:19:08.091Z] INFO: Retrieving Stack Cost... [2023-01-04T19:19:08.661Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-04T19:19:08.922Z] INFO: Archiving Costs [Pipeline] echo [2023-01-04T19:19:08.962Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-04T19:19:09.271Z] ---> logs-deploy.sh [2023-01-04T19:19:09.272Z] lf-activate-venv: SKIPPING [2023-01-04T19:19:09.272Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-445/1 [2023-01-04T19:19:09.272Z] INFO: archiving workspace using pattern(s): [2023-01-04T19:19:10.212Z] Archives upload complete. [2023-01-04T19:19:10.212Z] INFO: archiving logs to Nexus