Pull request #447 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 910799aae092ce562946993924ed23410661650b+fe528491bba3fee0f8df2cff68391009d47da719 (242c789293a29756ef5917a3a7445d40daf6f781) 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-ssh12815542845951271984.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-ssh16562223527814487592.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-447/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-447/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10364142424332305506.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-447/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2805696463195534528.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-ssh10456143762477747562.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-447/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-447/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17983975145922274590.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1503’ Running on prd-ubuntu20.04-docker-8c-8g-1513 in /w/workspace/gexfoundry_device-mqtt-go_PR-447 [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-447 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fe528491bba3fee0f8df2cff68391009d47da719 into PR head commit 910799aae092ce562946993924ed23410661650b Merge succeeded, producing 910799aae092ce562946993924ed23410661650b Checking out Revision 910799aae092ce562946993924ed23410661650b (PR-447) > 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/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 910799aae092ce562946993924ed23410661650b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fe528491bba3fee0f8df2cff68391009d47da719 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 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-10T01:03:26.963Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T01:03:27.266Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git checkout -f 910799aae092ce562946993924ed23410661650b # timeout=10 [Pipeline] echo [2023-01-10T01:03:27.373Z] ========================================================= [2023-01-10T01:03:27.373Z] EdgeX Global Pipelines Version Info [2023-01-10T01:03:27.373Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:03:28.129Z] ------------------- [2023-01-10T01:03:28.129Z] stable info: [2023-01-10T01:03:28.129Z] ------------------- [2023-01-10T01:03:28.129Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T01:03:28.129Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T01:03:28.129Z] Message: update stable to v1.0.244 [2023-01-10T01:03:28.702Z] ------------------- [2023-01-10T01:03:28.702Z] experimental info: [2023-01-10T01:03:28.702Z] ------------------- [2023-01-10T01:03:28.702Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T01:03:28.702Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T01:03:28.702Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T01:03:28.990Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-01-10T01:03:29.031Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-01-10T01:03:29.068Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T01:03:29.109Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T01:03:29.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T01:03:29.219Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T01:03:29.258Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T01:03:29.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T01:03:29.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T01:03:29.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T01:03:29.424Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T01:03:29.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-01-10T01:03:29.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T01:03:29.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T01:03:29.573Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T01:03:29.613Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T01:03:29.655Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T01:03:29.694Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T01:03:29.728Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T01:03:29.765Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T01:03:29.809Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-10T01:03:29.850Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-10T01:03:29.892Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T01:03:29.931Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T01:03:29.969Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T01:03:30.015Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T01:03:30.059Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T01:03:30.094Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-447 [Pipeline] echo [2023-01-10T01:03:30.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-447 [Pipeline] echo [2023-01-10T01:03:30.168Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-447 [Pipeline] echo [2023-01-10T01:03:30.204Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 910799aae092ce562946993924ed23410661650b [Pipeline] echo [2023-01-10T01:03:30.240Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 910799a [Pipeline] echo [2023-01-10T01:03:30.279Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T01:03:30.392Z] provisioning config files... [2023-01-10T01:03:30.408Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp/config1467519996681840798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:03:30.761Z] ---> docker-login.sh [2023-01-10T01:03:30.761Z] nexus3.edgexfoundry.org:10001 [2023-01-10T01:03:31.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:31.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:31.022Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:31.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:31.022Z] [2023-01-10T01:03:31.022Z] Login Succeeded [2023-01-10T01:03:31.022Z] nexus3.edgexfoundry.org:10002 [2023-01-10T01:03:31.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:31.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:31.283Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:31.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:31.283Z] [2023-01-10T01:03:31.283Z] Login Succeeded [2023-01-10T01:03:31.283Z] nexus3.edgexfoundry.org:10003 [2023-01-10T01:03:31.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:31.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:31.283Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:31.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:31.283Z] [2023-01-10T01:03:31.283Z] Login Succeeded [2023-01-10T01:03:31.283Z] nexus3.edgexfoundry.org:10004 [2023-01-10T01:03:31.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:31.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:31.543Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:31.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:31.543Z] [2023-01-10T01:03:31.543Z] Login Succeeded [2023-01-10T01:03:31.543Z] docker.io [2023-01-10T01:03:31.543Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:31.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:31.804Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:31.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:31.804Z] [2023-01-10T01:03:31.804Z] Login Succeeded [2023-01-10T01:03:31.804Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T01:03:31.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T01:03:32.445Z] + git rev-list -1 --merges 910799aae092ce562946993924ed23410661650b~1..910799aae092ce562946993924ed23410661650b [Pipeline] echo [2023-01-10T01:03:32.512Z] -----------> git rev-list -1 --merges 910799aae092ce562946993924ed23410661650b~1..910799aae092ce562946993924ed23410661650b 910799aae092ce562946993924ed23410661650b [false] [Pipeline] sh [2023-01-10T01:03:32.826Z] + git log --format=format:%s -1 910799aae092ce562946993924ed23410661650b [Pipeline] echo [2023-01-10T01:03:32.861Z] ========================================================= [2023-01-10T01:03:32.861Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T01:03:32.861Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T01:03:33.298Z] + git log --format=format:%s -1 910799aae092ce562946993924ed23410661650b [Pipeline] echo [2023-01-10T01:03:33.331Z] [semverPrep] GIT_COMMIT: 910799aae092ce562946993924ed23410661650b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-10T01:03:33.359Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T01:03:33.760Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T01:03:33.760Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T01:03:33.760Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T01:03:33.760Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T01:03:33.760Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T01:03:33.760Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T01:03:33.760Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:03:34.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T01:03:34.270Z] [2023-01-10T01:03:34.270Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:03:34.664Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T01:03:34.664Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T01:03:34.664Z] b85a868b505f: Pulling fs layer [2023-01-10T01:03:34.664Z] e2be974225ed: Pulling fs layer [2023-01-10T01:03:34.664Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T01:03:34.664Z] 988bab9f4d93: Pulling fs layer [2023-01-10T01:03:34.664Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T01:03:34.664Z] eaf3925da568: Pulling fs layer [2023-01-10T01:03:34.664Z] bab4dde63d76: Pulling fs layer [2023-01-10T01:03:34.664Z] bde34c3a00c8: Pulling fs layer [2023-01-10T01:03:34.664Z] b352a97aabf1: Pulling fs layer [2023-01-10T01:03:34.664Z] 4872d77fe225: Pulling fs layer [2023-01-10T01:03:34.664Z] 5851b861e8e6: Pulling fs layer [2023-01-10T01:03:34.664Z] 988bab9f4d93: Waiting [2023-01-10T01:03:34.664Z] 1469e6f7b9e6: Waiting [2023-01-10T01:03:34.664Z] eaf3925da568: Waiting [2023-01-10T01:03:34.664Z] bab4dde63d76: Waiting [2023-01-10T01:03:34.664Z] bde34c3a00c8: Waiting [2023-01-10T01:03:34.664Z] b352a97aabf1: Waiting [2023-01-10T01:03:34.664Z] 4872d77fe225: Waiting [2023-01-10T01:03:34.664Z] 5851b861e8e6: Waiting [2023-01-10T01:03:34.664Z] e2be974225ed: Verifying Checksum [2023-01-10T01:03:34.664Z] e2be974225ed: Download complete [2023-01-10T01:03:34.664Z] 988bab9f4d93: Verifying Checksum [2023-01-10T01:03:34.664Z] 988bab9f4d93: Download complete [2023-01-10T01:03:34.928Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T01:03:34.928Z] 1469e6f7b9e6: Download complete [2023-01-10T01:03:34.928Z] eaf3925da568: Download complete [2023-01-10T01:03:34.928Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T01:03:34.928Z] 339a4e72a1f5: Download complete [2023-01-10T01:03:34.928Z] b352a97aabf1: Download complete [2023-01-10T01:03:34.928Z] 4872d77fe225: Download complete [2023-01-10T01:03:34.928Z] 5851b861e8e6: Verifying Checksum [2023-01-10T01:03:34.928Z] 5851b861e8e6: Download complete [2023-01-10T01:03:34.928Z] b85a868b505f: Verifying Checksum [2023-01-10T01:03:34.928Z] b85a868b505f: Download complete [2023-01-10T01:03:35.188Z] bab4dde63d76: Verifying Checksum [2023-01-10T01:03:35.188Z] bab4dde63d76: Download complete [2023-01-10T01:03:36.569Z] b85a868b505f: Pull complete [2023-01-10T01:03:36.569Z] e2be974225ed: Pull complete [2023-01-10T01:03:36.829Z] 339a4e72a1f5: Pull complete [2023-01-10T01:03:37.090Z] 988bab9f4d93: Pull complete [2023-01-10T01:03:37.351Z] 1469e6f7b9e6: Pull complete [2023-01-10T01:03:37.351Z] eaf3925da568: Pull complete [2023-01-10T01:03:39.261Z] bab4dde63d76: Pull complete [2023-01-10T01:03:39.261Z] bde34c3a00c8: Pull complete [2023-01-10T01:03:39.521Z] b352a97aabf1: Pull complete [2023-01-10T01:03:39.521Z] 4872d77fe225: Pull complete [2023-01-10T01:03:39.782Z] 5851b861e8e6: Pull complete [2023-01-10T01:03:39.782Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T01:03:39.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T01:03:39.782Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:03:40.014Z] prd-ubuntu20.04-docker-8c-8g-1513 does not seem to be running inside a container [2023-01-10T01:03:40.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-447 -v /w/workspace/gexfoundry_device-mqtt-go_PR-447:/w/workspace/gexfoundry_device-mqtt-go_PR-447:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T01:03:42.901Z] $ docker top bb22ce110d2f6871395718c1b58b96129f430e8a09954e87fe3288f3507d848f -eo pid,comm [2023-01-10T01:03:42.957Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-10T01:03:42.957Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T01:03:43.077Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T01:03:43.077Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T01:03:43.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T01:03:43.200Z] $ docker exec bb22ce110d2f6871395718c1b58b96129f430e8a09954e87fe3288f3507d848f ssh-agent [2023-01-10T01:03:43.319Z] SSH_AUTH_SOCK=/tmp/ssh-rlx0wEu1rnAL/agent.32 [2023-01-10T01:03:43.319Z] SSH_AGENT_PID=38 [2023-01-10T01:03:43.328Z] Running ssh-add (command line suppressed) [2023-01-10T01:03:43.429Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp/private_key_12448329343956581923.key (/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp/private_key_12448329343956581923.key) [2023-01-10T01:03:43.442Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T01:03:43.771Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T01:03:43.797Z] $ docker exec --env ******** --env ******** bb22ce110d2f6871395718c1b58b96129f430e8a09954e87fe3288f3507d848f ssh-agent -k [2023-01-10T01:03:43.902Z] unset SSH_AUTH_SOCK; [2023-01-10T01:03:43.902Z] unset SSH_AGENT_PID; [2023-01-10T01:03:43.902Z] echo Agent pid 38 killed; [2023-01-10T01:03:43.912Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T01:03:43.997Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T01:03:43.997Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T01:03:44.108Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T01:03:44.112Z] $ docker exec bb22ce110d2f6871395718c1b58b96129f430e8a09954e87fe3288f3507d848f ssh-agent [2023-01-10T01:03:44.217Z] SSH_AUTH_SOCK=/tmp/ssh-Xyzo052cHHLS/agent.70 [2023-01-10T01:03:44.217Z] SSH_AGENT_PID=76 [2023-01-10T01:03:44.222Z] Running ssh-add (command line suppressed) [2023-01-10T01:03:44.329Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp/private_key_3795079775518972376.key (/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp/private_key_3795079775518972376.key) [2023-01-10T01:03:44.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T01:03:44.675Z] + git semver init [2023-01-10T01:03:44.936Z] 2023-01-10 01:03:44,859 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T01:03:44.936Z] 2023-01-10 01:03:44,861 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-447/.semver [2023-01-10T01:03:44.936Z] 2023-01-10 01:03:44,862 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-447/.semver [2023-01-10T01:03:44.936Z] 2023-01-10 01:03:44,863 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-447/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-447, universal_newlines=False, shell=None, istream=None) [2023-01-10T01:03:45.877Z] 2023-01-10 01:03:45,689 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-447/.git/info/exclude [2023-01-10T01:03:45.877Z] 2023-01-10 01:03:45,690 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-447/.semver/PR-447 with force:False [2023-01-10T01:03:45.877Z] 2023-01-10 01:03:45,690 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-447/.semver/PR-447 [2023-01-10T01:03:45.877Z] 2023-01-10 01:03:45,694 [execute] INFO git cat-file --batch-check [2023-01-10T01:03:45.877Z] 2023-01-10 01:03:45,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-447/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T01:03:45.877Z] 2023-01-10 01:03:45,701 [execute] INFO git cat-file --batch [2023-01-10T01:03:45.877Z] 2023-01-10 01:03:45,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-447/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T01:03:45.877Z] 2023-01-10 01:03:45,707 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-447/.semver/PR-447 [2023-01-10T01:03:45.877Z] 0.0.0 [Pipeline] } [2023-01-10T01:03:45.907Z] $ docker exec --env ******** --env ******** bb22ce110d2f6871395718c1b58b96129f430e8a09954e87fe3288f3507d848f ssh-agent -k [2023-01-10T01:03:45.997Z] unset SSH_AUTH_SOCK; [2023-01-10T01:03:45.997Z] unset SSH_AGENT_PID; [2023-01-10T01:03:45.998Z] echo Agent pid 76 killed; [2023-01-10T01:03:46.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T01:03:46.448Z] + git semver [Pipeline] } [2023-01-10T01:03:46.735Z] $ docker stop --time=1 bb22ce110d2f6871395718c1b58b96129f430e8a09954e87fe3288f3507d848f [2023-01-10T01:03:48.054Z] $ docker rm -f --volumes bb22ce110d2f6871395718c1b58b96129f430e8a09954e87fe3288f3507d848f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T01:03:48.455Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T01:03:48.725Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T01:03:48.746Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T01:03:49.338Z] provisioning config files... [2023-01-10T01:03:49.346Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp/config2902178614198968569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:03:49.693Z] ---> docker-login.sh [2023-01-10T01:03:49.693Z] nexus3.edgexfoundry.org:10001 [2023-01-10T01:03:49.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:49.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:49.693Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:49.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:49.693Z] [2023-01-10T01:03:49.693Z] Login Succeeded [2023-01-10T01:03:49.693Z] nexus3.edgexfoundry.org:10002 [2023-01-10T01:03:49.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:49.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:49.693Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:49.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:49.693Z] [2023-01-10T01:03:49.693Z] Login Succeeded [2023-01-10T01:03:49.693Z] nexus3.edgexfoundry.org:10003 [2023-01-10T01:03:49.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:49.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:49.950Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:49.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:49.950Z] [2023-01-10T01:03:49.950Z] Login Succeeded [2023-01-10T01:03:49.950Z] nexus3.edgexfoundry.org:10004 [2023-01-10T01:03:49.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:49.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:49.950Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:49.950Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:49.950Z] [2023-01-10T01:03:49.950Z] Login Succeeded [2023-01-10T01:03:49.950Z] docker.io [2023-01-10T01:03:50.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:03:50.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:03:50.209Z] Configure a credential helper to remove this warning. See [2023-01-10T01:03:50.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:03:50.209Z] [2023-01-10T01:03:50.209Z] Login Succeeded [2023-01-10T01:03:50.209Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T01:03:50.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T01:03:50.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T01:03:50.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T01:03:50.488Z] ========================================================= [2023-01-10T01:03:50.488Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T01:03:50.488Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:03:50.940Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T01:03:50.940Z] Sending build context to Docker daemon 6.287MB [2023-01-10T01:03:50.940Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T01:03:50.940Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T01:03:50.940Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T01:03:50.940Z] 213ec9aee27d: Pulling fs layer [2023-01-10T01:03:50.940Z] 4583459ba037: Pulling fs layer [2023-01-10T01:03:50.940Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T01:03:50.940Z] 53926ce57604: Pulling fs layer [2023-01-10T01:03:50.940Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T01:03:50.940Z] 22ff95d597cd: Pulling fs layer [2023-01-10T01:03:50.940Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T01:03:50.940Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T01:03:50.940Z] a7acece74701: Pulling fs layer [2023-01-10T01:03:50.940Z] 12d6caf4c0d1: Waiting [2023-01-10T01:03:50.940Z] 53926ce57604: Waiting [2023-01-10T01:03:50.940Z] 21b2b0c7a3f4: Waiting [2023-01-10T01:03:50.940Z] 22ff95d597cd: Waiting [2023-01-10T01:03:50.940Z] 96b7cbca73a9: Waiting [2023-01-10T01:03:50.940Z] a7acece74701: Waiting [2023-01-10T01:03:50.940Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T01:03:50.940Z] 93c1e223e6f2: Download complete [2023-01-10T01:03:51.201Z] 4583459ba037: Download complete [2023-01-10T01:03:51.201Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T01:03:51.201Z] 21b2b0c7a3f4: Download complete [2023-01-10T01:03:51.201Z] 22ff95d597cd: Verifying Checksum [2023-01-10T01:03:51.201Z] 22ff95d597cd: Download complete [2023-01-10T01:03:51.201Z] 213ec9aee27d: Verifying Checksum [2023-01-10T01:03:51.201Z] 213ec9aee27d: Download complete [2023-01-10T01:03:51.201Z] 12d6caf4c0d1: Download complete [2023-01-10T01:03:51.201Z] 213ec9aee27d: Pull complete [2023-01-10T01:03:51.471Z] 4583459ba037: Pull complete [2023-01-10T01:03:51.471Z] 93c1e223e6f2: Pull complete [2023-01-10T01:03:51.745Z] a7acece74701: Verifying Checksum [2023-01-10T01:03:51.745Z] a7acece74701: Download complete [2023-01-10T01:03:51.745Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T01:03:51.745Z] 96b7cbca73a9: Download complete [2023-01-10T01:03:52.005Z] 53926ce57604: Verifying Checksum [2023-01-10T01:03:52.005Z] 53926ce57604: Download complete [2023-01-10T01:03:56.200Z] 53926ce57604: Pull complete [2023-01-10T01:03:56.200Z] 21b2b0c7a3f4: Pull complete [2023-01-10T01:03:56.200Z] 22ff95d597cd: Pull complete [2023-01-10T01:03:56.200Z] 12d6caf4c0d1: Pull complete [2023-01-10T01:03:58.734Z] 96b7cbca73a9: Pull complete [2023-01-10T01:03:59.300Z] a7acece74701: Pull complete [2023-01-10T01:03:59.300Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T01:03:59.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T01:03:59.300Z] ---> db6d94c90886 [2023-01-10T01:03:59.300Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T01:04:04.159Z] Still waiting to schedule task [2023-01-10T01:04:04.159Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1512’ [2023-01-10T01:04:04.578Z] ---> Running in f5866a12ab53 [2023-01-10T01:04:04.578Z] Removing intermediate container f5866a12ab53 [2023-01-10T01:04:04.578Z] ---> 883ebfa2412c [2023-01-10T01:04:04.578Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T01:04:04.578Z] ---> Running in bf26586d72d0 [2023-01-10T01:04:04.578Z] Removing intermediate container bf26586d72d0 [2023-01-10T01:04:04.578Z] ---> 6823da5a264c [2023-01-10T01:04:04.578Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T01:04:04.578Z] ---> Running in 70efda73fe70 [2023-01-10T01:04:04.578Z] Removing intermediate container 70efda73fe70 [2023-01-10T01:04:04.578Z] ---> 0c81610b8491 [2023-01-10T01:04:04.578Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T01:04:04.578Z] ---> Running in 3b685de45671 [2023-01-10T01:04:04.578Z] Removing intermediate container 3b685de45671 [2023-01-10T01:04:04.578Z] ---> 833ae6f6310c [2023-01-10T01:04:04.578Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T01:04:04.578Z] ---> Running in f3a94847bda9 [2023-01-10T01:04:04.837Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T01:04:05.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T01:04:05.356Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T01:04:05.356Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T01:04:05.356Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T01:04:05.356Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T01:04:05.356Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T01:04:05.356Z] OK: 216 MiB in 55 packages [2023-01-10T01:04:05.925Z] Removing intermediate container f3a94847bda9 [2023-01-10T01:04:05.925Z] ---> 741820572622 [2023-01-10T01:04:05.925Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-10T01:04:05.925Z] ---> Running in 8c59f374f752 [2023-01-10T01:04:06.183Z] Removing intermediate container 8c59f374f752 [2023-01-10T01:04:06.183Z] ---> 53f61f5345ee [2023-01-10T01:04:06.183Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T01:04:06.183Z] ---> 3400f6e1cf25 [2023-01-10T01:04:06.183Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T01:04:06.183Z] ---> Running in 70f648b11e50 [2023-01-10T01:04:32.804Z] Removing intermediate container 70f648b11e50 [2023-01-10T01:04:32.804Z] ---> 852f99fc8a5f [2023-01-10T01:04:32.804Z] Step 11/12 : COPY . . [2023-01-10T01:04:32.804Z] ---> 91535c144fff [2023-01-10T01:04:32.804Z] Step 12/12 : RUN $MAKE [2023-01-10T01:04:32.804Z] ---> Running in c7cd734270ec [2023-01-10T01:04:32.804Z] noop [2023-01-10T01:04:32.804Z] Removing intermediate container c7cd734270ec [2023-01-10T01:04:32.804Z] ---> 2ae6cb64d1c5 [2023-01-10T01:04:32.804Z] Successfully built 2ae6cb64d1c5 [2023-01-10T01:04:32.804Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:04:33.327Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T01:04:33.327Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:04:33.479Z] prd-ubuntu20.04-docker-8c-8g-1513 does not seem to be running inside a container [2023-01-10T01:04:33.508Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-447 -v /w/workspace/gexfoundry_device-mqtt-go_PR-447:/w/workspace/gexfoundry_device-mqtt-go_PR-447:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T01:04:33.871Z] $ docker top d418086be0f33bee80d9cb7d8f8c055fdb874071ec995b86ee6334e5152cb58d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:04:34.256Z] + go version [2023-01-10T01:04:34.256Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T01:04:34.287Z] $ docker stop --time=1 d418086be0f33bee80d9cb7d8f8c055fdb874071ec995b86ee6334e5152cb58d [2023-01-10T01:04:35.590Z] $ docker rm -f --volumes d418086be0f33bee80d9cb7d8f8c055fdb874071ec995b86ee6334e5152cb58d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:04:36.291Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T01:04:36.292Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:04:36.452Z] prd-ubuntu20.04-docker-8c-8g-1513 does not seem to be running inside a container [2023-01-10T01:04:36.485Z] $ 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-447 -v /w/workspace/gexfoundry_device-mqtt-go_PR-447:/w/workspace/gexfoundry_device-mqtt-go_PR-447:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T01:04:36.824Z] $ docker top afc982c97f6e15f0629b4404eb31742393c06cc85dd92acb4f20b471e0bb5708 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:04:37.215Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-447 [Pipeline] fileExists [Pipeline] sh [2023-01-10T01:04:37.569Z] + make test [2023-01-10T01:04:37.569Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T01:04:37.827Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-10T01:04:47.788Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-10T01:04:48.048Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements [2023-01-10T01:04:48.048Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-10T01:04:56.159Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-10T01:04:56.159Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T01:04:59.440Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T01:04:59.441Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T01:04:59.441Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T01:04:59.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T01:04:59.504Z] $ docker stop --time=1 afc982c97f6e15f0629b4404eb31742393c06cc85dd92acb4f20b471e0bb5708 [2023-01-10T01:05:01.893Z] $ docker rm -f --volumes afc982c97f6e15f0629b4404eb31742393c06cc85dd92acb4f20b471e0bb5708 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T01:05:02.424Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T01:05:02.497Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T01:05:03.146Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T01:05:03.454Z] + ls -al . [2023-01-10T01:05:03.454Z] total 192 [2023-01-10T01:05:03.454Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 01:04 . [2023-01-10T01:05:03.454Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 01:03 .. [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 01:03 .dockerignore [2023-01-10T01:05:03.454Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 01:04 .git [2023-01-10T01:05:03.454Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:03 .github [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 01:03 .gitignore [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 01:03 .golangci.yml [2023-01-10T01:05:03.454Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 01:03 .semver [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 10 01:03 Attribution.txt [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 10 01:03 CHANGELOG.md [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 10 01:03 Dockerfile [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 01:03 GOVERNANCE.md [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 01:03 Jenkinsfile [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 01:03 LICENSE [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 10 01:03 Makefile [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 01:03 OWNERS.md [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 10 01:03 README.md [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 01:03 VERSION [2023-01-10T01:05:03.454Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 01:03 bin [2023-01-10T01:05:03.454Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:03 cmd [2023-01-10T01:05:03.454Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 10 01:04 coverage.out [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 10 01:03 go.mod [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 01:03 go.sum [2023-01-10T01:05:03.454Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:03 internal [2023-01-10T01:05:03.454Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 01:03 mock [2023-01-10T01:05:03.454Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 01:03 snap [2023-01-10T01:05:03.454Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 10 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:05:03.913Z] + 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=910799aae092ce562946993924ed23410661650b --label arch=amd64 --label version=0.0.0 . [2023-01-10T01:05:03.913Z] Sending build context to Docker daemon 6.306MB [2023-01-10T01:05:03.913Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T01:05:03.913Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-10T01:05:03.913Z] ---> 2ae6cb64d1c5 [2023-01-10T01:05:03.913Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-10T01:05:03.913Z] ---> Running in 665fc43b10e8 [2023-01-10T01:05:04.193Z] Removing intermediate container 665fc43b10e8 [2023-01-10T01:05:04.193Z] ---> 9ea79511df68 [2023-01-10T01:05:04.193Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T01:05:04.193Z] ---> Running in a07567679f2f [2023-01-10T01:05:04.193Z] Removing intermediate container a07567679f2f [2023-01-10T01:05:04.193Z] ---> f580bdf09f31 [2023-01-10T01:05:04.193Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T01:05:04.193Z] ---> Running in 5d717ab0ea6c [2023-01-10T01:05:04.193Z] Removing intermediate container 5d717ab0ea6c [2023-01-10T01:05:04.193Z] ---> ccfcb2ef9e1e [2023-01-10T01:05:04.193Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T01:05:04.193Z] ---> Running in 5d7950ac55c2 [2023-01-10T01:05:04.477Z] Removing intermediate container 5d7950ac55c2 [2023-01-10T01:05:04.477Z] ---> 4f5cdff15037 [2023-01-10T01:05:04.477Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T01:05:04.477Z] ---> Running in d563b22bc03c [2023-01-10T01:05:04.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T01:05:04.749Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T01:05:05.337Z] OK: 216 MiB in 55 packages [2023-01-10T01:05:05.598Z] Removing intermediate container d563b22bc03c [2023-01-10T01:05:05.598Z] ---> 68e9c61df31b [2023-01-10T01:05:05.598Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-10T01:05:05.598Z] ---> Running in 34438dfe6590 [2023-01-10T01:05:05.598Z] Removing intermediate container 34438dfe6590 [2023-01-10T01:05:05.598Z] ---> e23084297dc7 [2023-01-10T01:05:05.598Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-10T01:05:05.858Z] ---> 3c4d91d073ae [2023-01-10T01:05:05.858Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T01:05:05.858Z] ---> Running in 11472e1f30e3 [2023-01-10T01:05:06.426Z] Removing intermediate container 11472e1f30e3 [2023-01-10T01:05:06.426Z] ---> 91a575c3ec5f [2023-01-10T01:05:06.426Z] Step 11/24 : COPY . . [2023-01-10T01:05:07.054Z] ---> faa75af830e4 [2023-01-10T01:05:07.054Z] Step 12/24 : RUN $MAKE [2023-01-10T01:05:07.054Z] ---> Running in 9271a80feb78 [2023-01-10T01:05:07.313Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2023-01-10T01:05:33.865Z] Removing intermediate container 9271a80feb78 [2023-01-10T01:05:33.865Z] ---> 00491eb08fa4 [2023-01-10T01:05:33.865Z] Step 13/24 : FROM alpine:3.16 [2023-01-10T01:05:33.865Z] 3.16: Pulling from library/alpine [2023-01-10T01:05:33.865Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T01:05:33.865Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T01:05:33.865Z] ca7dd9ec2225: Download complete [2023-01-10T01:05:33.865Z] ca7dd9ec2225: Pull complete [2023-01-10T01:05:33.865Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T01:05:33.865Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T01:05:33.865Z] ---> bfe296a52501 [2023-01-10T01:05:33.865Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-10T01:05:33.865Z] ---> Running in 1f201d3340b9 [2023-01-10T01:05:33.865Z] Removing intermediate container 1f201d3340b9 [2023-01-10T01:05:33.865Z] ---> 36b3cdab82cc [2023-01-10T01:05:33.865Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-10T01:05:33.865Z] ---> Running in 27a410b8f47a [2023-01-10T01:05:33.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T01:05:33.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T01:05:33.865Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-10T01:05:33.865Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T01:05:33.865Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-10T01:05:33.865Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T01:05:33.865Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-10T01:05:33.865Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-10T01:05:33.865Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T01:05:33.865Z] OK: 8 MiB in 20 packages [2023-01-10T01:05:33.865Z] Removing intermediate container 27a410b8f47a [2023-01-10T01:05:33.865Z] ---> b8df1a883937 [2023-01-10T01:05:33.865Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-10T01:05:33.865Z] ---> a92a017e02a7 [2023-01-10T01:05:33.865Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-10T01:05:33.865Z] ---> f0e1b41740ac [2023-01-10T01:05:33.865Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-10T01:05:33.865Z] ---> e1e348f0aa8d [2023-01-10T01:05:33.865Z] Step 19/24 : EXPOSE 59982 [2023-01-10T01:05:33.865Z] ---> Running in ac0ec8e9e813 [2023-01-10T01:05:33.865Z] Removing intermediate container ac0ec8e9e813 [2023-01-10T01:05:33.865Z] ---> 94332a205053 [2023-01-10T01:05:33.865Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-10T01:05:34.125Z] ---> Running in ce45c45caf87 [2023-01-10T01:05:34.125Z] Removing intermediate container ce45c45caf87 [2023-01-10T01:05:34.125Z] ---> b919ed7e104c [2023-01-10T01:05:34.125Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T01:05:34.125Z] ---> Running in 3d20f41cc7bd [2023-01-10T01:05:34.125Z] Removing intermediate container 3d20f41cc7bd [2023-01-10T01:05:34.125Z] ---> 42a29df9404d [2023-01-10T01:05:34.125Z] Step 22/24 : LABEL arch=amd64 [2023-01-10T01:05:34.125Z] ---> Running in f8637cb8d38d [2023-01-10T01:05:34.385Z] Removing intermediate container f8637cb8d38d [2023-01-10T01:05:34.385Z] ---> eb7e742c25c6 [2023-01-10T01:05:34.385Z] Step 23/24 : LABEL git_sha=910799aae092ce562946993924ed23410661650b [2023-01-10T01:05:34.385Z] ---> Running in 3d8d884df1d0 [2023-01-10T01:05:34.385Z] Removing intermediate container 3d8d884df1d0 [2023-01-10T01:05:34.385Z] ---> a692350f830c [2023-01-10T01:05:34.385Z] Step 24/24 : LABEL version=0.0.0 [2023-01-10T01:05:34.385Z] ---> Running in 5da9463c62bc [2023-01-10T01:05:34.385Z] Removing intermediate container 5da9463c62bc [2023-01-10T01:05:34.385Z] ---> 4e786fd5a806 [2023-01-10T01:05:34.385Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T01:05:34.385Z] Successfully built 4e786fd5a806 [2023-01-10T01:05:34.385Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:05:35.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T01:05:35.252Z] [2023-01-10T01:05:35.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:05:35.626Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T01:05:35.626Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T01:05:35.626Z] 5eb5b503b376: Pulling fs layer [2023-01-10T01:05:35.626Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T01:05:35.626Z] ec43610c2a17: Pulling fs layer [2023-01-10T01:05:35.626Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T01:05:35.626Z] 33b1e0a273af: Pulling fs layer [2023-01-10T01:05:35.626Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T01:05:35.626Z] 2f39f015ded8: Pulling fs layer [2023-01-10T01:05:35.626Z] 33b1e0a273af: Waiting [2023-01-10T01:05:35.626Z] 5d3b04190fa2: Waiting [2023-01-10T01:05:35.626Z] 2f39f015ded8: Waiting [2023-01-10T01:05:35.626Z] 3a2ae6a8a46f: Waiting [2023-01-10T01:05:35.626Z] 5c69ac0246d0: Download complete [2023-01-10T01:05:35.626Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T01:05:35.626Z] 3a2ae6a8a46f: Download complete [2023-01-10T01:05:35.889Z] 33b1e0a273af: Download complete [2023-01-10T01:05:35.889Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T01:05:35.889Z] 5d3b04190fa2: Download complete [2023-01-10T01:05:35.889Z] ec43610c2a17: Verifying Checksum [2023-01-10T01:05:35.889Z] ec43610c2a17: Download complete [2023-01-10T01:05:35.889Z] 5eb5b503b376: Download complete [2023-01-10T01:05:36.827Z] 2f39f015ded8: Verifying Checksum [2023-01-10T01:05:36.827Z] 2f39f015ded8: Download complete [2023-01-10T01:05:37.395Z] 5eb5b503b376: Pull complete [2023-01-10T01:05:37.395Z] 5c69ac0246d0: Pull complete [2023-01-10T01:05:37.972Z] ec43610c2a17: Pull complete [2023-01-10T01:05:37.972Z] 3a2ae6a8a46f: Pull complete [2023-01-10T01:05:38.231Z] 33b1e0a273af: Pull complete [2023-01-10T01:05:38.231Z] 5d3b04190fa2: Pull complete [2023-01-10T01:05:43.502Z] 2f39f015ded8: Pull complete [2023-01-10T01:05:43.502Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T01:05:43.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T01:05:43.502Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:05:43.736Z] prd-ubuntu20.04-docker-8c-8g-1513 does not seem to be running inside a container [2023-01-10T01:05:43.777Z] $ 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-447 -v /w/workspace/gexfoundry_device-mqtt-go_PR-447:/w/workspace/gexfoundry_device-mqtt-go_PR-447:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T01:05:48.117Z] $ docker top 3bb1babfc8b2436479840e0c79b61d9f0fc0296a7d2072b400c2d8744bd3862c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:05:48.580Z] ---> job-cost.sh [2023-01-10T01:05:48.580Z] lf-activate-venv: SKIPPING [2023-01-10T01:05:48.580Z] INFO: No Stack... [2023-01-10T01:05:49.518Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T01:05:50.087Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T01:05:50.404Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-447/archives/cost.csv [2023-01-10T01:05:50.404Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T01:05:50.447Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-447-1-stack-cost] [2023-01-10T01:05:50.453Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-447-1-stack-cost] did not exist. Created. [2023-01-10T01:05:50.453Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-447-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T01:05:50.865Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T01:05:50.913Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T01:05:51.017Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-447-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T01:05:51.104Z] $ docker stop --time=1 3bb1babfc8b2436479840e0c79b61d9f0fc0296a7d2072b400c2d8744bd3862c [2023-01-10T01:05:52.262Z] $ docker rm -f --volumes 3bb1babfc8b2436479840e0c79b61d9f0fc0296a7d2072b400c2d8744bd3862c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T01:06:29.186Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1516 in /w/workspace/gexfoundry_device-mqtt-go_PR-447 [Pipeline] { [Pipeline] ws [2023-01-10T01:06:29.237Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T01:06:29.319Z] Selected Git installation does not exist. Using Default [2023-01-10T01:06:29.319Z] The recommended git tool is: NONE [2023-01-10T01:06:35.134Z] using credential edgex-jenkins-ssh [2023-01-10T01:06:35.149Z] Cloning the remote Git repository [2023-01-10T01:06:35.195Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-10T01:06:35.270Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2023-01-10T01:06:35.435Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-10T01:06:35.436Z] > git --version # timeout=10 [2023-01-10T01:06:35.462Z] > git --version # 'git version 2.25.1' [2023-01-10T01:06:35.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T01:06:35.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T01:06:36.665Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-10T01:06:36.685Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T01:06:38.054Z] Merging remotes/origin/main commit fe528491bba3fee0f8df2cff68391009d47da719 into PR head commit 910799aae092ce562946993924ed23410661650b [2023-01-10T01:06:37.523Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-01-10T01:06:37.560Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-01-10T01:06:37.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T01:06:37.574Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/447/head:refs/remotes/origin/PR-447 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T01:06:38.071Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T01:06:38.089Z] > git checkout -f 910799aae092ce562946993924ed23410661650b # timeout=10 [2023-01-10T01:06:38.165Z] > git remote # timeout=10 [2023-01-10T01:06:38.180Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T01:06:38.199Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T01:06:38.211Z] > git merge fe528491bba3fee0f8df2cff68391009d47da719 # timeout=10 [2023-01-10T01:06:38.236Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T01:06:38.252Z] Merge succeeded, producing 910799aae092ce562946993924ed23410661650b [2023-01-10T01:06:38.253Z] Checking out Revision 910799aae092ce562946993924ed23410661650b (PR-447) [2023-01-10T01:06:38.758Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-10T01:06:38.810Z] > git --version # timeout=10 [2023-01-10T01:06:38.822Z] > git --version # 'git version 2.25.1' [2023-01-10T01:06:38.844Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T01:06:38.259Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T01:06:38.280Z] > git checkout -f 910799aae092ce562946993924ed23410661650b # timeout=10 [2023-01-10T01:06:39.960Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T01:06:39.960Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T01:06:39.960Z] Dload Upload Total Spent Left Speed [2023-01-10T01:06:39.960Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81737 0 --:--:-- --:--:-- --:--:-- 81737 [Pipeline] sh [2023-01-10T01:06:40.636Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T01:06:41.018Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T01:06:41.018Z] + sudo tee /etc/docker/daemon.new [2023-01-10T01:06:41.018Z] { [2023-01-10T01:06:41.018Z] "registry-mirrors": [ [2023-01-10T01:06:41.018Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T01:06:41.018Z] ], [2023-01-10T01:06:41.018Z] "bip": "10.250.0.254/24", [2023-01-10T01:06:41.018Z] "hosts": [ [2023-01-10T01:06:41.018Z] "tcp://0.0.0.0:5555", [2023-01-10T01:06:41.018Z] "unix:///var/run/docker.sock" [2023-01-10T01:06:41.018Z] ], [2023-01-10T01:06:41.018Z] "mtu": 1458, [2023-01-10T01:06:41.018Z] "selinux-enabled": true, [2023-01-10T01:06:41.018Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T01:06:41.018Z] } [Pipeline] sh [2023-01-10T01:06:41.380Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T01:06:41.747Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T01:07:00.093Z] provisioning config files... [2023-01-10T01:07:00.121Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3697328434024036311tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:07:00.523Z] ---> docker-login.sh [2023-01-10T01:07:00.523Z] nexus3.edgexfoundry.org:10001 [2023-01-10T01:07:01.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:07:01.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:07:01.116Z] Configure a credential helper to remove this warning. See [2023-01-10T01:07:01.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:07:01.116Z] [2023-01-10T01:07:01.116Z] Login Succeeded [2023-01-10T01:07:01.116Z] nexus3.edgexfoundry.org:10002 [2023-01-10T01:07:01.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:07:01.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:07:01.665Z] Configure a credential helper to remove this warning. See [2023-01-10T01:07:01.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:07:01.665Z] [2023-01-10T01:07:01.665Z] Login Succeeded [2023-01-10T01:07:01.665Z] nexus3.edgexfoundry.org:10003 [2023-01-10T01:07:01.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:07:02.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:07:02.214Z] Configure a credential helper to remove this warning. See [2023-01-10T01:07:02.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:07:02.214Z] [2023-01-10T01:07:02.214Z] Login Succeeded [2023-01-10T01:07:02.214Z] nexus3.edgexfoundry.org:10004 [2023-01-10T01:07:02.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:07:02.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:07:02.487Z] Configure a credential helper to remove this warning. See [2023-01-10T01:07:02.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:07:02.487Z] [2023-01-10T01:07:02.487Z] Login Succeeded [2023-01-10T01:07:02.487Z] docker.io [2023-01-10T01:07:02.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T01:07:03.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T01:07:03.028Z] Configure a credential helper to remove this warning. See [2023-01-10T01:07:03.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T01:07:03.028Z] [2023-01-10T01:07:03.028Z] Login Succeeded [2023-01-10T01:07:03.028Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T01:07:03.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T01:07:03.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T01:07:03.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T01:07:03.553Z] ========================================================= [2023-01-10T01:07:03.553Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T01:07:03.553Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:07:04.060Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-10T01:07:04.332Z] Sending build context to Docker daemon 3.276MB [2023-01-10T01:07:04.332Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T01:07:04.332Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-10T01:07:04.607Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T01:07:04.607Z] 9b18e9b68314: Pulling fs layer [2023-01-10T01:07:04.607Z] 35d82f9e3411: Pulling fs layer [2023-01-10T01:07:04.607Z] e16973657156: Pulling fs layer [2023-01-10T01:07:04.607Z] fc693d55d65f: Pulling fs layer [2023-01-10T01:07:04.607Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T01:07:04.607Z] dda99020689f: Pulling fs layer [2023-01-10T01:07:04.607Z] db1c61fa0a46: Pulling fs layer [2023-01-10T01:07:04.607Z] 891c053d2c06: Pulling fs layer [2023-01-10T01:07:04.607Z] fc693d55d65f: Waiting [2023-01-10T01:07:04.607Z] 7e9fc2657dce: Waiting [2023-01-10T01:07:04.607Z] 891c053d2c06: Waiting [2023-01-10T01:07:04.607Z] db1c61fa0a46: Waiting [2023-01-10T01:07:04.607Z] dda99020689f: Waiting [2023-01-10T01:07:04.607Z] e16973657156: Verifying Checksum [2023-01-10T01:07:04.607Z] e16973657156: Download complete [2023-01-10T01:07:04.607Z] 35d82f9e3411: Verifying Checksum [2023-01-10T01:07:04.607Z] 35d82f9e3411: Download complete [2023-01-10T01:07:04.607Z] 7e9fc2657dce: Download complete [2023-01-10T01:07:04.607Z] dda99020689f: Download complete [2023-01-10T01:07:04.607Z] 9b18e9b68314: Verifying Checksum [2023-01-10T01:07:06.051Z] 891c053d2c06: Verifying Checksum [2023-01-10T01:07:06.051Z] 891c053d2c06: Download complete [2023-01-10T01:07:07.036Z] db1c61fa0a46: Verifying Checksum [2023-01-10T01:07:07.036Z] db1c61fa0a46: Download complete [2023-01-10T01:07:07.036Z] 9b18e9b68314: Pull complete [2023-01-10T01:07:07.640Z] 35d82f9e3411: Pull complete [2023-01-10T01:07:07.640Z] fc693d55d65f: Verifying Checksum [2023-01-10T01:07:07.640Z] fc693d55d65f: Download complete [2023-01-10T01:07:07.911Z] e16973657156: Pull complete [2023-01-10T01:07:22.948Z] fc693d55d65f: Pull complete [2023-01-10T01:07:22.948Z] 7e9fc2657dce: Pull complete [2023-01-10T01:07:22.948Z] dda99020689f: Pull complete [2023-01-10T01:07:27.233Z] db1c61fa0a46: Pull complete [2023-01-10T01:07:29.196Z] 891c053d2c06: Pull complete [2023-01-10T01:07:29.196Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T01:07:29.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T01:07:29.196Z] ---> f96f9c87975a [2023-01-10T01:07:29.196Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-10T01:07:29.782Z] ---> Running in ad87363f05f3 [2023-01-10T01:07:30.052Z] Removing intermediate container ad87363f05f3 [2023-01-10T01:07:30.052Z] ---> fdeb3159d0f5 [2023-01-10T01:07:30.052Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T01:07:30.052Z] ---> Running in 75280932786f [2023-01-10T01:07:30.647Z] Removing intermediate container 75280932786f [2023-01-10T01:07:30.647Z] ---> 152a83d08026 [2023-01-10T01:07:30.647Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T01:07:30.647Z] ---> Running in 458873a2ab63 [2023-01-10T01:07:30.926Z] Removing intermediate container 458873a2ab63 [2023-01-10T01:07:30.926Z] ---> 92bd28c3f64d [2023-01-10T01:07:30.926Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T01:07:30.926Z] ---> Running in a940278b5ea9 [2023-01-10T01:07:31.517Z] Removing intermediate container a940278b5ea9 [2023-01-10T01:07:31.517Z] ---> c33982399caf [2023-01-10T01:07:31.517Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T01:07:31.517Z] ---> Running in ecaec2f88398 [2023-01-10T01:07:33.015Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T01:07:33.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T01:07:34.276Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-10T01:07:34.276Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-10T01:07:34.276Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-10T01:07:34.276Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-10T01:07:34.276Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T01:07:34.547Z] OK: 226 MiB in 55 packages [2023-01-10T01:07:35.527Z] Removing intermediate container ecaec2f88398 [2023-01-10T01:07:35.527Z] ---> 6645a78ca2d0 [2023-01-10T01:07:35.527Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-01-10T01:07:35.527Z] ---> Running in 20fbabc7854d [2023-01-10T01:07:35.799Z] Removing intermediate container 20fbabc7854d [2023-01-10T01:07:35.799Z] ---> 47aa1dd3a521 [2023-01-10T01:07:35.799Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-10T01:07:36.397Z] ---> 7f302ee240e7 [2023-01-10T01:07:36.397Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T01:07:36.668Z] ---> Running in 840aba0ea46e [2023-01-10T01:08:33.208Z] Removing intermediate container 840aba0ea46e [2023-01-10T01:08:33.208Z] ---> d462c78592b4 [2023-01-10T01:08:33.208Z] Step 11/12 : COPY . . [2023-01-10T01:08:33.208Z] ---> 352c7f6c8727 [2023-01-10T01:08:33.208Z] Step 12/12 : RUN $MAKE [2023-01-10T01:08:33.208Z] ---> Running in 2eb48bad5c07 [2023-01-10T01:08:33.208Z] noop [2023-01-10T01:08:33.815Z] Removing intermediate container 2eb48bad5c07 [2023-01-10T01:08:33.815Z] ---> ec30101889ea [2023-01-10T01:08:33.815Z] Successfully built ec30101889ea [2023-01-10T01:08:33.815Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:08:34.405Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T01:08:34.405Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:08:34.689Z] prd-ubuntu20.04-docker-arm64-4c-16g-1516 does not seem to be running inside a container [2023-01-10T01:08:34.771Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T01:08:36.100Z] $ docker top 835cf2c3178beb7ada48cdd6e5be03f31ba0ecc2b5dda383205a77b90fc4e959 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:08:37.011Z] + go version [2023-01-10T01:08:37.011Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T01:08:37.048Z] $ docker stop --time=1 835cf2c3178beb7ada48cdd6e5be03f31ba0ecc2b5dda383205a77b90fc4e959 [2023-01-10T01:08:38.725Z] $ docker rm -f --volumes 835cf2c3178beb7ada48cdd6e5be03f31ba0ecc2b5dda383205a77b90fc4e959 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:08:39.656Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T01:08:39.656Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:08:39.938Z] prd-ubuntu20.04-docker-arm64-4c-16g-1516 does not seem to be running inside a container [2023-01-10T01:08:40.020Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T01:08:41.260Z] $ docker top 61b23a6aa34e61add85b3e60cb718af5c5a07853ff3e17bfb04adbe684ed810c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:08:41.975Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T01:08:42.511Z] + make test [2023-01-10T01:08:42.782Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-10T01:08:44.731Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-01-10T01:10:21.405Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-01-10T01:10:21.405Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 21.8% of statements [2023-01-10T01:10:21.405Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-01-10T01:10:21.406Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T01:10:21.406Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-10T01:10:33.742Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T01:10:33.742Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T01:10:33.742Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T01:10:33.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T01:10:33.813Z] $ docker stop --time=1 61b23a6aa34e61add85b3e60cb718af5c5a07853ff3e17bfb04adbe684ed810c [2023-01-10T01:10:35.606Z] $ docker rm -f --volumes 61b23a6aa34e61add85b3e60cb718af5c5a07853ff3e17bfb04adbe684ed810c [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T01:10:36.669Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T01:10:36.716Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T01:10:37.292Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T01:10:37.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T01:10:38.195Z] + ls -al . [2023-01-10T01:10:38.195Z] total 188 [2023-01-10T01:10:38.195Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 01:08 . [2023-01-10T01:10:38.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 01:06 .. [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 01:06 .dockerignore [2023-01-10T01:10:38.195Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 01:06 .git [2023-01-10T01:10:38.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:06 .github [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 01:06 .gitignore [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 01:06 .golangci.yml [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 9293 Jan 10 01:06 Attribution.txt [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 13162 Jan 10 01:06 CHANGELOG.md [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 1734 Jan 10 01:06 Dockerfile [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 01:06 GOVERNANCE.md [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 678 Jan 10 01:06 Jenkinsfile [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 01:06 LICENSE [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 2126 Jan 10 01:06 Makefile [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 01:06 OWNERS.md [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 3165 Jan 10 01:06 README.md [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 01:03 VERSION [2023-01-10T01:10:38.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 01:06 bin [2023-01-10T01:10:38.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:06 cmd [2023-01-10T01:10:38.195Z] -rw-r--r-- 1 jenkins jenkins 17887 Jan 10 01:10 coverage.out [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 3464 Jan 10 01:06 go.mod [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 01:06 go.sum [2023-01-10T01:10:38.195Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 01:06 internal [2023-01-10T01:10:38.195Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 01:06 mock [2023-01-10T01:10:38.195Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 01:06 snap [2023-01-10T01:10:38.195Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 10 01:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:10:38.616Z] + 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=910799aae092ce562946993924ed23410661650b --label arch=arm64 --label version=0.0.0 . [2023-01-10T01:10:38.920Z] Sending build context to Docker daemon 3.295MB [2023-01-10T01:10:38.920Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T01:10:38.920Z] Step 2/24 : FROM ${BASE} AS builder [2023-01-10T01:10:38.920Z] ---> ec30101889ea [2023-01-10T01:10:38.920Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2023-01-10T01:10:41.190Z] ---> Running in 7b6f92cbbe33 [2023-01-10T01:10:41.461Z] Removing intermediate container 7b6f92cbbe33 [2023-01-10T01:10:41.461Z] ---> c76e61a546ee [2023-01-10T01:10:41.461Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T01:10:41.461Z] ---> Running in f8164dab7a2d [2023-01-10T01:10:42.056Z] Removing intermediate container f8164dab7a2d [2023-01-10T01:10:42.056Z] ---> 0ec21c5a328d [2023-01-10T01:10:42.056Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-01-10T01:10:42.056Z] ---> Running in 42f04474236e [2023-01-10T01:10:42.327Z] Removing intermediate container 42f04474236e [2023-01-10T01:10:42.327Z] ---> 0acd4c94d984 [2023-01-10T01:10:42.327Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T01:10:42.327Z] ---> Running in de43566a74a7 [2023-01-10T01:10:42.598Z] Removing intermediate container de43566a74a7 [2023-01-10T01:10:42.598Z] ---> 2ab1abe8cdd9 [2023-01-10T01:10:42.598Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T01:10:42.871Z] ---> Running in 46efe97e8203 [2023-01-10T01:10:44.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T01:10:44.569Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T01:10:45.988Z] OK: 226 MiB in 55 packages [2023-01-10T01:10:46.967Z] Removing intermediate container 46efe97e8203 [2023-01-10T01:10:46.967Z] ---> bce8cf4c6567 [2023-01-10T01:10:46.967Z] Step 8/24 : WORKDIR /device-mqtt-go [2023-01-10T01:10:46.967Z] ---> Running in 09fd9eb2cea8 [2023-01-10T01:10:47.238Z] Removing intermediate container 09fd9eb2cea8 [2023-01-10T01:10:47.238Z] ---> a8a4f07e818b [2023-01-10T01:10:47.238Z] Step 9/24 : COPY go.mod vendor* ./ [2023-01-10T01:10:49.842Z] ---> 37ff30f57d21 [2023-01-10T01:10:49.842Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T01:10:49.842Z] ---> Running in 8a2181c0ceb7 [2023-01-10T01:10:52.455Z] Removing intermediate container 8a2181c0ceb7 [2023-01-10T01:10:52.455Z] ---> c2cdbbc1cbf6 [2023-01-10T01:10:52.455Z] Step 11/24 : COPY . . [2023-01-10T01:10:53.047Z] ---> c11ebafcd5b1 [2023-01-10T01:10:53.047Z] Step 12/24 : RUN $MAKE [2023-01-10T01:10:53.319Z] ---> Running in 22dca128d6bc [2023-01-10T01:10:54.744Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2023-01-10T01:13:46.572Z] Removing intermediate container 22dca128d6bc [2023-01-10T01:13:46.572Z] ---> 4f4be6102217 [2023-01-10T01:13:46.572Z] Step 13/24 : FROM alpine:3.16 [2023-01-10T01:13:46.572Z] 3.16: Pulling from library/alpine [2023-01-10T01:13:46.572Z] 6875df1f5354: Pulling fs layer [2023-01-10T01:13:46.572Z] 6875df1f5354: Download complete [2023-01-10T01:13:46.572Z] 6875df1f5354: Pull complete [2023-01-10T01:13:46.572Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T01:13:46.572Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T01:13:46.572Z] ---> 2b4661558fb8 [2023-01-10T01:13:46.572Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-01-10T01:13:46.572Z] ---> Running in 54f600df4706 [2023-01-10T01:13:46.572Z] Removing intermediate container 54f600df4706 [2023-01-10T01:13:46.572Z] ---> 2189e65f98ea [2023-01-10T01:13:46.572Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-10T01:13:46.572Z] ---> Running in c693ec1ffd34 [2023-01-10T01:13:47.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T01:13:47.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T01:13:48.766Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-10T01:13:48.767Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-10T01:13:48.767Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-10T01:13:48.767Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-10T01:13:48.767Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-10T01:13:48.767Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-10T01:13:48.767Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T01:13:48.767Z] OK: 8 MiB in 20 packages [2023-01-10T01:13:49.730Z] Removing intermediate container c693ec1ffd34 [2023-01-10T01:13:49.730Z] ---> e8861b4f4e8c [2023-01-10T01:13:49.730Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2023-01-10T01:13:53.077Z] ---> 205f2414c71f [2023-01-10T01:13:53.077Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-01-10T01:13:53.077Z] ---> 37771d3599e6 [2023-01-10T01:13:53.077Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-01-10T01:13:53.662Z] ---> abb44e0430cb [2023-01-10T01:13:53.662Z] Step 19/24 : EXPOSE 59982 [2023-01-10T01:13:53.662Z] ---> Running in 7ae34407c0b9 [2023-01-10T01:13:53.930Z] Removing intermediate container 7ae34407c0b9 [2023-01-10T01:13:53.930Z] ---> 92d3e7470666 [2023-01-10T01:13:53.930Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2023-01-10T01:13:53.930Z] ---> Running in 18a95aa105a6 [2023-01-10T01:13:54.207Z] Removing intermediate container 18a95aa105a6 [2023-01-10T01:13:54.207Z] ---> ec7a667a5cff [2023-01-10T01:13:54.207Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-10T01:13:54.476Z] ---> Running in 47e0f9f88c39 [2023-01-10T01:13:54.746Z] Removing intermediate container 47e0f9f88c39 [2023-01-10T01:13:54.746Z] ---> 4fcd048b8522 [2023-01-10T01:13:54.746Z] Step 22/24 : LABEL arch=arm64 [2023-01-10T01:13:54.746Z] ---> Running in 371982c0ca92 [2023-01-10T01:13:55.019Z] Removing intermediate container 371982c0ca92 [2023-01-10T01:13:55.019Z] ---> cee559e10098 [2023-01-10T01:13:55.019Z] Step 23/24 : LABEL git_sha=910799aae092ce562946993924ed23410661650b [2023-01-10T01:13:55.286Z] ---> Running in 19b0d3897604 [2023-01-10T01:13:55.553Z] Removing intermediate container 19b0d3897604 [2023-01-10T01:13:55.553Z] ---> cc0db228bb7c [2023-01-10T01:13:55.553Z] Step 24/24 : LABEL version=0.0.0 [2023-01-10T01:13:55.553Z] ---> Running in a91efc30a21a [2023-01-10T01:13:55.819Z] Removing intermediate container a91efc30a21a [2023-01-10T01:13:55.819Z] ---> 5423f9b918ff [2023-01-10T01:13:55.819Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T01:13:55.819Z] Successfully built 5423f9b918ff [2023-01-10T01:13:55.819Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:13:56.713Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T01:13:56.713Z] [2023-01-10T01:13:56.713Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:13:57.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T01:13:57.118Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T01:13:57.118Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T01:13:57.118Z] 04944245beec: Pulling fs layer [2023-01-10T01:13:57.118Z] 699f458cf7ca: Pulling fs layer [2023-01-10T01:13:57.118Z] 765212b225bb: Pulling fs layer [2023-01-10T01:13:57.118Z] f23df028b6ca: Pulling fs layer [2023-01-10T01:13:57.118Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T01:13:57.118Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T01:13:57.118Z] f23df028b6ca: Waiting [2023-01-10T01:13:57.118Z] d65c8cfc05b1: Waiting [2023-01-10T01:13:57.118Z] 2437ff75d9bd: Waiting [2023-01-10T01:13:57.118Z] 765212b225bb: Waiting [2023-01-10T01:13:57.388Z] 04944245beec: Verifying Checksum [2023-01-10T01:13:57.388Z] 04944245beec: Download complete [2023-01-10T01:13:57.388Z] 765212b225bb: Verifying Checksum [2023-01-10T01:13:57.388Z] 765212b225bb: Download complete [2023-01-10T01:13:57.388Z] f23df028b6ca: Verifying Checksum [2023-01-10T01:13:57.388Z] f23df028b6ca: Download complete [2023-01-10T01:13:57.388Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T01:13:57.388Z] d65c8cfc05b1: Download complete [2023-01-10T01:13:57.658Z] 699f458cf7ca: Verifying Checksum [2023-01-10T01:13:57.658Z] 699f458cf7ca: Download complete [2023-01-10T01:13:57.925Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T01:13:57.925Z] 8998bd30e6a1: Download complete [2023-01-10T01:14:00.514Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T01:14:00.514Z] 2437ff75d9bd: Download complete [2023-01-10T01:14:01.925Z] 8998bd30e6a1: Pull complete [2023-01-10T01:14:02.510Z] 04944245beec: Pull complete [2023-01-10T01:14:03.471Z] 699f458cf7ca: Pull complete [2023-01-10T01:14:05.422Z] 765212b225bb: Pull complete [2023-01-10T01:14:05.693Z] f23df028b6ca: Pull complete [2023-01-10T01:14:05.962Z] d65c8cfc05b1: Pull complete [2023-01-10T01:14:18.295Z] 2437ff75d9bd: Pull complete [2023-01-10T01:14:18.295Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T01:14:18.295Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T01:14:18.295Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:14:18.692Z] prd-ubuntu20.04-docker-arm64-4c-16g-1516 does not seem to be running inside a container [2023-01-10T01:14:18.764Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T01:14:21.452Z] $ docker top 792b583e99bfe916700d874ff3f1a364c0fc534a36c0cf7b4e7bfc4226c8eb3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:14:22.335Z] ---> job-cost.sh [2023-01-10T01:14:22.335Z] lf-activate-venv: SKIPPING [2023-01-10T01:14:22.335Z] INFO: No Stack... [2023-01-10T01:14:22.600Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T01:14:23.561Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T01:14:24.229Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2023-01-10T01:14:24.229Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T01:14:24.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-447-1-stack-cost] [2023-01-10T01:14:24.336Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-447-1-stack-cost] did not exist. Created. [2023-01-10T01:14:24.336Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-447-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T01:14:25.081Z] /w/workspace/device-mqtt-go/1@tmp/durable-c9bc24f8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T01:14:25.767Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T01:14:25.808Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T01:14:25.857Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T01:14:25.871Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-447-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T01:14:25.956Z] $ docker stop --time=1 792b583e99bfe916700d874ff3f1a364c0fc534a36c0cf7b4e7bfc4226c8eb3e [2023-01-10T01:14:27.494Z] $ docker rm -f --volumes 792b583e99bfe916700d874ff3f1a364c0fc534a36c0cf7b4e7bfc4226c8eb3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-10T01:14:28.502Z] provisioning config files... [2023-01-10T01:14:28.513Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp/config398011966131532469tmp [Pipeline] { [Pipeline] sh [2023-01-10T01:14:28.854Z] + set +x [2023-01-10T01:14:28.854Z] + curl -s https://codecov.io/bash [2023-01-10T01:14:28.854Z] + bash -s -- [2023-01-10T01:14:28.854Z] [2023-01-10T01:14:28.854Z] _____ _ [2023-01-10T01:14:28.854Z] / ____| | | [2023-01-10T01:14:28.854Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T01:14:28.854Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T01:14:28.854Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T01:14:28.854Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T01:14:28.854Z] Bash-1.0.6 [2023-01-10T01:14:28.854Z] [2023-01-10T01:14:28.854Z] [2023-01-10T01:14:28.854Z] ==> git version 2.25.1 found [2023-01-10T01:14:28.854Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-10T01:14:28.854Z] Release-Date: 2020-01-08 [2023-01-10T01:14:28.854Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-10T01:14:28.854Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T01:14:28.854Z] ==> Jenkins CI detected. [2023-01-10T01:14:28.854Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-447 [2023-01-10T01:14:28.854Z] project root: . [2023-01-10T01:14:28.854Z] --> token set from env [2023-01-10T01:14:28.854Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T01:14:28.854Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T01:14:28.854Z] ==> Python coveragepy not found [2023-01-10T01:14:28.854Z] ==> Searching for coverage reports in: [2023-01-10T01:14:28.854Z] + . [2023-01-10T01:14:28.854Z] -> Found 1 reports [2023-01-10T01:14:28.854Z] ==> Detecting git/mercurial file structure [2023-01-10T01:14:28.854Z] ==> Reading reports [2023-01-10T01:14:29.115Z] + ./coverage.out bytes=17887 [2023-01-10T01:14:29.115Z] ==> Appending adjustments [2023-01-10T01:14:29.115Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T01:14:29.115Z] + Found adjustments [2023-01-10T01:14:29.115Z] ==> Gzipping contents [2023-01-10T01:14:29.115Z] 4.0K /tmp/codecov.OrT3fE.gz [2023-01-10T01:14:29.115Z] ==> Uploading reports [2023-01-10T01:14:29.115Z] url: https://codecov.io [2023-01-10T01:14:29.115Z] query: branch=PR-447&commit=910799aae092ce562946993924ed23410661650b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-447%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=447&job=&cmd_args= [2023-01-10T01:14:29.115Z] -> Pinging Codecov [2023-01-10T01:14:29.115Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-447&commit=910799aae092ce562946993924ed23410661650b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-447%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=447&job=&cmd_args= [2023-01-10T01:14:29.375Z] -> Uploading to [2023-01-10T01:14:29.375Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/7D719EC7BBE17E464838252E33014C33/910799aae092ce562946993924ed23410661650b/3c797f74-56d7-4575-b149-d3df47a383cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T011429Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c88a25f1eda17f9a91dcca7633947817d2d243fc2b811c458b9caf0c7b37e4a [2023-01-10T01:14:29.375Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T01:14:29.375Z] Dload Upload Total Spent Left Speed [2023-01-10T01:14:29.633Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 14515 --:--:-- --:--:-- --:--:-- 14450 100 3208 0 0 100 3208 0 12151 --:--:-- --:--:-- --:--:-- 12105 [2023-01-10T01:14:29.633Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/910799aae092ce562946993924ed23410661650b [Pipeline] } [2023-01-10T01:14:29.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-10T01:14:31.611Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-447/archives ] [2023-01-10T01:14:31.611Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-447/archives [2023-01-10T01:14:31.611Z] total 16 [2023-01-10T01:14:31.611Z] drwxr-xr-x 3 root root 4096 Jan 10 01:05 . [2023-01-10T01:14:31.611Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 01:05 .. [2023-01-10T01:14:31.611Z] drwxr-xr-x 2 root root 4096 Jan 10 01:05 cost [2023-01-10T01:14:31.611Z] -rw-r--r-- 1 root root 86 Jan 10 01:05 cost.csv [2023-01-10T01:14:31.611Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-447/archives [2023-01-10T01:14:31.611Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-447/archives [2023-01-10T01:14:31.611Z] total 16 [2023-01-10T01:14:31.611Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 01:05 . [2023-01-10T01:14:31.611Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 01:05 .. [2023-01-10T01:14:31.611Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 01:05 cost [2023-01-10T01:14:31.611Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 01:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:14:31.936Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:14:32.832Z] ---> package-listing.sh [2023-01-10T01:14:32.832Z] ++ facter osfamily [2023-01-10T01:14:32.832Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T01:14:33.091Z] + OS_FAMILY=debian [2023-01-10T01:14:33.091Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-447 [2023-01-10T01:14:33.091Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T01:14:33.091Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T01:14:33.091Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T01:14:33.091Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T01:14:33.091Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-447 ']' [2023-01-10T01:14:33.091Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T01:14:33.091Z] + case "${OS_FAMILY}" in [2023-01-10T01:14:33.091Z] + dpkg -l [2023-01-10T01:14:33.091Z] + grep '^ii' [2023-01-10T01:14:33.091Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T01:14:33.091Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T01:14:33.091Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T01:14:33.091Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-447 ']' [2023-01-10T01:14:33.091Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-447/archives/ [2023-01-10T01:14:33.092Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-447/archives/ [Pipeline] echo [2023-01-10T01:14:33.124Z] 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-447/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T01:14:33.417Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T01:14:34.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T01:14:34.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T01:14:34.195Z] prd-ubuntu20.04-docker-8c-8g-1513 does not seem to be running inside a container [2023-01-10T01:14:34.232Z] $ 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-447/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-447 -v /w/workspace/gexfoundry_device-mqtt-go_PR-447:/w/workspace/gexfoundry_device-mqtt-go_PR-447:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T01:14:34.441Z] $ docker top f7d7cb136ee83f773eb8d33670dc8ecab0a36105f776661c2c163ec924f87277 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T01:14:34.830Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T01:14:35.136Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T01:14:35.473Z] + ls /var/log/sa-host [2023-01-10T01:14:35.473Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T01:14:35.698Z] provisioning config files... [2023-01-10T01:14:35.707Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-447@tmp/config17979105748057190261tmp [Pipeline] { [Pipeline] echo [2023-01-10T01:14:35.760Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:14:36.075Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T01:14:36.102Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:14:36.559Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T01:14:36.590Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:14:36.905Z] ---> sudo-logs.sh [2023-01-10T01:14:36.905Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T01:14:37.071Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:14:37.391Z] ---> job-cost.sh [2023-01-10T01:14:37.391Z] lf-activate-venv: SKIPPING [2023-01-10T01:14:37.391Z] DEBUG: total: 0.2199999988079071 [2023-01-10T01:14:37.391Z] INFO: Retrieving Stack Cost... [2023-01-10T01:14:37.651Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T01:14:38.220Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T01:14:38.251Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T01:14:38.556Z] ---> logs-deploy.sh [2023-01-10T01:14:38.556Z] lf-activate-venv: SKIPPING [2023-01-10T01:14:38.556Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-447/1 [2023-01-10T01:14:38.556Z] INFO: archiving workspace using pattern(s): [2023-01-10T01:14:39.491Z] Archives upload complete. [2023-01-10T01:14:39.753Z] INFO: archiving logs to Nexus