Pull request #486 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 603fd62d36b5e47380355446b1cdf3dcbfb3bab3+bc7652beee9a90296fe0b57947c4589a421f5e02 (265e601d500b5e40186d3d947e9fa57adfc776c5) 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-ssh214006540645356961.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-ssh4416452551653641914.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-486/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-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh241084744898600334.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-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh168205080077371580.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-ssh957323775134146758.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-486/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-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13343396571758823149.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-6036 in /w/workspace/gexfoundry_device-mqtt-go_PR-486 [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-486 # 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/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 Merge succeeded, producing 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 Checking out Revision 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 (PR-486) 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] { [Pipeline] timeout [2023-02-15T01:59:56.953Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-15T01:59:57.119Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 # 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 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 # timeout=10 [Pipeline] echo [2023-02-15T01:59:57.212Z] ========================================================= [2023-02-15T01:59:57.212Z] EdgeX Global Pipelines Version Info [2023-02-15T01:59:57.212Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-15T01:59:57.951Z] ------------------- [2023-02-15T01:59:57.951Z] stable info: [2023-02-15T01:59:57.951Z] ------------------- [2023-02-15T01:59:57.951Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-15T01:59:57.951Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T01:59:57.951Z] Message: update stable to v1.0.244 [2023-02-15T01:59:58.531Z] ------------------- [2023-02-15T01:59:58.531Z] experimental info: [2023-02-15T01:59:58.531Z] ------------------- [2023-02-15T01:59:58.531Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-15T01:59:58.531Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T01:59:58.531Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-15T01:59:58.795Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-02-15T01:59:58.838Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-02-15T01:59:58.875Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-15T01:59:58.917Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-15T01:59:58.955Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-15T01:59:58.994Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-15T01:59:59.033Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-15T01:59:59.069Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-15T01:59:59.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-15T01:59:59.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-15T01:59:59.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-15T01:59:59.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-02-15T01:59:59.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-15T01:59:59.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-15T01:59:59.350Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T01:59:59.388Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-15T01:59:59.428Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T01:59:59.468Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-15T01:59:59.513Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-15T01:59:59.549Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-15T01:59:59.588Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-15T01:59:59.636Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-15T01:59:59.673Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-15T01:59:59.712Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-15T01:59:59.750Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-15T01:59:59.785Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-15T01:59:59.820Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-15T01:59:59.858Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo [2023-02-15T01:59:59.901Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo [2023-02-15T01:59:59.946Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo [2023-02-15T01:59:59.995Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] echo [2023-02-15T02:00:00.032Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 603fd62 [Pipeline] echo [2023-02-15T02:00:00.073Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T02:00:00.173Z] provisioning config files... [2023-02-15T02:00:00.185Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/config5922114796297511846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:00:00.520Z] ---> docker-login.sh [2023-02-15T02:00:00.520Z] nexus3.edgexfoundry.org:10001 [2023-02-15T02:00:00.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:00.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:00.781Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:00.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:00.781Z] [2023-02-15T02:00:00.781Z] Login Succeeded [2023-02-15T02:00:00.781Z] nexus3.edgexfoundry.org:10002 [2023-02-15T02:00:01.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:01.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:01.040Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:01.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:01.040Z] [2023-02-15T02:00:01.040Z] Login Succeeded [2023-02-15T02:00:01.040Z] nexus3.edgexfoundry.org:10003 [2023-02-15T02:00:01.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:01.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:01.040Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:01.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:01.040Z] [2023-02-15T02:00:01.040Z] Login Succeeded [2023-02-15T02:00:01.040Z] nexus3.edgexfoundry.org:10004 [2023-02-15T02:00:01.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:01.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:01.305Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:01.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:01.305Z] [2023-02-15T02:00:01.305Z] Login Succeeded [2023-02-15T02:00:01.305Z] docker.io [2023-02-15T02:00:01.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:01.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:01.873Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:01.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:01.873Z] [2023-02-15T02:00:01.873Z] Login Succeeded [2023-02-15T02:00:01.873Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T02:00:01.896Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-15T02:00:02.447Z] + git rev-list -1 --merges 603fd62d36b5e47380355446b1cdf3dcbfb3bab3~1..603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] echo [2023-02-15T02:00:02.507Z] -----------> git rev-list -1 --merges 603fd62d36b5e47380355446b1cdf3dcbfb3bab3~1..603fd62d36b5e47380355446b1cdf3dcbfb3bab3 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [false] [Pipeline] sh [2023-02-15T02:00:02.811Z] + git log --format=format:%s -1 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] echo [2023-02-15T02:00:02.839Z] ========================================================= [2023-02-15T02:00:02.839Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-15T02:00:02.839Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T02:00:03.257Z] + git log --format=format:%s -1 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] echo [2023-02-15T02:00:03.289Z] [semverPrep] GIT_COMMIT: 603fd62d36b5e47380355446b1cdf3dcbfb3bab3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-15T02:00:03.326Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-15T02:00:03.701Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-15T02:00:03.701Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-15T02:00:03.701Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-15T02:00:03.701Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-15T02:00:03.701Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-15T02:00:03.701Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-15T02:00:03.701Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:00:04.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T02:00:04.136Z] [2023-02-15T02:00:04.136Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:00:04.538Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T02:00:04.538Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-15T02:00:04.538Z] b85a868b505f: Pulling fs layer [2023-02-15T02:00:04.538Z] e2be974225ed: Pulling fs layer [2023-02-15T02:00:04.538Z] 339a4e72a1f5: Pulling fs layer [2023-02-15T02:00:04.538Z] 988bab9f4d93: Pulling fs layer [2023-02-15T02:00:04.538Z] 1469e6f7b9e6: Pulling fs layer [2023-02-15T02:00:04.538Z] eaf3925da568: Pulling fs layer [2023-02-15T02:00:04.538Z] bab4dde63d76: Pulling fs layer [2023-02-15T02:00:04.538Z] bde34c3a00c8: Pulling fs layer [2023-02-15T02:00:04.538Z] b352a97aabf1: Pulling fs layer [2023-02-15T02:00:04.538Z] 4872d77fe225: Pulling fs layer [2023-02-15T02:00:04.538Z] 5851b861e8e6: Pulling fs layer [2023-02-15T02:00:04.538Z] 988bab9f4d93: Waiting [2023-02-15T02:00:04.538Z] 4872d77fe225: Waiting [2023-02-15T02:00:04.538Z] 5851b861e8e6: Waiting [2023-02-15T02:00:04.538Z] b352a97aabf1: Waiting [2023-02-15T02:00:04.538Z] 1469e6f7b9e6: Waiting [2023-02-15T02:00:04.538Z] bde34c3a00c8: Waiting [2023-02-15T02:00:04.538Z] eaf3925da568: Waiting [2023-02-15T02:00:04.538Z] bab4dde63d76: Waiting [2023-02-15T02:00:04.813Z] e2be974225ed: Verifying Checksum [2023-02-15T02:00:04.813Z] e2be974225ed: Download complete [2023-02-15T02:00:04.813Z] 988bab9f4d93: Verifying Checksum [2023-02-15T02:00:04.813Z] 988bab9f4d93: Download complete [2023-02-15T02:00:05.096Z] 339a4e72a1f5: Verifying Checksum [2023-02-15T02:00:05.096Z] 339a4e72a1f5: Download complete [2023-02-15T02:00:05.096Z] eaf3925da568: Download complete [2023-02-15T02:00:05.096Z] 1469e6f7b9e6: Verifying Checksum [2023-02-15T02:00:05.096Z] 1469e6f7b9e6: Download complete [2023-02-15T02:00:05.096Z] bde34c3a00c8: Verifying Checksum [2023-02-15T02:00:05.096Z] bde34c3a00c8: Download complete [2023-02-15T02:00:05.688Z] b352a97aabf1: Verifying Checksum [2023-02-15T02:00:05.688Z] b352a97aabf1: Download complete [2023-02-15T02:00:05.688Z] 4872d77fe225: Verifying Checksum [2023-02-15T02:00:05.688Z] 4872d77fe225: Download complete [2023-02-15T02:00:05.688Z] 5851b861e8e6: Verifying Checksum [2023-02-15T02:00:05.688Z] 5851b861e8e6: Download complete [2023-02-15T02:00:05.688Z] b85a868b505f: Verifying Checksum [2023-02-15T02:00:05.688Z] b85a868b505f: Download complete [2023-02-15T02:00:05.946Z] bab4dde63d76: Verifying Checksum [2023-02-15T02:00:05.946Z] bab4dde63d76: Download complete [2023-02-15T02:00:06.881Z] b85a868b505f: Pull complete [2023-02-15T02:00:07.141Z] e2be974225ed: Pull complete [2023-02-15T02:00:07.707Z] 339a4e72a1f5: Pull complete [2023-02-15T02:00:07.707Z] 988bab9f4d93: Pull complete [2023-02-15T02:00:07.966Z] 1469e6f7b9e6: Pull complete [2023-02-15T02:00:07.966Z] eaf3925da568: Pull complete [2023-02-15T02:00:09.867Z] bab4dde63d76: Pull complete [2023-02-15T02:00:09.867Z] bde34c3a00c8: Pull complete [2023-02-15T02:00:09.867Z] b352a97aabf1: Pull complete [2023-02-15T02:00:10.127Z] 4872d77fe225: Pull complete [2023-02-15T02:00:10.127Z] 5851b861e8e6: Pull complete [2023-02-15T02:00:10.127Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-15T02:00:10.127Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-15T02:00:10.127Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:00:10.345Z] prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container [2023-02-15T02:00:10.378Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-15T02:00:12.621Z] $ docker top f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 -eo pid,comm [2023-02-15T02:00:12.682Z] 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-02-15T02:00:12.682Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-15T02:00:12.808Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T02:00:12.809Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T02:00:12.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T02:00:12.938Z] $ docker exec f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 ssh-agent [2023-02-15T02:00:13.044Z] SSH_AUTH_SOCK=/tmp/ssh-1kaLhv3bgCJs/agent.33 [2023-02-15T02:00:13.044Z] SSH_AGENT_PID=39 [2023-02-15T02:00:13.051Z] Running ssh-add (command line suppressed) [2023-02-15T02:00:13.166Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/private_key_3524481938602672215.key (/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/private_key_3524481938602672215.key) [2023-02-15T02:00:13.180Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T02:00:13.505Z] + git tag --points-at HEAD [Pipeline] } [2023-02-15T02:00:13.530Z] $ docker exec --env ******** --env ******** f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 ssh-agent -k [2023-02-15T02:00:13.642Z] unset SSH_AUTH_SOCK; [2023-02-15T02:00:13.643Z] unset SSH_AGENT_PID; [2023-02-15T02:00:13.643Z] echo Agent pid 39 killed; [2023-02-15T02:00:13.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-15T02:00:13.729Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-15T02:00:13.729Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-15T02:00:13.834Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-15T02:00:13.838Z] $ docker exec f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 ssh-agent [2023-02-15T02:00:13.948Z] SSH_AUTH_SOCK=/tmp/ssh-ajgjDnIswA6h/agent.71 [2023-02-15T02:00:13.948Z] SSH_AGENT_PID=77 [2023-02-15T02:00:13.952Z] Running ssh-add (command line suppressed) [2023-02-15T02:00:14.055Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/private_key_13879237691650525970.key (/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/private_key_13879237691650525970.key) [2023-02-15T02:00:14.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-15T02:00:14.393Z] + git semver init [2023-02-15T02:00:14.652Z] 2023-02-15 02:00:14,597 [run_init] DEBUG init version:0.0.0 force:False [2023-02-15T02:00:14.652Z] 2023-02-15 02:00:14,598 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver [2023-02-15T02:00:14.652Z] 2023-02-15 02:00:14,599 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver [2023-02-15T02:00:14.652Z] 2023-02-15 02:00:14,599 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-486, universal_newlines=False, shell=None, istream=None) [2023-02-15T02:00:15.589Z] 2023-02-15 02:00:15,529 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486/.git/info/exclude [2023-02-15T02:00:15.589Z] 2023-02-15 02:00:15,530 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver/PR-486 with force:False [2023-02-15T02:00:15.589Z] 2023-02-15 02:00:15,530 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver/PR-486 [2023-02-15T02:00:15.589Z] 2023-02-15 02:00:15,534 [execute] INFO git cat-file --batch-check [2023-02-15T02:00:15.589Z] 2023-02-15 02:00:15,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T02:00:15.589Z] 2023-02-15 02:00:15,541 [execute] INFO git cat-file --batch [2023-02-15T02:00:15.590Z] 2023-02-15 02:00:15,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2023-02-15T02:00:15.590Z] 2023-02-15 02:00:15,544 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver/PR-486 [2023-02-15T02:00:15.590Z] 0.0.0 [Pipeline] } [2023-02-15T02:00:15.615Z] $ docker exec --env ******** --env ******** f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 ssh-agent -k [2023-02-15T02:00:15.727Z] unset SSH_AUTH_SOCK; [2023-02-15T02:00:15.728Z] unset SSH_AGENT_PID; [2023-02-15T02:00:15.728Z] echo Agent pid 77 killed; [2023-02-15T02:00:15.735Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-15T02:00:16.166Z] + git semver [Pipeline] } [2023-02-15T02:00:16.456Z] $ docker stop --time=1 f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 [2023-02-15T02:00:17.785Z] $ docker rm -f --volumes f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T02:00:18.185Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-15T02:00:18.482Z] Stashed 1 file(s) [Pipeline] echo [2023-02-15T02:00:18.500Z] [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-02-15T02:00:19.075Z] provisioning config files... [2023-02-15T02:00:19.086Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/config12491187672034502279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:00:19.428Z] ---> docker-login.sh [2023-02-15T02:00:19.428Z] nexus3.edgexfoundry.org:10001 [2023-02-15T02:00:19.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:19.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:19.428Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:19.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:19.428Z] [2023-02-15T02:00:19.428Z] Login Succeeded [2023-02-15T02:00:19.428Z] nexus3.edgexfoundry.org:10002 [2023-02-15T02:00:19.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:19.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:19.428Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:19.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:19.428Z] [2023-02-15T02:00:19.428Z] Login Succeeded [2023-02-15T02:00:19.428Z] nexus3.edgexfoundry.org:10003 [2023-02-15T02:00:19.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:19.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:19.687Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:19.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:19.687Z] [2023-02-15T02:00:19.687Z] Login Succeeded [2023-02-15T02:00:19.687Z] nexus3.edgexfoundry.org:10004 [2023-02-15T02:00:19.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:19.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:19.687Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:19.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:19.687Z] [2023-02-15T02:00:19.687Z] Login Succeeded [2023-02-15T02:00:19.948Z] docker.io [2023-02-15T02:00:19.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:00:20.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:00:20.208Z] Configure a credential helper to remove this warning. See [2023-02-15T02:00:20.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:00:20.208Z] [2023-02-15T02:00:20.208Z] Login Succeeded [2023-02-15T02:00:20.208Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T02:00:20.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T02:00:20.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T02:00:20.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T02:00:20.497Z] ========================================================= [2023-02-15T02:00:20.497Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-15T02:00:20.497Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:00:20.975Z] + 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-02-15T02:00:20.975Z] Sending build context to Docker daemon 6.34MB [2023-02-15T02:00:20.975Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T02:00:20.975Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T02:00:21.246Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-15T02:00:21.246Z] 213ec9aee27d: Pulling fs layer [2023-02-15T02:00:21.246Z] 4583459ba037: Pulling fs layer [2023-02-15T02:00:21.246Z] 93c1e223e6f2: Pulling fs layer [2023-02-15T02:00:21.246Z] 53926ce57604: Pulling fs layer [2023-02-15T02:00:21.246Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-15T02:00:21.246Z] 53926ce57604: Waiting [2023-02-15T02:00:21.246Z] 21b2b0c7a3f4: Waiting [2023-02-15T02:00:21.246Z] 22ff95d597cd: Pulling fs layer [2023-02-15T02:00:21.246Z] 12d6caf4c0d1: Pulling fs layer [2023-02-15T02:00:21.246Z] 96b7cbca73a9: Pulling fs layer [2023-02-15T02:00:21.246Z] a7acece74701: Pulling fs layer [2023-02-15T02:00:21.246Z] 22ff95d597cd: Waiting [2023-02-15T02:00:21.246Z] 12d6caf4c0d1: Waiting [2023-02-15T02:00:21.246Z] 96b7cbca73a9: Waiting [2023-02-15T02:00:21.246Z] 93c1e223e6f2: Download complete [2023-02-15T02:00:21.246Z] 4583459ba037: Verifying Checksum [2023-02-15T02:00:21.246Z] 4583459ba037: Download complete [2023-02-15T02:00:21.525Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-15T02:00:21.525Z] 21b2b0c7a3f4: Download complete [2023-02-15T02:00:21.525Z] 22ff95d597cd: Verifying Checksum [2023-02-15T02:00:21.525Z] 22ff95d597cd: Download complete [2023-02-15T02:00:21.525Z] 213ec9aee27d: Download complete [2023-02-15T02:00:21.812Z] 12d6caf4c0d1: Download complete [2023-02-15T02:00:21.812Z] 213ec9aee27d: Pull complete [2023-02-15T02:00:22.446Z] 4583459ba037: Pull complete [2023-02-15T02:00:22.446Z] 93c1e223e6f2: Pull complete [2023-02-15T02:00:25.376Z] 53926ce57604: Verifying Checksum [2023-02-15T02:00:25.376Z] 53926ce57604: Download complete [2023-02-15T02:00:25.376Z] a7acece74701: Verifying Checksum [2023-02-15T02:00:25.376Z] a7acece74701: Download complete [2023-02-15T02:00:25.636Z] 96b7cbca73a9: Verifying Checksum [2023-02-15T02:00:25.636Z] 96b7cbca73a9: Download complete [2023-02-15T02:00:29.001Z] 53926ce57604: Pull complete [2023-02-15T02:00:29.001Z] 21b2b0c7a3f4: Pull complete [2023-02-15T02:00:29.001Z] 22ff95d597cd: Pull complete [2023-02-15T02:00:29.259Z] 12d6caf4c0d1: Pull complete [2023-02-15T02:00:31.794Z] 96b7cbca73a9: Pull complete [2023-02-15T02:00:32.367Z] a7acece74701: Pull complete [2023-02-15T02:00:32.367Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-15T02:00:32.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-15T02:00:32.367Z] ---> db6d94c90886 [2023-02-15T02:00:32.367Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T02:00:33.898Z] Still waiting to schedule task [2023-02-15T02:00:33.898Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-15T02:00:35.679Z] ---> Running in 4b9727ceff3a [2023-02-15T02:00:35.679Z] Removing intermediate container 4b9727ceff3a [2023-02-15T02:00:35.679Z] ---> 3e81e4af262c [2023-02-15T02:00:35.679Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T02:00:35.679Z] ---> Running in 551b244c5477 [2023-02-15T02:00:35.679Z] Removing intermediate container 551b244c5477 [2023-02-15T02:00:35.679Z] ---> 88b27685969c [2023-02-15T02:00:35.679Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T02:00:35.679Z] ---> Running in 880fc2a133ab [2023-02-15T02:00:35.679Z] Removing intermediate container 880fc2a133ab [2023-02-15T02:00:35.679Z] ---> cdbf23e5741a [2023-02-15T02:00:35.679Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T02:00:35.679Z] ---> Running in ae22cde2d1a5 [2023-02-15T02:00:35.940Z] Removing intermediate container ae22cde2d1a5 [2023-02-15T02:00:35.940Z] ---> e9f67bf073bd [2023-02-15T02:00:35.940Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T02:00:35.940Z] ---> Running in f182324e4e80 [2023-02-15T02:00:36.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T02:00:36.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T02:00:36.770Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T02:00:36.770Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T02:00:36.770Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T02:00:36.770Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T02:00:36.770Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T02:00:36.770Z] OK: 216 MiB in 55 packages [2023-02-15T02:00:37.361Z] Removing intermediate container f182324e4e80 [2023-02-15T02:00:37.361Z] ---> 3cfb3abdb9b3 [2023-02-15T02:00:37.361Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-15T02:00:37.361Z] ---> Running in a9700c00ed84 [2023-02-15T02:00:37.361Z] Removing intermediate container a9700c00ed84 [2023-02-15T02:00:37.361Z] ---> 7a00a82f0678 [2023-02-15T02:00:37.361Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T02:00:37.624Z] ---> de263b2f667f [2023-02-15T02:00:37.624Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T02:00:37.624Z] ---> Running in c11db238c929 [2023-02-15T02:01:16.362Z] Removing intermediate container c11db238c929 [2023-02-15T02:01:16.362Z] ---> 86c537ce82d9 [2023-02-15T02:01:16.362Z] Step 11/12 : COPY . . [2023-02-15T02:01:16.362Z] ---> e96c2a0b2356 [2023-02-15T02:01:16.362Z] Step 12/12 : RUN $MAKE [2023-02-15T02:01:16.362Z] ---> Running in 88cbcd1cbb1f [2023-02-15T02:01:16.362Z] noop [2023-02-15T02:01:16.362Z] Removing intermediate container 88cbcd1cbb1f [2023-02-15T02:01:16.362Z] ---> 2af9f699a329 [2023-02-15T02:01:16.362Z] Successfully built 2af9f699a329 [2023-02-15T02:01:16.362Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:01:16.804Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T02:01:16.805Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:01:16.966Z] prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container [2023-02-15T02:01:17.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T02:01:17.671Z] $ docker top 22c72064ab79d127a9b28ba91a7d69270270bd009fc5f2a7794acd1bf09fdd94 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:01:18.066Z] + go version [2023-02-15T02:01:18.066Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-15T02:01:18.135Z] $ docker stop --time=1 22c72064ab79d127a9b28ba91a7d69270270bd009fc5f2a7794acd1bf09fdd94 [2023-02-15T02:01:19.469Z] $ docker rm -f --volumes 22c72064ab79d127a9b28ba91a7d69270270bd009fc5f2a7794acd1bf09fdd94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:01:20.366Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-15T02:01:20.366Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:01:20.509Z] prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container [2023-02-15T02:01:20.542Z] $ 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-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-15T02:01:20.951Z] $ docker top 37065917a5ee4556b634319a721a247ad819eea9db42d3280f1d4154c5a4efea -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:01:21.342Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-486 [Pipeline] fileExists [Pipeline] sh [2023-02-15T02:01:21.696Z] + make test [2023-02-15T02:01:21.696Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T02:01:22.261Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-15T02:01:32.229Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-15T02:01:32.814Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2023-02-15T02:01:32.814Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-15T02:01:40.924Z] 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-02-15T02:01:40.924Z] go vet ./... [2023-02-15T02:01:44.207Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T02:01:44.208Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T02:01:44.208Z] ./bin/test-attribution-txt.sh [2023-02-15T02:01:44.208Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T02:01:44.208Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T02:01:44.243Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T02:01:44.314Z] $ docker stop --time=1 37065917a5ee4556b634319a721a247ad819eea9db42d3280f1d4154c5a4efea [2023-02-15T02:01:46.290Z] $ docker rm -f --volumes 37065917a5ee4556b634319a721a247ad819eea9db42d3280f1d4154c5a4efea [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T02:01:46.850Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T02:01:46.918Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-15T02:01:47.636Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T02:01:47.944Z] + ls -al . [2023-02-15T02:01:47.944Z] total 184 [2023-02-15T02:01:47.944Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 02:01 . [2023-02-15T02:01:47.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 01:59 .. [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 01:59 .dockerignore [2023-02-15T02:01:47.944Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 02:01 .git [2023-02-15T02:01:47.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 01:59 .github [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 01:59 .gitignore [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 01:59 .golangci.yml [2023-02-15T02:01:47.944Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 02:00 .semver [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 15 01:59 Attribution.txt [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 15 01:59 CHANGELOG.md [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 15 01:59 Dockerfile [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 01:59 GOVERNANCE.md [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 15 01:59 Jenkinsfile [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 01:59 LICENSE [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 15 01:59 Makefile [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 01:59 OWNERS.md [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 15 01:59 README.md [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 02:00 VERSION [2023-02-15T02:01:47.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 01:59 bin [2023-02-15T02:01:47.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 01:59 cmd [2023-02-15T02:01:47.944Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 15 02:01 coverage.out [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 15 01:59 go.mod [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 01:59 go.sum [2023-02-15T02:01:47.944Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 01:59 internal [2023-02-15T02:01:47.944Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 01:59 mock [2023-02-15T02:01:47.944Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 01:59 snap [2023-02-15T02:01:47.944Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 15 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:01:48.336Z] + 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=603fd62d36b5e47380355446b1cdf3dcbfb3bab3 --label arch=amd64 --label version=0.0.0 . [2023-02-15T02:01:48.336Z] Sending build context to Docker daemon 6.359MB [2023-02-15T02:01:48.336Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T02:01:48.336Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-15T02:01:48.336Z] ---> 2af9f699a329 [2023-02-15T02:01:48.336Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-15T02:01:48.336Z] ---> Running in 836c7a0ad0cc [2023-02-15T02:01:48.597Z] Removing intermediate container 836c7a0ad0cc [2023-02-15T02:01:48.597Z] ---> 2afaf130a725 [2023-02-15T02:01:48.597Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T02:01:48.597Z] ---> Running in dbe150d49472 [2023-02-15T02:01:48.597Z] Removing intermediate container dbe150d49472 [2023-02-15T02:01:48.597Z] ---> a3dbc2bd24c9 [2023-02-15T02:01:48.597Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T02:01:48.858Z] ---> Running in 92e5ac1e7952 [2023-02-15T02:01:48.858Z] Removing intermediate container 92e5ac1e7952 [2023-02-15T02:01:48.858Z] ---> 064819669933 [2023-02-15T02:01:48.859Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T02:01:48.859Z] ---> Running in 89c148c383b7 [2023-02-15T02:01:48.859Z] Removing intermediate container 89c148c383b7 [2023-02-15T02:01:48.859Z] ---> bd74925e62c3 [2023-02-15T02:01:48.859Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T02:01:49.117Z] ---> Running in 4987c07006b4 [2023-02-15T02:01:49.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T02:01:49.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T02:01:49.944Z] OK: 216 MiB in 55 packages [2023-02-15T02:01:50.202Z] Removing intermediate container 4987c07006b4 [2023-02-15T02:01:50.202Z] ---> 0295e16c9eb4 [2023-02-15T02:01:50.202Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-15T02:01:50.202Z] ---> Running in 75e046764fa9 [2023-02-15T02:01:50.460Z] Removing intermediate container 75e046764fa9 [2023-02-15T02:01:50.460Z] ---> 5381b0fb522c [2023-02-15T02:01:50.460Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-15T02:01:50.460Z] ---> 6ea231fe9d66 [2023-02-15T02:01:50.460Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T02:01:50.719Z] ---> Running in a9ccfcebf519 [2023-02-15T02:01:51.737Z] Removing intermediate container a9ccfcebf519 [2023-02-15T02:01:51.737Z] ---> d21df000acaf [2023-02-15T02:01:51.737Z] Step 11/24 : COPY . . [2023-02-15T02:01:51.996Z] ---> 71ac55a2adf2 [2023-02-15T02:01:51.996Z] Step 12/24 : RUN $MAKE [2023-02-15T02:01:51.996Z] ---> Running in 1efa69687179 [2023-02-15T02:01:52.254Z] 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-02-15T02:02:14.182Z] Removing intermediate container 1efa69687179 [2023-02-15T02:02:14.182Z] ---> 983d9c8a757d [2023-02-15T02:02:14.182Z] Step 13/24 : FROM alpine:3.16 [2023-02-15T02:02:14.182Z] 3.16: Pulling from library/alpine [2023-02-15T02:02:14.182Z] ef5531b6e74e: Pulling fs layer [2023-02-15T02:02:14.182Z] ef5531b6e74e: Verifying Checksum [2023-02-15T02:02:14.182Z] ef5531b6e74e: Download complete [2023-02-15T02:02:14.182Z] ef5531b6e74e: Pull complete [2023-02-15T02:02:14.182Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T02:02:14.182Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T02:02:14.182Z] ---> dfd21b5a31f5 [2023-02-15T02:02:14.182Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-15T02:02:14.182Z] ---> Running in 852f817633a3 [2023-02-15T02:02:14.182Z] Removing intermediate container 852f817633a3 [2023-02-15T02:02:14.182Z] ---> c221ac8c4af6 [2023-02-15T02:02:14.182Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-15T02:02:14.182Z] ---> Running in e5086350bd58 [2023-02-15T02:02:14.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-15T02:02:14.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-15T02:02:14.182Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T02:02:14.182Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T02:02:14.182Z] OK: 6 MiB in 15 packages [2023-02-15T02:02:14.182Z] Removing intermediate container e5086350bd58 [2023-02-15T02:02:14.182Z] ---> a801f9d00c23 [2023-02-15T02:02:14.182Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-15T02:02:14.182Z] ---> b1a691159e80 [2023-02-15T02:02:14.182Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-15T02:02:14.182Z] ---> 60c00e258357 [2023-02-15T02:02:14.182Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-15T02:02:14.182Z] ---> a27669346140 [2023-02-15T02:02:14.182Z] Step 19/24 : EXPOSE 59982 [2023-02-15T02:02:14.182Z] ---> Running in 9c2c523ff2cd [2023-02-15T02:02:14.182Z] Removing intermediate container 9c2c523ff2cd [2023-02-15T02:02:14.182Z] ---> 74c180c4d435 [2023-02-15T02:02:14.182Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-15T02:02:14.182Z] ---> Running in bc2d07c2f358 [2023-02-15T02:02:14.182Z] Removing intermediate container bc2d07c2f358 [2023-02-15T02:02:14.182Z] ---> 47c177207802 [2023-02-15T02:02:14.182Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T02:02:14.182Z] ---> Running in 130151fb66a7 [2023-02-15T02:02:14.182Z] Removing intermediate container 130151fb66a7 [2023-02-15T02:02:14.182Z] ---> e30776648966 [2023-02-15T02:02:14.182Z] Step 22/24 : LABEL arch=amd64 [2023-02-15T02:02:14.182Z] ---> Running in 57b8b25ae0a1 [2023-02-15T02:02:14.182Z] Removing intermediate container 57b8b25ae0a1 [2023-02-15T02:02:14.182Z] ---> 2c37e0503cb8 [2023-02-15T02:02:14.182Z] Step 23/24 : LABEL git_sha=603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [2023-02-15T02:02:14.182Z] ---> Running in 329d38e40f18 [2023-02-15T02:02:14.182Z] Removing intermediate container 329d38e40f18 [2023-02-15T02:02:14.182Z] ---> 33c245b8f41f [2023-02-15T02:02:14.182Z] Step 24/24 : LABEL version=0.0.0 [2023-02-15T02:02:14.182Z] ---> Running in d9ac19549e89 [2023-02-15T02:02:14.182Z] Removing intermediate container d9ac19549e89 [2023-02-15T02:02:14.182Z] ---> f4f79bace6d1 [2023-02-15T02:02:14.182Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T02:02:14.182Z] Successfully built f4f79bace6d1 [2023-02-15T02:02:14.182Z] 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-02-15T02:02:15.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T02:02:15.101Z] [2023-02-15T02:02:15.101Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:02:15.481Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T02:02:15.481Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-15T02:02:15.481Z] 5eb5b503b376: Pulling fs layer [2023-02-15T02:02:15.481Z] 5c69ac0246d0: Pulling fs layer [2023-02-15T02:02:15.481Z] ec43610c2a17: Pulling fs layer [2023-02-15T02:02:15.481Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-15T02:02:15.481Z] 33b1e0a273af: Pulling fs layer [2023-02-15T02:02:15.481Z] 5d3b04190fa2: Pulling fs layer [2023-02-15T02:02:15.481Z] 2f39f015ded8: Pulling fs layer [2023-02-15T02:02:15.481Z] 3a2ae6a8a46f: Waiting [2023-02-15T02:02:15.481Z] 33b1e0a273af: Waiting [2023-02-15T02:02:15.481Z] 5d3b04190fa2: Waiting [2023-02-15T02:02:15.481Z] 2f39f015ded8: Waiting [2023-02-15T02:02:15.481Z] 5c69ac0246d0: Verifying Checksum [2023-02-15T02:02:15.481Z] 5c69ac0246d0: Download complete [2023-02-15T02:02:15.481Z] 3a2ae6a8a46f: Download complete [2023-02-15T02:02:15.744Z] 33b1e0a273af: Verifying Checksum [2023-02-15T02:02:15.744Z] 33b1e0a273af: Download complete [2023-02-15T02:02:15.744Z] 5d3b04190fa2: Download complete [2023-02-15T02:02:15.744Z] ec43610c2a17: Verifying Checksum [2023-02-15T02:02:15.744Z] ec43610c2a17: Download complete [2023-02-15T02:02:16.003Z] 5eb5b503b376: Verifying Checksum [2023-02-15T02:02:16.003Z] 5eb5b503b376: Download complete [2023-02-15T02:02:16.569Z] 2f39f015ded8: Download complete [2023-02-15T02:02:17.136Z] 5eb5b503b376: Pull complete [2023-02-15T02:02:17.394Z] 5c69ac0246d0: Pull complete [2023-02-15T02:02:17.652Z] ec43610c2a17: Pull complete [2023-02-15T02:02:17.910Z] 3a2ae6a8a46f: Pull complete [2023-02-15T02:02:17.910Z] 33b1e0a273af: Pull complete [2023-02-15T02:02:18.171Z] 5d3b04190fa2: Pull complete [2023-02-15T02:02:23.433Z] 2f39f015ded8: Pull complete [2023-02-15T02:02:23.433Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-15T02:02:23.433Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T02:02:23.433Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:02:23.649Z] prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container [2023-02-15T02:02:23.683Z] $ 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-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-15T02:02:25.638Z] $ docker top 0cead4b95ab97a407d9f15d7b9b140cffeee4c86f42f485cdf016bc449fe571b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:02:26.086Z] ---> job-cost.sh [2023-02-15T02:02:26.086Z] lf-activate-venv: SKIPPING [2023-02-15T02:02:26.086Z] INFO: No Stack... [2023-02-15T02:02:26.343Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T02:02:26.601Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T02:02:26.919Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives/cost.csv [2023-02-15T02:02:26.919Z] + cut -d, -f6 [Pipeline] lock [2023-02-15T02:02:26.963Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [2023-02-15T02:02:26.968Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] did not exist. Created. [2023-02-15T02:02:26.968Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T02:02:27.357Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-15T02:02:27.409Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T02:02:27.436Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T02:02:27.518Z] $ docker stop --time=1 0cead4b95ab97a407d9f15d7b9b140cffeee4c86f42f485cdf016bc449fe571b [2023-02-15T02:02:28.685Z] $ docker rm -f --volumes 0cead4b95ab97a407d9f15d7b9b140cffeee4c86f42f485cdf016bc449fe571b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-15T02:03:12.601Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6040 in /w/workspace/gexfoundry_device-mqtt-go_PR-486 [Pipeline] { [Pipeline] ws [2023-02-15T02:03:12.655Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-02-15T02:03:12.733Z] Selected Git installation does not exist. Using Default [2023-02-15T02:03:12.733Z] The recommended git tool is: NONE [2023-02-15T02:03:19.134Z] using credential edgex-jenkins-ssh [2023-02-15T02:03:19.155Z] Cloning the remote Git repository [2023-02-15T02:03:19.230Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-15T02:03:19.334Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-02-15T02:03:19.553Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-15T02:03:19.555Z] > git --version # timeout=10 [2023-02-15T02:03:19.587Z] > git --version # 'git version 2.25.1' [2023-02-15T02:03:19.590Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T02:03:19.671Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T02:03:20.957Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-15T02:03:20.985Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-15T02:03:22.921Z] Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [2023-02-15T02:03:22.197Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-02-15T02:03:22.254Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-02-15T02:03:22.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T02:03:22.279Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-15T02:03:22.950Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T02:03:23.208Z] Merge succeeded, producing 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [2023-02-15T02:03:23.208Z] Checking out Revision 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 (PR-486) [2023-02-15T02:03:23.863Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-15T02:03:23.935Z] > git --version # timeout=10 [2023-02-15T02:03:23.950Z] > git --version # 'git version 2.25.1' [2023-02-15T02:03:23.973Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-15T02:03:22.972Z] > git checkout -f 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 # timeout=10 [2023-02-15T02:03:23.074Z] > git remote # timeout=10 [2023-02-15T02:03:23.099Z] > git config --get remote.origin.url # timeout=10 [2023-02-15T02:03:23.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-15T02:03:23.153Z] > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 [2023-02-15T02:03:23.190Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-15T02:03:23.220Z] > git config core.sparsecheckout # timeout=10 [2023-02-15T02:03:23.238Z] > git checkout -f 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T02:03:25.382Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-15T02:03:25.382Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T02:03:25.382Z] Dload Upload Total Spent Left Speed [2023-02-15T02:03:25.382Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh [2023-02-15T02:03:26.143Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-15T02:03:26.503Z] + sudo tee /etc/docker/daemon.new [2023-02-15T02:03:26.503Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-15T02:03:26.503Z] { [2023-02-15T02:03:26.503Z] "registry-mirrors": [ [2023-02-15T02:03:26.503Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-15T02:03:26.503Z] ], [2023-02-15T02:03:26.503Z] "bip": "10.250.0.254/24", [2023-02-15T02:03:26.503Z] "hosts": [ [2023-02-15T02:03:26.503Z] "tcp://0.0.0.0:5555", [2023-02-15T02:03:26.503Z] "unix:///var/run/docker.sock" [2023-02-15T02:03:26.503Z] ], [2023-02-15T02:03:26.503Z] "mtu": 1458, [2023-02-15T02:03:26.503Z] "selinux-enabled": true, [2023-02-15T02:03:26.503Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-15T02:03:26.503Z] } [Pipeline] sh [2023-02-15T02:03:26.870Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-15T02:03:27.257Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T02:03:45.626Z] provisioning config files... [2023-02-15T02:03:45.659Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2061172653029604249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:03:46.072Z] ---> docker-login.sh [2023-02-15T02:03:46.072Z] nexus3.edgexfoundry.org:10001 [2023-02-15T02:03:46.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:46.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:46.667Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:46.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:46.667Z] [2023-02-15T02:03:46.667Z] Login Succeeded [2023-02-15T02:03:46.667Z] nexus3.edgexfoundry.org:10002 [2023-02-15T02:03:46.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:47.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:47.210Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:47.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:47.210Z] [2023-02-15T02:03:47.210Z] Login Succeeded [2023-02-15T02:03:47.210Z] nexus3.edgexfoundry.org:10003 [2023-02-15T02:03:47.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:47.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:47.481Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:47.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:47.481Z] [2023-02-15T02:03:47.481Z] Login Succeeded [2023-02-15T02:03:47.481Z] nexus3.edgexfoundry.org:10004 [2023-02-15T02:03:47.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:48.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:48.027Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:48.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:48.027Z] [2023-02-15T02:03:48.027Z] Login Succeeded [2023-02-15T02:03:48.027Z] docker.io [2023-02-15T02:03:48.298Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-15T02:03:48.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-15T02:03:48.570Z] Configure a credential helper to remove this warning. See [2023-02-15T02:03:48.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-15T02:03:48.570Z] [2023-02-15T02:03:48.570Z] Login Succeeded [2023-02-15T02:03:48.570Z] ---> docker-login.sh ends [Pipeline] } [2023-02-15T02:03:48.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-15T02:03:49.010Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T02:03:49.050Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-15T02:03:49.082Z] ========================================================= [2023-02-15T02:03:49.082Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-15T02:03:49.082Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:03:49.593Z] + 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-02-15T02:03:49.868Z] Sending build context to Docker daemon 3.277MB [2023-02-15T02:03:49.868Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T02:03:49.868Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-15T02:03:50.148Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-15T02:03:50.148Z] 9b18e9b68314: Pulling fs layer [2023-02-15T02:03:50.148Z] 35d82f9e3411: Pulling fs layer [2023-02-15T02:03:50.148Z] e16973657156: Pulling fs layer [2023-02-15T02:03:50.148Z] fc693d55d65f: Pulling fs layer [2023-02-15T02:03:50.148Z] 7e9fc2657dce: Pulling fs layer [2023-02-15T02:03:50.148Z] dda99020689f: Pulling fs layer [2023-02-15T02:03:50.148Z] db1c61fa0a46: Pulling fs layer [2023-02-15T02:03:50.148Z] 891c053d2c06: Pulling fs layer [2023-02-15T02:03:50.148Z] dda99020689f: Waiting [2023-02-15T02:03:50.148Z] fc693d55d65f: Waiting [2023-02-15T02:03:50.148Z] 7e9fc2657dce: Waiting [2023-02-15T02:03:50.148Z] db1c61fa0a46: Waiting [2023-02-15T02:03:50.148Z] 891c053d2c06: Waiting [2023-02-15T02:03:50.148Z] e16973657156: Verifying Checksum [2023-02-15T02:03:50.148Z] e16973657156: Download complete [2023-02-15T02:03:50.148Z] 35d82f9e3411: Verifying Checksum [2023-02-15T02:03:50.148Z] 35d82f9e3411: Download complete [2023-02-15T02:03:50.148Z] 7e9fc2657dce: Verifying Checksum [2023-02-15T02:03:50.148Z] 7e9fc2657dce: Download complete [2023-02-15T02:03:50.433Z] dda99020689f: Download complete [2023-02-15T02:03:50.433Z] 9b18e9b68314: Verifying Checksum [2023-02-15T02:03:50.433Z] 9b18e9b68314: Download complete [2023-02-15T02:03:51.037Z] 9b18e9b68314: Pull complete [2023-02-15T02:03:51.634Z] 35d82f9e3411: Pull complete [2023-02-15T02:03:51.911Z] 891c053d2c06: Verifying Checksum [2023-02-15T02:03:51.911Z] 891c053d2c06: Download complete [2023-02-15T02:03:52.185Z] e16973657156: Pull complete [2023-02-15T02:03:53.159Z] db1c61fa0a46: Verifying Checksum [2023-02-15T02:03:53.159Z] db1c61fa0a46: Download complete [2023-02-15T02:03:53.432Z] fc693d55d65f: Verifying Checksum [2023-02-15T02:03:53.432Z] fc693d55d65f: Download complete [2023-02-15T02:04:05.798Z] fc693d55d65f: Pull complete [2023-02-15T02:04:06.069Z] 7e9fc2657dce: Pull complete [2023-02-15T02:04:06.337Z] dda99020689f: Pull complete [2023-02-15T02:04:13.194Z] db1c61fa0a46: Pull complete [2023-02-15T02:04:16.550Z] 891c053d2c06: Pull complete [2023-02-15T02:04:16.550Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-15T02:04:16.550Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-15T02:04:16.550Z] ---> f96f9c87975a [2023-02-15T02:04:16.550Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-15T02:04:18.499Z] ---> Running in 4c4621ae43cf [2023-02-15T02:04:19.090Z] Removing intermediate container 4c4621ae43cf [2023-02-15T02:04:19.090Z] ---> 2ab667a75662 [2023-02-15T02:04:19.090Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T02:04:19.090Z] ---> Running in 4844e98f49bc [2023-02-15T02:04:19.365Z] Removing intermediate container 4844e98f49bc [2023-02-15T02:04:19.365Z] ---> 06960e541a14 [2023-02-15T02:04:19.365Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T02:04:19.636Z] ---> Running in a79b073ef804 [2023-02-15T02:04:19.905Z] Removing intermediate container a79b073ef804 [2023-02-15T02:04:19.906Z] ---> 3f2aec98e446 [2023-02-15T02:04:19.906Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T02:04:19.906Z] ---> Running in 5ded9ef0f0da [2023-02-15T02:04:20.176Z] Removing intermediate container 5ded9ef0f0da [2023-02-15T02:04:20.176Z] ---> 6a70cfcfce57 [2023-02-15T02:04:20.176Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T02:04:20.445Z] ---> Running in 9d987100a0d2 [2023-02-15T02:04:21.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T02:04:21.875Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T02:04:22.848Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-15T02:04:22.848Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-15T02:04:22.848Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-15T02:04:22.848Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-15T02:04:23.116Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T02:04:23.116Z] OK: 226 MiB in 55 packages [2023-02-15T02:04:24.096Z] Removing intermediate container 9d987100a0d2 [2023-02-15T02:04:24.096Z] ---> 1018e5a70b46 [2023-02-15T02:04:24.096Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-02-15T02:04:24.096Z] ---> Running in 909038af7874 [2023-02-15T02:04:24.683Z] Removing intermediate container 909038af7874 [2023-02-15T02:04:24.683Z] ---> f637e585a792 [2023-02-15T02:04:24.683Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-15T02:04:24.964Z] ---> 48f64b13a7fb [2023-02-15T02:04:24.964Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T02:04:25.237Z] ---> Running in 081ae3f577fd [2023-02-15T02:05:46.914Z] Removing intermediate container 081ae3f577fd [2023-02-15T02:05:46.914Z] ---> eb3f3908ac0a [2023-02-15T02:05:46.914Z] Step 11/12 : COPY . . [2023-02-15T02:05:46.914Z] ---> 5b8f771d0338 [2023-02-15T02:05:46.914Z] Step 12/12 : RUN $MAKE [2023-02-15T02:05:46.914Z] ---> Running in ccc1d252d30d [2023-02-15T02:05:46.914Z] noop [2023-02-15T02:05:46.914Z] Removing intermediate container ccc1d252d30d [2023-02-15T02:05:46.914Z] ---> b88b6acec71b [2023-02-15T02:05:46.914Z] Successfully built b88b6acec71b [2023-02-15T02:05:46.914Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:05:47.413Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T02:05:47.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:05:47.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-6040 does not seem to be running inside a container [2023-02-15T02:05:47.767Z] $ 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-02-15T02:05:49.049Z] $ docker top d38f0371aced8f45fbbd8355a9ec4ea8e3dc91cf7f185a02d67a277c6b54cf4b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:05:50.184Z] + go version [2023-02-15T02:05:50.184Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-15T02:05:50.219Z] $ docker stop --time=1 d38f0371aced8f45fbbd8355a9ec4ea8e3dc91cf7f185a02d67a277c6b54cf4b [2023-02-15T02:05:51.855Z] $ docker rm -f --volumes d38f0371aced8f45fbbd8355a9ec4ea8e3dc91cf7f185a02d67a277c6b54cf4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:05:52.694Z] + docker inspect -f . ci-base-image-arm64 [2023-02-15T02:05:52.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:05:52.959Z] prd-ubuntu20.04-docker-arm64-4c-16g-6040 does not seem to be running inside a container [2023-02-15T02:05:53.036Z] $ 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-02-15T02:05:54.284Z] $ docker top 8b16822de24fc23908f3ef1790ac0a8a730eaae7578699e187f9cc2365381cd3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:05:55.177Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-15T02:05:55.901Z] + make test [2023-02-15T02:05:55.901Z] go test ./... -coverprofile=coverage.out ./... [2023-02-15T02:05:57.856Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-02-15T02:07:34.543Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-02-15T02:07:34.543Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 21.8% of statements [2023-02-15T02:07:34.543Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-02-15T02:07:34.543Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-15T02:07:34.543Z] go vet ./... [2023-02-15T02:08:06.821Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-15T02:08:06.821Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-15T02:08:06.821Z] ./bin/test-attribution-txt.sh [2023-02-15T02:08:06.821Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-15T02:08:06.821Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-15T02:08:06.863Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-15T02:08:06.953Z] $ docker stop --time=1 8b16822de24fc23908f3ef1790ac0a8a730eaae7578699e187f9cc2365381cd3 [2023-02-15T02:08:08.780Z] $ docker rm -f --volumes 8b16822de24fc23908f3ef1790ac0a8a730eaae7578699e187f9cc2365381cd3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-15T02:08:09.783Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-15T02:08:09.817Z] Warning: overwriting stash ‘coverage-report’ [2023-02-15T02:08:10.328Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-15T02:08:10.916Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-15T02:08:11.256Z] + ls -al . [2023-02-15T02:08:11.256Z] total 180 [2023-02-15T02:08:11.256Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 02:05 . [2023-02-15T02:08:11.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 02:03 .. [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 02:03 .dockerignore [2023-02-15T02:08:11.256Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 02:03 .git [2023-02-15T02:08:11.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 02:03 .github [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 02:03 .gitignore [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 02:03 .golangci.yml [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 9189 Feb 15 02:03 Attribution.txt [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 13162 Feb 15 02:03 CHANGELOG.md [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 1689 Feb 15 02:03 Dockerfile [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 02:03 GOVERNANCE.md [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 678 Feb 15 02:03 Jenkinsfile [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 02:03 LICENSE [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 1697 Feb 15 02:03 Makefile [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 02:03 OWNERS.md [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 3165 Feb 15 02:03 README.md [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 02:00 VERSION [2023-02-15T02:08:11.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 02:03 bin [2023-02-15T02:08:11.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 02:03 cmd [2023-02-15T02:08:11.256Z] -rw-r--r-- 1 jenkins jenkins 17887 Feb 15 02:07 coverage.out [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 3376 Feb 15 02:03 go.mod [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 02:03 go.sum [2023-02-15T02:08:11.256Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 02:03 internal [2023-02-15T02:08:11.256Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 02:03 mock [2023-02-15T02:08:11.256Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 02:03 snap [2023-02-15T02:08:11.256Z] -rw-rw-r-- 1 jenkins jenkins 227 Feb 15 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:08:11.682Z] + 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=603fd62d36b5e47380355446b1cdf3dcbfb3bab3 --label arch=arm64 --label version=0.0.0 . [2023-02-15T02:08:11.951Z] Sending build context to Docker daemon 3.295MB [2023-02-15T02:08:11.951Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-02-15T02:08:11.951Z] Step 2/24 : FROM ${BASE} AS builder [2023-02-15T02:08:11.951Z] ---> b88b6acec71b [2023-02-15T02:08:11.951Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-02-15T02:08:12.219Z] ---> Running in 145adc3faab8 [2023-02-15T02:08:12.488Z] Removing intermediate container 145adc3faab8 [2023-02-15T02:08:12.488Z] ---> 33f7b8f5da62 [2023-02-15T02:08:12.488Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-15T02:08:12.488Z] ---> Running in b8b503fa9fc1 [2023-02-15T02:08:12.757Z] Removing intermediate container b8b503fa9fc1 [2023-02-15T02:08:12.757Z] ---> 145ad75640e6 [2023-02-15T02:08:12.757Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-15T02:08:13.025Z] ---> Running in ddc0e9e61869 [2023-02-15T02:08:13.294Z] Removing intermediate container ddc0e9e61869 [2023-02-15T02:08:13.294Z] ---> 422806279091 [2023-02-15T02:08:13.294Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-02-15T02:08:13.294Z] ---> Running in ee9df9bdd163 [2023-02-15T02:08:13.563Z] Removing intermediate container ee9df9bdd163 [2023-02-15T02:08:13.563Z] ---> 4519ca677bba [2023-02-15T02:08:13.563Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-15T02:08:13.837Z] ---> Running in db4676b4eee7 [2023-02-15T02:08:14.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T02:08:15.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T02:08:16.036Z] OK: 226 MiB in 55 packages [2023-02-15T02:08:17.000Z] Removing intermediate container db4676b4eee7 [2023-02-15T02:08:17.000Z] ---> ae6be2b3bfa3 [2023-02-15T02:08:17.000Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-02-15T02:08:17.269Z] ---> Running in 428b6d9c72ca [2023-02-15T02:08:17.538Z] Removing intermediate container 428b6d9c72ca [2023-02-15T02:08:17.538Z] ---> 8ec97a6003ba [2023-02-15T02:08:17.538Z] Step 9/24 : COPY go.mod vendor* ./ [2023-02-15T02:08:20.134Z] ---> 26ce2025ee1f [2023-02-15T02:08:20.134Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-15T02:08:20.404Z] ---> Running in a2bf0e4c4fd8 [2023-02-15T02:08:23.004Z] Removing intermediate container a2bf0e4c4fd8 [2023-02-15T02:08:23.004Z] ---> 29655c0ea28c [2023-02-15T02:08:23.004Z] Step 11/24 : COPY . . [2023-02-15T02:08:23.971Z] ---> 510b6fb4d1fe [2023-02-15T02:08:23.971Z] Step 12/24 : RUN $MAKE [2023-02-15T02:08:23.971Z] ---> Running in ce9f7dd3e8ef [2023-02-15T02:08:24.941Z] 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-02-15T02:10:46.707Z] Removing intermediate container ce9f7dd3e8ef [2023-02-15T02:10:46.707Z] ---> 0936c8c82447 [2023-02-15T02:10:46.707Z] Step 13/24 : FROM alpine:3.16 [2023-02-15T02:10:46.707Z] 3.16: Pulling from library/alpine [2023-02-15T02:10:46.707Z] 3760b48202b3: Pulling fs layer [2023-02-15T02:10:46.707Z] 3760b48202b3: Verifying Checksum [2023-02-15T02:10:46.707Z] 3760b48202b3: Download complete [2023-02-15T02:10:46.707Z] 3760b48202b3: Pull complete [2023-02-15T02:10:46.707Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-15T02:10:46.707Z] Status: Downloaded newer image for alpine:3.16 [2023-02-15T02:10:46.707Z] ---> 4c81e5bf8899 [2023-02-15T02:10:46.707Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-02-15T02:10:46.707Z] ---> Running in d4d98908b281 [2023-02-15T02:10:46.707Z] Removing intermediate container d4d98908b281 [2023-02-15T02:10:46.707Z] ---> 4afb3d6d04ee [2023-02-15T02:10:46.707Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-02-15T02:10:46.707Z] ---> Running in f363056a39ca [2023-02-15T02:10:46.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-15T02:10:46.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-15T02:10:46.707Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-15T02:10:46.707Z] Executing busybox-1.35.0-r17.trigger [2023-02-15T02:10:46.707Z] OK: 5 MiB in 15 packages [2023-02-15T02:10:46.707Z] Removing intermediate container f363056a39ca [2023-02-15T02:10:46.707Z] ---> 023e55479f63 [2023-02-15T02:10:46.707Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-02-15T02:10:46.707Z] ---> d4663e1d9d79 [2023-02-15T02:10:46.707Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-02-15T02:10:46.707Z] ---> 703927162fa8 [2023-02-15T02:10:46.707Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-02-15T02:10:46.707Z] ---> d5bc35bb4352 [2023-02-15T02:10:46.707Z] Step 19/24 : EXPOSE 59982 [2023-02-15T02:10:46.707Z] ---> Running in 1e25d76b2c81 [2023-02-15T02:10:46.707Z] Removing intermediate container 1e25d76b2c81 [2023-02-15T02:10:46.707Z] ---> 9c082dc2069e [2023-02-15T02:10:46.707Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-02-15T02:10:46.707Z] ---> Running in d988c712d417 [2023-02-15T02:10:46.707Z] Removing intermediate container d988c712d417 [2023-02-15T02:10:46.707Z] ---> 9eb23777d46e [2023-02-15T02:10:46.707Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-15T02:10:46.707Z] ---> Running in 499343971ddd [2023-02-15T02:10:46.707Z] Removing intermediate container 499343971ddd [2023-02-15T02:10:46.707Z] ---> 003fe1be9139 [2023-02-15T02:10:46.707Z] Step 22/24 : LABEL arch=arm64 [2023-02-15T02:10:46.707Z] ---> Running in 5ea745aeadef [2023-02-15T02:10:46.707Z] Removing intermediate container 5ea745aeadef [2023-02-15T02:10:46.707Z] ---> dc490a0f846f [2023-02-15T02:10:46.707Z] Step 23/24 : LABEL git_sha=603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [2023-02-15T02:10:46.707Z] ---> Running in a10e8f0a41e9 [2023-02-15T02:10:46.707Z] Removing intermediate container a10e8f0a41e9 [2023-02-15T02:10:46.707Z] ---> aa8f2cad8691 [2023-02-15T02:10:46.707Z] Step 24/24 : LABEL version=0.0.0 [2023-02-15T02:10:46.707Z] ---> Running in faff62cf5409 [2023-02-15T02:10:46.707Z] Removing intermediate container faff62cf5409 [2023-02-15T02:10:46.707Z] ---> c5cf49d5181e [2023-02-15T02:10:46.707Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-15T02:10:46.707Z] Successfully built c5cf49d5181e [2023-02-15T02:10:46.707Z] 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-02-15T02:10:47.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T02:10:47.489Z] [2023-02-15T02:10:47.489Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:10:47.899Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T02:10:47.899Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-15T02:10:47.899Z] 8998bd30e6a1: Pulling fs layer [2023-02-15T02:10:47.899Z] 04944245beec: Pulling fs layer [2023-02-15T02:10:47.899Z] 699f458cf7ca: Pulling fs layer [2023-02-15T02:10:47.899Z] 765212b225bb: Pulling fs layer [2023-02-15T02:10:47.899Z] f23df028b6ca: Pulling fs layer [2023-02-15T02:10:47.899Z] d65c8cfc05b1: Pulling fs layer [2023-02-15T02:10:47.899Z] 2437ff75d9bd: Pulling fs layer [2023-02-15T02:10:47.899Z] 765212b225bb: Waiting [2023-02-15T02:10:47.899Z] f23df028b6ca: Waiting [2023-02-15T02:10:47.899Z] d65c8cfc05b1: Waiting [2023-02-15T02:10:47.899Z] 2437ff75d9bd: Waiting [2023-02-15T02:10:48.180Z] 04944245beec: Verifying Checksum [2023-02-15T02:10:48.180Z] 04944245beec: Download complete [2023-02-15T02:10:48.180Z] 765212b225bb: Verifying Checksum [2023-02-15T02:10:48.180Z] 765212b225bb: Download complete [2023-02-15T02:10:48.456Z] f23df028b6ca: Verifying Checksum [2023-02-15T02:10:48.456Z] f23df028b6ca: Download complete [2023-02-15T02:10:48.456Z] d65c8cfc05b1: Verifying Checksum [2023-02-15T02:10:48.456Z] d65c8cfc05b1: Download complete [2023-02-15T02:10:48.456Z] 699f458cf7ca: Verifying Checksum [2023-02-15T02:10:48.456Z] 699f458cf7ca: Download complete [2023-02-15T02:10:49.042Z] 8998bd30e6a1: Verifying Checksum [2023-02-15T02:10:49.042Z] 8998bd30e6a1: Download complete [2023-02-15T02:10:51.625Z] 2437ff75d9bd: Verifying Checksum [2023-02-15T02:10:51.625Z] 2437ff75d9bd: Download complete [2023-02-15T02:10:53.037Z] 8998bd30e6a1: Pull complete [2023-02-15T02:10:54.003Z] 04944245beec: Pull complete [2023-02-15T02:10:55.419Z] 699f458cf7ca: Pull complete [2023-02-15T02:10:55.419Z] 765212b225bb: Pull complete [2023-02-15T02:10:56.070Z] f23df028b6ca: Pull complete [2023-02-15T02:10:56.343Z] d65c8cfc05b1: Pull complete [2023-02-15T02:11:11.442Z] 2437ff75d9bd: Pull complete [2023-02-15T02:11:11.442Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-15T02:11:11.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-15T02:11:11.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:11:11.788Z] prd-ubuntu20.04-docker-arm64-4c-16g-6040 does not seem to be running inside a container [2023-02-15T02:11:11.864Z] $ 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-02-15T02:11:14.487Z] $ docker top 2a54aae2fe2d30f9e14ef96adce6047631b110951e0a40ed7cee3bc2bf422569 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:11:15.404Z] ---> job-cost.sh [2023-02-15T02:11:15.404Z] lf-activate-venv: SKIPPING [2023-02-15T02:11:15.404Z] INFO: No Stack... [2023-02-15T02:11:15.672Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-15T02:11:16.635Z] INFO: Archiving Costs [Pipeline] sh [2023-02-15T02:11:16.982Z] + cut -d, -f6 [2023-02-15T02:11:16.982Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2023-02-15T02:11:18.402Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [2023-02-15T02:11:18.406Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] did not exist. Created. [2023-02-15T02:11:18.406Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-15T02:11:19.162Z] /w/workspace/device-mqtt-go/1@tmp/durable-9a78230f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-15T02:11:19.840Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-15T02:11:19.877Z] Warning: overwriting stash ‘stack-cost’ [2023-02-15T02:11:19.926Z] Stashed 1 file(s) [Pipeline] } [2023-02-15T02:11:19.940Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-15T02:11:20.017Z] $ docker stop --time=1 2a54aae2fe2d30f9e14ef96adce6047631b110951e0a40ed7cee3bc2bf422569 [2023-02-15T02:11:21.506Z] $ docker rm -f --volumes 2a54aae2fe2d30f9e14ef96adce6047631b110951e0a40ed7cee3bc2bf422569 [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-02-15T02:11:22.494Z] provisioning config files... [2023-02-15T02:11:22.502Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/config17685493582896644793tmp [Pipeline] { [Pipeline] sh [2023-02-15T02:11:22.832Z] + set +x [2023-02-15T02:11:22.832Z] + curl -s https://codecov.io/bash [2023-02-15T02:11:22.832Z] + bash -s -- [2023-02-15T02:11:22.832Z] [2023-02-15T02:11:22.832Z] _____ _ [2023-02-15T02:11:22.832Z] / ____| | | [2023-02-15T02:11:22.832Z] | | ___ __| | ___ ___ _____ __ [2023-02-15T02:11:22.832Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-15T02:11:22.832Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-15T02:11:22.832Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-15T02:11:22.832Z] Bash-1.0.6 [2023-02-15T02:11:22.832Z] [2023-02-15T02:11:22.832Z] [2023-02-15T02:11:22.832Z] ==> git version 2.25.1 found [2023-02-15T02:11:22.832Z] ==> 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-02-15T02:11:22.832Z] Release-Date: 2020-01-08 [2023-02-15T02:11:22.832Z] 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-02-15T02:11:22.832Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-15T02:11:22.832Z] ==> Jenkins CI detected. [2023-02-15T02:11:22.832Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-486 [2023-02-15T02:11:22.832Z] project root: . [2023-02-15T02:11:22.832Z] --> token set from env [2023-02-15T02:11:22.832Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-15T02:11:22.832Z] ==> Running gcov in . (disable via -X gcov) [2023-02-15T02:11:22.832Z] ==> Python coveragepy not found [2023-02-15T02:11:22.832Z] ==> Searching for coverage reports in: [2023-02-15T02:11:22.832Z] + . [2023-02-15T02:11:22.832Z] -> Found 1 reports [2023-02-15T02:11:22.832Z] ==> Detecting git/mercurial file structure [2023-02-15T02:11:23.093Z] ==> Reading reports [2023-02-15T02:11:23.093Z] + ./coverage.out bytes=17887 [2023-02-15T02:11:23.093Z] ==> Appending adjustments [2023-02-15T02:11:23.093Z] https://docs.codecov.io/docs/fixing-reports [2023-02-15T02:11:23.093Z] + Found adjustments [2023-02-15T02:11:23.093Z] ==> Gzipping contents [2023-02-15T02:11:23.093Z] 4.0K /tmp/codecov.iJmiiu.gz [2023-02-15T02:11:23.093Z] ==> Uploading reports [2023-02-15T02:11:23.093Z] url: https://codecov.io [2023-02-15T02:11:23.093Z] query: branch=PR-486&commit=603fd62d36b5e47380355446b1cdf3dcbfb3bab3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-486%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=486&job=&cmd_args= [2023-02-15T02:11:23.093Z] -> Pinging Codecov [2023-02-15T02:11:23.093Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-486&commit=603fd62d36b5e47380355446b1cdf3dcbfb3bab3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-486%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=486&job=&cmd_args= [2023-02-15T02:11:23.352Z] -> Uploading to [2023-02-15T02:11:23.352Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7D719EC7BBE17E464838252E33014C33/603fd62d36b5e47380355446b1cdf3dcbfb3bab3/440cb4c7-b26d-4d5c-b77f-e24cffd8c6fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T021123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f67af886a95e59dd8c0acead821a3b57730307bf7febc8021833b6348ce228b [2023-02-15T02:11:23.352Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-15T02:11:23.352Z] Dload Upload Total Spent Left Speed [2023-02-15T02:11:23.612Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 10951 --:--:-- --:--:-- --:--:-- 10951 [2023-02-15T02:11:23.612Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] } [2023-02-15T02:11:23.641Z] 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-02-15T02:11:25.341Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives ] [2023-02-15T02:11:25.341Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives [2023-02-15T02:11:25.341Z] total 16 [2023-02-15T02:11:25.341Z] drwxr-xr-x 3 root root 4096 Feb 15 02:02 . [2023-02-15T02:11:25.341Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 02:02 .. [2023-02-15T02:11:25.341Z] drwxr-xr-x 2 root root 4096 Feb 15 02:02 cost [2023-02-15T02:11:25.341Z] -rw-r--r-- 1 root root 86 Feb 15 02:02 cost.csv [2023-02-15T02:11:25.341Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives [2023-02-15T02:11:25.341Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives [2023-02-15T02:11:25.341Z] total 16 [2023-02-15T02:11:25.341Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 02:02 . [2023-02-15T02:11:25.341Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 02:02 .. [2023-02-15T02:11:25.341Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 02:02 cost [2023-02-15T02:11:25.341Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 15 02:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:11:25.671Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:11:26.562Z] ---> package-listing.sh [2023-02-15T02:11:26.562Z] ++ facter osfamily [2023-02-15T02:11:26.562Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-15T02:11:26.822Z] + OS_FAMILY=debian [2023-02-15T02:11:26.822Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-486 [2023-02-15T02:11:26.822Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-15T02:11:26.822Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-15T02:11:26.822Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-15T02:11:26.822Z] + PACKAGES=/tmp/packages_start.txt [2023-02-15T02:11:26.822Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-486 ']' [2023-02-15T02:11:26.822Z] + PACKAGES=/tmp/packages_end.txt [2023-02-15T02:11:26.822Z] + case "${OS_FAMILY}" in [2023-02-15T02:11:26.822Z] + dpkg -l [2023-02-15T02:11:26.822Z] + grep '^ii' [2023-02-15T02:11:26.822Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-15T02:11:26.822Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-15T02:11:26.822Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-15T02:11:26.822Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-486 ']' [2023-02-15T02:11:26.822Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives/ [2023-02-15T02:11:26.822Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives/ [Pipeline] echo [2023-02-15T02:11:26.855Z] 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-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-15T02:11:27.147Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-15T02:11:27.777Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-15T02:11:27.777Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-15T02:11:27.938Z] prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container [2023-02-15T02:11:27.972Z] $ 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-486/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-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@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-02-15T02:11:28.199Z] $ docker top dbdf077aa1b295205a4de94dd23bcbfea9a51762c51d5a5354e1da2a2d82f9bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-15T02:11:28.592Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-15T02:11:28.900Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-15T02:11:29.206Z] + ls /var/log/sa-host [2023-02-15T02:11:29.207Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-15T02:11:29.377Z] provisioning config files... [2023-02-15T02:11:29.386Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/config15740214339341876885tmp [Pipeline] { [Pipeline] echo [2023-02-15T02:11:29.444Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:11:29.760Z] ---> create-netrc.sh [Pipeline] } [2023-02-15T02:11:29.790Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:11:30.203Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-15T02:11:30.240Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:11:30.554Z] ---> sudo-logs.sh [2023-02-15T02:11:30.555Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-15T02:11:30.641Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:11:30.953Z] ---> job-cost.sh [2023-02-15T02:11:30.953Z] lf-activate-venv: SKIPPING [2023-02-15T02:11:30.953Z] DEBUG: total: 0.2199999988079071 [2023-02-15T02:11:30.953Z] INFO: Retrieving Stack Cost... [2023-02-15T02:11:36.232Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-15T02:11:36.232Z] INFO: Archiving Costs [Pipeline] echo [2023-02-15T02:11:36.267Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-15T02:11:36.581Z] ---> logs-deploy.sh [2023-02-15T02:11:36.581Z] lf-activate-venv: SKIPPING [2023-02-15T02:11:36.581Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-486/1 [2023-02-15T02:11:36.581Z] INFO: archiving workspace using pattern(s): [2023-02-15T02:11:37.516Z] Archives upload complete. [2023-02-15T02:11:37.516Z] INFO: archiving logs to Nexus