Pull request #457 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9713d51ac8027060d41521904dbc83cce8bb4c77+c9f2a0543715ca35ad5b34b71a578c78c2f9cecd (0d08d84a765d41ffab71adf2647bd3ba9580ec64) 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-ssh6043014868350275999.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-ssh16437811158160226792.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-457/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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8924759520484740623.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-457/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3253454554016243234.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-ssh8318013538496416953.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-457/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-457/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4752015580586622967.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-2856 in /w/workspace/gexfoundry_device-mqtt-go_PR-457 [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-457 # 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/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 9713d51ac8027060d41521904dbc83cce8bb4c77 Merge succeeded, producing 9713d51ac8027060d41521904dbc83cce8bb4c77 Checking out Revision 9713d51ac8027060d41521904dbc83cce8bb4c77 (PR-457) 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-01-18T01:03:07.260Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 9713d51ac8027060d41521904dbc83cce8bb4c77 # 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 c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9713d51ac8027060d41521904dbc83cce8bb4c77 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-18T01:03:07.460Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-18T01:03:07.562Z] ========================================================= [2023-01-18T01:03:07.562Z] EdgeX Global Pipelines Version Info [2023-01-18T01:03:07.562Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:03:08.298Z] ------------------- [2023-01-18T01:03:08.298Z] stable info: [2023-01-18T01:03:08.298Z] ------------------- [2023-01-18T01:03:08.298Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-18T01:03:08.298Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T01:03:08.298Z] Message: update stable to v1.0.244 [2023-01-18T01:03:08.873Z] ------------------- [2023-01-18T01:03:08.873Z] experimental info: [2023-01-18T01:03:08.873Z] ------------------- [2023-01-18T01:03:08.873Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-18T01:03:08.873Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-18T01:03:08.873Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-18T01:03:09.147Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-18T01:03:09.186Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-18T01:03:09.221Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-18T01:03:09.261Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-18T01:03:09.325Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-18T01:03:09.365Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-18T01:03:09.404Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-18T01:03:09.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-18T01:03:09.486Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-18T01:03:09.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-18T01:03:09.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-18T01:03:09.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-18T01:03:09.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-18T01:03:09.686Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-18T01:03:09.722Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T01:03:09.757Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-18T01:03:09.793Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T01:03:09.825Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-18T01:03:09.859Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-18T01:03:09.899Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-18T01:03:09.934Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-18T01:03:09.970Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-18T01:03:10.002Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-18T01:03:10.039Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-18T01:03:10.084Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-18T01:03:10.118Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-18T01:03:10.154Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-18T01:03:10.190Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-457 [Pipeline] echo [2023-01-18T01:03:10.225Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-457 [Pipeline] echo [2023-01-18T01:03:10.261Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-457 [Pipeline] echo [2023-01-18T01:03:10.300Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9713d51ac8027060d41521904dbc83cce8bb4c77 [Pipeline] echo [2023-01-18T01:03:10.358Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9713d51 [Pipeline] echo [2023-01-18T01:03:10.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T01:03:10.555Z] provisioning config files... [2023-01-18T01:03:10.572Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp/config13198478818265826280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:03:10.907Z] ---> docker-login.sh [2023-01-18T01:03:10.908Z] nexus3.edgexfoundry.org:10001 [2023-01-18T01:03:11.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:11.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:11.168Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:11.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:11.168Z] [2023-01-18T01:03:11.168Z] Login Succeeded [2023-01-18T01:03:11.168Z] nexus3.edgexfoundry.org:10002 [2023-01-18T01:03:11.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:11.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:11.168Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:11.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:11.168Z] [2023-01-18T01:03:11.168Z] Login Succeeded [2023-01-18T01:03:11.428Z] nexus3.edgexfoundry.org:10003 [2023-01-18T01:03:11.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:11.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:11.428Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:11.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:11.428Z] [2023-01-18T01:03:11.428Z] Login Succeeded [2023-01-18T01:03:11.428Z] nexus3.edgexfoundry.org:10004 [2023-01-18T01:03:11.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:11.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:11.428Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:11.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:11.428Z] [2023-01-18T01:03:11.428Z] Login Succeeded [2023-01-18T01:03:11.428Z] docker.io [2023-01-18T01:03:11.688Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:11.688Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:11.688Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:11.688Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:11.688Z] [2023-01-18T01:03:11.688Z] Login Succeeded [2023-01-18T01:03:11.688Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T01:03:11.717Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-18T01:03:12.344Z] + git rev-list -1 --merges 9713d51ac8027060d41521904dbc83cce8bb4c77~1..9713d51ac8027060d41521904dbc83cce8bb4c77 [Pipeline] echo [2023-01-18T01:03:12.406Z] -----------> git rev-list -1 --merges 9713d51ac8027060d41521904dbc83cce8bb4c77~1..9713d51ac8027060d41521904dbc83cce8bb4c77 9713d51ac8027060d41521904dbc83cce8bb4c77 [false] [Pipeline] sh [2023-01-18T01:03:12.713Z] + git log --format=format:%s -1 9713d51ac8027060d41521904dbc83cce8bb4c77 [Pipeline] echo [2023-01-18T01:03:12.751Z] ========================================================= [2023-01-18T01:03:12.751Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-18T01:03:12.751Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T01:03:13.186Z] + git log --format=format:%s -1 9713d51ac8027060d41521904dbc83cce8bb4c77 [Pipeline] echo [2023-01-18T01:03:13.215Z] [semverPrep] GIT_COMMIT: 9713d51ac8027060d41521904dbc83cce8bb4c77, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-18T01:03:13.240Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-18T01:03:13.610Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-18T01:03:13.610Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-18T01:03:13.610Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-18T01:03:13.610Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-18T01:03:13.610Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-18T01:03:13.610Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-18T01:03:13.610Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:03:14.025Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T01:03:14.025Z] [2023-01-18T01:03:14.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:03:14.390Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T01:03:14.390Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-18T01:03:14.390Z] b85a868b505f: Pulling fs layer [2023-01-18T01:03:14.390Z] e2be974225ed: Pulling fs layer [2023-01-18T01:03:14.390Z] 339a4e72a1f5: Pulling fs layer [2023-01-18T01:03:14.390Z] 988bab9f4d93: Pulling fs layer [2023-01-18T01:03:14.390Z] 1469e6f7b9e6: Pulling fs layer [2023-01-18T01:03:14.390Z] eaf3925da568: Pulling fs layer [2023-01-18T01:03:14.390Z] bab4dde63d76: Pulling fs layer [2023-01-18T01:03:14.390Z] bde34c3a00c8: Pulling fs layer [2023-01-18T01:03:14.390Z] b352a97aabf1: Pulling fs layer [2023-01-18T01:03:14.390Z] 4872d77fe225: Pulling fs layer [2023-01-18T01:03:14.390Z] 5851b861e8e6: Pulling fs layer [2023-01-18T01:03:14.390Z] 988bab9f4d93: Waiting [2023-01-18T01:03:14.390Z] bde34c3a00c8: Waiting [2023-01-18T01:03:14.390Z] b352a97aabf1: Waiting [2023-01-18T01:03:14.390Z] 4872d77fe225: Waiting [2023-01-18T01:03:14.390Z] 5851b861e8e6: Waiting [2023-01-18T01:03:14.390Z] 1469e6f7b9e6: Waiting [2023-01-18T01:03:14.390Z] eaf3925da568: Waiting [2023-01-18T01:03:14.390Z] bab4dde63d76: Waiting [2023-01-18T01:03:14.390Z] e2be974225ed: Verifying Checksum [2023-01-18T01:03:14.390Z] e2be974225ed: Download complete [2023-01-18T01:03:14.390Z] 988bab9f4d93: Verifying Checksum [2023-01-18T01:03:14.390Z] 988bab9f4d93: Download complete [2023-01-18T01:03:14.652Z] 1469e6f7b9e6: Verifying Checksum [2023-01-18T01:03:14.652Z] 1469e6f7b9e6: Download complete [2023-01-18T01:03:14.652Z] eaf3925da568: Download complete [2023-01-18T01:03:14.652Z] 339a4e72a1f5: Verifying Checksum [2023-01-18T01:03:14.652Z] 339a4e72a1f5: Download complete [2023-01-18T01:03:14.652Z] bde34c3a00c8: Verifying Checksum [2023-01-18T01:03:14.652Z] bde34c3a00c8: Download complete [2023-01-18T01:03:14.652Z] b352a97aabf1: Verifying Checksum [2023-01-18T01:03:14.652Z] b352a97aabf1: Download complete [2023-01-18T01:03:14.913Z] 4872d77fe225: Download complete [2023-01-18T01:03:14.913Z] 5851b861e8e6: Verifying Checksum [2023-01-18T01:03:14.913Z] 5851b861e8e6: Download complete [2023-01-18T01:03:14.913Z] b85a868b505f: Verifying Checksum [2023-01-18T01:03:14.913Z] b85a868b505f: Download complete [2023-01-18T01:03:15.173Z] bab4dde63d76: Verifying Checksum [2023-01-18T01:03:15.173Z] bab4dde63d76: Download complete [2023-01-18T01:03:16.548Z] b85a868b505f: Pull complete [2023-01-18T01:03:16.548Z] e2be974225ed: Pull complete [2023-01-18T01:03:17.118Z] 339a4e72a1f5: Pull complete [2023-01-18T01:03:17.118Z] 988bab9f4d93: Pull complete [2023-01-18T01:03:17.377Z] 1469e6f7b9e6: Pull complete [2023-01-18T01:03:17.377Z] eaf3925da568: Pull complete [2023-01-18T01:03:19.282Z] bab4dde63d76: Pull complete [2023-01-18T01:03:19.282Z] bde34c3a00c8: Pull complete [2023-01-18T01:03:19.282Z] b352a97aabf1: Pull complete [2023-01-18T01:03:19.542Z] 4872d77fe225: Pull complete [2023-01-18T01:03:19.542Z] 5851b861e8e6: Pull complete [2023-01-18T01:03:19.542Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-18T01:03:19.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-18T01:03:19.542Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:03:19.770Z] prd-ubuntu20.04-docker-8c-8g-2856 does not seem to be running inside a container [2023-01-18T01:03:19.810Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-457 -v /w/workspace/gexfoundry_device-mqtt-go_PR-457:/w/workspace/gexfoundry_device-mqtt-go_PR-457:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-18T01:03:23.516Z] $ docker top 0f65c6459cd4118a1c009b664a7e1cdee057039448630d2b661ff279b248a8ee -eo pid,comm [2023-01-18T01:03:23.580Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-18T01:03:23.580Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-18T01:03:23.723Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T01:03:23.724Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T01:03:23.853Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T01:03:23.858Z] $ docker exec 0f65c6459cd4118a1c009b664a7e1cdee057039448630d2b661ff279b248a8ee ssh-agent [2023-01-18T01:03:23.979Z] SSH_AUTH_SOCK=/tmp/ssh-yObx7gsrvkNc/agent.33 [2023-01-18T01:03:23.979Z] SSH_AGENT_PID=39 [2023-01-18T01:03:23.986Z] Running ssh-add (command line suppressed) [2023-01-18T01:03:24.092Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp/private_key_7650252473859565310.key (/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp/private_key_7650252473859565310.key) [2023-01-18T01:03:24.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T01:03:24.437Z] + git tag --points-at HEAD [Pipeline] } [2023-01-18T01:03:24.467Z] $ docker exec --env ******** --env ******** 0f65c6459cd4118a1c009b664a7e1cdee057039448630d2b661ff279b248a8ee ssh-agent -k [2023-01-18T01:03:24.554Z] unset SSH_AUTH_SOCK; [2023-01-18T01:03:24.554Z] unset SSH_AGENT_PID; [2023-01-18T01:03:24.554Z] echo Agent pid 39 killed; [2023-01-18T01:03:24.563Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-18T01:03:24.648Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-18T01:03:24.648Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-18T01:03:24.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-18T01:03:24.779Z] $ docker exec 0f65c6459cd4118a1c009b664a7e1cdee057039448630d2b661ff279b248a8ee ssh-agent [2023-01-18T01:03:24.894Z] SSH_AUTH_SOCK=/tmp/ssh-wjgd0TmtEtuj/agent.71 [2023-01-18T01:03:24.894Z] SSH_AGENT_PID=77 [2023-01-18T01:03:24.900Z] Running ssh-add (command line suppressed) [2023-01-18T01:03:25.014Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp/private_key_1177935433136153629.key (/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp/private_key_1177935433136153629.key) [2023-01-18T01:03:25.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-18T01:03:25.382Z] + git semver init [2023-01-18T01:03:25.641Z] 2023-01-18 01:03:25,566 [run_init] DEBUG init version:0.0.0 force:False [2023-01-18T01:03:25.641Z] 2023-01-18 01:03:25,567 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-457/.semver [2023-01-18T01:03:25.641Z] 2023-01-18 01:03:25,567 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-457/.semver [2023-01-18T01:03:25.641Z] 2023-01-18 01:03:25,567 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-457/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-457, universal_newlines=False, shell=None, istream=None) [2023-01-18T01:03:26.583Z] 2023-01-18 01:03:26,414 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-457/.git/info/exclude [2023-01-18T01:03:26.583Z] 2023-01-18 01:03:26,414 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-457/.semver/PR-457 with force:False [2023-01-18T01:03:26.583Z] 2023-01-18 01:03:26,414 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-457/.semver/PR-457 [2023-01-18T01:03:26.583Z] 2023-01-18 01:03:26,418 [execute] INFO git cat-file --batch-check [2023-01-18T01:03:26.583Z] 2023-01-18 01:03:26,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-457/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T01:03:26.583Z] 2023-01-18 01:03:26,424 [execute] INFO git cat-file --batch [2023-01-18T01:03:26.583Z] 2023-01-18 01:03:26,424 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-457/.semver, universal_newlines=False, shell=None, istream=) [2023-01-18T01:03:26.583Z] 2023-01-18 01:03:26,428 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-457/.semver/PR-457 [2023-01-18T01:03:26.583Z] 0.0.0 [Pipeline] } [2023-01-18T01:03:26.611Z] $ docker exec --env ******** --env ******** 0f65c6459cd4118a1c009b664a7e1cdee057039448630d2b661ff279b248a8ee ssh-agent -k [2023-01-18T01:03:26.708Z] unset SSH_AUTH_SOCK; [2023-01-18T01:03:26.708Z] unset SSH_AGENT_PID; [2023-01-18T01:03:26.708Z] echo Agent pid 77 killed; [2023-01-18T01:03:26.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-18T01:03:27.154Z] + git semver [Pipeline] } [2023-01-18T01:03:27.440Z] $ docker stop --time=1 0f65c6459cd4118a1c009b664a7e1cdee057039448630d2b661ff279b248a8ee [2023-01-18T01:03:28.718Z] $ docker rm -f --volumes 0f65c6459cd4118a1c009b664a7e1cdee057039448630d2b661ff279b248a8ee [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T01:03:29.132Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-18T01:03:29.454Z] Stashed 1 file(s) [Pipeline] echo [2023-01-18T01:03:29.473Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T01:03:30.061Z] provisioning config files... [2023-01-18T01:03:30.079Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp/config18243866194484771511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:03:30.518Z] ---> docker-login.sh [2023-01-18T01:03:30.518Z] nexus3.edgexfoundry.org:10001 [2023-01-18T01:03:30.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:30.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:30.518Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:30.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:30.518Z] [2023-01-18T01:03:30.518Z] Login Succeeded [2023-01-18T01:03:30.518Z] nexus3.edgexfoundry.org:10002 [2023-01-18T01:03:30.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:30.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:30.518Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:30.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:30.518Z] [2023-01-18T01:03:30.518Z] Login Succeeded [2023-01-18T01:03:30.518Z] nexus3.edgexfoundry.org:10003 [2023-01-18T01:03:30.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:30.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:30.776Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:30.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:30.776Z] [2023-01-18T01:03:30.776Z] Login Succeeded [2023-01-18T01:03:30.776Z] nexus3.edgexfoundry.org:10004 [2023-01-18T01:03:30.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:30.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:30.776Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:30.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:30.776Z] [2023-01-18T01:03:30.776Z] Login Succeeded [2023-01-18T01:03:30.776Z] docker.io [2023-01-18T01:03:31.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:03:31.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:03:31.034Z] Configure a credential helper to remove this warning. See [2023-01-18T01:03:31.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:03:31.034Z] [2023-01-18T01:03:31.034Z] Login Succeeded [2023-01-18T01:03:31.034Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T01:03:31.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T01:03:31.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T01:03:31.451Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T01:03:31.550Z] ========================================================= [2023-01-18T01:03:31.550Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-18T01:03:31.550Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:03:32.019Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-18T01:03:32.019Z] Sending build context to Docker daemon 6.317MB [2023-01-18T01:03:32.019Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T01:03:32.019Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T01:03:32.019Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-18T01:03:32.019Z] 213ec9aee27d: Pulling fs layer [2023-01-18T01:03:32.020Z] 4583459ba037: Pulling fs layer [2023-01-18T01:03:32.020Z] 93c1e223e6f2: Pulling fs layer [2023-01-18T01:03:32.020Z] 53926ce57604: Pulling fs layer [2023-01-18T01:03:32.020Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-18T01:03:32.020Z] 22ff95d597cd: Pulling fs layer [2023-01-18T01:03:32.020Z] 12d6caf4c0d1: Pulling fs layer [2023-01-18T01:03:32.020Z] 96b7cbca73a9: Pulling fs layer [2023-01-18T01:03:32.020Z] a7acece74701: Pulling fs layer [2023-01-18T01:03:32.020Z] 22ff95d597cd: Waiting [2023-01-18T01:03:32.020Z] 12d6caf4c0d1: Waiting [2023-01-18T01:03:32.020Z] 96b7cbca73a9: Waiting [2023-01-18T01:03:32.020Z] a7acece74701: Waiting [2023-01-18T01:03:32.020Z] 93c1e223e6f2: Verifying Checksum [2023-01-18T01:03:32.020Z] 93c1e223e6f2: Download complete [2023-01-18T01:03:32.285Z] 4583459ba037: Download complete [2023-01-18T01:03:32.285Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-18T01:03:32.285Z] 21b2b0c7a3f4: Download complete [2023-01-18T01:03:32.285Z] 22ff95d597cd: Verifying Checksum [2023-01-18T01:03:32.285Z] 22ff95d597cd: Download complete [2023-01-18T01:03:32.285Z] 213ec9aee27d: Verifying Checksum [2023-01-18T01:03:32.285Z] 213ec9aee27d: Download complete [2023-01-18T01:03:32.285Z] 12d6caf4c0d1: Verifying Checksum [2023-01-18T01:03:32.285Z] 12d6caf4c0d1: Download complete [2023-01-18T01:03:32.285Z] 213ec9aee27d: Pull complete [2023-01-18T01:03:32.558Z] 4583459ba037: Pull complete [2023-01-18T01:03:32.558Z] 93c1e223e6f2: Pull complete [2023-01-18T01:03:33.179Z] a7acece74701: Verifying Checksum [2023-01-18T01:03:33.179Z] a7acece74701: Download complete [2023-01-18T01:03:33.822Z] 53926ce57604: Verifying Checksum [2023-01-18T01:03:33.822Z] 53926ce57604: Download complete [2023-01-18T01:03:34.081Z] 96b7cbca73a9: Verifying Checksum [2023-01-18T01:03:34.081Z] 96b7cbca73a9: Download complete [2023-01-18T01:03:38.269Z] 53926ce57604: Pull complete [2023-01-18T01:03:38.269Z] 21b2b0c7a3f4: Pull complete [2023-01-18T01:03:38.269Z] 22ff95d597cd: Pull complete [2023-01-18T01:03:38.269Z] 12d6caf4c0d1: Pull complete [2023-01-18T01:03:40.170Z] 96b7cbca73a9: Pull complete [2023-01-18T01:03:40.744Z] a7acece74701: Pull complete [2023-01-18T01:03:40.744Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-18T01:03:40.744Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-18T01:03:40.744Z] ---> db6d94c90886 [2023-01-18T01:03:40.744Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T01:03:44.884Z] Still waiting to schedule task [2023-01-18T01:03:44.884Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-01-18T01:03:47.326Z] ---> Running in d69fa56b2583 [2023-01-18T01:03:47.326Z] Removing intermediate container d69fa56b2583 [2023-01-18T01:03:47.326Z] ---> 9be2f171ee53 [2023-01-18T01:03:47.326Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T01:03:47.326Z] ---> Running in 8197dc0535b7 [2023-01-18T01:03:47.326Z] Removing intermediate container 8197dc0535b7 [2023-01-18T01:03:47.326Z] ---> 28d772542b56 [2023-01-18T01:03:47.326Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T01:03:47.326Z] ---> Running in 5ebc792c62eb [2023-01-18T01:03:47.326Z] Removing intermediate container 5ebc792c62eb [2023-01-18T01:03:47.326Z] ---> 53c21f4f4ce7 [2023-01-18T01:03:47.326Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T01:03:47.326Z] ---> Running in 91e89dc46ea1 [2023-01-18T01:03:47.326Z] Removing intermediate container 91e89dc46ea1 [2023-01-18T01:03:47.326Z] ---> 96552b1f8ffb [2023-01-18T01:03:47.326Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T01:03:47.326Z] ---> Running in 753a3cf66fac [2023-01-18T01:03:47.326Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T01:03:47.584Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T01:03:47.842Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T01:03:47.842Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T01:03:47.842Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T01:03:48.100Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T01:03:48.100Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T01:03:48.100Z] OK: 216 MiB in 55 packages [2023-01-18T01:03:48.670Z] Removing intermediate container 753a3cf66fac [2023-01-18T01:03:48.670Z] ---> c2e74038c97d [2023-01-18T01:03:48.670Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-18T01:03:48.670Z] ---> Running in fa4651ac09da [2023-01-18T01:03:48.670Z] Removing intermediate container fa4651ac09da [2023-01-18T01:03:48.670Z] ---> 32b85e2fdd75 [2023-01-18T01:03:48.670Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T01:03:48.930Z] ---> 80937cbcbf63 [2023-01-18T01:03:48.930Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T01:03:48.930Z] ---> Running in d6a744df6128 [2023-01-18T01:04:35.615Z] Removing intermediate container d6a744df6128 [2023-01-18T01:04:35.615Z] ---> 9585281f2a72 [2023-01-18T01:04:35.615Z] Step 11/12 : COPY . . [2023-01-18T01:04:35.615Z] ---> ff6c08e22800 [2023-01-18T01:04:35.615Z] Step 12/12 : RUN $MAKE [2023-01-18T01:04:35.615Z] ---> Running in 8a9c8da11b04 [2023-01-18T01:04:35.615Z] noop [2023-01-18T01:04:35.615Z] Removing intermediate container 8a9c8da11b04 [2023-01-18T01:04:35.615Z] ---> f79295b91d44 [2023-01-18T01:04:35.615Z] Successfully built f79295b91d44 [2023-01-18T01:04:35.615Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:04:36.068Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T01:04:36.068Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:04:36.238Z] prd-ubuntu20.04-docker-8c-8g-2856 does not seem to be running inside a container [2023-01-18T01:04:36.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-457 -v /w/workspace/gexfoundry_device-mqtt-go_PR-457:/w/workspace/gexfoundry_device-mqtt-go_PR-457:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T01:04:36.640Z] $ docker top 217b144273d19ac7a9d0506eaf4ac064316c8df1570efd1a22ffc9420d30dae0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:04:37.033Z] + go version [2023-01-18T01:04:37.033Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-18T01:04:37.067Z] $ docker stop --time=1 217b144273d19ac7a9d0506eaf4ac064316c8df1570efd1a22ffc9420d30dae0 [2023-01-18T01:04:38.348Z] $ docker rm -f --volumes 217b144273d19ac7a9d0506eaf4ac064316c8df1570efd1a22ffc9420d30dae0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:04:39.170Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-18T01:04:39.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:04:39.365Z] prd-ubuntu20.04-docker-8c-8g-2856 does not seem to be running inside a container [2023-01-18T01:04:39.398Z] $ 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-457 -v /w/workspace/gexfoundry_device-mqtt-go_PR-457:/w/workspace/gexfoundry_device-mqtt-go_PR-457:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-18T01:04:39.741Z] $ docker top 9d67ae8d06c96345d09f76cabb87690af8a97833bd2b0566477e75057da37274 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:04:40.141Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-457 [Pipeline] fileExists [Pipeline] sh [2023-01-18T01:04:40.498Z] + make test [2023-01-18T01:04:40.498Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T01:04:40.757Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-18T01:04:50.724Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-18T01:04:50.724Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2023-01-18T01:04:50.724Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-18T01:04:57.301Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-18T01:04:57.301Z] go vet ./... [2023-01-18T01:05:00.585Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T01:05:00.585Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T01:05:00.585Z] ./bin/test-attribution-txt.sh [2023-01-18T01:05:00.844Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-18T01:05:00.844Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-18T01:05:00.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T01:05:00.951Z] $ docker stop --time=1 9d67ae8d06c96345d09f76cabb87690af8a97833bd2b0566477e75057da37274 [2023-01-18T01:05:03.934Z] $ docker rm -f --volumes 9d67ae8d06c96345d09f76cabb87690af8a97833bd2b0566477e75057da37274 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T01:05:04.565Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T01:05:04.641Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-18T01:05:05.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T01:05:05.692Z] + ls -al . [2023-01-18T01:05:05.692Z] total 184 [2023-01-18T01:05:05.692Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 18 01:04 . [2023-01-18T01:05:05.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 01:03 .. [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 01:03 .dockerignore [2023-01-18T01:05:05.692Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 01:04 .git [2023-01-18T01:05:05.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:03 .github [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 01:03 .gitignore [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 01:03 .golangci.yml [2023-01-18T01:05:05.692Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 01:03 .semver [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 18 01:03 Attribution.txt [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 18 01:03 CHANGELOG.md [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 18 01:03 Dockerfile [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 01:03 GOVERNANCE.md [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 18 01:03 Jenkinsfile [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 01:03 LICENSE [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 18 01:03 Makefile [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 01:03 OWNERS.md [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 18 01:03 README.md [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 01:03 VERSION [2023-01-18T01:05:05.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:03 bin [2023-01-18T01:05:05.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:03 cmd [2023-01-18T01:05:05.692Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 18 01:04 coverage.out [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 3430 Jan 18 01:03 go.mod [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 18 01:03 go.sum [2023-01-18T01:05:05.692Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:03 internal [2023-01-18T01:05:05.692Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:03 mock [2023-01-18T01:05:05.692Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 01:03 snap [2023-01-18T01:05:05.692Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 18 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:05:06.116Z] + 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=9713d51ac8027060d41521904dbc83cce8bb4c77 --label arch=amd64 --label version=0.0.0 . [2023-01-18T01:05:06.116Z] Sending build context to Docker daemon 6.335MB [2023-01-18T01:05:06.116Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T01:05:06.116Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-18T01:05:06.116Z] ---> f79295b91d44 [2023-01-18T01:05:06.116Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-18T01:05:06.375Z] ---> Running in 442df06c312d [2023-01-18T01:05:06.375Z] Removing intermediate container 442df06c312d [2023-01-18T01:05:06.375Z] ---> 39d389c69802 [2023-01-18T01:05:06.375Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T01:05:06.375Z] ---> Running in cacebadf1060 [2023-01-18T01:05:06.375Z] Removing intermediate container cacebadf1060 [2023-01-18T01:05:06.375Z] ---> 66f4f0d67080 [2023-01-18T01:05:06.375Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T01:05:06.375Z] ---> Running in 7f877b4ba615 [2023-01-18T01:05:06.635Z] Removing intermediate container 7f877b4ba615 [2023-01-18T01:05:06.635Z] ---> 029195a04c54 [2023-01-18T01:05:06.635Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T01:05:06.635Z] ---> Running in 770d23191273 [2023-01-18T01:05:06.635Z] Removing intermediate container 770d23191273 [2023-01-18T01:05:06.635Z] ---> cb95ecfd44aa [2023-01-18T01:05:06.635Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T01:05:06.635Z] ---> Running in c22497d82509 [2023-01-18T01:05:06.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T01:05:07.154Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T01:05:07.414Z] OK: 216 MiB in 55 packages [2023-01-18T01:05:07.672Z] Removing intermediate container c22497d82509 [2023-01-18T01:05:07.672Z] ---> 3a21b35d31d2 [2023-01-18T01:05:07.672Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-18T01:05:07.672Z] ---> Running in e58c4c1aa8d0 [2023-01-18T01:05:07.672Z] Removing intermediate container e58c4c1aa8d0 [2023-01-18T01:05:07.672Z] ---> 22db58dc6a40 [2023-01-18T01:05:07.672Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-18T01:05:07.929Z] ---> 148a4e428547 [2023-01-18T01:05:07.929Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T01:05:07.929Z] ---> Running in 4237d8299f35 [2023-01-18T01:05:08.956Z] Removing intermediate container 4237d8299f35 [2023-01-18T01:05:08.956Z] ---> e6e916f3d046 [2023-01-18T01:05:08.956Z] Step 11/24 : COPY . . [2023-01-18T01:05:09.214Z] ---> 153250661763 [2023-01-18T01:05:09.214Z] Step 12/24 : RUN $MAKE [2023-01-18T01:05:09.214Z] ---> Running in 82b5adc83018 [2023-01-18T01:05:09.472Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-18T01:05:31.387Z] Removing intermediate container 82b5adc83018 [2023-01-18T01:05:31.387Z] ---> ca68daad9790 [2023-01-18T01:05:31.387Z] Step 13/24 : FROM alpine:3.16 [2023-01-18T01:05:31.387Z] 3.16: Pulling from library/alpine [2023-01-18T01:05:31.387Z] ca7dd9ec2225: Pulling fs layer [2023-01-18T01:05:31.387Z] ca7dd9ec2225: Verifying Checksum [2023-01-18T01:05:31.387Z] ca7dd9ec2225: Download complete [2023-01-18T01:05:31.387Z] ca7dd9ec2225: Pull complete [2023-01-18T01:05:31.387Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T01:05:31.387Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T01:05:31.387Z] ---> bfe296a52501 [2023-01-18T01:05:31.387Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-18T01:05:31.387Z] ---> Running in 76659ca2ac05 [2023-01-18T01:05:31.387Z] Removing intermediate container 76659ca2ac05 [2023-01-18T01:05:31.387Z] ---> f126095baa6c [2023-01-18T01:05:31.387Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-18T01:05:31.387Z] ---> Running in cbfb4c6315d5 [2023-01-18T01:05:31.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-18T01:05:31.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-18T01:05:31.387Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-18T01:05:31.387Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T01:05:31.387Z] OK: 6 MiB in 15 packages [2023-01-18T01:05:31.645Z] Removing intermediate container cbfb4c6315d5 [2023-01-18T01:05:31.645Z] ---> ad96dec54911 [2023-01-18T01:05:31.645Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-18T01:05:32.641Z] ---> 163749c0904b [2023-01-18T01:05:32.641Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-18T01:05:32.641Z] ---> 60b7cc517ded [2023-01-18T01:05:32.641Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-18T01:05:32.901Z] ---> 56518a690391 [2023-01-18T01:05:32.901Z] Step 19/24 : EXPOSE 59982 [2023-01-18T01:05:32.901Z] ---> Running in 1b2ddd8cde14 [2023-01-18T01:05:32.901Z] Removing intermediate container 1b2ddd8cde14 [2023-01-18T01:05:32.901Z] ---> 458939639d52 [2023-01-18T01:05:32.901Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-18T01:05:32.901Z] ---> Running in d70279bae660 [2023-01-18T01:05:32.901Z] Removing intermediate container d70279bae660 [2023-01-18T01:05:32.901Z] ---> 0cebadfd6ec7 [2023-01-18T01:05:32.901Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-18T01:05:32.901Z] ---> Running in a946e1e6aaba [2023-01-18T01:05:33.160Z] Removing intermediate container a946e1e6aaba [2023-01-18T01:05:33.160Z] ---> bbab9cf0598e [2023-01-18T01:05:33.160Z] Step 22/24 : LABEL arch=amd64 [2023-01-18T01:05:33.160Z] ---> Running in 9521ccad17c9 [2023-01-18T01:05:33.160Z] Removing intermediate container 9521ccad17c9 [2023-01-18T01:05:33.160Z] ---> 26cce72bb1ec [2023-01-18T01:05:33.160Z] Step 23/24 : LABEL git_sha=9713d51ac8027060d41521904dbc83cce8bb4c77 [2023-01-18T01:05:33.160Z] ---> Running in 82d6842400e0 [2023-01-18T01:05:33.160Z] Removing intermediate container 82d6842400e0 [2023-01-18T01:05:33.160Z] ---> a492eee15cc0 [2023-01-18T01:05:33.160Z] Step 24/24 : LABEL version=0.0.0 [2023-01-18T01:05:33.160Z] ---> Running in 1ca5293e2708 [2023-01-18T01:05:33.420Z] Removing intermediate container 1ca5293e2708 [2023-01-18T01:05:33.420Z] ---> 318926734a77 [2023-01-18T01:05:33.420Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T01:05:33.420Z] Successfully built 318926734a77 [2023-01-18T01:05:33.420Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:05:34.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T01:05:34.244Z] [2023-01-18T01:05:34.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:05:34.630Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T01:05:34.630Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-18T01:05:34.630Z] 5eb5b503b376: Pulling fs layer [2023-01-18T01:05:34.630Z] 5c69ac0246d0: Pulling fs layer [2023-01-18T01:05:34.630Z] ec43610c2a17: Pulling fs layer [2023-01-18T01:05:34.630Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-18T01:05:34.630Z] 33b1e0a273af: Pulling fs layer [2023-01-18T01:05:34.630Z] 5d3b04190fa2: Pulling fs layer [2023-01-18T01:05:34.630Z] 2f39f015ded8: Pulling fs layer [2023-01-18T01:05:34.630Z] 33b1e0a273af: Waiting [2023-01-18T01:05:34.630Z] 5d3b04190fa2: Waiting [2023-01-18T01:05:34.630Z] 2f39f015ded8: Waiting [2023-01-18T01:05:34.630Z] 3a2ae6a8a46f: Waiting [2023-01-18T01:05:34.630Z] 5c69ac0246d0: Verifying Checksum [2023-01-18T01:05:34.630Z] 5c69ac0246d0: Download complete [2023-01-18T01:05:34.630Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-18T01:05:34.630Z] 3a2ae6a8a46f: Download complete [2023-01-18T01:05:34.892Z] 33b1e0a273af: Verifying Checksum [2023-01-18T01:05:34.892Z] 33b1e0a273af: Download complete [2023-01-18T01:05:34.892Z] 5d3b04190fa2: Verifying Checksum [2023-01-18T01:05:34.892Z] 5d3b04190fa2: Download complete [2023-01-18T01:05:34.892Z] ec43610c2a17: Download complete [2023-01-18T01:05:35.152Z] 5eb5b503b376: Verifying Checksum [2023-01-18T01:05:35.153Z] 5eb5b503b376: Download complete [2023-01-18T01:05:35.721Z] 2f39f015ded8: Verifying Checksum [2023-01-18T01:05:35.721Z] 2f39f015ded8: Download complete [2023-01-18T01:05:35.980Z] 5eb5b503b376: Pull complete [2023-01-18T01:05:36.237Z] 5c69ac0246d0: Pull complete [2023-01-18T01:05:36.804Z] ec43610c2a17: Pull complete [2023-01-18T01:05:36.804Z] 3a2ae6a8a46f: Pull complete [2023-01-18T01:05:36.804Z] 33b1e0a273af: Pull complete [2023-01-18T01:05:37.062Z] 5d3b04190fa2: Pull complete [2023-01-18T01:05:41.251Z] 2f39f015ded8: Pull complete [2023-01-18T01:05:41.251Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-18T01:05:41.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T01:05:41.251Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:05:41.501Z] prd-ubuntu20.04-docker-8c-8g-2856 does not seem to be running inside a container [2023-01-18T01:05:41.534Z] $ 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-457 -v /w/workspace/gexfoundry_device-mqtt-go_PR-457:/w/workspace/gexfoundry_device-mqtt-go_PR-457:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T01:05:46.594Z] $ docker top bda27554a561a0bed7ce26dc8ddc44a0cd6473d233ea1ccb9c4dff46edb05e9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:05:47.058Z] ---> job-cost.sh [2023-01-18T01:05:47.058Z] lf-activate-venv: SKIPPING [2023-01-18T01:05:47.058Z] INFO: No Stack... [2023-01-18T01:05:47.633Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T01:05:47.894Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T01:05:48.212Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-457/archives/cost.csv [2023-01-18T01:05:48.212Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T01:05:48.251Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-457-1-stack-cost] [2023-01-18T01:05:48.256Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-457-1-stack-cost] did not exist. Created. [2023-01-18T01:05:48.256Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T01:05:48.656Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-18T01:05:48.717Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T01:05:48.740Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T01:05:48.836Z] $ docker stop --time=1 bda27554a561a0bed7ce26dc8ddc44a0cd6473d233ea1ccb9c4dff46edb05e9d [2023-01-18T01:05:49.995Z] $ docker rm -f --volumes bda27554a561a0bed7ce26dc8ddc44a0cd6473d233ea1ccb9c4dff46edb05e9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-18T01:06:19.395Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2860 in /w/workspace/gexfoundry_device-mqtt-go_PR-457 [Pipeline] { [Pipeline] ws [2023-01-18T01:06:19.453Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-18T01:06:19.533Z] Selected Git installation does not exist. Using Default [2023-01-18T01:06:19.533Z] The recommended git tool is: NONE [2023-01-18T01:06:25.744Z] using credential edgex-jenkins-ssh [2023-01-18T01:06:25.762Z] Cloning the remote Git repository [2023-01-18T01:06:25.820Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-18T01:06:25.911Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-18T01:06:26.101Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-18T01:06:26.103Z] > git --version # timeout=10 [2023-01-18T01:06:26.135Z] > git --version # 'git version 2.25.1' [2023-01-18T01:06:26.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T01:06:26.210Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T01:06:27.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-18T01:06:27.516Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-18T01:06:29.340Z] Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit 9713d51ac8027060d41521904dbc83cce8bb4c77 [2023-01-18T01:06:29.612Z] Merge succeeded, producing 9713d51ac8027060d41521904dbc83cce8bb4c77 [2023-01-18T01:06:29.613Z] Checking out Revision 9713d51ac8027060d41521904dbc83cce8bb4c77 (PR-457) [2023-01-18T01:06:28.673Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-18T01:06:28.732Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-18T01:06:28.733Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T01:06:28.753Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/457/head:refs/remotes/origin/PR-457 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-18T01:06:29.360Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T01:06:29.385Z] > git checkout -f 9713d51ac8027060d41521904dbc83cce8bb4c77 # timeout=10 [2023-01-18T01:06:29.491Z] > git remote # timeout=10 [2023-01-18T01:06:29.511Z] > git config --get remote.origin.url # timeout=10 [2023-01-18T01:06:29.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-18T01:06:29.556Z] > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 [2023-01-18T01:06:29.594Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-18T01:06:29.622Z] > git config core.sparsecheckout # timeout=10 [2023-01-18T01:06:29.641Z] > git checkout -f 9713d51ac8027060d41521904dbc83cce8bb4c77 # timeout=10 [2023-01-18T01:06:30.182Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-18T01:06:30.241Z] > git --version # timeout=10 [2023-01-18T01:06:30.254Z] > git --version # 'git version 2.25.1' [2023-01-18T01:06:30.288Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T01:06:31.491Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-18T01:06:31.491Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T01:06:31.491Z] Dload Upload Total Spent Left Speed [2023-01-18T01:06:31.491Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-01-18T01:06:32.133Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-18T01:06:32.478Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-18T01:06:32.478Z] + sudo tee /etc/docker/daemon.new [2023-01-18T01:06:32.478Z] { [2023-01-18T01:06:32.478Z] "registry-mirrors": [ [2023-01-18T01:06:32.478Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-18T01:06:32.478Z] ], [2023-01-18T01:06:32.478Z] "bip": "10.250.0.254/24", [2023-01-18T01:06:32.478Z] "hosts": [ [2023-01-18T01:06:32.478Z] "tcp://0.0.0.0:5555", [2023-01-18T01:06:32.478Z] "unix:///var/run/docker.sock" [2023-01-18T01:06:32.478Z] ], [2023-01-18T01:06:32.478Z] "mtu": 1458, [2023-01-18T01:06:32.478Z] "selinux-enabled": true, [2023-01-18T01:06:32.478Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-18T01:06:32.478Z] } [Pipeline] sh [2023-01-18T01:06:32.853Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-18T01:06:33.225Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T01:06:51.640Z] provisioning config files... [2023-01-18T01:06:51.672Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2522148459531620821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:06:52.069Z] ---> docker-login.sh [2023-01-18T01:06:52.069Z] nexus3.edgexfoundry.org:10001 [2023-01-18T01:06:52.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:06:52.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:06:52.667Z] Configure a credential helper to remove this warning. See [2023-01-18T01:06:52.667Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:06:52.667Z] [2023-01-18T01:06:52.667Z] Login Succeeded [2023-01-18T01:06:52.937Z] nexus3.edgexfoundry.org:10002 [2023-01-18T01:06:52.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:06:53.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:06:53.208Z] Configure a credential helper to remove this warning. See [2023-01-18T01:06:53.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:06:53.208Z] [2023-01-18T01:06:53.208Z] Login Succeeded [2023-01-18T01:06:53.208Z] nexus3.edgexfoundry.org:10003 [2023-01-18T01:06:53.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:06:53.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:06:53.478Z] Configure a credential helper to remove this warning. See [2023-01-18T01:06:53.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:06:53.478Z] [2023-01-18T01:06:53.478Z] Login Succeeded [2023-01-18T01:06:53.478Z] nexus3.edgexfoundry.org:10004 [2023-01-18T01:06:53.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:06:53.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:06:53.748Z] Configure a credential helper to remove this warning. See [2023-01-18T01:06:53.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:06:53.748Z] [2023-01-18T01:06:54.016Z] Login Succeeded [2023-01-18T01:06:54.016Z] docker.io [2023-01-18T01:06:54.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-18T01:06:54.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-18T01:06:54.287Z] Configure a credential helper to remove this warning. See [2023-01-18T01:06:54.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-18T01:06:54.287Z] [2023-01-18T01:06:54.287Z] Login Succeeded [2023-01-18T01:06:54.287Z] ---> docker-login.sh ends [Pipeline] } [2023-01-18T01:06:54.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-18T01:06:54.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T01:06:54.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-18T01:06:54.803Z] ========================================================= [2023-01-18T01:06:54.803Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-18T01:06:54.803Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:06:55.468Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-18T01:06:55.741Z] Sending build context to Docker daemon 3.294MB [2023-01-18T01:06:55.741Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T01:06:55.741Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-18T01:06:56.015Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-18T01:06:56.015Z] 9b18e9b68314: Pulling fs layer [2023-01-18T01:06:56.015Z] 35d82f9e3411: Pulling fs layer [2023-01-18T01:06:56.015Z] e16973657156: Pulling fs layer [2023-01-18T01:06:56.015Z] fc693d55d65f: Pulling fs layer [2023-01-18T01:06:56.015Z] 7e9fc2657dce: Pulling fs layer [2023-01-18T01:06:56.015Z] dda99020689f: Pulling fs layer [2023-01-18T01:06:56.015Z] db1c61fa0a46: Pulling fs layer [2023-01-18T01:06:56.015Z] 891c053d2c06: Pulling fs layer [2023-01-18T01:06:56.015Z] 7e9fc2657dce: Waiting [2023-01-18T01:06:56.015Z] dda99020689f: Waiting [2023-01-18T01:06:56.015Z] db1c61fa0a46: Waiting [2023-01-18T01:06:56.015Z] 891c053d2c06: Waiting [2023-01-18T01:06:56.015Z] e16973657156: Download complete [2023-01-18T01:06:56.015Z] 35d82f9e3411: Download complete [2023-01-18T01:06:56.015Z] 7e9fc2657dce: Download complete [2023-01-18T01:06:56.015Z] dda99020689f: Download complete [2023-01-18T01:06:56.015Z] 9b18e9b68314: Verifying Checksum [2023-01-18T01:06:56.997Z] 9b18e9b68314: Pull complete [2023-01-18T01:06:56.997Z] 891c053d2c06: Verifying Checksum [2023-01-18T01:06:56.997Z] 891c053d2c06: Download complete [2023-01-18T01:06:57.593Z] 35d82f9e3411: Pull complete [2023-01-18T01:06:57.865Z] e16973657156: Pull complete [2023-01-18T01:06:58.456Z] db1c61fa0a46: Verifying Checksum [2023-01-18T01:06:58.456Z] db1c61fa0a46: Download complete [2023-01-18T01:06:59.063Z] fc693d55d65f: Verifying Checksum [2023-01-18T01:06:59.063Z] fc693d55d65f: Download complete [2023-01-18T01:07:11.407Z] fc693d55d65f: Pull complete [2023-01-18T01:07:11.407Z] 7e9fc2657dce: Pull complete [2023-01-18T01:07:11.407Z] dda99020689f: Pull complete [2023-01-18T01:07:18.096Z] db1c61fa0a46: Pull complete [2023-01-18T01:07:20.180Z] 891c053d2c06: Pull complete [2023-01-18T01:07:20.180Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-18T01:07:20.180Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-18T01:07:20.180Z] ---> f96f9c87975a [2023-01-18T01:07:20.180Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-18T01:07:22.216Z] ---> Running in 975e0c39773d [2023-01-18T01:07:22.216Z] Removing intermediate container 975e0c39773d [2023-01-18T01:07:22.216Z] ---> a8e3cc069af4 [2023-01-18T01:07:22.216Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T01:07:22.486Z] ---> Running in 1c3fe037ab71 [2023-01-18T01:07:22.757Z] Removing intermediate container 1c3fe037ab71 [2023-01-18T01:07:22.757Z] ---> da0099d566c5 [2023-01-18T01:07:22.757Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T01:07:22.757Z] ---> Running in 84ac67eaf4b5 [2023-01-18T01:07:23.029Z] Removing intermediate container 84ac67eaf4b5 [2023-01-18T01:07:23.029Z] ---> 15bec700c42e [2023-01-18T01:07:23.029Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T01:07:23.302Z] ---> Running in 5bdf937141ea [2023-01-18T01:07:23.572Z] Removing intermediate container 5bdf937141ea [2023-01-18T01:07:23.572Z] ---> 402028f69a83 [2023-01-18T01:07:23.572Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T01:07:23.572Z] ---> Running in 81db7c624c63 [2023-01-18T01:07:25.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T01:07:25.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T01:07:26.240Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-18T01:07:26.240Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-18T01:07:26.240Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-18T01:07:26.510Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-18T01:07:26.510Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T01:07:26.510Z] OK: 226 MiB in 55 packages [2023-01-18T01:07:27.476Z] Removing intermediate container 81db7c624c63 [2023-01-18T01:07:27.476Z] ---> 77b5893276d6 [2023-01-18T01:07:27.476Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-18T01:07:27.476Z] ---> Running in c3979b081b29 [2023-01-18T01:07:28.066Z] Removing intermediate container c3979b081b29 [2023-01-18T01:07:28.066Z] ---> 1ecf83c1addd [2023-01-18T01:07:28.066Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-18T01:07:28.335Z] ---> f923400c0757 [2023-01-18T01:07:28.335Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T01:07:28.606Z] ---> Running in be550325e0ba [2023-01-18T01:08:36.540Z] Removing intermediate container be550325e0ba [2023-01-18T01:08:36.540Z] ---> bacd46484e86 [2023-01-18T01:08:36.540Z] Step 11/12 : COPY . . [2023-01-18T01:08:37.126Z] ---> a6621f946d56 [2023-01-18T01:08:37.126Z] Step 12/12 : RUN $MAKE [2023-01-18T01:08:37.126Z] ---> Running in a91a4ce88a17 [2023-01-18T01:08:38.093Z] noop [2023-01-18T01:08:38.681Z] Removing intermediate container a91a4ce88a17 [2023-01-18T01:08:38.681Z] ---> 2b288a560cd7 [2023-01-18T01:08:38.681Z] Successfully built 2b288a560cd7 [2023-01-18T01:08:38.681Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:08:39.192Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T01:08:39.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:08:39.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-2860 does not seem to be running inside a container [2023-01-18T01:08:39.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T01:08:40.895Z] $ docker top 4fa0ca96994910cbe747940536f80209076f93e5b5abae741ab9b29cd7ffc6d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:08:41.827Z] + go version [2023-01-18T01:08:41.827Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-18T01:08:41.871Z] $ docker stop --time=1 4fa0ca96994910cbe747940536f80209076f93e5b5abae741ab9b29cd7ffc6d3 [2023-01-18T01:08:43.612Z] $ docker rm -f --volumes 4fa0ca96994910cbe747940536f80209076f93e5b5abae741ab9b29cd7ffc6d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:08:44.495Z] + docker inspect -f . ci-base-image-arm64 [2023-01-18T01:08:44.495Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:08:44.851Z] prd-ubuntu20.04-docker-arm64-4c-16g-2860 does not seem to be running inside a container [2023-01-18T01:08:44.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-18T01:08:46.255Z] $ docker top 7c7c860cc26ce6969d875377f7011a3775a4a59e4acd01ae42adcfd2da132a6a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:08:47.191Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-18T01:08:47.928Z] + make test [2023-01-18T01:08:47.928Z] go test ./... -coverprofile=coverage.out ./... [2023-01-18T01:08:49.885Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-18T01:10:26.583Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-18T01:10:26.583Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 21.8% of statements [2023-01-18T01:10:26.583Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-18T01:10:26.583Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-18T01:10:26.583Z] go vet ./... [2023-01-18T01:10:48.696Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-18T01:10:48.696Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-18T01:10:48.696Z] ./bin/test-attribution-txt.sh [2023-01-18T01:10:48.696Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-01-18T01:10:48.696Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-01-18T01:10:48.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-18T01:10:48.762Z] $ docker stop --time=1 7c7c860cc26ce6969d875377f7011a3775a4a59e4acd01ae42adcfd2da132a6a [2023-01-18T01:10:50.709Z] $ docker rm -f --volumes 7c7c860cc26ce6969d875377f7011a3775a4a59e4acd01ae42adcfd2da132a6a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-18T01:10:51.989Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-18T01:10:52.041Z] Warning: overwriting stash ‘coverage-report’ [2023-01-18T01:10:52.758Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-18T01:10:53.347Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-18T01:10:53.706Z] + ls -al . [2023-01-18T01:10:53.706Z] total 180 [2023-01-18T01:10:53.706Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 18 01:08 . [2023-01-18T01:10:53.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 01:06 .. [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 18 01:06 .dockerignore [2023-01-18T01:10:53.706Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 18 01:06 .git [2023-01-18T01:10:53.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:06 .github [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 18 01:06 .gitignore [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 18 01:06 .golangci.yml [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 9189 Jan 18 01:06 Attribution.txt [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 18 01:06 CHANGELOG.md [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 1689 Jan 18 01:06 Dockerfile [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 18 01:06 GOVERNANCE.md [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 18 01:06 Jenkinsfile [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 18 01:06 LICENSE [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 1697 Jan 18 01:06 Makefile [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 18 01:06 OWNERS.md [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 18 01:06 README.md [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 18 01:03 VERSION [2023-01-18T01:10:53.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:06 bin [2023-01-18T01:10:53.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:06 cmd [2023-01-18T01:10:53.706Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 18 01:10 coverage.out [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 3430 Jan 18 01:06 go.mod [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 34856 Jan 18 01:06 go.sum [2023-01-18T01:10:53.706Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 18 01:06 internal [2023-01-18T01:10:53.706Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 18 01:06 mock [2023-01-18T01:10:53.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 18 01:06 snap [2023-01-18T01:10:53.706Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 18 01:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:10:54.127Z] + 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=9713d51ac8027060d41521904dbc83cce8bb4c77 --label arch=arm64 --label version=0.0.0 . [2023-01-18T01:10:55.092Z] Sending build context to Docker daemon 3.312MB [2023-01-18T01:10:55.092Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-18T01:10:55.092Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-18T01:10:55.092Z] ---> 2b288a560cd7 [2023-01-18T01:10:55.092Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-18T01:10:55.366Z] ---> Running in 039acc85a56a [2023-01-18T01:10:55.634Z] Removing intermediate container 039acc85a56a [2023-01-18T01:10:55.634Z] ---> 6ed872a7e4b2 [2023-01-18T01:10:55.634Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-18T01:10:55.902Z] ---> Running in e9425dac995c [2023-01-18T01:10:56.488Z] Removing intermediate container e9425dac995c [2023-01-18T01:10:56.488Z] ---> e0856704db4c [2023-01-18T01:10:56.488Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-18T01:10:56.488Z] ---> Running in 2419a2785e04 [2023-01-18T01:10:57.077Z] Removing intermediate container 2419a2785e04 [2023-01-18T01:10:57.077Z] ---> a4ac4f9680af [2023-01-18T01:10:57.077Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-18T01:10:57.077Z] ---> Running in c6da35aeda2a [2023-01-18T01:10:57.671Z] Removing intermediate container c6da35aeda2a [2023-01-18T01:10:57.671Z] ---> f0f254d1c396 [2023-01-18T01:10:57.671Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-18T01:10:57.671Z] ---> Running in cbb264c7eec8 [2023-01-18T01:10:58.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T01:10:59.225Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T01:11:00.646Z] OK: 226 MiB in 55 packages [2023-01-18T01:11:02.081Z] Removing intermediate container cbb264c7eec8 [2023-01-18T01:11:02.081Z] ---> 333e2dda3b8e [2023-01-18T01:11:02.081Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-18T01:11:02.081Z] ---> Running in 1bac4583630e [2023-01-18T01:11:02.671Z] Removing intermediate container 1bac4583630e [2023-01-18T01:11:02.671Z] ---> 7de48cacd625 [2023-01-18T01:11:02.671Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-18T01:11:03.261Z] ---> 560966a44246 [2023-01-18T01:11:03.262Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-18T01:11:03.531Z] ---> Running in f8e47e85c8d0 [2023-01-18T01:11:06.909Z] Removing intermediate container f8e47e85c8d0 [2023-01-18T01:11:06.909Z] ---> 6937d20938fe [2023-01-18T01:11:06.909Z] Step 11/24 : COPY . . [2023-01-18T01:11:07.884Z] ---> 770264c5333f [2023-01-18T01:11:07.884Z] Step 12/24 : RUN $MAKE [2023-01-18T01:11:07.884Z] ---> Running in 4842f758bcdb [2023-01-18T01:11:09.327Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-01-18T01:13:31.057Z] Removing intermediate container 4842f758bcdb [2023-01-18T01:13:31.057Z] ---> dd7bbde91f1b [2023-01-18T01:13:31.057Z] Step 13/24 : FROM alpine:3.16 [2023-01-18T01:13:31.057Z] 3.16: Pulling from library/alpine [2023-01-18T01:13:31.057Z] 6875df1f5354: Pulling fs layer [2023-01-18T01:13:31.057Z] 6875df1f5354: Verifying Checksum [2023-01-18T01:13:31.057Z] 6875df1f5354: Download complete [2023-01-18T01:13:31.057Z] 6875df1f5354: Pull complete [2023-01-18T01:13:31.057Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-18T01:13:31.057Z] Status: Downloaded newer image for alpine:3.16 [2023-01-18T01:13:31.057Z] ---> 2b4661558fb8 [2023-01-18T01:13:31.057Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-18T01:13:31.057Z] ---> Running in 67108fb2904f [2023-01-18T01:13:31.057Z] Removing intermediate container 67108fb2904f [2023-01-18T01:13:31.057Z] ---> e2dd77ef0516 [2023-01-18T01:13:31.057Z] Step 15/24 : RUN apk add --update --no-cache dumb-init [2023-01-18T01:13:31.057Z] ---> Running in 14d8caad929a [2023-01-18T01:13:31.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-18T01:13:31.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-18T01:13:31.057Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-18T01:13:31.057Z] Executing busybox-1.35.0-r17.trigger [2023-01-18T01:13:31.057Z] OK: 5 MiB in 15 packages [2023-01-18T01:13:33.644Z] Removing intermediate container 14d8caad929a [2023-01-18T01:13:33.644Z] ---> afb73b327775 [2023-01-18T01:13:33.644Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-18T01:13:35.053Z] ---> 4c7131ab6d8b [2023-01-18T01:13:35.053Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-18T01:13:35.320Z] ---> d29a024c57a8 [2023-01-18T01:13:35.320Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-18T01:13:35.903Z] ---> b1568a01c5cc [2023-01-18T01:13:35.903Z] Step 19/24 : EXPOSE 59982 [2023-01-18T01:13:35.903Z] ---> Running in c4653ccde9ba [2023-01-18T01:13:36.169Z] Removing intermediate container c4653ccde9ba [2023-01-18T01:13:36.169Z] ---> b8f544ca8754 [2023-01-18T01:13:36.169Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-18T01:13:36.169Z] ---> Running in a399d212929e [2023-01-18T01:13:36.439Z] Removing intermediate container a399d212929e [2023-01-18T01:13:36.439Z] ---> d5d79c6b3f42 [2023-01-18T01:13:36.439Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-18T01:13:36.439Z] ---> Running in 7b3f3a8e1d87 [2023-01-18T01:13:36.717Z] Removing intermediate container 7b3f3a8e1d87 [2023-01-18T01:13:36.717Z] ---> 5e58b681aa84 [2023-01-18T01:13:36.717Z] Step 22/24 : LABEL arch=arm64 [2023-01-18T01:13:36.986Z] ---> Running in 3044f032f108 [2023-01-18T01:13:37.252Z] Removing intermediate container 3044f032f108 [2023-01-18T01:13:37.252Z] ---> e1d410669e56 [2023-01-18T01:13:37.252Z] Step 23/24 : LABEL git_sha=9713d51ac8027060d41521904dbc83cce8bb4c77 [2023-01-18T01:13:37.252Z] ---> Running in 1fbebc774ca3 [2023-01-18T01:13:37.520Z] Removing intermediate container 1fbebc774ca3 [2023-01-18T01:13:37.520Z] ---> 648507c4a725 [2023-01-18T01:13:37.520Z] Step 24/24 : LABEL version=0.0.0 [2023-01-18T01:13:37.520Z] ---> Running in c85939327ace [2023-01-18T01:13:38.103Z] Removing intermediate container c85939327ace [2023-01-18T01:13:38.103Z] ---> 2f63cd1543e4 [2023-01-18T01:13:38.103Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-18T01:13:38.103Z] Successfully built 2f63cd1543e4 [2023-01-18T01:13:38.103Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:13:38.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T01:13:38.907Z] [2023-01-18T01:13:38.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:13:39.306Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T01:13:39.576Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-18T01:13:39.576Z] 8998bd30e6a1: Pulling fs layer [2023-01-18T01:13:39.576Z] 04944245beec: Pulling fs layer [2023-01-18T01:13:39.576Z] 699f458cf7ca: Pulling fs layer [2023-01-18T01:13:39.576Z] 765212b225bb: Pulling fs layer [2023-01-18T01:13:39.576Z] f23df028b6ca: Pulling fs layer [2023-01-18T01:13:39.576Z] d65c8cfc05b1: Pulling fs layer [2023-01-18T01:13:39.576Z] 2437ff75d9bd: Pulling fs layer [2023-01-18T01:13:39.576Z] 765212b225bb: Waiting [2023-01-18T01:13:39.576Z] d65c8cfc05b1: Waiting [2023-01-18T01:13:39.576Z] f23df028b6ca: Waiting [2023-01-18T01:13:39.576Z] 2437ff75d9bd: Waiting [2023-01-18T01:13:39.576Z] 04944245beec: Verifying Checksum [2023-01-18T01:13:39.576Z] 04944245beec: Download complete [2023-01-18T01:13:39.576Z] 765212b225bb: Verifying Checksum [2023-01-18T01:13:39.576Z] 765212b225bb: Download complete [2023-01-18T01:13:39.856Z] f23df028b6ca: Download complete [2023-01-18T01:13:39.856Z] d65c8cfc05b1: Verifying Checksum [2023-01-18T01:13:39.856Z] d65c8cfc05b1: Download complete [2023-01-18T01:13:39.856Z] 699f458cf7ca: Verifying Checksum [2023-01-18T01:13:39.856Z] 699f458cf7ca: Download complete [2023-01-18T01:13:40.125Z] 8998bd30e6a1: Verifying Checksum [2023-01-18T01:13:40.125Z] 8998bd30e6a1: Download complete [2023-01-18T01:13:42.870Z] 2437ff75d9bd: Verifying Checksum [2023-01-18T01:13:42.870Z] 2437ff75d9bd: Download complete [2023-01-18T01:13:45.549Z] 8998bd30e6a1: Pull complete [2023-01-18T01:13:45.838Z] 04944245beec: Pull complete [2023-01-18T01:13:47.270Z] 699f458cf7ca: Pull complete [2023-01-18T01:13:47.538Z] 765212b225bb: Pull complete [2023-01-18T01:13:48.129Z] f23df028b6ca: Pull complete [2023-01-18T01:13:48.399Z] d65c8cfc05b1: Pull complete [2023-01-18T01:14:03.402Z] 2437ff75d9bd: Pull complete [2023-01-18T01:14:03.402Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-18T01:14:03.402Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-18T01:14:03.402Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:14:03.734Z] prd-ubuntu20.04-docker-arm64-4c-16g-2860 does not seem to be running inside a container [2023-01-18T01:14:03.809Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-18T01:14:06.491Z] $ docker top 60eb6c86a0fa57c2be333566fe60d89c020a092620fd6c1848da49ff0d9c58b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:14:07.501Z] ---> job-cost.sh [2023-01-18T01:14:07.501Z] lf-activate-venv: SKIPPING [2023-01-18T01:14:07.501Z] INFO: No Stack... [2023-01-18T01:14:07.768Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-18T01:14:08.763Z] INFO: Archiving Costs [Pipeline] sh [2023-01-18T01:14:09.450Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-01-18T01:14:09.450Z] + cut -d, -f6 [Pipeline] lock [2023-01-18T01:14:09.539Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-457-1-stack-cost] [2023-01-18T01:14:09.544Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-457-1-stack-cost] did not exist. Created. [2023-01-18T01:14:09.544Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-457-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-18T01:14:10.044Z] /w/workspace/device-mqtt-go/1@tmp/durable-dbb9c7e3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-18T01:14:10.399Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-18T01:14:10.435Z] Warning: overwriting stash ‘stack-cost’ [2023-01-18T01:14:10.497Z] Stashed 1 file(s) [Pipeline] } [2023-01-18T01:14:10.512Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-457-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-18T01:14:10.591Z] $ docker stop --time=1 60eb6c86a0fa57c2be333566fe60d89c020a092620fd6c1848da49ff0d9c58b0 [2023-01-18T01:14:12.069Z] $ docker rm -f --volumes 60eb6c86a0fa57c2be333566fe60d89c020a092620fd6c1848da49ff0d9c58b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-18T01:14:13.066Z] provisioning config files... [2023-01-18T01:14:13.073Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp/config1712213632276992278tmp [Pipeline] { [Pipeline] sh [2023-01-18T01:14:13.410Z] + set +x [2023-01-18T01:14:13.410Z] + curl -s https://codecov.io/bash [2023-01-18T01:14:13.410Z] + bash -s -- [2023-01-18T01:14:13.410Z] [2023-01-18T01:14:13.410Z] _____ _ [2023-01-18T01:14:13.410Z] / ____| | | [2023-01-18T01:14:13.410Z] | | ___ __| | ___ ___ _____ __ [2023-01-18T01:14:13.410Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-18T01:14:13.410Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-18T01:14:13.410Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-18T01:14:13.410Z] Bash-1.0.6 [2023-01-18T01:14:13.410Z] [2023-01-18T01:14:13.410Z] [2023-01-18T01:14:13.410Z] ==> git version 2.25.1 found [2023-01-18T01:14:13.410Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-18T01:14:13.410Z] Release-Date: 2020-01-08 [2023-01-18T01:14:13.410Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-18T01:14:13.410Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-18T01:14:13.410Z] ==> Jenkins CI detected. [2023-01-18T01:14:13.410Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-457 [2023-01-18T01:14:13.410Z] project root: . [2023-01-18T01:14:13.410Z] --> token set from env [2023-01-18T01:14:13.410Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-18T01:14:13.411Z] ==> Running gcov in . (disable via -X gcov) [2023-01-18T01:14:13.411Z] ==> Python coveragepy not found [2023-01-18T01:14:13.411Z] ==> Searching for coverage reports in: [2023-01-18T01:14:13.411Z] + . [2023-01-18T01:14:13.411Z] -> Found 1 reports [2023-01-18T01:14:13.411Z] ==> Detecting git/mercurial file structure [2023-01-18T01:14:13.411Z] ==> Reading reports [2023-01-18T01:14:13.670Z] + ./coverage.out bytes=17887 [2023-01-18T01:14:13.670Z] ==> Appending adjustments [2023-01-18T01:14:13.670Z] https://docs.codecov.io/docs/fixing-reports [2023-01-18T01:14:13.670Z] + Found adjustments [2023-01-18T01:14:13.670Z] ==> Gzipping contents [2023-01-18T01:14:13.670Z] 4.0K /tmp/codecov.he97LD.gz [2023-01-18T01:14:13.670Z] ==> Uploading reports [2023-01-18T01:14:13.670Z] url: https://codecov.io [2023-01-18T01:14:13.670Z] query: branch=PR-457&commit=9713d51ac8027060d41521904dbc83cce8bb4c77&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=457&job=&cmd_args= [2023-01-18T01:14:13.670Z] -> Pinging Codecov [2023-01-18T01:14:13.670Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-457&commit=9713d51ac8027060d41521904dbc83cce8bb4c77&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-457%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=457&job=&cmd_args= [2023-01-18T01:14:13.930Z] -> Uploading to [2023-01-18T01:14:13.930Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-18/7D719EC7BBE17E464838252E33014C33/9713d51ac8027060d41521904dbc83cce8bb4c77/90e9addc-bfb2-4966-9593-70a32e2b87f6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230118T011413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4c5ec48fb8b1a0058d1882530635c79556c672848ccc73a4588c778e6df2a653 [2023-01-18T01:14:13.930Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-18T01:14:13.930Z] Dload Upload Total Spent Left Speed [2023-01-18T01:14:14.189Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 14484 --:--:-- --:--:-- --:--:-- 14418 100 3201 0 0 100 3201 0 11640 --:--:-- --:--:-- --:--:-- 11597 [2023-01-18T01:14:14.189Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/9713d51ac8027060d41521904dbc83cce8bb4c77 [Pipeline] } [2023-01-18T01:14:14.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-18T01:14:16.088Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-457/archives ] [2023-01-18T01:14:16.088Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-457/archives [2023-01-18T01:14:16.088Z] total 16 [2023-01-18T01:14:16.088Z] drwxr-xr-x 3 root root 4096 Jan 18 01:05 . [2023-01-18T01:14:16.088Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 18 01:05 .. [2023-01-18T01:14:16.088Z] drwxr-xr-x 2 root root 4096 Jan 18 01:05 cost [2023-01-18T01:14:16.088Z] -rw-r--r-- 1 root root 86 Jan 18 01:05 cost.csv [2023-01-18T01:14:16.088Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-457/archives [2023-01-18T01:14:16.088Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-457/archives [2023-01-18T01:14:16.088Z] total 16 [2023-01-18T01:14:16.088Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 18 01:05 . [2023-01-18T01:14:16.088Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 18 01:05 .. [2023-01-18T01:14:16.088Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 18 01:05 cost [2023-01-18T01:14:16.088Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 18 01:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:14:16.433Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:14:17.330Z] ---> package-listing.sh [2023-01-18T01:14:17.330Z] ++ facter osfamily [2023-01-18T01:14:17.330Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-18T01:14:17.590Z] + OS_FAMILY=debian [2023-01-18T01:14:17.590Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-457 [2023-01-18T01:14:17.590Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-18T01:14:17.590Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-18T01:14:17.590Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-18T01:14:17.590Z] + PACKAGES=/tmp/packages_start.txt [2023-01-18T01:14:17.590Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-457 ']' [2023-01-18T01:14:17.590Z] + PACKAGES=/tmp/packages_end.txt [2023-01-18T01:14:17.590Z] + case "${OS_FAMILY}" in [2023-01-18T01:14:17.590Z] + dpkg -l [2023-01-18T01:14:17.590Z] + grep '^ii' [2023-01-18T01:14:17.590Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-18T01:14:17.590Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-18T01:14:17.590Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-18T01:14:17.590Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-457 ']' [2023-01-18T01:14:17.590Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-457/archives/ [2023-01-18T01:14:17.590Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-457/archives/ [Pipeline] echo [2023-01-18T01:14:17.629Z] 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-457/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-18T01:14:17.924Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-18T01:14:18.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-18T01:14:18.556Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-18T01:14:18.713Z] prd-ubuntu20.04-docker-8c-8g-2856 does not seem to be running inside a container [2023-01-18T01:14:18.743Z] $ 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-457/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-457 -v /w/workspace/gexfoundry_device-mqtt-go_PR-457:/w/workspace/gexfoundry_device-mqtt-go_PR-457:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-18T01:14:18.934Z] $ docker top 2af438f623d1ae628e690224abbde3a79f6c2267482002689931282ca8c5580e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-18T01:14:19.334Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-18T01:14:19.659Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-18T01:14:19.973Z] + ls /var/log/sa-host [2023-01-18T01:14:19.973Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-18T01:14:20.133Z] provisioning config files... [2023-01-18T01:14:20.146Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-457@tmp/config3447528499696576534tmp [Pipeline] { [Pipeline] echo [2023-01-18T01:14:20.206Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:14:20.534Z] ---> create-netrc.sh [Pipeline] } [2023-01-18T01:14:20.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:14:20.974Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-18T01:14:21.007Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:14:21.327Z] ---> sudo-logs.sh [2023-01-18T01:14:21.327Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-18T01:14:21.452Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:14:21.781Z] ---> job-cost.sh [2023-01-18T01:14:21.781Z] lf-activate-venv: SKIPPING [2023-01-18T01:14:21.781Z] DEBUG: total: 0.2199999988079071 [2023-01-18T01:14:21.781Z] INFO: Retrieving Stack Cost... [2023-01-18T01:14:22.352Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-18T01:14:22.612Z] INFO: Archiving Costs [Pipeline] echo [2023-01-18T01:14:22.654Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-18T01:14:22.976Z] ---> logs-deploy.sh [2023-01-18T01:14:22.976Z] lf-activate-venv: SKIPPING [2023-01-18T01:14:22.976Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-457/1 [2023-01-18T01:14:22.976Z] INFO: archiving workspace using pattern(s): [2023-01-18T01:14:23.916Z] Archives upload complete. [2023-01-18T01:14:23.916Z] INFO: archiving logs to Nexus