Pull request #434 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0e920f928db6e55c7654ccff9c7fea9a5616c704+e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 (7a7841cde06a4e56f5a24fb96bcaddd5519d748f) 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-ssh11449579177604931854.key Verifying host key using known hosts file > 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-ssh2597907793155356209.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6696923627991232927.key Verifying host key using known hosts file > 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 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-ssh4143185279924330704.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6284665246574710795.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Executor slot already in use ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-118228’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-118470’ is offline ‘prd-ubuntu20.04-docker-8c-8g-118471’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-118468’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118476 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [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-434 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 into PR head commit 0e920f928db6e55c7654ccff9c7fea9a5616c704 Merge succeeded, producing 0e920f928db6e55c7654ccff9c7fea9a5616c704 Checking out Revision 0e920f928db6e55c7654ccff9c7fea9a5616c704 (PR-434) Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T17:31:57.650Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T17:31:57.709Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T17:31:57.724Z] ========================================================= [2022-11-07T17:31:57.724Z] EdgeX Global Pipelines Version Info [2022-11-07T17:31:57.724Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 0e920f928db6e55c7654ccff9c7fea9a5616c704 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0e920f928db6e55c7654ccff9c7fea9a5616c704 # timeout=10 > git rev-list --no-walk 916c95f7591c82d11d12ae833a0db195c78769ed # timeout=10 [2022-11-07T17:31:58.425Z] ------------------- [2022-11-07T17:31:58.425Z] stable info: [2022-11-07T17:31:58.425Z] ------------------- [2022-11-07T17:31:58.425Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T17:31:58.425Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T17:31:58.425Z] Message: update stable to v1.0.244 [2022-11-07T17:31:58.996Z] ------------------- [2022-11-07T17:31:58.996Z] experimental info: [2022-11-07T17:31:58.996Z] ------------------- [2022-11-07T17:31:58.996Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T17:31:58.996Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T17:31:58.996Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T17:31:59.138Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-11-07T17:31:59.149Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-11-07T17:31:59.165Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T17:31:59.178Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T17:31:59.189Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T17:31:59.204Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T17:31:59.215Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T17:31:59.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T17:31:59.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T17:31:59.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T17:31:59.263Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T17:31:59.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-11-07T17:31:59.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T17:31:59.298Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T17:31:59.309Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T17:31:59.320Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T17:31:59.332Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T17:31:59.344Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T17:31:59.356Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T17:31:59.368Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T17:31:59.380Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T17:31:59.392Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T17:31:59.405Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T17:31:59.420Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T17:31:59.431Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T17:31:59.440Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T17:31:59.452Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T17:31:59.466Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-434 [Pipeline] echo [2022-11-07T17:31:59.476Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-434 [Pipeline] echo [2022-11-07T17:31:59.488Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-434 [Pipeline] echo [2022-11-07T17:31:59.500Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0e920f928db6e55c7654ccff9c7fea9a5616c704 [Pipeline] echo [2022-11-07T17:31:59.512Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0e920f9 [Pipeline] echo [2022-11-07T17:31:59.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T17:31:59.567Z] provisioning config files... [2022-11-07T17:31:59.581Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config10392997306287681747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:31:59.883Z] ---> docker-login.sh [2022-11-07T17:31:59.883Z] nexus3.edgexfoundry.org:10001 [2022-11-07T17:32:00.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.143Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.143Z] [2022-11-07T17:32:00.143Z] Login Succeeded [2022-11-07T17:32:00.143Z] nexus3.edgexfoundry.org:10002 [2022-11-07T17:32:00.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.143Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.143Z] [2022-11-07T17:32:00.143Z] Login Succeeded [2022-11-07T17:32:00.143Z] nexus3.edgexfoundry.org:10003 [2022-11-07T17:32:00.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.403Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.403Z] [2022-11-07T17:32:00.403Z] Login Succeeded [2022-11-07T17:32:00.403Z] nexus3.edgexfoundry.org:10004 [2022-11-07T17:32:00.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.403Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.403Z] [2022-11-07T17:32:00.403Z] Login Succeeded [2022-11-07T17:32:00.403Z] docker.io [2022-11-07T17:32:00.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:00.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:00.921Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:00.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:00.921Z] [2022-11-07T17:32:00.921Z] Login Succeeded [2022-11-07T17:32:00.921Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T17:32:00.928Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T17:32:01.299Z] + git rev-list -1 --merges 0e920f928db6e55c7654ccff9c7fea9a5616c704~1..0e920f928db6e55c7654ccff9c7fea9a5616c704 [Pipeline] echo [2022-11-07T17:32:01.330Z] -----------> git rev-list -1 --merges 0e920f928db6e55c7654ccff9c7fea9a5616c704~1..0e920f928db6e55c7654ccff9c7fea9a5616c704 0e920f928db6e55c7654ccff9c7fea9a5616c704 [false] [Pipeline] sh [2022-11-07T17:32:01.617Z] + git log --format=format:%s -1 0e920f928db6e55c7654ccff9c7fea9a5616c704 [Pipeline] echo [2022-11-07T17:32:01.632Z] ========================================================= [2022-11-07T17:32:01.632Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T17:32:01.632Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T17:32:01.951Z] + git log --format=format:%s -1 0e920f928db6e55c7654ccff9c7fea9a5616c704 [Pipeline] echo [2022-11-07T17:32:01.964Z] [semverPrep] GIT_COMMIT: 0e920f928db6e55c7654ccff9c7fea9a5616c704, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2022-11-07T17:32:01.970Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T17:32:02.320Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T17:32:02.320Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T17:32:02.320Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T17:32:02.320Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T17:32:02.320Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T17:32:02.320Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T17:32:02.320Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:32:02.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T17:32:02.672Z] [2022-11-07T17:32:02.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:32:02.971Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T17:32:02.971Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T17:32:02.971Z] b85a868b505f: Pulling fs layer [2022-11-07T17:32:02.971Z] e2be974225ed: Pulling fs layer [2022-11-07T17:32:02.971Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T17:32:02.971Z] 988bab9f4d93: Pulling fs layer [2022-11-07T17:32:02.971Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T17:32:02.971Z] eaf3925da568: Pulling fs layer [2022-11-07T17:32:02.971Z] bab4dde63d76: Pulling fs layer [2022-11-07T17:32:02.971Z] bde34c3a00c8: Pulling fs layer [2022-11-07T17:32:02.971Z] b352a97aabf1: Pulling fs layer [2022-11-07T17:32:02.971Z] 4872d77fe225: Pulling fs layer [2022-11-07T17:32:02.971Z] 5851b861e8e6: Pulling fs layer [2022-11-07T17:32:02.971Z] 988bab9f4d93: Waiting [2022-11-07T17:32:02.971Z] 1469e6f7b9e6: Waiting [2022-11-07T17:32:02.971Z] eaf3925da568: Waiting [2022-11-07T17:32:02.971Z] bab4dde63d76: Waiting [2022-11-07T17:32:02.971Z] bde34c3a00c8: Waiting [2022-11-07T17:32:02.971Z] b352a97aabf1: Waiting [2022-11-07T17:32:02.971Z] 4872d77fe225: Waiting [2022-11-07T17:32:02.971Z] 5851b861e8e6: Waiting [2022-11-07T17:32:02.971Z] e2be974225ed: Verifying Checksum [2022-11-07T17:32:02.971Z] e2be974225ed: Download complete [2022-11-07T17:32:02.971Z] 988bab9f4d93: Verifying Checksum [2022-11-07T17:32:02.971Z] 988bab9f4d93: Download complete [2022-11-07T17:32:03.240Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T17:32:03.240Z] 1469e6f7b9e6: Download complete [2022-11-07T17:32:03.240Z] eaf3925da568: Download complete [2022-11-07T17:32:03.240Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T17:32:03.240Z] 339a4e72a1f5: Download complete [2022-11-07T17:32:03.240Z] bde34c3a00c8: Download complete [2022-11-07T17:32:03.503Z] b352a97aabf1: Download complete [2022-11-07T17:32:03.503Z] 4872d77fe225: Verifying Checksum [2022-11-07T17:32:03.503Z] 4872d77fe225: Download complete [2022-11-07T17:32:03.503Z] 5851b861e8e6: Verifying Checksum [2022-11-07T17:32:03.503Z] 5851b861e8e6: Download complete [2022-11-07T17:32:03.503Z] b85a868b505f: Verifying Checksum [2022-11-07T17:32:03.503Z] b85a868b505f: Download complete [2022-11-07T17:32:03.762Z] bab4dde63d76: Verifying Checksum [2022-11-07T17:32:03.762Z] bab4dde63d76: Download complete [2022-11-07T17:32:04.701Z] b85a868b505f: Pull complete [2022-11-07T17:32:04.960Z] e2be974225ed: Pull complete [2022-11-07T17:32:05.528Z] 339a4e72a1f5: Pull complete [2022-11-07T17:32:05.528Z] 988bab9f4d93: Pull complete [2022-11-07T17:32:05.787Z] 1469e6f7b9e6: Pull complete [2022-11-07T17:32:05.787Z] eaf3925da568: Pull complete [2022-11-07T17:32:07.690Z] bab4dde63d76: Pull complete [2022-11-07T17:32:07.948Z] bde34c3a00c8: Pull complete [2022-11-07T17:32:08.208Z] b352a97aabf1: Pull complete [2022-11-07T17:32:08.474Z] 4872d77fe225: Pull complete [2022-11-07T17:32:08.734Z] 5851b861e8e6: Pull complete [2022-11-07T17:32:08.994Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T17:32:08.994Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T17:32:08.994Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:32:09.085Z] prd-ubuntu20.04-docker-8c-8g-118476 does not seem to be running inside a container [2022-11-07T17:32:09.108Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-11-07T17:32:13.820Z] $ docker top 200ab15e972a85511c50eb8fdf31d7d7c0f39824081b496205bae42d7ede7e2d -eo pid,comm [2022-11-07T17:32:13.879Z] 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). [2022-11-07T17:32:13.879Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T17:32:13.914Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T17:32:13.914Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T17:32:14.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T17:32:14.034Z] $ docker exec 200ab15e972a85511c50eb8fdf31d7d7c0f39824081b496205bae42d7ede7e2d ssh-agent [2022-11-07T17:32:14.134Z] SSH_AUTH_SOCK=/tmp/ssh-qzwGKmgHbYJF/agent.33 [2022-11-07T17:32:14.134Z] SSH_AGENT_PID=39 [2022-11-07T17:32:14.139Z] Running ssh-add (command line suppressed) [2022-11-07T17:32:14.238Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_7361705420432472416.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_7361705420432472416.key) [2022-11-07T17:32:14.255Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T17:32:14.541Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T17:32:14.552Z] $ docker exec --env ******** --env ******** 200ab15e972a85511c50eb8fdf31d7d7c0f39824081b496205bae42d7ede7e2d ssh-agent -k [2022-11-07T17:32:14.646Z] unset SSH_AUTH_SOCK; [2022-11-07T17:32:14.646Z] unset SSH_AGENT_PID; [2022-11-07T17:32:14.646Z] echo Agent pid 39 killed; [2022-11-07T17:32:14.661Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T17:32:14.691Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T17:32:14.691Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T17:32:14.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T17:32:14.803Z] $ docker exec 200ab15e972a85511c50eb8fdf31d7d7c0f39824081b496205bae42d7ede7e2d ssh-agent [2022-11-07T17:32:14.899Z] SSH_AUTH_SOCK=/tmp/ssh-PxVNMoDgjjtS/agent.72 [2022-11-07T17:32:14.899Z] SSH_AGENT_PID=78 [2022-11-07T17:32:14.903Z] Running ssh-add (command line suppressed) [2022-11-07T17:32:14.993Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_2757696367059068764.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_2757696367059068764.key) [2022-11-07T17:32:15.009Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T17:32:15.302Z] + git semver init [2022-11-07T17:32:15.562Z] 2022-11-07 17:32:15,487 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T17:32:15.562Z] 2022-11-07 17:32:15,487 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver [2022-11-07T17:32:15.562Z] 2022-11-07 17:32:15,488 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver [2022-11-07T17:32:15.562Z] 2022-11-07 17:32:15,488 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434, universal_newlines=False, shell=None, istream=None) [2022-11-07T17:32:16.502Z] 2022-11-07 17:32:16,379 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.git/info/exclude [2022-11-07T17:32:16.502Z] 2022-11-07 17:32:16,379 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 with force:False [2022-11-07T17:32:16.502Z] 2022-11-07 17:32:16,379 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-11-07T17:32:16.502Z] 2022-11-07 17:32:16,383 [execute] INFO git cat-file --batch-check [2022-11-07T17:32:16.503Z] 2022-11-07 17:32:16,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T17:32:16.503Z] 2022-11-07 17:32:16,389 [execute] INFO git cat-file --batch [2022-11-07T17:32:16.503Z] 2022-11-07 17:32:16,389 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T17:32:16.503Z] 2022-11-07 17:32:16,393 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 [2022-11-07T17:32:16.503Z] 0.0.0 [Pipeline] } [2022-11-07T17:32:16.509Z] $ docker exec --env ******** --env ******** 200ab15e972a85511c50eb8fdf31d7d7c0f39824081b496205bae42d7ede7e2d ssh-agent -k [2022-11-07T17:32:16.602Z] unset SSH_AUTH_SOCK; [2022-11-07T17:32:16.603Z] unset SSH_AGENT_PID; [2022-11-07T17:32:16.603Z] echo Agent pid 78 killed; [2022-11-07T17:32:16.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T17:32:16.919Z] + git semver [Pipeline] } [2022-11-07T17:32:17.189Z] $ docker stop --time=1 200ab15e972a85511c50eb8fdf31d7d7c0f39824081b496205bae42d7ede7e2d [2022-11-07T17:32:18.480Z] $ docker rm -f 200ab15e972a85511c50eb8fdf31d7d7c0f39824081b496205bae42d7ede7e2d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T17:32:18.819Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T17:32:18.996Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T17:32:18.998Z] [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 [2022-11-07T17:32:19.139Z] provisioning config files... [2022-11-07T17:32:19.148Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config11136385550668523188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:32:19.443Z] ---> docker-login.sh [2022-11-07T17:32:19.443Z] nexus3.edgexfoundry.org:10001 [2022-11-07T17:32:19.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:19.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:19.443Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:19.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:19.443Z] [2022-11-07T17:32:19.443Z] Login Succeeded [2022-11-07T17:32:19.443Z] nexus3.edgexfoundry.org:10002 [2022-11-07T17:32:19.443Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:19.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:19.443Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:19.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:19.443Z] [2022-11-07T17:32:19.443Z] Login Succeeded [2022-11-07T17:32:19.443Z] nexus3.edgexfoundry.org:10003 [2022-11-07T17:32:19.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:19.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:19.702Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:19.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:19.702Z] [2022-11-07T17:32:19.702Z] Login Succeeded [2022-11-07T17:32:19.702Z] nexus3.edgexfoundry.org:10004 [2022-11-07T17:32:19.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:19.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:19.702Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:19.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:19.702Z] [2022-11-07T17:32:19.702Z] Login Succeeded [2022-11-07T17:32:19.702Z] docker.io [2022-11-07T17:32:19.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:32:20.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:32:20.220Z] Configure a credential helper to remove this warning. See [2022-11-07T17:32:20.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:32:20.220Z] [2022-11-07T17:32:20.220Z] Login Succeeded [2022-11-07T17:32:20.220Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T17:32:20.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T17:32:20.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:32:20.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:32:20.307Z] ========================================================= [2022-11-07T17:32:20.307Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T17:32:20.307Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:32:20.626Z] + 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 . [2022-11-07T17:32:20.626Z] Sending build context to Docker daemon 6.217MB [2022-11-07T17:32:20.626Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:32:20.626Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T17:32:20.888Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T17:32:20.888Z] 213ec9aee27d: Pulling fs layer [2022-11-07T17:32:20.888Z] 4583459ba037: Pulling fs layer [2022-11-07T17:32:20.888Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T17:32:20.888Z] 53926ce57604: Pulling fs layer [2022-11-07T17:32:20.888Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T17:32:20.888Z] 22ff95d597cd: Pulling fs layer [2022-11-07T17:32:20.888Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T17:32:20.888Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T17:32:20.888Z] a7acece74701: Pulling fs layer [2022-11-07T17:32:20.888Z] 53926ce57604: Waiting [2022-11-07T17:32:20.888Z] 22ff95d597cd: Waiting [2022-11-07T17:32:20.888Z] 21b2b0c7a3f4: Waiting [2022-11-07T17:32:20.888Z] 12d6caf4c0d1: Waiting [2022-11-07T17:32:20.888Z] a7acece74701: Waiting [2022-11-07T17:32:20.888Z] 93c1e223e6f2: Download complete [2022-11-07T17:32:20.888Z] 4583459ba037: Verifying Checksum [2022-11-07T17:32:20.888Z] 4583459ba037: Download complete [2022-11-07T17:32:20.888Z] 21b2b0c7a3f4: Download complete [2022-11-07T17:32:20.888Z] 22ff95d597cd: Verifying Checksum [2022-11-07T17:32:20.888Z] 22ff95d597cd: Download complete [2022-11-07T17:32:20.888Z] 213ec9aee27d: Verifying Checksum [2022-11-07T17:32:20.888Z] 12d6caf4c0d1: Verifying Checksum [2022-11-07T17:32:20.888Z] 12d6caf4c0d1: Download complete [2022-11-07T17:32:21.152Z] 213ec9aee27d: Pull complete [2022-11-07T17:32:21.152Z] 4583459ba037: Pull complete [2022-11-07T17:32:21.152Z] 93c1e223e6f2: Pull complete [2022-11-07T17:32:21.413Z] a7acece74701: Verifying Checksum [2022-11-07T17:32:21.413Z] a7acece74701: Download complete [2022-11-07T17:32:21.671Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T17:32:21.671Z] 96b7cbca73a9: Download complete [2022-11-07T17:32:21.671Z] 53926ce57604: Download complete [2022-11-07T17:32:25.885Z] 53926ce57604: Pull complete [2022-11-07T17:32:25.885Z] 21b2b0c7a3f4: Pull complete [2022-11-07T17:32:25.885Z] 22ff95d597cd: Pull complete [2022-11-07T17:32:25.885Z] 12d6caf4c0d1: Pull complete [2022-11-07T17:32:27.788Z] 96b7cbca73a9: Pull complete [2022-11-07T17:32:28.726Z] a7acece74701: Pull complete [2022-11-07T17:32:28.726Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T17:32:28.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T17:32:28.726Z] ---> db6d94c90886 [2022-11-07T17:32:28.726Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:32:34.096Z] Still waiting to schedule task [2022-11-07T17:32:34.096Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-07T17:32:35.341Z] ---> Running in b80f8cab3a86 [2022-11-07T17:32:35.341Z] Removing intermediate container b80f8cab3a86 [2022-11-07T17:32:35.341Z] ---> deaa270db1e7 [2022-11-07T17:32:35.341Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:32:35.341Z] ---> Running in 83bb435048a8 [2022-11-07T17:32:35.341Z] Removing intermediate container 83bb435048a8 [2022-11-07T17:32:35.341Z] ---> 2e21c75969e7 [2022-11-07T17:32:35.341Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T17:32:35.341Z] ---> Running in 9c83aa2b04af [2022-11-07T17:32:35.341Z] Removing intermediate container 9c83aa2b04af [2022-11-07T17:32:35.341Z] ---> 5c9739007547 [2022-11-07T17:32:35.341Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T17:32:35.341Z] ---> Running in 1aa14ac46509 [2022-11-07T17:32:35.341Z] Removing intermediate container 1aa14ac46509 [2022-11-07T17:32:35.341Z] ---> 6d9b370e2d3c [2022-11-07T17:32:35.341Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T17:32:35.341Z] ---> Running in dc582e78448d [2022-11-07T17:32:35.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T17:32:35.911Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T17:32:35.911Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T17:32:36.171Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T17:32:36.171Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T17:32:36.171Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T17:32:36.171Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T17:32:36.171Z] OK: 216 MiB in 55 packages [2022-11-07T17:32:36.761Z] Removing intermediate container dc582e78448d [2022-11-07T17:32:36.761Z] ---> 1b1d0a149ae3 [2022-11-07T17:32:36.761Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T17:32:36.761Z] ---> Running in 18685d5cd3b7 [2022-11-07T17:32:36.761Z] Removing intermediate container 18685d5cd3b7 [2022-11-07T17:32:36.761Z] ---> a8fe37a674ed [2022-11-07T17:32:36.761Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T17:32:36.761Z] ---> 189c3f5d2568 [2022-11-07T17:32:36.761Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:32:37.019Z] ---> Running in 91db926a1bb1 [2022-11-07T17:33:03.607Z] Removing intermediate container 91db926a1bb1 [2022-11-07T17:33:03.607Z] ---> a6476df594d5 [2022-11-07T17:33:03.607Z] Step 11/12 : COPY . . [2022-11-07T17:33:03.607Z] ---> e2d76a09438d [2022-11-07T17:33:03.607Z] Step 12/12 : RUN $MAKE [2022-11-07T17:33:03.607Z] ---> Running in 7aeaab8c8b30 [2022-11-07T17:33:03.607Z] noop [2022-11-07T17:33:03.607Z] Removing intermediate container 7aeaab8c8b30 [2022-11-07T17:33:03.607Z] ---> 3c89d817c9fa [2022-11-07T17:33:03.607Z] Successfully built 3c89d817c9fa [2022-11-07T17:33:03.607Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:33:03.917Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T17:33:03.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:33:03.982Z] prd-ubuntu20.04-docker-8c-8g-118476 does not seem to be running inside a container [2022-11-07T17:33:04.017Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T17:33:04.344Z] $ docker top 4eacffe0980a9917aa51c669fd3af6cb1017d6f0d1d2efcad8523cdc77e53285 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:33:04.686Z] + go version [2022-11-07T17:33:04.687Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T17:33:04.697Z] $ docker stop --time=1 4eacffe0980a9917aa51c669fd3af6cb1017d6f0d1d2efcad8523cdc77e53285 [2022-11-07T17:33:05.965Z] $ docker rm -f 4eacffe0980a9917aa51c669fd3af6cb1017d6f0d1d2efcad8523cdc77e53285 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:33:06.352Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T17:33:06.352Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:33:06.426Z] prd-ubuntu20.04-docker-8c-8g-118476 does not seem to be running inside a container [2022-11-07T17:33:06.459Z] $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-07T17:33:06.801Z] $ docker top a665c80260dc60b46cc78befe9868f553cfbb9d0d85ffd6edca0eee8ba9a4c22 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:33:07.145Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] fileExists [Pipeline] sh [2022-11-07T17:33:07.440Z] + make test [2022-11-07T17:33:07.440Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T17:33:07.697Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T17:33:17.657Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T17:33:17.657Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-11-07T17:33:17.657Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T17:33:22.914Z] 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." [2022-11-07T17:33:22.914Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T17:33:26.191Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T17:33:26.191Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T17:33:26.191Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T17:33:26.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T17:33:26.215Z] $ docker stop --time=1 a665c80260dc60b46cc78befe9868f553cfbb9d0d85ffd6edca0eee8ba9a4c22 [2022-11-07T17:33:28.853Z] $ docker rm -f a665c80260dc60b46cc78befe9868f553cfbb9d0d85ffd6edca0eee8ba9a4c22 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T17:33:29.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T17:33:29.363Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T17:33:29.776Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T17:33:30.060Z] + ls -al . [2022-11-07T17:33:30.060Z] total 196 [2022-11-07T17:33:30.060Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:33 . [2022-11-07T17:33:30.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:31 .. [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:31 .dockerignore [2022-11-07T17:33:30.060Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:33 .git [2022-11-07T17:33:30.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:31 .github [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:31 .gitignore [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:31 .golangci.yml [2022-11-07T17:33:30.060Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:32 .semver [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:31 Attribution.txt [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:31 CHANGELOG.md [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:31 Dockerfile [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:31 GOVERNANCE.md [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:31 Jenkinsfile [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:31 LICENSE [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:31 Makefile [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:31 OWNERS.md [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:31 README.md [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:32 VERSION [2022-11-07T17:33:30.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:31 bin [2022-11-07T17:33:30.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:31 cmd [2022-11-07T17:33:30.060Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 17:33 coverage.out [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 3505 Nov 7 17:31 go.mod [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 45130 Nov 7 17:31 go.sum [2022-11-07T17:33:30.060Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:31 internal [2022-11-07T17:33:30.060Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:31 mock [2022-11-07T17:33:30.060Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:31 snap [2022-11-07T17:33:30.060Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:33:30.379Z] + 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=0e920f928db6e55c7654ccff9c7fea9a5616c704 --label arch=amd64 --label version=0.0.0 . [2022-11-07T17:33:30.379Z] Sending build context to Docker daemon 6.236MB [2022-11-07T17:33:30.379Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:33:30.379Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T17:33:30.379Z] ---> 3c89d817c9fa [2022-11-07T17:33:30.379Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:33:30.638Z] ---> Running in 8dce6d5baac6 [2022-11-07T17:33:30.638Z] Removing intermediate container 8dce6d5baac6 [2022-11-07T17:33:30.638Z] ---> 4614d1fb0c0c [2022-11-07T17:33:30.638Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:33:30.638Z] ---> Running in 8e28e5988388 [2022-11-07T17:33:30.898Z] Removing intermediate container 8e28e5988388 [2022-11-07T17:33:30.898Z] ---> d812d87030c7 [2022-11-07T17:33:30.898Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T17:33:30.898Z] ---> Running in a94366c04f1d [2022-11-07T17:33:30.898Z] Removing intermediate container a94366c04f1d [2022-11-07T17:33:30.898Z] ---> 1c837173ef1b [2022-11-07T17:33:30.898Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T17:33:30.898Z] ---> Running in af1432e0761a [2022-11-07T17:33:30.898Z] Removing intermediate container af1432e0761a [2022-11-07T17:33:30.898Z] ---> a30e9b04bd9d [2022-11-07T17:33:30.898Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T17:33:30.898Z] ---> Running in 8c00ad858f5f [2022-11-07T17:33:31.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T17:33:31.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T17:33:31.418Z] OK: 216 MiB in 55 packages [2022-11-07T17:33:31.983Z] Removing intermediate container 8c00ad858f5f [2022-11-07T17:33:31.983Z] ---> c444dd20ec07 [2022-11-07T17:33:31.983Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T17:33:31.983Z] ---> Running in 4cc316c194be [2022-11-07T17:33:31.983Z] Removing intermediate container 4cc316c194be [2022-11-07T17:33:31.983Z] ---> bf76c1681115 [2022-11-07T17:33:31.983Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T17:33:31.983Z] ---> b8691af233ee [2022-11-07T17:33:31.983Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:33:31.983Z] ---> Running in 2ca39dcdb4e9 [2022-11-07T17:33:32.553Z] Removing intermediate container 2ca39dcdb4e9 [2022-11-07T17:33:32.553Z] ---> 4cb525b01e95 [2022-11-07T17:33:32.553Z] Step 11/24 : COPY . . [2022-11-07T17:33:33.118Z] ---> 90f90840c585 [2022-11-07T17:33:33.118Z] Step 12/24 : RUN $MAKE [2022-11-07T17:33:33.119Z] ---> Running in b31c989a701f [2022-11-07T17:33:33.375Z] 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 [2022-11-07T17:33:55.302Z] Removing intermediate container b31c989a701f [2022-11-07T17:33:55.302Z] ---> 9fc304a44557 [2022-11-07T17:33:55.302Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T17:33:55.302Z] 3.16: Pulling from library/alpine [2022-11-07T17:33:55.302Z] 213ec9aee27d: Already exists [2022-11-07T17:33:55.302Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T17:33:55.302Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T17:33:55.302Z] ---> 9c6f07244728 [2022-11-07T17:33:55.302Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T17:33:55.302Z] ---> Running in 1626f3e6481f [2022-11-07T17:33:55.302Z] Removing intermediate container 1626f3e6481f [2022-11-07T17:33:55.302Z] ---> 277d2962f011 [2022-11-07T17:33:55.302Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T17:33:55.302Z] ---> Running in f0107dc2ccb4 [2022-11-07T17:33:55.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T17:33:55.302Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T17:33:55.302Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T17:33:55.302Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T17:33:55.561Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T17:33:55.561Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T17:33:55.561Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T17:33:55.561Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T17:33:55.561Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T17:33:55.561Z] OK: 8 MiB in 20 packages [2022-11-07T17:33:55.825Z] Removing intermediate container f0107dc2ccb4 [2022-11-07T17:33:55.825Z] ---> fa8ae04a7268 [2022-11-07T17:33:55.825Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T17:33:56.761Z] ---> f42fe4d29ad4 [2022-11-07T17:33:56.761Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T17:33:56.761Z] ---> 42046da1b69d [2022-11-07T17:33:56.761Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T17:33:56.761Z] ---> 784b4912638f [2022-11-07T17:33:56.761Z] Step 19/24 : EXPOSE 59982 [2022-11-07T17:33:56.761Z] ---> Running in 114f93da2c6c [2022-11-07T17:33:57.019Z] Removing intermediate container 114f93da2c6c [2022-11-07T17:33:57.019Z] ---> a47c1d5aa791 [2022-11-07T17:33:57.019Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T17:33:57.019Z] ---> Running in 9663edab01a8 [2022-11-07T17:33:57.019Z] Removing intermediate container 9663edab01a8 [2022-11-07T17:33:57.019Z] ---> 8d289fc8ba9b [2022-11-07T17:33:57.019Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T17:33:57.019Z] ---> Running in 21bd71c1a712 [2022-11-07T17:33:57.019Z] Removing intermediate container 21bd71c1a712 [2022-11-07T17:33:57.019Z] ---> 38cb7297868e [2022-11-07T17:33:57.019Z] Step 22/24 : LABEL arch=amd64 [2022-11-07T17:33:57.019Z] ---> Running in 3badbff01ee1 [2022-11-07T17:33:57.277Z] Removing intermediate container 3badbff01ee1 [2022-11-07T17:33:57.277Z] ---> b8fc012ee438 [2022-11-07T17:33:57.277Z] Step 23/24 : LABEL git_sha=0e920f928db6e55c7654ccff9c7fea9a5616c704 [2022-11-07T17:33:57.277Z] ---> Running in 87a528ddbf25 [2022-11-07T17:33:57.277Z] Removing intermediate container 87a528ddbf25 [2022-11-07T17:33:57.277Z] ---> 673ba7670d96 [2022-11-07T17:33:57.277Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T17:33:57.277Z] ---> Running in 6de774abbd31 [2022-11-07T17:33:57.277Z] Removing intermediate container 6de774abbd31 [2022-11-07T17:33:57.277Z] ---> d1e30c5f83ff [2022-11-07T17:33:57.277Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T17:33:57.277Z] Successfully built d1e30c5f83ff [2022-11-07T17:33:57.277Z] 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 [2022-11-07T17:33:57.710Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:33:57.710Z] [2022-11-07T17:33:57.710Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:33:58.012Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:33:58.012Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T17:33:58.012Z] 5eb5b503b376: Pulling fs layer [2022-11-07T17:33:58.012Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T17:33:58.012Z] ec43610c2a17: Pulling fs layer [2022-11-07T17:33:58.012Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T17:33:58.012Z] 33b1e0a273af: Pulling fs layer [2022-11-07T17:33:58.012Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T17:33:58.012Z] 2f39f015ded8: Pulling fs layer [2022-11-07T17:33:58.012Z] 3a2ae6a8a46f: Waiting [2022-11-07T17:33:58.012Z] 33b1e0a273af: Waiting [2022-11-07T17:33:58.012Z] 5d3b04190fa2: Waiting [2022-11-07T17:33:58.012Z] 2f39f015ded8: Waiting [2022-11-07T17:33:58.012Z] 5c69ac0246d0: Verifying Checksum [2022-11-07T17:33:58.012Z] 5c69ac0246d0: Download complete [2022-11-07T17:33:58.012Z] 3a2ae6a8a46f: Download complete [2022-11-07T17:33:58.012Z] ec43610c2a17: Verifying Checksum [2022-11-07T17:33:58.012Z] ec43610c2a17: Download complete [2022-11-07T17:33:58.012Z] 33b1e0a273af: Verifying Checksum [2022-11-07T17:33:58.012Z] 33b1e0a273af: Download complete [2022-11-07T17:33:58.271Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T17:33:58.271Z] 5d3b04190fa2: Download complete [2022-11-07T17:33:58.271Z] 5eb5b503b376: Verifying Checksum [2022-11-07T17:33:58.271Z] 5eb5b503b376: Download complete [2022-11-07T17:33:58.837Z] 2f39f015ded8: Verifying Checksum [2022-11-07T17:33:58.837Z] 2f39f015ded8: Download complete [2022-11-07T17:33:59.773Z] 5eb5b503b376: Pull complete [2022-11-07T17:33:59.773Z] 5c69ac0246d0: Pull complete [2022-11-07T17:34:00.341Z] ec43610c2a17: Pull complete [2022-11-07T17:34:00.341Z] 3a2ae6a8a46f: Pull complete [2022-11-07T17:34:00.599Z] 33b1e0a273af: Pull complete [2022-11-07T17:34:00.599Z] 5d3b04190fa2: Pull complete [2022-11-07T17:34:04.783Z] 2f39f015ded8: Pull complete [2022-11-07T17:34:04.783Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T17:34:04.783Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:34:04.783Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:34:04.850Z] prd-ubuntu20.04-docker-8c-8g-118476 does not seem to be running inside a container [2022-11-07T17:34:04.879Z] $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T17:34:09.059Z] $ docker top c9eac2deaf2fada5e7433ce4f0c35fdb4e8bbe5dce2c95a0f84f1209706be998 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:34:09.419Z] ---> job-cost.sh [2022-11-07T17:34:09.419Z] lf-activate-venv: SKIPPING [2022-11-07T17:34:09.419Z] INFO: No Stack... [2022-11-07T17:34:09.677Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T17:34:09.936Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T17:34:10.220Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/cost.csv [2022-11-07T17:34:10.220Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T17:34:10.232Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-4-stack-cost] [2022-11-07T17:34:10.240Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-4-stack-cost] did not exist. Created. [2022-11-07T17:34:10.240Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T17:34:10.540Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T17:34:10.564Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T17:34:10.572Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T17:34:10.592Z] $ docker stop --time=1 c9eac2deaf2fada5e7433ce4f0c35fdb4e8bbe5dce2c95a0f84f1209706be998 [2022-11-07T17:34:11.747Z] $ docker rm -f c9eac2deaf2fada5e7433ce4f0c35fdb4e8bbe5dce2c95a0f84f1209706be998 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T17:34:55.269Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118481 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] { [Pipeline] ws [2022-11-07T17:34:55.283Z] Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout [2022-11-07T17:34:55.338Z] Selected Git installation does not exist. Using Default [2022-11-07T17:34:55.338Z] The recommended git tool is: NONE [2022-11-07T17:35:07.301Z] using credential edgex-jenkins-ssh [2022-11-07T17:35:07.327Z] Cloning the remote Git repository [2022-11-07T17:35:07.408Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T17:35:07.514Z] > git init /w/workspace/device-mqtt-go/4 # timeout=10 [2022-11-07T17:35:07.800Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T17:35:07.801Z] > git --version # timeout=10 [2022-11-07T17:35:07.869Z] > git --version # 'git version 2.25.1' [2022-11-07T17:35:07.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T17:35:07.966Z] Verifying host key using known hosts file [2022-11-07T17:35:08.411Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T17:35:08.426Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T17:35:09.837Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T17:35:09.880Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T17:35:12.259Z] Merging remotes/origin/main commit e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 into PR head commit 0e920f928db6e55c7654ccff9c7fea9a5616c704 [2022-11-07T17:35:11.548Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-11-07T17:35:11.601Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-11-07T17:35:11.603Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T17:35:11.612Z] Verifying host key using known hosts file [2022-11-07T17:35:11.622Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T17:35:11.638Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T17:35:12.288Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T17:35:12.324Z] > git checkout -f 0e920f928db6e55c7654ccff9c7fea9a5616c704 # timeout=10 [2022-11-07T17:35:12.439Z] > git remote # timeout=10 [2022-11-07T17:35:12.638Z] Merge succeeded, producing 0e920f928db6e55c7654ccff9c7fea9a5616c704 [2022-11-07T17:35:12.638Z] Checking out Revision 0e920f928db6e55c7654ccff9c7fea9a5616c704 (PR-434) [2022-11-07T17:35:13.443Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T17:35:12.464Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T17:35:12.503Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T17:35:12.509Z] Verifying host key using known hosts file [2022-11-07T17:35:12.514Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T17:35:12.535Z] > git merge e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 # timeout=10 [2022-11-07T17:35:12.590Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T17:35:12.653Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T17:35:12.720Z] > git checkout -f 0e920f928db6e55c7654ccff9c7fea9a5616c704 # timeout=10 [2022-11-07T17:35:14.389Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T17:35:14.389Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T17:35:14.389Z] Dload Upload Total Spent Left Speed [2022-11-07T17:35:14.389Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 164k 0 --:--:-- --:--:-- --:--:-- 164k [Pipeline] sh [2022-11-07T17:35:15.170Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T17:35:15.567Z] + sudo tee /etc/docker/daemon.new [2022-11-07T17:35:15.568Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-07T17:35:15.568Z] { [2022-11-07T17:35:15.568Z] "registry-mirrors": [ [2022-11-07T17:35:15.568Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T17:35:15.568Z] ], [2022-11-07T17:35:15.568Z] "bip": "10.250.0.254/24", [2022-11-07T17:35:15.568Z] "hosts": [ [2022-11-07T17:35:15.568Z] "tcp://0.0.0.0:5555", [2022-11-07T17:35:15.568Z] "unix:///var/run/docker.sock" [2022-11-07T17:35:15.568Z] ], [2022-11-07T17:35:15.568Z] "mtu": 1458, [2022-11-07T17:35:15.568Z] "selinux-enabled": true, [2022-11-07T17:35:15.568Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T17:35:15.568Z] } [Pipeline] sh [2022-11-07T17:35:15.986Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T17:35:16.371Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T17:35:34.738Z] provisioning config files... [2022-11-07T17:35:34.774Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config7994866192123302372tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:35:35.159Z] ---> docker-login.sh [2022-11-07T17:35:35.159Z] nexus3.edgexfoundry.org:10001 [2022-11-07T17:35:35.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:36.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:36.046Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:36.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:36.046Z] [2022-11-07T17:35:36.046Z] Login Succeeded [2022-11-07T17:35:36.046Z] nexus3.edgexfoundry.org:10002 [2022-11-07T17:35:36.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:36.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:36.325Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:36.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:36.325Z] [2022-11-07T17:35:36.325Z] Login Succeeded [2022-11-07T17:35:36.325Z] nexus3.edgexfoundry.org:10003 [2022-11-07T17:35:36.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:36.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:36.875Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:36.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:36.875Z] [2022-11-07T17:35:36.875Z] Login Succeeded [2022-11-07T17:35:36.875Z] nexus3.edgexfoundry.org:10004 [2022-11-07T17:35:37.152Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:37.152Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:37.152Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:37.152Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:37.152Z] [2022-11-07T17:35:37.152Z] Login Succeeded [2022-11-07T17:35:37.152Z] docker.io [2022-11-07T17:35:37.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T17:35:38.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T17:35:38.023Z] Configure a credential helper to remove this warning. See [2022-11-07T17:35:38.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T17:35:38.023Z] [2022-11-07T17:35:38.023Z] Login Succeeded [2022-11-07T17:35:38.023Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T17:35:38.044Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T17:35:38.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:35:38.292Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T17:35:38.300Z] ========================================================= [2022-11-07T17:35:38.300Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T17:35:38.300Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:35:38.675Z] + 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 . [2022-11-07T17:35:38.951Z] Sending build context to Docker daemon 3.226MB [2022-11-07T17:35:38.951Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:35:38.951Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T17:35:39.225Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T17:35:39.225Z] 9b18e9b68314: Pulling fs layer [2022-11-07T17:35:39.225Z] 35d82f9e3411: Pulling fs layer [2022-11-07T17:35:39.225Z] e16973657156: Pulling fs layer [2022-11-07T17:35:39.225Z] fc693d55d65f: Pulling fs layer [2022-11-07T17:35:39.225Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T17:35:39.225Z] dda99020689f: Pulling fs layer [2022-11-07T17:35:39.225Z] db1c61fa0a46: Pulling fs layer [2022-11-07T17:35:39.225Z] 891c053d2c06: Pulling fs layer [2022-11-07T17:35:39.225Z] fc693d55d65f: Waiting [2022-11-07T17:35:39.225Z] 7e9fc2657dce: Waiting [2022-11-07T17:35:39.225Z] dda99020689f: Waiting [2022-11-07T17:35:39.225Z] db1c61fa0a46: Waiting [2022-11-07T17:35:39.225Z] 891c053d2c06: Waiting [2022-11-07T17:35:39.225Z] e16973657156: Verifying Checksum [2022-11-07T17:35:39.225Z] e16973657156: Download complete [2022-11-07T17:35:39.225Z] 35d82f9e3411: Download complete [2022-11-07T17:35:39.508Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T17:35:39.508Z] 7e9fc2657dce: Download complete [2022-11-07T17:35:39.508Z] dda99020689f: Verifying Checksum [2022-11-07T17:35:39.508Z] dda99020689f: Download complete [2022-11-07T17:35:39.508Z] 9b18e9b68314: Verifying Checksum [2022-11-07T17:35:39.508Z] 9b18e9b68314: Download complete [2022-11-07T17:35:40.510Z] 9b18e9b68314: Pull complete [2022-11-07T17:35:40.787Z] 891c053d2c06: Verifying Checksum [2022-11-07T17:35:40.787Z] 891c053d2c06: Download complete [2022-11-07T17:35:41.085Z] 35d82f9e3411: Pull complete [2022-11-07T17:35:41.362Z] e16973657156: Pull complete [2022-11-07T17:35:41.963Z] db1c61fa0a46: Verifying Checksum [2022-11-07T17:35:41.963Z] db1c61fa0a46: Download complete [2022-11-07T17:35:42.940Z] fc693d55d65f: Verifying Checksum [2022-11-07T17:35:42.940Z] fc693d55d65f: Download complete [2022-11-07T17:35:58.032Z] fc693d55d65f: Pull complete [2022-11-07T17:35:58.032Z] 7e9fc2657dce: Pull complete [2022-11-07T17:35:58.032Z] dda99020689f: Pull complete [2022-11-07T17:36:03.474Z] db1c61fa0a46: Pull complete [2022-11-07T17:36:05.456Z] 891c053d2c06: Pull complete [2022-11-07T17:36:05.456Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T17:36:05.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T17:36:05.456Z] ---> f96f9c87975a [2022-11-07T17:36:05.456Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:36:06.432Z] ---> Running in c30690755e00 [2022-11-07T17:36:06.723Z] Removing intermediate container c30690755e00 [2022-11-07T17:36:06.723Z] ---> 8bc1f11011e0 [2022-11-07T17:36:06.723Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:36:07.003Z] ---> Running in 2894a32f0d9d [2022-11-07T17:36:07.286Z] Removing intermediate container 2894a32f0d9d [2022-11-07T17:36:07.286Z] ---> f70fea280498 [2022-11-07T17:36:07.286Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T17:36:07.286Z] ---> Running in 6b175ad2a3fa [2022-11-07T17:36:07.880Z] Removing intermediate container 6b175ad2a3fa [2022-11-07T17:36:07.880Z] ---> 2205eec9f946 [2022-11-07T17:36:07.880Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T17:36:07.880Z] ---> Running in 8fe0d6fca67a [2022-11-07T17:36:08.154Z] Removing intermediate container 8fe0d6fca67a [2022-11-07T17:36:08.154Z] ---> 0016eef4ba87 [2022-11-07T17:36:08.154Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T17:36:08.154Z] ---> Running in 5680842f118b [2022-11-07T17:36:09.590Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T17:36:09.866Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T17:36:11.309Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T17:36:11.309Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T17:36:11.309Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T17:36:11.309Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T17:36:11.309Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T17:36:11.309Z] OK: 226 MiB in 55 packages [2022-11-07T17:36:12.757Z] Removing intermediate container 5680842f118b [2022-11-07T17:36:12.757Z] ---> f1698831db52 [2022-11-07T17:36:12.757Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-11-07T17:36:12.757Z] ---> Running in 140069b5554d [2022-11-07T17:36:13.032Z] Removing intermediate container 140069b5554d [2022-11-07T17:36:13.032Z] ---> f19795727344 [2022-11-07T17:36:13.032Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T17:36:13.692Z] ---> 16e05b4c468a [2022-11-07T17:36:13.692Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:36:13.967Z] ---> Running in a4f7f625c3b0 [2022-11-07T17:37:21.959Z] Removing intermediate container a4f7f625c3b0 [2022-11-07T17:37:21.959Z] ---> deb947bf3125 [2022-11-07T17:37:21.959Z] Step 11/12 : COPY . . [2022-11-07T17:37:21.959Z] ---> 25d62ddda523 [2022-11-07T17:37:21.959Z] Step 12/12 : RUN $MAKE [2022-11-07T17:37:21.959Z] ---> Running in 8a02d9c58b5d [2022-11-07T17:37:21.959Z] noop [2022-11-07T17:37:21.959Z] Removing intermediate container 8a02d9c58b5d [2022-11-07T17:37:21.959Z] ---> 2584e8be5b73 [2022-11-07T17:37:21.959Z] Successfully built 2584e8be5b73 [2022-11-07T17:37:21.959Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:37:22.328Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T17:37:22.328Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:37:22.544Z] prd-ubuntu20.04-docker-arm64-4c-16g-118481 does not seem to be running inside a container [2022-11-07T17:37:22.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T17:37:23.990Z] $ docker top 93d6baed0d4d807f5b599fca24b08a3e15f9794138d0546b673afbb830a85dba -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:37:24.875Z] + go version [2022-11-07T17:37:24.875Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T17:37:24.903Z] $ docker stop --time=1 93d6baed0d4d807f5b599fca24b08a3e15f9794138d0546b673afbb830a85dba [2022-11-07T17:37:26.640Z] $ docker rm -f 93d6baed0d4d807f5b599fca24b08a3e15f9794138d0546b673afbb830a85dba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:37:27.218Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T17:37:27.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:37:27.430Z] prd-ubuntu20.04-docker-arm64-4c-16g-118481 does not seem to be running inside a container [2022-11-07T17:37:27.517Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-07T17:37:28.886Z] $ docker top ef1b10f7cc112c5a8dec3583195d05fffd2cda91778548aac57ce54e9a185fec -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:37:29.781Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh [2022-11-07T17:37:30.443Z] + make test [2022-11-07T17:37:30.443Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T17:37:32.400Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-11-07T17:39:24.131Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-11-07T17:39:24.131Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.084s coverage: 21.8% of statements [2022-11-07T17:39:24.131Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-11-07T17:39:24.131Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T17:39:24.131Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T17:39:46.213Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T17:39:46.213Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T17:39:46.213Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T17:39:46.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T17:39:46.251Z] $ docker stop --time=1 ef1b10f7cc112c5a8dec3583195d05fffd2cda91778548aac57ce54e9a185fec [2022-11-07T17:39:48.084Z] $ docker rm -f ef1b10f7cc112c5a8dec3583195d05fffd2cda91778548aac57ce54e9a185fec [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T17:39:49.090Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T17:39:49.114Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T17:39:49.639Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T17:39:50.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T17:39:50.355Z] + ls -al . [2022-11-07T17:39:50.355Z] total 192 [2022-11-07T17:39:50.355Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 17:37 . [2022-11-07T17:39:50.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:35 .. [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:35 .dockerignore [2022-11-07T17:39:50.355Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:35 .git [2022-11-07T17:39:50.355Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:35 .github [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:35 .gitignore [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:35 .golangci.yml [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:35 Attribution.txt [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:35 CHANGELOG.md [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:35 Dockerfile [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:35 GOVERNANCE.md [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:35 Jenkinsfile [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:35 LICENSE [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:35 Makefile [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:35 OWNERS.md [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:35 README.md [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:32 VERSION [2022-11-07T17:39:50.355Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:35 bin [2022-11-07T17:39:50.355Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:35 cmd [2022-11-07T17:39:50.355Z] -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 17:39 coverage.out [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 3505 Nov 7 17:35 go.mod [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 45130 Nov 7 17:35 go.sum [2022-11-07T17:39:50.355Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:35 internal [2022-11-07T17:39:50.355Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:35 mock [2022-11-07T17:39:50.355Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:35 snap [2022-11-07T17:39:50.355Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:39:50.696Z] + 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=0e920f928db6e55c7654ccff9c7fea9a5616c704 --label arch=arm64 --label version=0.0.0 . [2022-11-07T17:39:50.962Z] Sending build context to Docker daemon 3.245MB [2022-11-07T17:39:50.962Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T17:39:50.962Z] Step 2/24 : FROM ${BASE} AS builder [2022-11-07T17:39:50.962Z] ---> 2584e8be5b73 [2022-11-07T17:39:50.962Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-11-07T17:39:51.229Z] ---> Running in 541ed8f81597 [2022-11-07T17:39:51.497Z] Removing intermediate container 541ed8f81597 [2022-11-07T17:39:51.497Z] ---> 93f25b004e4b [2022-11-07T17:39:51.497Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T17:39:51.497Z] ---> Running in 9884f11b30ad [2022-11-07T17:39:51.767Z] Removing intermediate container 9884f11b30ad [2022-11-07T17:39:51.767Z] ---> 823057e77755 [2022-11-07T17:39:51.767Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T17:39:52.050Z] ---> Running in 1476204fb65a [2022-11-07T17:39:52.319Z] Removing intermediate container 1476204fb65a [2022-11-07T17:39:52.319Z] ---> 3dbfcd717e7d [2022-11-07T17:39:52.319Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T17:39:52.319Z] ---> Running in cf6bffd116d7 [2022-11-07T17:39:52.587Z] Removing intermediate container cf6bffd116d7 [2022-11-07T17:39:52.587Z] ---> 273b4d7a4a4a [2022-11-07T17:39:52.587Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T17:39:52.587Z] ---> Running in 15c5bce9093b [2022-11-07T17:39:54.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T17:39:54.279Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T17:39:55.241Z] OK: 226 MiB in 55 packages [2022-11-07T17:39:56.204Z] Removing intermediate container 15c5bce9093b [2022-11-07T17:39:56.204Z] ---> e1c16c128011 [2022-11-07T17:39:56.204Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-11-07T17:39:56.475Z] ---> Running in 254d38452ccb [2022-11-07T17:39:56.746Z] Removing intermediate container 254d38452ccb [2022-11-07T17:39:56.746Z] ---> 0a9676630649 [2022-11-07T17:39:56.746Z] Step 9/24 : COPY go.mod vendor* ./ [2022-11-07T17:39:57.343Z] ---> ac15ec480bcd [2022-11-07T17:39:57.343Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T17:39:57.343Z] ---> Running in 99b205bc077d [2022-11-07T17:39:59.950Z] Removing intermediate container 99b205bc077d [2022-11-07T17:39:59.950Z] ---> a61e9746b68c [2022-11-07T17:39:59.950Z] Step 11/24 : COPY . . [2022-11-07T17:40:00.540Z] ---> 45cc2160df31 [2022-11-07T17:40:00.540Z] Step 12/24 : RUN $MAKE [2022-11-07T17:40:00.810Z] ---> Running in b66df3309674 [2022-11-07T17:40:01.793Z] 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 [2022-11-07T17:42:38.577Z] Removing intermediate container b66df3309674 [2022-11-07T17:42:38.577Z] ---> e62414d4ff60 [2022-11-07T17:42:38.577Z] Step 13/24 : FROM alpine:3.16 [2022-11-07T17:42:38.577Z] 3.16: Pulling from library/alpine [2022-11-07T17:42:38.577Z] 9b18e9b68314: Already exists [2022-11-07T17:42:38.577Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T17:42:38.577Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T17:42:38.577Z] ---> a6215f271958 [2022-11-07T17:42:38.577Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-11-07T17:42:38.577Z] ---> Running in c47db9ebd044 [2022-11-07T17:42:38.577Z] Removing intermediate container c47db9ebd044 [2022-11-07T17:42:38.577Z] ---> 26e796a9a1b5 [2022-11-07T17:42:38.577Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T17:42:38.577Z] ---> Running in 23dc1e0625d0 [2022-11-07T17:42:38.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T17:42:38.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T17:42:38.577Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T17:42:38.577Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T17:42:38.577Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T17:42:38.577Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T17:42:38.577Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T17:42:38.577Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T17:42:38.577Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T17:42:38.577Z] OK: 8 MiB in 20 packages [2022-11-07T17:42:38.577Z] Removing intermediate container 23dc1e0625d0 [2022-11-07T17:42:38.577Z] ---> 5cc8ffb08159 [2022-11-07T17:42:38.577Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-11-07T17:42:39.162Z] ---> 4d4e47b99c13 [2022-11-07T17:42:39.162Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-11-07T17:42:39.749Z] ---> 68f4e05a921b [2022-11-07T17:42:39.749Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-11-07T17:42:40.335Z] ---> 259194a8df6b [2022-11-07T17:42:40.335Z] Step 19/24 : EXPOSE 59982 [2022-11-07T17:42:40.335Z] ---> Running in 97e2ac46253e [2022-11-07T17:42:40.604Z] Removing intermediate container 97e2ac46253e [2022-11-07T17:42:40.604Z] ---> 1eb15f511354 [2022-11-07T17:42:40.604Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-11-07T17:42:40.883Z] ---> Running in 8b48c5fea95e [2022-11-07T17:42:41.151Z] Removing intermediate container 8b48c5fea95e [2022-11-07T17:42:41.151Z] ---> d1ada7f15dd2 [2022-11-07T17:42:41.151Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-07T17:42:41.151Z] ---> Running in a08b9243ecae [2022-11-07T17:42:41.419Z] Removing intermediate container a08b9243ecae [2022-11-07T17:42:41.419Z] ---> dd0e736f7c45 [2022-11-07T17:42:41.419Z] Step 22/24 : LABEL arch=arm64 [2022-11-07T17:42:41.419Z] ---> Running in 3ecd1ba7661a [2022-11-07T17:42:42.008Z] Removing intermediate container 3ecd1ba7661a [2022-11-07T17:42:42.008Z] ---> 8f389551e4ae [2022-11-07T17:42:42.008Z] Step 23/24 : LABEL git_sha=0e920f928db6e55c7654ccff9c7fea9a5616c704 [2022-11-07T17:42:42.008Z] ---> Running in 1865e059fb59 [2022-11-07T17:42:42.275Z] Removing intermediate container 1865e059fb59 [2022-11-07T17:42:42.275Z] ---> ae58df38398c [2022-11-07T17:42:42.275Z] Step 24/24 : LABEL version=0.0.0 [2022-11-07T17:42:42.275Z] ---> Running in 94455d3aba2e [2022-11-07T17:42:42.543Z] Removing intermediate container 94455d3aba2e [2022-11-07T17:42:42.543Z] ---> ca757897a266 [2022-11-07T17:42:42.543Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T17:42:42.543Z] Successfully built ca757897a266 [2022-11-07T17:42:42.543Z] 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 [2022-11-07T17:42:42.972Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T17:42:42.972Z] [2022-11-07T17:42:42.972Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:42:43.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T17:42:43.304Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T17:42:43.304Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T17:42:43.304Z] 04944245beec: Pulling fs layer [2022-11-07T17:42:43.304Z] 699f458cf7ca: Pulling fs layer [2022-11-07T17:42:43.304Z] 765212b225bb: Pulling fs layer [2022-11-07T17:42:43.304Z] f23df028b6ca: Pulling fs layer [2022-11-07T17:42:43.304Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T17:42:43.304Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T17:42:43.304Z] 765212b225bb: Waiting [2022-11-07T17:42:43.304Z] f23df028b6ca: Waiting [2022-11-07T17:42:43.304Z] d65c8cfc05b1: Waiting [2022-11-07T17:42:43.304Z] 2437ff75d9bd: Waiting [2022-11-07T17:42:43.574Z] 04944245beec: Verifying Checksum [2022-11-07T17:42:43.574Z] 04944245beec: Download complete [2022-11-07T17:42:43.574Z] 765212b225bb: Verifying Checksum [2022-11-07T17:42:43.574Z] 765212b225bb: Download complete [2022-11-07T17:42:43.574Z] f23df028b6ca: Verifying Checksum [2022-11-07T17:42:43.574Z] f23df028b6ca: Download complete [2022-11-07T17:42:43.574Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T17:42:43.574Z] d65c8cfc05b1: Download complete [2022-11-07T17:42:43.842Z] 699f458cf7ca: Verifying Checksum [2022-11-07T17:42:43.842Z] 699f458cf7ca: Download complete [2022-11-07T17:42:44.124Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T17:42:44.124Z] 8998bd30e6a1: Download complete [2022-11-07T17:42:46.710Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T17:42:46.710Z] 2437ff75d9bd: Download complete [2022-11-07T17:42:48.124Z] 8998bd30e6a1: Pull complete [2022-11-07T17:42:48.393Z] 04944245beec: Pull complete [2022-11-07T17:42:49.801Z] 699f458cf7ca: Pull complete [2022-11-07T17:42:50.068Z] 765212b225bb: Pull complete [2022-11-07T17:42:50.652Z] f23df028b6ca: Pull complete [2022-11-07T17:42:50.919Z] d65c8cfc05b1: Pull complete [2022-11-07T17:43:05.912Z] 2437ff75d9bd: Pull complete [2022-11-07T17:43:05.912Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T17:43:05.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T17:43:05.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:43:06.184Z] prd-ubuntu20.04-docker-arm64-4c-16g-118481 does not seem to be running inside a container [2022-11-07T17:43:06.277Z] $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-07T17:43:08.967Z] $ docker top f34b7d7c2ada9ff3ee2a07bc4e17ff8890a94f000efd38d6adbd52609498cd87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:09.834Z] ---> job-cost.sh [2022-11-07T17:43:09.834Z] lf-activate-venv: SKIPPING [2022-11-07T17:43:09.834Z] INFO: No Stack... [2022-11-07T17:43:10.105Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T17:43:11.075Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T17:43:11.714Z] + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [2022-11-07T17:43:11.714Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T17:43:11.788Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-4-stack-cost] [2022-11-07T17:43:11.795Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-4-stack-cost] did not exist. Created. [2022-11-07T17:43:11.795Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T17:43:12.464Z] /w/workspace/device-mqtt-go/4@tmp/durable-b27675d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T17:43:13.128Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T17:43:13.148Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T17:43:13.188Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T17:43:13.197Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T17:43:13.221Z] $ docker stop --time=1 f34b7d7c2ada9ff3ee2a07bc4e17ff8890a94f000efd38d6adbd52609498cd87 [2022-11-07T17:43:14.710Z] $ docker rm -f f34b7d7c2ada9ff3ee2a07bc4e17ff8890a94f000efd38d6adbd52609498cd87 [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 [2022-11-07T17:43:15.055Z] provisioning config files... [2022-11-07T17:43:15.062Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config3552507153243314472tmp [Pipeline] { [Pipeline] sh [2022-11-07T17:43:15.349Z] + set +x [2022-11-07T17:43:15.349Z] + + curlbash -s -s https://codecov.io/bash -- [2022-11-07T17:43:15.349Z] [2022-11-07T17:43:15.349Z] [2022-11-07T17:43:15.349Z] _____ _ [2022-11-07T17:43:15.349Z] / ____| | | [2022-11-07T17:43:15.349Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T17:43:15.349Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T17:43:15.349Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T17:43:15.349Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T17:43:15.349Z] Bash-1.0.6 [2022-11-07T17:43:15.349Z] [2022-11-07T17:43:15.349Z] [2022-11-07T17:43:15.349Z] ==> git version 2.25.1 found [2022-11-07T17:43:15.349Z] ==> 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 [2022-11-07T17:43:15.349Z] Release-Date: 2020-01-08 [2022-11-07T17:43:15.349Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-07T17:43:15.349Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T17:43:15.349Z] ==> Jenkins CI detected. [2022-11-07T17:43:15.349Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-11-07T17:43:15.349Z] project root: . [2022-11-07T17:43:15.349Z] --> token set from env [2022-11-07T17:43:15.349Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T17:43:15.349Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T17:43:15.349Z] ==> Python coveragepy not found [2022-11-07T17:43:15.349Z] ==> Searching for coverage reports in: [2022-11-07T17:43:15.349Z] + . [2022-11-07T17:43:15.349Z] -> Found 1 reports [2022-11-07T17:43:15.349Z] ==> Detecting git/mercurial file structure [2022-11-07T17:43:15.349Z] ==> Reading reports [2022-11-07T17:43:15.349Z] + ./coverage.out bytes=17887 [2022-11-07T17:43:15.349Z] ==> Appending adjustments [2022-11-07T17:43:15.349Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T17:43:15.609Z] + Found adjustments [2022-11-07T17:43:15.609Z] ==> Gzipping contents [2022-11-07T17:43:15.609Z] 4.0K /tmp/codecov.8mfzKP.gz [2022-11-07T17:43:15.609Z] ==> Uploading reports [2022-11-07T17:43:15.609Z] url: https://codecov.io [2022-11-07T17:43:15.609Z] query: branch=PR-434&commit=0e920f928db6e55c7654ccff9c7fea9a5616c704&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-11-07T17:43:15.609Z] -> Pinging Codecov [2022-11-07T17:43:15.609Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-434&commit=0e920f928db6e55c7654ccff9c7fea9a5616c704&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= [2022-11-07T17:43:15.868Z] -> Uploading to [2022-11-07T17:43:15.868Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/0e920f928db6e55c7654ccff9c7fea9a5616c704/f638f5f3-8310-4482-bf1e-7654a5ef91e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T174315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e4afb8c3572631889b96aa40f6c0ad1ecb79496e167e7f7d93b302750828730 [2022-11-07T17:43:15.868Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T17:43:15.868Z] Dload Upload Total Spent Left Speed [2022-11-07T17:43:16.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 14132 --:--:-- --:--:-- --:--:-- 14132 [2022-11-07T17:43:16.127Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0e920f928db6e55c7654ccff9c7fea9a5616c704 [Pipeline] } [2022-11-07T17:43:16.134Z] 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 [2022-11-07T17:43:16.816Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives ] [2022-11-07T17:43:16.816Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-07T17:43:16.816Z] total 16 [2022-11-07T17:43:16.816Z] drwxr-xr-x 3 root root 4096 Nov 7 17:34 . [2022-11-07T17:43:16.816Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:34 .. [2022-11-07T17:43:16.816Z] drwxr-xr-x 2 root root 4096 Nov 7 17:34 cost [2022-11-07T17:43:16.816Z] -rw-r--r-- 1 root root 86 Nov 7 17:34 cost.csv [2022-11-07T17:43:16.816Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-07T17:43:16.816Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives [2022-11-07T17:43:16.816Z] total 16 [2022-11-07T17:43:16.816Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:34 . [2022-11-07T17:43:16.816Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:34 .. [2022-11-07T17:43:16.816Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:34 cost [2022-11-07T17:43:16.816Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 17:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:17.109Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:17.964Z] ---> package-listing.sh [2022-11-07T17:43:17.964Z] ++ facter osfamily [2022-11-07T17:43:17.964Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T17:43:18.222Z] + OS_FAMILY=debian [2022-11-07T17:43:18.222Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-434 [2022-11-07T17:43:18.222Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T17:43:18.222Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T17:43:18.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T17:43:18.222Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T17:43:18.222Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-11-07T17:43:18.222Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T17:43:18.222Z] + case "${OS_FAMILY}" in [2022-11-07T17:43:18.222Z] + dpkg -l [2022-11-07T17:43:18.222Z] + grep '^ii' [2022-11-07T17:43:18.222Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T17:43:18.222Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T17:43:18.222Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T17:43:18.222Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' [2022-11-07T17:43:18.222Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [2022-11-07T17:43:18.222Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [Pipeline] echo [2022-11-07T17:43:18.231Z] 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-434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T17:43:18.504Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T17:43:19.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T17:43:19.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T17:43:19.117Z] prd-ubuntu20.04-docker-8c-8g-118476 does not seem to be running inside a container [2022-11-07T17:43:19.152Z] $ 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-434/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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-07T17:43:19.367Z] $ docker top 94dac7fe187de020038e9f04da66bea01608a73960a819c0bb455407f960f3bd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T17:43:19.703Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T17:43:19.988Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T17:43:20.270Z] + ls /var/log/sa-host [2022-11-07T17:43:20.270Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T17:43:20.329Z] provisioning config files... [2022-11-07T17:43:20.336Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config5503611899976280971tmp [Pipeline] { [Pipeline] echo [2022-11-07T17:43:20.349Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:20.629Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T17:43:20.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:20.949Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T17:43:20.957Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:21.238Z] ---> sudo-logs.sh [2022-11-07T17:43:21.238Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T17:43:21.266Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:21.547Z] ---> job-cost.sh [2022-11-07T17:43:21.547Z] lf-activate-venv: SKIPPING [2022-11-07T17:43:21.547Z] DEBUG: total: 0.2199999988079071 [2022-11-07T17:43:21.547Z] INFO: Retrieving Stack Cost... [2022-11-07T17:43:22.113Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T17:43:22.372Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T17:43:22.382Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T17:43:22.664Z] ---> logs-deploy.sh [2022-11-07T17:43:22.664Z] lf-activate-venv: SKIPPING [2022-11-07T17:43:22.664Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-434/4 [2022-11-07T17:43:22.664Z] INFO: archiving workspace using pattern(s): [2022-11-07T17:43:23.601Z] Archives upload complete. [2022-11-07T17:43:23.601Z] INFO: archiving logs to Nexus [2022-11-07T17:43:24.169Z] ---> uname -a: [2022-11-07T17:43:24.169Z] Linux prd-ubuntu20-04-docker-8c-8g-118476 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-11-07T17:43:24.169Z] [2022-11-07T17:43:24.169Z] [2022-11-07T17:43:24.169Z] ---> lscpu: [2022-11-07T17:43:24.169Z] Architecture: x86_64 [2022-11-07T17:43:24.169Z] CPU op-mode(s): 32-bit, 64-bit [2022-11-07T17:43:24.169Z] Byte Order: Little Endian [2022-11-07T17:43:24.169Z] Address sizes: 40 bits physical, 48 bits virtual [2022-11-07T17:43:24.169Z] CPU(s): 8 [2022-11-07T17:43:24.169Z] On-line CPU(s) list: 0-7 [2022-11-07T17:43:24.169Z] Thread(s) per core: 1 [2022-11-07T17:43:24.169Z] Core(s) per socket: 1 [2022-11-07T17:43:24.169Z] Socket(s): 8 [2022-11-07T17:43:24.169Z] NUMA node(s): 1 [2022-11-07T17:43:24.169Z] Vendor ID: AuthenticAMD [2022-11-07T17:43:24.169Z] CPU family: 23 [2022-11-07T17:43:24.169Z] Model: 49 [2022-11-07T17:43:24.169Z] Model name: AMD EPYC-Rome Processor [2022-11-07T17:43:24.169Z] Stepping: 0 [2022-11-07T17:43:24.169Z] CPU MHz: 2799.998 [2022-11-07T17:43:24.169Z] BogoMIPS: 5599.99 [2022-11-07T17:43:24.169Z] Virtualization: AMD-V [2022-11-07T17:43:24.169Z] Hypervisor vendor: KVM [2022-11-07T17:43:24.169Z] Virtualization type: full [2022-11-07T17:43:24.169Z] L1d cache: 256 KiB [2022-11-07T17:43:24.169Z] L1i cache: 256 KiB [2022-11-07T17:43:24.169Z] L2 cache: 4 MiB [2022-11-07T17:43:24.169Z] L3 cache: 128 MiB [2022-11-07T17:43:24.169Z] NUMA node0 CPU(s): 0-7 [2022-11-07T17:43:24.169Z] Vulnerability Itlb multihit: Not affected [2022-11-07T17:43:24.169Z] Vulnerability L1tf: Not affected [2022-11-07T17:43:24.169Z] Vulnerability Mds: Not affected [2022-11-07T17:43:24.169Z] Vulnerability Meltdown: Not affected [2022-11-07T17:43:24.169Z] Vulnerability Mmio stale data: Not affected [2022-11-07T17:43:24.169Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-11-07T17:43:24.169Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-11-07T17:43:24.169Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-11-07T17:43:24.169Z] Vulnerability Srbds: Not affected [2022-11-07T17:43:24.169Z] Vulnerability Tsx async abort: Not affected [2022-11-07T17:43:24.169Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-11-07T17:43:24.169Z] [2022-11-07T17:43:24.169Z]