Pull request #465 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 78ef461cd7e8d91d5958851307de16306d7d8387+bc7652beee9a90296fe0b57947c4589a421f5e02 (d51d2ba8d177a15b29e8b9acbd0fe928debcb022) 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-ssh4190455279388852693.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-ssh181551824743045759.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-465/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-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7370274236082386930.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-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13999518314121086259.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-ssh12357163741083796118.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-465/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-465/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13508339960035805040.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-3315 in /w/workspace/gexfoundry_device-mqtt-go_PR-465 [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-465 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 78ef461cd7e8d91d5958851307de16306d7d8387 Merge succeeded, producing 78ef461cd7e8d91d5958851307de16306d7d8387 Checking out Revision 78ef461cd7e8d91d5958851307de16306d7d8387 (PR-465) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 78ef461cd7e8d91d5958851307de16306d7d8387 # 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 bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78ef461cd7e8d91d5958851307de16306d7d8387 # timeout=10 [Pipeline] timeout [2023-01-23T02:16:54.794Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-23T02:16:54.973Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-23T02:16:55.077Z] ========================================================= [2023-01-23T02:16:55.077Z] EdgeX Global Pipelines Version Info [2023-01-23T02:16:55.077Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:16:55.806Z] ------------------- [2023-01-23T02:16:55.806Z] stable info: [2023-01-23T02:16:55.806Z] ------------------- [2023-01-23T02:16:55.806Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-23T02:16:55.806Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T02:16:55.806Z] Message: update stable to v1.0.244 [2023-01-23T02:16:56.379Z] ------------------- [2023-01-23T02:16:56.379Z] experimental info: [2023-01-23T02:16:56.379Z] ------------------- [2023-01-23T02:16:56.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-23T02:16:56.379Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T02:16:56.379Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-23T02:16:56.901Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-23T02:16:56.944Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-23T02:16:56.992Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-23T02:16:57.030Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-23T02:16:57.072Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-23T02:16:57.116Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-23T02:16:57.162Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-23T02:16:57.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-23T02:16:57.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-23T02:16:57.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-23T02:16:57.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-23T02:16:57.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-23T02:16:57.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-23T02:16:57.471Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-23T02:16:57.514Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T02:16:57.560Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T02:16:57.604Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T02:16:57.647Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T02:16:57.694Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-23T02:16:57.735Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-23T02:16:57.775Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-23T02:16:57.817Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-23T02:16:57.855Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-23T02:16:57.899Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-23T02:16:57.946Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-23T02:16:57.994Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-23T02:16:58.043Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-23T02:16:58.084Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-465 [Pipeline] echo [2023-01-23T02:16:58.127Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-465 [Pipeline] echo [2023-01-23T02:16:58.173Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-465 [Pipeline] echo [2023-01-23T02:16:58.210Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] echo [2023-01-23T02:16:58.251Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78ef461 [Pipeline] echo [2023-01-23T02:16:58.294Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T02:16:58.422Z] provisioning config files... [2023-01-23T02:16:58.456Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/config16328355306647547463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:16:58.797Z] ---> docker-login.sh [2023-01-23T02:16:58.797Z] nexus3.edgexfoundry.org:10001 [2023-01-23T02:16:59.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:59.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:59.057Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:59.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:59.057Z] [2023-01-23T02:16:59.057Z] Login Succeeded [2023-01-23T02:16:59.057Z] nexus3.edgexfoundry.org:10002 [2023-01-23T02:16:59.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:59.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:59.057Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:59.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:59.057Z] [2023-01-23T02:16:59.057Z] Login Succeeded [2023-01-23T02:16:59.057Z] nexus3.edgexfoundry.org:10003 [2023-01-23T02:16:59.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:59.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:59.315Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:59.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:59.315Z] [2023-01-23T02:16:59.315Z] Login Succeeded [2023-01-23T02:16:59.315Z] nexus3.edgexfoundry.org:10004 [2023-01-23T02:16:59.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:59.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:59.315Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:59.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:59.315Z] [2023-01-23T02:16:59.315Z] Login Succeeded [2023-01-23T02:16:59.315Z] docker.io [2023-01-23T02:16:59.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:16:59.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:16:59.574Z] Configure a credential helper to remove this warning. See [2023-01-23T02:16:59.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:16:59.574Z] [2023-01-23T02:16:59.574Z] Login Succeeded [2023-01-23T02:16:59.574Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T02:16:59.602Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-23T02:17:00.232Z] + git rev-list -1 --merges 78ef461cd7e8d91d5958851307de16306d7d8387~1..78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] echo [2023-01-23T02:17:00.299Z] -----------> git rev-list -1 --merges 78ef461cd7e8d91d5958851307de16306d7d8387~1..78ef461cd7e8d91d5958851307de16306d7d8387 78ef461cd7e8d91d5958851307de16306d7d8387 [false] [Pipeline] sh [2023-01-23T02:17:00.612Z] + git log --format=format:%s -1 78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] echo [2023-01-23T02:17:00.649Z] ========================================================= [2023-01-23T02:17:00.649Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-23T02:17:00.649Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T02:17:01.096Z] + git log --format=format:%s -1 78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] echo [2023-01-23T02:17:01.128Z] [semverPrep] GIT_COMMIT: 78ef461cd7e8d91d5958851307de16306d7d8387, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-23T02:17:01.159Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-23T02:17:01.538Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-23T02:17:01.538Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-23T02:17:01.538Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-23T02:17:01.538Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-23T02:17:01.538Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-23T02:17:01.538Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-23T02:17:01.538Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:17:01.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T02:17:01.953Z] [2023-01-23T02:17:01.953Z] 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-23T02:17:02.327Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T02:17:02.327Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-23T02:17:02.327Z] b85a868b505f: Pulling fs layer [2023-01-23T02:17:02.327Z] e2be974225ed: Pulling fs layer [2023-01-23T02:17:02.327Z] 339a4e72a1f5: Pulling fs layer [2023-01-23T02:17:02.327Z] 988bab9f4d93: Pulling fs layer [2023-01-23T02:17:02.327Z] 1469e6f7b9e6: Pulling fs layer [2023-01-23T02:17:02.327Z] eaf3925da568: Pulling fs layer [2023-01-23T02:17:02.327Z] bab4dde63d76: Pulling fs layer [2023-01-23T02:17:02.327Z] bde34c3a00c8: Pulling fs layer [2023-01-23T02:17:02.327Z] b352a97aabf1: Pulling fs layer [2023-01-23T02:17:02.327Z] 4872d77fe225: Pulling fs layer [2023-01-23T02:17:02.327Z] 5851b861e8e6: Pulling fs layer [2023-01-23T02:17:02.327Z] 1469e6f7b9e6: Waiting [2023-01-23T02:17:02.327Z] 988bab9f4d93: Waiting [2023-01-23T02:17:02.327Z] b352a97aabf1: Waiting [2023-01-23T02:17:02.327Z] 4872d77fe225: Waiting [2023-01-23T02:17:02.327Z] bde34c3a00c8: Waiting [2023-01-23T02:17:02.327Z] 5851b861e8e6: Waiting [2023-01-23T02:17:02.327Z] eaf3925da568: Waiting [2023-01-23T02:17:02.327Z] bab4dde63d76: Waiting [2023-01-23T02:17:02.327Z] e2be974225ed: Verifying Checksum [2023-01-23T02:17:02.327Z] e2be974225ed: Download complete [2023-01-23T02:17:02.327Z] 988bab9f4d93: Verifying Checksum [2023-01-23T02:17:02.327Z] 988bab9f4d93: Download complete [2023-01-23T02:17:02.588Z] 1469e6f7b9e6: Verifying Checksum [2023-01-23T02:17:02.588Z] 1469e6f7b9e6: Download complete [2023-01-23T02:17:02.588Z] eaf3925da568: Verifying Checksum [2023-01-23T02:17:02.588Z] eaf3925da568: Download complete [2023-01-23T02:17:02.588Z] 339a4e72a1f5: Verifying Checksum [2023-01-23T02:17:02.588Z] 339a4e72a1f5: Download complete [2023-01-23T02:17:02.588Z] bde34c3a00c8: Verifying Checksum [2023-01-23T02:17:02.588Z] bde34c3a00c8: Download complete [2023-01-23T02:17:02.848Z] b352a97aabf1: Download complete [2023-01-23T02:17:02.848Z] 4872d77fe225: Verifying Checksum [2023-01-23T02:17:02.848Z] 4872d77fe225: Download complete [2023-01-23T02:17:02.848Z] 5851b861e8e6: Verifying Checksum [2023-01-23T02:17:02.848Z] 5851b861e8e6: Download complete [2023-01-23T02:17:02.848Z] b85a868b505f: Verifying Checksum [2023-01-23T02:17:02.848Z] b85a868b505f: Download complete [2023-01-23T02:17:03.107Z] bab4dde63d76: Verifying Checksum [2023-01-23T02:17:03.107Z] bab4dde63d76: Download complete [2023-01-23T02:17:04.079Z] b85a868b505f: Pull complete [2023-01-23T02:17:04.079Z] e2be974225ed: Pull complete [2023-01-23T02:17:04.647Z] 339a4e72a1f5: Pull complete [2023-01-23T02:17:04.647Z] 988bab9f4d93: Pull complete [2023-01-23T02:17:04.906Z] 1469e6f7b9e6: Pull complete [2023-01-23T02:17:04.906Z] eaf3925da568: Pull complete [2023-01-23T02:17:06.830Z] bab4dde63d76: Pull complete [2023-01-23T02:17:06.830Z] bde34c3a00c8: Pull complete [2023-01-23T02:17:06.830Z] b352a97aabf1: Pull complete [2023-01-23T02:17:06.830Z] 4872d77fe225: Pull complete [2023-01-23T02:17:06.830Z] 5851b861e8e6: Pull complete [2023-01-23T02:17:06.830Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-23T02:17:06.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T02:17:06.830Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:17:07.071Z] prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container [2023-01-23T02:17:07.084Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-23T02:17:08.445Z] $ docker top d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 -eo pid,comm [2023-01-23T02:17:08.507Z] 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-23T02:17:08.507Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-23T02:17:08.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T02:17:08.628Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T02:17:08.733Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T02:17:08.723Z] $ docker exec d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 ssh-agent [2023-01-23T02:17:08.835Z] SSH_AUTH_SOCK=/tmp/ssh-JSPV3Lp3O3oN/agent.33 [2023-01-23T02:17:08.835Z] SSH_AGENT_PID=39 [2023-01-23T02:17:08.841Z] Running ssh-add (command line suppressed) [2023-01-23T02:17:08.937Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/private_key_2108157727236747250.key (/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/private_key_2108157727236747250.key) [2023-01-23T02:17:08.964Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T02:17:09.292Z] + git tag --points-at HEAD [Pipeline] } [2023-01-23T02:17:09.304Z] $ docker exec --env ******** --env ******** d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 ssh-agent -k [2023-01-23T02:17:09.400Z] unset SSH_AUTH_SOCK; [2023-01-23T02:17:09.400Z] unset SSH_AGENT_PID; [2023-01-23T02:17:09.401Z] echo Agent pid 39 killed; [2023-01-23T02:17:09.446Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-23T02:17:09.542Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T02:17:09.543Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T02:17:09.650Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T02:17:09.640Z] $ docker exec d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 ssh-agent [2023-01-23T02:17:09.766Z] SSH_AUTH_SOCK=/tmp/ssh-VdFQIjMhMAZM/agent.71 [2023-01-23T02:17:09.766Z] SSH_AGENT_PID=77 [2023-01-23T02:17:09.771Z] Running ssh-add (command line suppressed) [2023-01-23T02:17:09.871Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/private_key_2369705222910143821.key (/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/private_key_2369705222910143821.key) [2023-01-23T02:17:09.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T02:17:10.290Z] + git semver init [2023-01-23T02:17:10.549Z] 2023-01-23 02:17:10,452 [run_init] DEBUG init version:0.0.0 force:False [2023-01-23T02:17:10.549Z] 2023-01-23 02:17:10,453 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver [2023-01-23T02:17:10.549Z] 2023-01-23 02:17:10,453 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver [2023-01-23T02:17:10.549Z] 2023-01-23 02:17:10,453 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-465, universal_newlines=False, shell=None, istream=None) [2023-01-23T02:17:11.487Z] 2023-01-23 02:17:11,357 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465/.git/info/exclude [2023-01-23T02:17:11.487Z] 2023-01-23 02:17:11,357 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver/PR-465 with force:False [2023-01-23T02:17:11.487Z] 2023-01-23 02:17:11,357 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver/PR-465 [2023-01-23T02:17:11.487Z] 2023-01-23 02:17:11,362 [execute] INFO git cat-file --batch-check [2023-01-23T02:17:11.487Z] 2023-01-23 02:17:11,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T02:17:11.487Z] 2023-01-23 02:17:11,368 [execute] INFO git cat-file --batch [2023-01-23T02:17:11.487Z] 2023-01-23 02:17:11,368 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T02:17:11.487Z] 2023-01-23 02:17:11,373 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver/PR-465 [2023-01-23T02:17:11.487Z] 0.0.0 [Pipeline] } [2023-01-23T02:17:11.506Z] $ docker exec --env ******** --env ******** d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 ssh-agent -k [2023-01-23T02:17:11.601Z] unset SSH_AUTH_SOCK; [2023-01-23T02:17:11.602Z] unset SSH_AGENT_PID; [2023-01-23T02:17:11.602Z] echo Agent pid 77 killed; [2023-01-23T02:17:11.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-23T02:17:12.030Z] + git semver [Pipeline] } [2023-01-23T02:17:12.305Z] $ docker stop --time=1 d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 [2023-01-23T02:17:13.664Z] $ docker rm -f --volumes d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T02:17:14.065Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-23T02:17:14.337Z] Stashed 1 file(s) [Pipeline] echo [2023-01-23T02:17:14.360Z] [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-23T02:17:14.959Z] provisioning config files... [2023-01-23T02:17:14.967Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/config16709756307952475889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:17:15.317Z] ---> docker-login.sh [2023-01-23T02:17:15.317Z] nexus3.edgexfoundry.org:10001 [2023-01-23T02:17:15.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:17:15.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:17:15.317Z] Configure a credential helper to remove this warning. See [2023-01-23T02:17:15.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:17:15.317Z] [2023-01-23T02:17:15.317Z] Login Succeeded [2023-01-23T02:17:15.317Z] nexus3.edgexfoundry.org:10002 [2023-01-23T02:17:15.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:17:15.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:17:15.317Z] Configure a credential helper to remove this warning. See [2023-01-23T02:17:15.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:17:15.317Z] [2023-01-23T02:17:15.317Z] Login Succeeded [2023-01-23T02:17:15.317Z] nexus3.edgexfoundry.org:10003 [2023-01-23T02:17:15.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:17:15.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:17:15.576Z] Configure a credential helper to remove this warning. See [2023-01-23T02:17:15.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:17:15.576Z] [2023-01-23T02:17:15.576Z] Login Succeeded [2023-01-23T02:17:15.576Z] nexus3.edgexfoundry.org:10004 [2023-01-23T02:17:15.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:17:15.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:17:15.576Z] Configure a credential helper to remove this warning. See [2023-01-23T02:17:15.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:17:15.576Z] [2023-01-23T02:17:15.576Z] Login Succeeded [2023-01-23T02:17:15.576Z] docker.io [2023-01-23T02:17:15.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:17:16.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:17:16.095Z] Configure a credential helper to remove this warning. See [2023-01-23T02:17:16.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:17:16.095Z] [2023-01-23T02:17:16.095Z] Login Succeeded [2023-01-23T02:17:16.095Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T02:17:16.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T02:17:16.314Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T02:17:16.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T02:17:16.398Z] ========================================================= [2023-01-23T02:17:16.398Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-23T02:17:16.398Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:17:16.870Z] + 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-23T02:17:16.870Z] Sending build context to Docker daemon 6.33MB [2023-01-23T02:17:16.870Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T02:17:16.870Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T02:17:16.870Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-23T02:17:16.870Z] 213ec9aee27d: Pulling fs layer [2023-01-23T02:17:16.870Z] 4583459ba037: Pulling fs layer [2023-01-23T02:17:16.870Z] 93c1e223e6f2: Pulling fs layer [2023-01-23T02:17:16.870Z] 53926ce57604: Pulling fs layer [2023-01-23T02:17:16.870Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-23T02:17:16.870Z] 22ff95d597cd: Pulling fs layer [2023-01-23T02:17:16.870Z] 12d6caf4c0d1: Pulling fs layer [2023-01-23T02:17:16.870Z] 96b7cbca73a9: Pulling fs layer [2023-01-23T02:17:16.870Z] a7acece74701: Pulling fs layer [2023-01-23T02:17:16.870Z] 21b2b0c7a3f4: Waiting [2023-01-23T02:17:16.870Z] 22ff95d597cd: Waiting [2023-01-23T02:17:16.870Z] a7acece74701: Waiting [2023-01-23T02:17:16.870Z] 12d6caf4c0d1: Waiting [2023-01-23T02:17:16.870Z] 96b7cbca73a9: Waiting [2023-01-23T02:17:16.870Z] 53926ce57604: Waiting [2023-01-23T02:17:16.870Z] 93c1e223e6f2: Verifying Checksum [2023-01-23T02:17:16.870Z] 93c1e223e6f2: Download complete [2023-01-23T02:17:16.870Z] 4583459ba037: Download complete [2023-01-23T02:17:16.870Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-23T02:17:16.870Z] 21b2b0c7a3f4: Download complete [2023-01-23T02:17:17.137Z] 22ff95d597cd: Verifying Checksum [2023-01-23T02:17:17.137Z] 22ff95d597cd: Download complete [2023-01-23T02:17:17.137Z] 213ec9aee27d: Verifying Checksum [2023-01-23T02:17:17.137Z] 213ec9aee27d: Download complete [2023-01-23T02:17:17.138Z] 12d6caf4c0d1: Verifying Checksum [2023-01-23T02:17:17.138Z] 12d6caf4c0d1: Download complete [2023-01-23T02:17:17.138Z] 213ec9aee27d: Pull complete [2023-01-23T02:17:17.405Z] 4583459ba037: Pull complete [2023-01-23T02:17:17.405Z] 93c1e223e6f2: Pull complete [2023-01-23T02:17:17.985Z] a7acece74701: Verifying Checksum [2023-01-23T02:17:17.985Z] a7acece74701: Download complete [2023-01-23T02:17:18.243Z] 53926ce57604: Verifying Checksum [2023-01-23T02:17:18.243Z] 53926ce57604: Download complete [2023-01-23T02:17:18.810Z] 96b7cbca73a9: Verifying Checksum [2023-01-23T02:17:18.810Z] 96b7cbca73a9: Download complete [2023-01-23T02:17:22.098Z] 53926ce57604: Pull complete [2023-01-23T02:17:22.098Z] 21b2b0c7a3f4: Pull complete [2023-01-23T02:17:22.098Z] 22ff95d597cd: Pull complete [2023-01-23T02:17:22.098Z] 12d6caf4c0d1: Pull complete [2023-01-23T02:17:24.001Z] 96b7cbca73a9: Pull complete [2023-01-23T02:17:24.567Z] a7acece74701: Pull complete [2023-01-23T02:17:24.567Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-23T02:17:24.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-23T02:17:24.567Z] ---> db6d94c90886 [2023-01-23T02:17:24.567Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T02:17:26.474Z] ---> Running in fd3759f5e29b [2023-01-23T02:17:26.474Z] Removing intermediate container fd3759f5e29b [2023-01-23T02:17:26.474Z] ---> 9b7b5883434d [2023-01-23T02:17:26.474Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T02:17:26.474Z] ---> Running in daa238ffef47 [2023-01-23T02:17:26.474Z] Removing intermediate container daa238ffef47 [2023-01-23T02:17:26.474Z] ---> 38864f6a98df [2023-01-23T02:17:26.474Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T02:17:26.474Z] ---> Running in 692cdd6e3571 [2023-01-23T02:17:26.474Z] Removing intermediate container 692cdd6e3571 [2023-01-23T02:17:26.474Z] ---> b961ee8d4b86 [2023-01-23T02:17:26.474Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T02:17:26.733Z] ---> Running in 57a828098da3 [2023-01-23T02:17:26.733Z] Removing intermediate container 57a828098da3 [2023-01-23T02:17:26.733Z] ---> 39c5497052b6 [2023-01-23T02:17:26.733Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T02:17:26.733Z] ---> Running in 644b43979b6a [2023-01-23T02:17:26.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T02:17:27.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T02:17:27.817Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T02:17:27.817Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T02:17:27.817Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T02:17:28.075Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T02:17:28.075Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T02:17:28.075Z] OK: 216 MiB in 55 packages [2023-01-23T02:17:28.338Z] Removing intermediate container 644b43979b6a [2023-01-23T02:17:28.338Z] ---> 2d198ec12321 [2023-01-23T02:17:28.338Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-23T02:17:28.623Z] ---> Running in ee71b10da435 [2023-01-23T02:17:28.623Z] Removing intermediate container ee71b10da435 [2023-01-23T02:17:28.623Z] ---> bebb6313c163 [2023-01-23T02:17:28.623Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-23T02:17:28.623Z] ---> a0f39f570b2e [2023-01-23T02:17:28.623Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T02:17:29.535Z] ---> Running in 6ae1939e69de [2023-01-23T02:17:29.761Z] Still waiting to schedule task [2023-01-23T02:17:29.761Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3309’ [2023-01-23T02:18:01.869Z] Removing intermediate container 6ae1939e69de [2023-01-23T02:18:01.869Z] ---> 1d56e896d960 [2023-01-23T02:18:01.869Z] Step 11/12 : COPY . . [2023-01-23T02:18:01.869Z] ---> 00da03bd7d5b [2023-01-23T02:18:01.869Z] Step 12/12 : RUN $MAKE [2023-01-23T02:18:01.869Z] ---> Running in 769906385b8b [2023-01-23T02:18:01.869Z] noop [2023-01-23T02:18:01.869Z] Removing intermediate container 769906385b8b [2023-01-23T02:18:01.869Z] ---> 30a2bcada9f1 [2023-01-23T02:18:01.869Z] Successfully built 30a2bcada9f1 [2023-01-23T02:18:01.869Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:18:02.314Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T02:18:02.314Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:18:02.466Z] prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container [2023-01-23T02:18:02.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T02:18:02.882Z] $ docker top c92a55fb358a160489c5c49d067ea9115f49e92303d6b32c73ff8765171a80c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:18:03.271Z] + go version [2023-01-23T02:18:03.272Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-23T02:18:03.315Z] $ docker stop --time=1 c92a55fb358a160489c5c49d067ea9115f49e92303d6b32c73ff8765171a80c4 [2023-01-23T02:18:04.634Z] $ docker rm -f --volumes c92a55fb358a160489c5c49d067ea9115f49e92303d6b32c73ff8765171a80c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:18:05.345Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T02:18:05.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:18:05.500Z] prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container [2023-01-23T02:18:05.538Z] $ 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-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-23T02:18:05.910Z] $ docker top ac92777c813996f09470849d79245737c73694e1b00cc2b1e1a320a57322d7d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:18:06.314Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-465 [Pipeline] fileExists [Pipeline] sh [2023-01-23T02:18:06.679Z] + make test [2023-01-23T02:18:06.679Z] go test ./... -coverprofile=coverage.out ./... [2023-01-23T02:18:06.937Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-23T02:18:15.038Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-23T02:18:15.974Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements [2023-01-23T02:18:15.974Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-23T02:18:22.528Z] 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-23T02:18:22.528Z] go vet ./... [2023-01-23T02:18:25.055Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T02:18:25.055Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T02:18:25.055Z] ./bin/test-attribution-txt.sh [2023-01-23T02:18:25.055Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T02:18:25.055Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T02:18:25.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T02:18:25.133Z] $ docker stop --time=1 ac92777c813996f09470849d79245737c73694e1b00cc2b1e1a320a57322d7d3 [2023-01-23T02:18:26.802Z] $ docker rm -f --volumes ac92777c813996f09470849d79245737c73694e1b00cc2b1e1a320a57322d7d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T02:18:27.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T02:18:27.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-23T02:18:28.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T02:18:28.358Z] + ls -al . [2023-01-23T02:18:28.358Z] total 184 [2023-01-23T02:18:28.358Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 02:18 . [2023-01-23T02:18:28.358Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:16 .. [2023-01-23T02:18:28.358Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 02:16 .dockerignore [2023-01-23T02:18:28.358Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 02:18 .git [2023-01-23T02:18:28.358Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:16 .github [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 23 02:16 .gitignore [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 02:16 .golangci.yml [2023-01-23T02:18:28.359Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 02:17 .semver [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 23 02:16 Attribution.txt [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 23 02:16 CHANGELOG.md [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 23 02:16 Dockerfile [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 02:16 GOVERNANCE.md [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 23 02:16 Jenkinsfile [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 02:16 LICENSE [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 23 02:16 Makefile [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 23 02:16 OWNERS.md [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 23 02:16 README.md [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 02:17 VERSION [2023-01-23T02:18:28.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:16 bin [2023-01-23T02:18:28.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:16 cmd [2023-01-23T02:18:28.359Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 23 02:18 coverage.out [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 3430 Jan 23 02:16 go.mod [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 23 02:16 go.sum [2023-01-23T02:18:28.359Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:16 internal [2023-01-23T02:18:28.359Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:16 mock [2023-01-23T02:18:28.359Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:16 snap [2023-01-23T02:18:28.359Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 23 02:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:18:28.752Z] + 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=78ef461cd7e8d91d5958851307de16306d7d8387 --label arch=amd64 --label version=0.0.0 . [2023-01-23T02:18:28.752Z] Sending build context to Docker daemon 6.348MB [2023-01-23T02:18:28.752Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T02:18:28.752Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-23T02:18:28.752Z] ---> 30a2bcada9f1 [2023-01-23T02:18:28.752Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-23T02:18:28.752Z] ---> Running in a3f71182f4fa [2023-01-23T02:18:29.011Z] Removing intermediate container a3f71182f4fa [2023-01-23T02:18:29.011Z] ---> d2ab2002052c [2023-01-23T02:18:29.011Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T02:18:29.011Z] ---> Running in 509ac5253aff [2023-01-23T02:18:29.011Z] Removing intermediate container 509ac5253aff [2023-01-23T02:18:29.011Z] ---> 93e596faf2fd [2023-01-23T02:18:29.011Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T02:18:29.274Z] ---> Running in 971ff710558c [2023-01-23T02:18:29.274Z] Removing intermediate container 971ff710558c [2023-01-23T02:18:29.274Z] ---> 515b793d5d90 [2023-01-23T02:18:29.274Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T02:18:29.274Z] ---> Running in 6b0b980770eb [2023-01-23T02:18:29.532Z] Removing intermediate container 6b0b980770eb [2023-01-23T02:18:29.532Z] ---> ebb66e8dc298 [2023-01-23T02:18:29.532Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T02:18:29.532Z] ---> Running in 11a8ea89ae2c [2023-01-23T02:18:29.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T02:18:30.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T02:18:30.926Z] OK: 216 MiB in 55 packages [2023-01-23T02:18:31.186Z] Removing intermediate container 11a8ea89ae2c [2023-01-23T02:18:31.186Z] ---> 5ade819f1872 [2023-01-23T02:18:31.186Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-23T02:18:31.186Z] ---> Running in 66317fafa5de [2023-01-23T02:18:31.186Z] Removing intermediate container 66317fafa5de [2023-01-23T02:18:31.186Z] ---> 6bcbbfd81f63 [2023-01-23T02:18:31.186Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-23T02:18:31.444Z] ---> 89504b4350ca [2023-01-23T02:18:31.444Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T02:18:31.444Z] ---> Running in 1a2e72a560e5 [2023-01-23T02:18:32.381Z] Removing intermediate container 1a2e72a560e5 [2023-01-23T02:18:32.381Z] ---> 28be4157c1ee [2023-01-23T02:18:32.381Z] Step 11/24 : COPY . . [2023-01-23T02:18:32.640Z] ---> e31f462dfc06 [2023-01-23T02:18:32.640Z] Step 12/24 : RUN $MAKE [2023-01-23T02:18:32.640Z] ---> Running in a09f815cc046 [2023-01-23T02:18:32.898Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-23T02:18:50.967Z] Removing intermediate container a09f815cc046 [2023-01-23T02:18:50.967Z] ---> 77aa665ac622 [2023-01-23T02:18:50.967Z] Step 13/24 : FROM alpine:3.16 [2023-01-23T02:18:50.967Z] 3.16: Pulling from library/alpine [2023-01-23T02:18:50.967Z] ca7dd9ec2225: Pulling fs layer [2023-01-23T02:18:50.967Z] ca7dd9ec2225: Verifying Checksum [2023-01-23T02:18:50.967Z] ca7dd9ec2225: Download complete [2023-01-23T02:18:50.967Z] ca7dd9ec2225: Pull complete [2023-01-23T02:18:50.967Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T02:18:50.967Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T02:18:50.967Z] ---> bfe296a52501 [2023-01-23T02:18:50.967Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-23T02:18:50.967Z] ---> Running in 86b26d8f9886 [2023-01-23T02:18:50.967Z] Removing intermediate container 86b26d8f9886 [2023-01-23T02:18:50.967Z] ---> 6b737f9fc120 [2023-01-23T02:18:50.967Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-23T02:18:50.967Z] ---> Running in 1e7d591fa6b5 [2023-01-23T02:18:51.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T02:18:51.484Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T02:18:51.742Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T02:18:51.742Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T02:18:51.742Z] OK: 6 MiB in 15 packages [2023-01-23T02:18:52.003Z] Removing intermediate container 1e7d591fa6b5 [2023-01-23T02:18:52.003Z] ---> c5ebcbe81920 [2023-01-23T02:18:52.003Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-23T02:18:52.571Z] ---> c170c3652914 [2023-01-23T02:18:52.571Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-23T02:18:52.571Z] ---> 8fe25db060cd [2023-01-23T02:18:52.571Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-23T02:18:52.834Z] ---> 74273edffb78 [2023-01-23T02:18:52.834Z] Step 19/24 : EXPOSE 59982 [2023-01-23T02:18:52.834Z] ---> Running in 0338ca9f5fa5 [2023-01-23T02:18:53.092Z] Removing intermediate container 0338ca9f5fa5 [2023-01-23T02:18:53.092Z] ---> f4ba7a249fc4 [2023-01-23T02:18:53.092Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-23T02:18:53.092Z] ---> Running in edc6d62577df [2023-01-23T02:18:53.092Z] Removing intermediate container edc6d62577df [2023-01-23T02:18:53.092Z] ---> 8700cb6dfd5f [2023-01-23T02:18:53.092Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-23T02:18:53.092Z] ---> Running in e791b047c096 [2023-01-23T02:18:53.353Z] Removing intermediate container e791b047c096 [2023-01-23T02:18:53.353Z] ---> 111e033a8ecd [2023-01-23T02:18:53.353Z] Step 22/24 : LABEL arch=amd64 [2023-01-23T02:18:53.353Z] ---> Running in 13eadb9ad226 [2023-01-23T02:18:53.353Z] Removing intermediate container 13eadb9ad226 [2023-01-23T02:18:53.353Z] ---> ecddb9073c66 [2023-01-23T02:18:53.353Z] Step 23/24 : LABEL git_sha=78ef461cd7e8d91d5958851307de16306d7d8387 [2023-01-23T02:18:53.353Z] ---> Running in 7003a815a545 [2023-01-23T02:18:53.614Z] Removing intermediate container 7003a815a545 [2023-01-23T02:18:53.614Z] ---> f5d1f02e35e4 [2023-01-23T02:18:53.614Z] Step 24/24 : LABEL version=0.0.0 [2023-01-23T02:18:53.614Z] ---> Running in f115cb2a8c7a [2023-01-23T02:18:53.614Z] Removing intermediate container f115cb2a8c7a [2023-01-23T02:18:53.614Z] ---> e9c24d8fffd7 [2023-01-23T02:18:53.614Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T02:18:53.614Z] Successfully built e9c24d8fffd7 [2023-01-23T02:18:53.875Z] 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-23T02:18:54.745Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T02:18:54.745Z] [2023-01-23T02:18:54.745Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:18:55.126Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T02:18:55.126Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-23T02:18:55.126Z] 5eb5b503b376: Pulling fs layer [2023-01-23T02:18:55.126Z] 5c69ac0246d0: Pulling fs layer [2023-01-23T02:18:55.126Z] ec43610c2a17: Pulling fs layer [2023-01-23T02:18:55.126Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-23T02:18:55.126Z] 33b1e0a273af: Pulling fs layer [2023-01-23T02:18:55.126Z] 5d3b04190fa2: Pulling fs layer [2023-01-23T02:18:55.126Z] 2f39f015ded8: Pulling fs layer [2023-01-23T02:18:55.126Z] 3a2ae6a8a46f: Waiting [2023-01-23T02:18:55.126Z] 33b1e0a273af: Waiting [2023-01-23T02:18:55.126Z] 5d3b04190fa2: Waiting [2023-01-23T02:18:55.126Z] 2f39f015ded8: Waiting [2023-01-23T02:18:55.126Z] 5c69ac0246d0: Verifying Checksum [2023-01-23T02:18:55.126Z] 5c69ac0246d0: Download complete [2023-01-23T02:18:55.126Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-23T02:18:55.126Z] 3a2ae6a8a46f: Download complete [2023-01-23T02:18:55.388Z] 33b1e0a273af: Verifying Checksum [2023-01-23T02:18:55.388Z] 33b1e0a273af: Download complete [2023-01-23T02:18:55.388Z] ec43610c2a17: Verifying Checksum [2023-01-23T02:18:55.388Z] ec43610c2a17: Download complete [2023-01-23T02:18:55.388Z] 5d3b04190fa2: Verifying Checksum [2023-01-23T02:18:55.388Z] 5d3b04190fa2: Download complete [2023-01-23T02:18:55.650Z] 5eb5b503b376: Verifying Checksum [2023-01-23T02:18:55.650Z] 5eb5b503b376: Download complete [2023-01-23T02:18:56.218Z] 2f39f015ded8: Download complete [2023-01-23T02:18:56.788Z] 5eb5b503b376: Pull complete [2023-01-23T02:18:57.047Z] 5c69ac0246d0: Pull complete [2023-01-23T02:18:57.306Z] ec43610c2a17: Pull complete [2023-01-23T02:18:57.306Z] 3a2ae6a8a46f: Pull complete [2023-01-23T02:18:57.565Z] 33b1e0a273af: Pull complete [2023-01-23T02:18:57.823Z] 5d3b04190fa2: Pull complete [2023-01-23T02:19:02.006Z] 2f39f015ded8: Pull complete [2023-01-23T02:19:02.006Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-23T02:19:02.006Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T02:19:02.006Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:19:02.210Z] prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container [2023-01-23T02:19:02.249Z] $ 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-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T02:19:03.853Z] $ docker top 1f7f1af18b7e19c183ec71b4dabfa418ac98dc065035338fca6e8dd39c9e92cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:19:04.295Z] ---> job-cost.sh [2023-01-23T02:19:04.295Z] lf-activate-venv: SKIPPING [2023-01-23T02:19:04.295Z] INFO: No Stack... [2023-01-23T02:19:04.864Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T02:19:05.124Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T02:19:05.447Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives/cost.csv [2023-01-23T02:19:05.447Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T02:19:05.490Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [2023-01-23T02:19:05.494Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] did not exist. Created. [2023-01-23T02:19:05.494Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T02:19:05.889Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-23T02:19:05.939Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T02:19:05.968Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T02:19:06.052Z] $ docker stop --time=1 1f7f1af18b7e19c183ec71b4dabfa418ac98dc065035338fca6e8dd39c9e92cf [2023-01-23T02:19:07.205Z] $ docker rm -f --volumes 1f7f1af18b7e19c183ec71b4dabfa418ac98dc065035338fca6e8dd39c9e92cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T02:20:33.141Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3321 in /w/workspace/gexfoundry_device-mqtt-go_PR-465 [Pipeline] { [Pipeline] ws [2023-01-23T02:20:33.194Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-23T02:20:33.279Z] Selected Git installation does not exist. Using Default [2023-01-23T02:20:33.279Z] The recommended git tool is: NONE [2023-01-23T02:20:40.290Z] using credential edgex-jenkins-ssh [2023-01-23T02:20:40.310Z] Cloning the remote Git repository [2023-01-23T02:20:40.369Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-23T02:20:40.463Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-23T02:20:40.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-23T02:20:40.645Z] > git --version # timeout=10 [2023-01-23T02:20:40.670Z] > git --version # 'git version 2.25.1' [2023-01-23T02:20:40.673Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T02:20:40.746Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T02:20:41.931Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-23T02:20:41.959Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T02:20:43.031Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-23T02:20:43.083Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-23T02:20:43.084Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T02:20:43.101Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-23T02:20:43.656Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 78ef461cd7e8d91d5958851307de16306d7d8387 [2023-01-23T02:20:43.927Z] Merge succeeded, producing 78ef461cd7e8d91d5958851307de16306d7d8387 [2023-01-23T02:20:43.928Z] Checking out Revision 78ef461cd7e8d91d5958851307de16306d7d8387 (PR-465) [2023-01-23T02:20:44.539Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-23T02:20:44.606Z] > git --version # timeout=10 [2023-01-23T02:20:44.620Z] > git --version # 'git version 2.25.1' [2023-01-23T02:20:44.640Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-01-23T02:20:43.684Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T02:20:43.708Z] > git checkout -f 78ef461cd7e8d91d5958851307de16306d7d8387 # timeout=10 [2023-01-23T02:20:43.812Z] > git remote # timeout=10 [2023-01-23T02:20:43.834Z] > git config --get remote.origin.url # timeout=10 [2023-01-23T02:20:43.855Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T02:20:43.872Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-01-23T02:20:43.904Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-23T02:20:43.938Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T02:20:43.955Z] > git checkout -f 78ef461cd7e8d91d5958851307de16306d7d8387 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T02:20:45.744Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-23T02:20:45.744Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T02:20:45.744Z] Dload Upload Total Spent Left Speed [2023-01-23T02:20:45.744Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2023-01-23T02:20:46.446Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-23T02:20:46.809Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-23T02:20:46.809Z] + sudo tee /etc/docker/daemon.new [2023-01-23T02:20:46.809Z] { [2023-01-23T02:20:46.809Z] "registry-mirrors": [ [2023-01-23T02:20:46.809Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-23T02:20:46.809Z] ], [2023-01-23T02:20:46.809Z] "bip": "10.250.0.254/24", [2023-01-23T02:20:46.809Z] "hosts": [ [2023-01-23T02:20:46.809Z] "tcp://0.0.0.0:5555", [2023-01-23T02:20:46.809Z] "unix:///var/run/docker.sock" [2023-01-23T02:20:46.809Z] ], [2023-01-23T02:20:46.809Z] "mtu": 1458, [2023-01-23T02:20:46.809Z] "selinux-enabled": true, [2023-01-23T02:20:46.809Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-23T02:20:46.809Z] } [Pipeline] sh [2023-01-23T02:20:47.194Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-23T02:20:47.561Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T02:21:06.002Z] provisioning config files... [2023-01-23T02:21:06.041Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8652219647398792446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:21:06.475Z] ---> docker-login.sh [2023-01-23T02:21:06.475Z] nexus3.edgexfoundry.org:10001 [2023-01-23T02:21:07.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:21:07.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:21:07.355Z] Configure a credential helper to remove this warning. See [2023-01-23T02:21:07.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:21:07.355Z] [2023-01-23T02:21:07.355Z] Login Succeeded [2023-01-23T02:21:07.355Z] nexus3.edgexfoundry.org:10002 [2023-01-23T02:21:07.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:21:07.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:21:07.631Z] Configure a credential helper to remove this warning. See [2023-01-23T02:21:07.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:21:07.631Z] [2023-01-23T02:21:07.631Z] Login Succeeded [2023-01-23T02:21:07.631Z] nexus3.edgexfoundry.org:10003 [2023-01-23T02:21:07.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:21:08.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:21:08.188Z] Configure a credential helper to remove this warning. See [2023-01-23T02:21:08.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:21:08.188Z] [2023-01-23T02:21:08.188Z] Login Succeeded [2023-01-23T02:21:08.188Z] nexus3.edgexfoundry.org:10004 [2023-01-23T02:21:08.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:21:08.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:21:08.472Z] Configure a credential helper to remove this warning. See [2023-01-23T02:21:08.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:21:08.472Z] [2023-01-23T02:21:08.472Z] Login Succeeded [2023-01-23T02:21:08.472Z] docker.io [2023-01-23T02:21:08.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T02:21:09.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T02:21:09.346Z] Configure a credential helper to remove this warning. See [2023-01-23T02:21:09.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T02:21:09.346Z] [2023-01-23T02:21:09.346Z] Login Succeeded [2023-01-23T02:21:09.346Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T02:21:09.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T02:21:09.879Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T02:21:09.918Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T02:21:09.950Z] ========================================================= [2023-01-23T02:21:09.950Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-23T02:21:09.950Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:21:10.466Z] + 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-23T02:21:10.742Z] Sending build context to Docker daemon 3.276MB [2023-01-23T02:21:10.742Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T02:21:10.742Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T02:21:11.026Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-23T02:21:11.026Z] 9b18e9b68314: Pulling fs layer [2023-01-23T02:21:11.026Z] 35d82f9e3411: Pulling fs layer [2023-01-23T02:21:11.026Z] e16973657156: Pulling fs layer [2023-01-23T02:21:11.026Z] fc693d55d65f: Pulling fs layer [2023-01-23T02:21:11.026Z] 7e9fc2657dce: Pulling fs layer [2023-01-23T02:21:11.026Z] dda99020689f: Pulling fs layer [2023-01-23T02:21:11.026Z] db1c61fa0a46: Pulling fs layer [2023-01-23T02:21:11.026Z] 891c053d2c06: Pulling fs layer [2023-01-23T02:21:11.026Z] fc693d55d65f: Waiting [2023-01-23T02:21:11.026Z] dda99020689f: Waiting [2023-01-23T02:21:11.026Z] db1c61fa0a46: Waiting [2023-01-23T02:21:11.026Z] 891c053d2c06: Waiting [2023-01-23T02:21:11.026Z] 7e9fc2657dce: Waiting [2023-01-23T02:21:11.026Z] e16973657156: Verifying Checksum [2023-01-23T02:21:11.026Z] e16973657156: Download complete [2023-01-23T02:21:11.026Z] 35d82f9e3411: Download complete [2023-01-23T02:21:11.026Z] 7e9fc2657dce: Verifying Checksum [2023-01-23T02:21:11.026Z] 7e9fc2657dce: Download complete [2023-01-23T02:21:11.026Z] dda99020689f: Verifying Checksum [2023-01-23T02:21:11.026Z] dda99020689f: Download complete [2023-01-23T02:21:11.026Z] 9b18e9b68314: Verifying Checksum [2023-01-23T02:21:12.014Z] 9b18e9b68314: Pull complete [2023-01-23T02:21:12.618Z] 35d82f9e3411: Pull complete [2023-01-23T02:21:12.894Z] 891c053d2c06: Verifying Checksum [2023-01-23T02:21:12.894Z] 891c053d2c06: Download complete [2023-01-23T02:21:12.894Z] e16973657156: Pull complete [2023-01-23T02:21:14.355Z] db1c61fa0a46: Verifying Checksum [2023-01-23T02:21:14.355Z] db1c61fa0a46: Download complete [2023-01-23T02:21:14.355Z] fc693d55d65f: Verifying Checksum [2023-01-23T02:21:14.355Z] fc693d55d65f: Download complete [2023-01-23T02:21:26.743Z] fc693d55d65f: Pull complete [2023-01-23T02:21:26.743Z] 7e9fc2657dce: Pull complete [2023-01-23T02:21:26.743Z] dda99020689f: Pull complete [2023-01-23T02:21:33.463Z] db1c61fa0a46: Pull complete [2023-01-23T02:21:35.017Z] 891c053d2c06: Pull complete [2023-01-23T02:21:35.313Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-23T02:21:35.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-23T02:21:35.313Z] ---> f96f9c87975a [2023-01-23T02:21:35.313Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T02:21:37.301Z] ---> Running in bf9b99505b28 [2023-01-23T02:21:37.896Z] Removing intermediate container bf9b99505b28 [2023-01-23T02:21:37.896Z] ---> 5963395402b3 [2023-01-23T02:21:37.896Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T02:21:37.896Z] ---> Running in 0e4ba64a022f [2023-01-23T02:21:38.170Z] Removing intermediate container 0e4ba64a022f [2023-01-23T02:21:38.170Z] ---> f95260fb56fb [2023-01-23T02:21:38.170Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T02:21:38.443Z] ---> Running in 11a994129b9b [2023-01-23T02:21:38.719Z] Removing intermediate container 11a994129b9b [2023-01-23T02:21:38.719Z] ---> eb81dcc9faa3 [2023-01-23T02:21:38.719Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T02:21:38.719Z] ---> Running in ee9a0e4648f3 [2023-01-23T02:21:39.329Z] Removing intermediate container ee9a0e4648f3 [2023-01-23T02:21:39.329Z] ---> 7e1be0b062ee [2023-01-23T02:21:39.329Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T02:21:39.329Z] ---> Running in d9e7af0aeadc [2023-01-23T02:21:40.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T02:21:40.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T02:21:42.240Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-23T02:21:42.240Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-23T02:21:42.240Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-23T02:21:42.240Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-23T02:21:42.240Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T02:21:42.240Z] OK: 226 MiB in 55 packages [2023-01-23T02:21:43.234Z] Removing intermediate container d9e7af0aeadc [2023-01-23T02:21:43.234Z] ---> 3c4c4cd53f4c [2023-01-23T02:21:43.234Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-23T02:21:43.234Z] ---> Running in 284ead0e25ad [2023-01-23T02:21:43.828Z] Removing intermediate container 284ead0e25ad [2023-01-23T02:21:43.828Z] ---> 2d38ee85c10d [2023-01-23T02:21:43.828Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-23T02:21:44.417Z] ---> b55d64ba00e5 [2023-01-23T02:21:44.417Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T02:21:44.417Z] ---> Running in 56ebd9a63e56 [2023-01-23T02:22:52.328Z] Removing intermediate container 56ebd9a63e56 [2023-01-23T02:22:52.328Z] ---> 9a5ff6010b00 [2023-01-23T02:22:52.328Z] Step 11/12 : COPY . . [2023-01-23T02:22:54.919Z] ---> be079232e1f8 [2023-01-23T02:22:54.919Z] Step 12/12 : RUN $MAKE [2023-01-23T02:22:54.919Z] ---> Running in 4c62ba045d52 [2023-01-23T02:22:55.880Z] noop [2023-01-23T02:22:56.464Z] Removing intermediate container 4c62ba045d52 [2023-01-23T02:22:56.464Z] ---> 5982f650768f [2023-01-23T02:22:56.464Z] Successfully built 5982f650768f [2023-01-23T02:22:56.464Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:22:56.931Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T02:22:56.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:22:57.214Z] prd-ubuntu20.04-docker-arm64-4c-16g-3321 does not seem to be running inside a container [2023-01-23T02:22:57.289Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T02:22:58.497Z] $ docker top f30fa6b1f2df251b853306c26be708bda6c6a128e390d3b97a34c59e70b2941e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:22:59.386Z] + go version [2023-01-23T02:22:59.386Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-23T02:22:59.427Z] $ docker stop --time=1 f30fa6b1f2df251b853306c26be708bda6c6a128e390d3b97a34c59e70b2941e [2023-01-23T02:23:01.065Z] $ docker rm -f --volumes f30fa6b1f2df251b853306c26be708bda6c6a128e390d3b97a34c59e70b2941e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:23:01.921Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T02:23:01.921Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:23:02.185Z] prd-ubuntu20.04-docker-arm64-4c-16g-3321 does not seem to be running inside a container [2023-01-23T02:23:02.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-23T02:23:03.531Z] $ docker top f9ccc180b4afb811f472bd40af29680a1794b1cd6b9f7bf875ef6b49680cf813 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:23:04.444Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-23T02:23:05.169Z] + make test [2023-01-23T02:23:05.169Z] go test ./... -coverprofile=coverage.out ./... [2023-01-23T02:23:07.135Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-23T02:24:43.801Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-23T02:24:43.801Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements [2023-01-23T02:24:43.801Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-23T02:24:43.801Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-23T02:24:43.801Z] go vet ./... [2023-01-23T02:25:16.094Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-23T02:25:16.094Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-23T02:25:16.094Z] ./bin/test-attribution-txt.sh [2023-01-23T02:25:16.094Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-23T02:25:16.094Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-23T02:25:16.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-23T02:25:16.171Z] $ docker stop --time=1 f9ccc180b4afb811f472bd40af29680a1794b1cd6b9f7bf875ef6b49680cf813 [2023-01-23T02:25:18.354Z] $ docker rm -f --volumes f9ccc180b4afb811f472bd40af29680a1794b1cd6b9f7bf875ef6b49680cf813 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T02:25:19.439Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-23T02:25:19.474Z] Warning: overwriting stash ‘coverage-report’ [2023-01-23T02:25:20.063Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T02:25:20.689Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-23T02:25:21.047Z] + ls -al . [2023-01-23T02:25:21.047Z] total 180 [2023-01-23T02:25:21.047Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 02:23 . [2023-01-23T02:25:21.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:20 .. [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 02:20 .dockerignore [2023-01-23T02:25:21.047Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 02:20 .git [2023-01-23T02:25:21.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:20 .github [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 23 02:20 .gitignore [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 02:20 .golangci.yml [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 23 02:20 Attribution.txt [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 23 02:20 CHANGELOG.md [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 23 02:20 Dockerfile [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 02:20 GOVERNANCE.md [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 23 02:20 Jenkinsfile [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 02:20 LICENSE [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 23 02:20 Makefile [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 23 02:20 OWNERS.md [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 23 02:20 README.md [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 02:17 VERSION [2023-01-23T02:25:21.047Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:20 bin [2023-01-23T02:25:21.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:20 cmd [2023-01-23T02:25:21.047Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 23 02:24 coverage.out [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 3430 Jan 23 02:20 go.mod [2023-01-23T02:25:21.047Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 23 02:20 go.sum [2023-01-23T02:25:21.047Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:20 internal [2023-01-23T02:25:21.047Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:20 mock [2023-01-23T02:25:21.047Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:20 snap [2023-01-23T02:25:21.048Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 23 02:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:25:21.469Z] + 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=78ef461cd7e8d91d5958851307de16306d7d8387 --label arch=arm64 --label version=0.0.0 . [2023-01-23T02:25:21.756Z] Sending build context to Docker daemon 3.294MB [2023-01-23T02:25:21.756Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T02:25:21.756Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-23T02:25:21.756Z] ---> 5982f650768f [2023-01-23T02:25:21.756Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-23T02:25:22.026Z] ---> Running in 90ea78cee96b [2023-01-23T02:25:22.298Z] Removing intermediate container 90ea78cee96b [2023-01-23T02:25:22.298Z] ---> 9c37a25108de [2023-01-23T02:25:22.298Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T02:25:22.567Z] ---> Running in c2ddd5cbe283 [2023-01-23T02:25:22.836Z] Removing intermediate container c2ddd5cbe283 [2023-01-23T02:25:22.836Z] ---> ddc3667f5e63 [2023-01-23T02:25:22.836Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-23T02:25:22.836Z] ---> Running in bb4270be2c9a [2023-01-23T02:25:23.103Z] Removing intermediate container bb4270be2c9a [2023-01-23T02:25:23.103Z] ---> f8700884d270 [2023-01-23T02:25:23.103Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T02:25:23.371Z] ---> Running in bc415d7502ba [2023-01-23T02:25:23.640Z] Removing intermediate container bc415d7502ba [2023-01-23T02:25:23.640Z] ---> c4e18c591b2e [2023-01-23T02:25:23.640Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T02:25:23.920Z] ---> Running in 0986077ae018 [2023-01-23T02:25:26.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T02:25:26.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T02:25:28.223Z] OK: 226 MiB in 55 packages [2023-01-23T02:25:29.189Z] Removing intermediate container 0986077ae018 [2023-01-23T02:25:29.189Z] ---> b8f7dff57c2b [2023-01-23T02:25:29.189Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-23T02:25:29.189Z] ---> Running in 3baec8b96d0a [2023-01-23T02:25:29.782Z] Removing intermediate container 3baec8b96d0a [2023-01-23T02:25:29.782Z] ---> e6f005d98ea9 [2023-01-23T02:25:29.782Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-23T02:25:30.370Z] ---> c4652d543a58 [2023-01-23T02:25:30.370Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T02:25:30.370Z] ---> Running in b1465c8d482c [2023-01-23T02:25:33.732Z] Removing intermediate container b1465c8d482c [2023-01-23T02:25:33.733Z] ---> 686cb9027ad3 [2023-01-23T02:25:33.733Z] Step 11/24 : COPY . . [2023-01-23T02:25:34.701Z] ---> eae259d6ce40 [2023-01-23T02:25:34.701Z] Step 12/24 : RUN $MAKE [2023-01-23T02:25:34.975Z] ---> Running in 4af3d9bfe4c3 [2023-01-23T02:25:36.393Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-23T02:27:58.126Z] Removing intermediate container 4af3d9bfe4c3 [2023-01-23T02:27:58.126Z] ---> 454e680c4dd0 [2023-01-23T02:27:58.126Z] Step 13/24 : FROM alpine:3.16 [2023-01-23T02:27:58.126Z] 3.16: Pulling from library/alpine [2023-01-23T02:27:58.126Z] 6875df1f5354: Pulling fs layer [2023-01-23T02:27:58.126Z] 6875df1f5354: Verifying Checksum [2023-01-23T02:27:58.126Z] 6875df1f5354: Download complete [2023-01-23T02:27:58.126Z] 6875df1f5354: Pull complete [2023-01-23T02:27:58.126Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-23T02:27:58.126Z] Status: Downloaded newer image for alpine:3.16 [2023-01-23T02:27:58.126Z] ---> 2b4661558fb8 [2023-01-23T02:27:58.126Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-23T02:27:58.126Z] ---> Running in 1cf83fc615e6 [2023-01-23T02:27:58.126Z] Removing intermediate container 1cf83fc615e6 [2023-01-23T02:27:58.126Z] ---> 5a2cd565a14a [2023-01-23T02:27:58.126Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-23T02:27:58.126Z] ---> Running in 242cca9d4cd7 [2023-01-23T02:27:58.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T02:27:58.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T02:27:58.126Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-23T02:27:58.126Z] Executing busybox-1.35.0-r17.trigger [2023-01-23T02:27:58.126Z] OK: 5 MiB in 15 packages [2023-01-23T02:27:58.126Z] Removing intermediate container 242cca9d4cd7 [2023-01-23T02:27:58.126Z] ---> 4897d4485483 [2023-01-23T02:27:58.126Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-23T02:27:58.126Z] ---> 569ccb8ae165 [2023-01-23T02:27:58.126Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-23T02:27:58.126Z] ---> 4743ffb94334 [2023-01-23T02:27:58.126Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-23T02:27:58.715Z] ---> 8a5a0c0d05ac [2023-01-23T02:27:58.715Z] Step 19/24 : EXPOSE 59982 [2023-01-23T02:27:58.715Z] ---> Running in 8e7f25543b2d [2023-01-23T02:27:58.984Z] Removing intermediate container 8e7f25543b2d [2023-01-23T02:27:58.984Z] ---> 8b7a2a5b6d69 [2023-01-23T02:27:58.984Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-23T02:27:58.984Z] ---> Running in 400e0a775636 [2023-01-23T02:27:59.573Z] Removing intermediate container 400e0a775636 [2023-01-23T02:27:59.573Z] ---> 5f6b0cf6a41b [2023-01-23T02:27:59.573Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-23T02:27:59.573Z] ---> Running in f474a6ebc985 [2023-01-23T02:27:59.854Z] Removing intermediate container f474a6ebc985 [2023-01-23T02:27:59.854Z] ---> f061ce1da5a2 [2023-01-23T02:27:59.854Z] Step 22/24 : LABEL arch=arm64 [2023-01-23T02:27:59.854Z] ---> Running in 9d60942cb785 [2023-01-23T02:28:00.136Z] Removing intermediate container 9d60942cb785 [2023-01-23T02:28:00.136Z] ---> 33df4a69d023 [2023-01-23T02:28:00.136Z] Step 23/24 : LABEL git_sha=78ef461cd7e8d91d5958851307de16306d7d8387 [2023-01-23T02:28:00.407Z] ---> Running in e6a899d0d752 [2023-01-23T02:28:00.677Z] Removing intermediate container e6a899d0d752 [2023-01-23T02:28:00.677Z] ---> 649df4ac0952 [2023-01-23T02:28:00.677Z] Step 24/24 : LABEL version=0.0.0 [2023-01-23T02:28:00.677Z] ---> Running in b7cb6d1d961b [2023-01-23T02:28:00.946Z] Removing intermediate container b7cb6d1d961b [2023-01-23T02:28:00.946Z] ---> 8cdbb4132d57 [2023-01-23T02:28:00.946Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-23T02:28:00.946Z] Successfully built 8cdbb4132d57 [2023-01-23T02:28:00.946Z] 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-23T02:28:01.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T02:28:01.794Z] [2023-01-23T02:28:01.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:28:02.199Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T02:28:02.199Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-23T02:28:02.199Z] 8998bd30e6a1: Pulling fs layer [2023-01-23T02:28:02.199Z] 04944245beec: Pulling fs layer [2023-01-23T02:28:02.199Z] 699f458cf7ca: Pulling fs layer [2023-01-23T02:28:02.199Z] 765212b225bb: Pulling fs layer [2023-01-23T02:28:02.199Z] f23df028b6ca: Pulling fs layer [2023-01-23T02:28:02.199Z] d65c8cfc05b1: Pulling fs layer [2023-01-23T02:28:02.199Z] 2437ff75d9bd: Pulling fs layer [2023-01-23T02:28:02.199Z] f23df028b6ca: Waiting [2023-01-23T02:28:02.199Z] d65c8cfc05b1: Waiting [2023-01-23T02:28:02.199Z] 765212b225bb: Waiting [2023-01-23T02:28:02.199Z] 2437ff75d9bd: Waiting [2023-01-23T02:28:02.466Z] 04944245beec: Verifying Checksum [2023-01-23T02:28:02.466Z] 04944245beec: Download complete [2023-01-23T02:28:02.466Z] 765212b225bb: Verifying Checksum [2023-01-23T02:28:02.466Z] 765212b225bb: Download complete [2023-01-23T02:28:02.466Z] f23df028b6ca: Verifying Checksum [2023-01-23T02:28:02.466Z] f23df028b6ca: Download complete [2023-01-23T02:28:02.466Z] d65c8cfc05b1: Verifying Checksum [2023-01-23T02:28:02.466Z] d65c8cfc05b1: Download complete [2023-01-23T02:28:02.736Z] 699f458cf7ca: Download complete [2023-01-23T02:28:03.007Z] 8998bd30e6a1: Verifying Checksum [2023-01-23T02:28:03.007Z] 8998bd30e6a1: Download complete [2023-01-23T02:28:05.593Z] 2437ff75d9bd: Download complete [2023-01-23T02:28:07.004Z] 8998bd30e6a1: Pull complete [2023-01-23T02:28:07.739Z] 04944245beec: Pull complete [2023-01-23T02:28:09.182Z] 699f458cf7ca: Pull complete [2023-01-23T02:28:09.182Z] 765212b225bb: Pull complete [2023-01-23T02:28:10.177Z] f23df028b6ca: Pull complete [2023-01-23T02:28:10.177Z] d65c8cfc05b1: Pull complete [2023-01-23T02:28:25.213Z] 2437ff75d9bd: Pull complete [2023-01-23T02:28:25.213Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-23T02:28:25.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T02:28:25.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:28:25.557Z] prd-ubuntu20.04-docker-arm64-4c-16g-3321 does not seem to be running inside a container [2023-01-23T02:28:25.624Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-23T02:28:28.351Z] $ docker top 60cc72a168e42ebc607d5b4a8bffe51efa627b462920be895371e5f19b0a9faa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:28:29.255Z] ---> job-cost.sh [2023-01-23T02:28:29.256Z] lf-activate-venv: SKIPPING [2023-01-23T02:28:29.256Z] INFO: No Stack... [2023-01-23T02:28:29.521Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-23T02:28:30.478Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T02:28:31.148Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-01-23T02:28:31.148Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T02:28:31.230Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [2023-01-23T02:28:31.235Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] did not exist. Created. [2023-01-23T02:28:31.235Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T02:28:31.959Z] /w/workspace/device-mqtt-go/1@tmp/durable-003f8c83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-23T02:28:32.324Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-23T02:28:32.630Z] Warning: overwriting stash ‘stack-cost’ [2023-01-23T02:28:32.678Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T02:28:32.695Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T02:28:32.771Z] $ docker stop --time=1 60cc72a168e42ebc607d5b4a8bffe51efa627b462920be895371e5f19b0a9faa [2023-01-23T02:28:34.342Z] $ docker rm -f --volumes 60cc72a168e42ebc607d5b4a8bffe51efa627b462920be895371e5f19b0a9faa [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-23T02:28:35.365Z] provisioning config files... [2023-01-23T02:28:35.371Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/config1545927889343644437tmp [Pipeline] { [Pipeline] sh [2023-01-23T02:28:35.706Z] + set +x [2023-01-23T02:28:35.706Z] + bash -s -- [2023-01-23T02:28:35.706Z] + curl -s https://codecov.io/bash [2023-01-23T02:28:35.706Z] [2023-01-23T02:28:35.706Z] _____ _ [2023-01-23T02:28:35.706Z] / ____| | | [2023-01-23T02:28:35.706Z] | | ___ __| | ___ ___ _____ __ [2023-01-23T02:28:35.706Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-23T02:28:35.706Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-23T02:28:35.706Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-23T02:28:35.706Z] Bash-1.0.6 [2023-01-23T02:28:35.706Z] [2023-01-23T02:28:35.706Z] [2023-01-23T02:28:35.706Z] ==> git version 2.25.1 found [2023-01-23T02:28:35.706Z] ==> 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-23T02:28:35.706Z] Release-Date: 2020-01-08 [2023-01-23T02:28:35.706Z] 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-23T02:28:35.706Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-23T02:28:35.706Z] ==> Jenkins CI detected. [2023-01-23T02:28:35.706Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-465 [2023-01-23T02:28:35.706Z] project root: . [2023-01-23T02:28:35.706Z] --> token set from env [2023-01-23T02:28:35.706Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-23T02:28:35.706Z] ==> Running gcov in . (disable via -X gcov) [2023-01-23T02:28:35.706Z] ==> Python coveragepy not found [2023-01-23T02:28:35.706Z] ==> Searching for coverage reports in: [2023-01-23T02:28:35.706Z] + . [2023-01-23T02:28:35.706Z] -> Found 1 reports [2023-01-23T02:28:35.706Z] ==> Detecting git/mercurial file structure [2023-01-23T02:28:35.706Z] ==> Reading reports [2023-01-23T02:28:35.706Z] + ./coverage.out bytes=17887 [2023-01-23T02:28:35.706Z] ==> Appending adjustments [2023-01-23T02:28:35.706Z] https://docs.codecov.io/docs/fixing-reports [2023-01-23T02:28:35.966Z] + Found adjustments [2023-01-23T02:28:35.966Z] ==> Gzipping contents [2023-01-23T02:28:35.966Z] 4.0K /tmp/codecov.qVGVRL.gz [2023-01-23T02:28:35.966Z] ==> Uploading reports [2023-01-23T02:28:35.966Z] url: https://codecov.io [2023-01-23T02:28:35.966Z] query: branch=PR-465&commit=78ef461cd7e8d91d5958851307de16306d7d8387&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=465&job=&cmd_args= [2023-01-23T02:28:35.966Z] -> Pinging Codecov [2023-01-23T02:28:35.966Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-465&commit=78ef461cd7e8d91d5958851307de16306d7d8387&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=465&job=&cmd_args= [2023-01-23T02:28:37.346Z] -> Uploading to [2023-01-23T02:28:37.346Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-23/7D719EC7BBE17E464838252E33014C33/78ef461cd7e8d91d5958851307de16306d7d8387/cc6e8914-1533-4e32-9994-68e1e670ef40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230123T022836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5afc8705f1c03267bdd7fcaf49a085b94ee7347f15c65b821bddc4ffc9b11383 [2023-01-23T02:28:37.346Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T02:28:37.346Z] Dload Upload Total Spent Left Speed [2023-01-23T02:28:37.346Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 8373 --:--:-- --:--:-- --:--:-- 8373 [2023-01-23T02:28:37.346Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] } [2023-01-23T02:28:37.375Z] 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-23T02:28:39.184Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives ] [2023-01-23T02:28:39.185Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives [2023-01-23T02:28:39.185Z] total 16 [2023-01-23T02:28:39.185Z] drwxr-xr-x 3 root root 4096 Jan 23 02:19 . [2023-01-23T02:28:39.185Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 02:19 .. [2023-01-23T02:28:39.185Z] drwxr-xr-x 2 root root 4096 Jan 23 02:19 cost [2023-01-23T02:28:39.185Z] -rw-r--r-- 1 root root 86 Jan 23 02:19 cost.csv [2023-01-23T02:28:39.185Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives [2023-01-23T02:28:39.185Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives [2023-01-23T02:28:39.185Z] total 16 [2023-01-23T02:28:39.185Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 02:19 . [2023-01-23T02:28:39.185Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 02:19 .. [2023-01-23T02:28:39.185Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 02:19 cost [2023-01-23T02:28:39.185Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 23 02:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:28:39.514Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:28:40.199Z] ---> package-listing.sh [2023-01-23T02:28:40.199Z] ++ facter osfamily [2023-01-23T02:28:40.199Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-23T02:28:40.459Z] + OS_FAMILY=debian [2023-01-23T02:28:40.459Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-465 [2023-01-23T02:28:40.459Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-23T02:28:40.459Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-23T02:28:40.459Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-23T02:28:40.459Z] + PACKAGES=/tmp/packages_start.txt [2023-01-23T02:28:40.459Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-465 ']' [2023-01-23T02:28:40.459Z] + PACKAGES=/tmp/packages_end.txt [2023-01-23T02:28:40.459Z] + case "${OS_FAMILY}" in [2023-01-23T02:28:40.459Z] + dpkg -l [2023-01-23T02:28:40.459Z] + grep '^ii' [2023-01-23T02:28:40.459Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-23T02:28:40.459Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-23T02:28:40.459Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-23T02:28:40.459Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-465 ']' [2023-01-23T02:28:40.459Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives/ [2023-01-23T02:28:40.459Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives/ [Pipeline] echo [2023-01-23T02:28:40.496Z] 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-465/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-23T02:28:40.790Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T02:28:41.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T02:28:41.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T02:28:41.566Z] prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container [2023-01-23T02:28:41.610Z] $ 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-465/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-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-23T02:28:41.862Z] $ docker top e4ccba819f1396e348318212ead6166cd9f248b87d5fb4dafe2be59fc53747be -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T02:28:42.240Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-23T02:28:42.633Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-23T02:28:42.944Z] + ls /var/log/sa-host [2023-01-23T02:28:42.944Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T02:28:43.163Z] provisioning config files... [2023-01-23T02:28:43.171Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/config669203403689510108tmp [Pipeline] { [Pipeline] echo [2023-01-23T02:28:43.226Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:28:43.532Z] ---> create-netrc.sh [Pipeline] } [2023-01-23T02:28:43.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:28:43.975Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-23T02:28:44.006Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:28:44.315Z] ---> sudo-logs.sh [2023-01-23T02:28:44.316Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-23T02:28:44.406Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:28:44.714Z] ---> job-cost.sh [2023-01-23T02:28:44.715Z] lf-activate-venv: SKIPPING [2023-01-23T02:28:44.715Z] DEBUG: total: 0.2199999988079071 [2023-01-23T02:28:44.715Z] INFO: Retrieving Stack Cost... [2023-01-23T02:28:44.974Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T02:28:45.540Z] INFO: Archiving Costs [Pipeline] echo [2023-01-23T02:28:45.575Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T02:28:45.883Z] ---> logs-deploy.sh [2023-01-23T02:28:45.883Z] lf-activate-venv: SKIPPING [2023-01-23T02:28:45.883Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-465/1 [2023-01-23T02:28:45.883Z] INFO: archiving workspace using pattern(s): [2023-01-23T02:28:46.820Z] Archives upload complete. [2023-01-23T02:28:46.820Z] INFO: archiving logs to Nexus