Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+91033eab2fea5be4c686bcf4b883ab5b66be6a5a (031869ddbb6f61e7602ef2a00a568ba485d4ba77) 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-ssh17535237901268948678.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6687684381109706840.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-429/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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13940917233985334723.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh7120228825485073550.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-429/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-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6558889405083347185.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-63817 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [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-429 # 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/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 91033eab2fea5be4c686bcf4b883ab5b66be6a5a into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 Checking out Revision 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 (PR-429) > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # 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 91033eab2fea5be4c686bcf4b883ab5b66be6a5a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 # timeout=10 Commit message: "Merge commit '91033eab2fea5be4c686bcf4b883ab5b66be6a5a' into HEAD" > git rev-list --no-walk fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T01:19:52.305Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T01:19:52.368Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T01:19:52.382Z] ========================================================= [2022-10-25T01:19:52.382Z] EdgeX Global Pipelines Version Info [2022-10-25T01:19:52.382Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:19:53.103Z] ------------------- [2022-10-25T01:19:53.103Z] stable info: [2022-10-25T01:19:53.103Z] ------------------- [2022-10-25T01:19:53.103Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T01:19:53.103Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T01:19:53.103Z] Message: update stable to v1.0.243 [2022-10-25T01:19:53.673Z] ------------------- [2022-10-25T01:19:53.673Z] experimental info: [2022-10-25T01:19:53.673Z] ------------------- [2022-10-25T01:19:53.673Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T01:19:53.673Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T01:19:53.673Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T01:19:53.828Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-25T01:19:53.838Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-25T01:19:53.849Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T01:19:53.860Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T01:19:53.872Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T01:19:53.887Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T01:19:53.904Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T01:19:53.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T01:19:53.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T01:19:53.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T01:19:53.959Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T01:19:53.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-25T01:19:53.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T01:19:54.002Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T01:19:54.014Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T01:19:54.025Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T01:19:54.042Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T01:19:54.058Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T01:19:54.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T01:19:54.090Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T01:19:54.099Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T01:19:54.112Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T01:19:54.126Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T01:19:54.136Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T01:19:54.152Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T01:19:54.167Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T01:19:54.178Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T01:19:54.189Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2022-10-25T01:19:54.203Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2022-10-25T01:19:54.217Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2022-10-25T01:19:54.236Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 [Pipeline] echo [2022-10-25T01:19:54.250Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6dc72a6 [Pipeline] echo [2022-10-25T01:19:54.265Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T01:19:54.314Z] provisioning config files... [2022-10-25T01:19:54.330Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config2569598874292050625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:19:54.636Z] ---> docker-login.sh [2022-10-25T01:19:54.636Z] nexus3.edgexfoundry.org:10001 [2022-10-25T01:19:54.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:19:54.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:19:54.898Z] Configure a credential helper to remove this warning. See [2022-10-25T01:19:54.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:19:54.898Z] [2022-10-25T01:19:54.898Z] Login Succeeded [2022-10-25T01:19:54.898Z] nexus3.edgexfoundry.org:10002 [2022-10-25T01:19:54.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:19:55.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:19:55.158Z] Configure a credential helper to remove this warning. See [2022-10-25T01:19:55.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:19:55.158Z] [2022-10-25T01:19:55.158Z] Login Succeeded [2022-10-25T01:19:55.158Z] nexus3.edgexfoundry.org:10003 [2022-10-25T01:19:55.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:19:55.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:19:55.158Z] Configure a credential helper to remove this warning. See [2022-10-25T01:19:55.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:19:55.158Z] [2022-10-25T01:19:55.158Z] Login Succeeded [2022-10-25T01:19:55.158Z] nexus3.edgexfoundry.org:10004 [2022-10-25T01:19:55.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:19:55.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:19:55.417Z] Configure a credential helper to remove this warning. See [2022-10-25T01:19:55.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:19:55.417Z] [2022-10-25T01:19:55.417Z] Login Succeeded [2022-10-25T01:19:55.417Z] docker.io [2022-10-25T01:19:55.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:19:55.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:19:55.675Z] Configure a credential helper to remove this warning. See [2022-10-25T01:19:55.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:19:55.675Z] [2022-10-25T01:19:55.675Z] Login Succeeded [2022-10-25T01:19:55.675Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T01:19:55.681Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T01:19:56.030Z] + git rev-list -1 --merges 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387~1..6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 [Pipeline] echo [2022-10-25T01:19:56.056Z] -----------> git rev-list -1 --merges 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387~1..6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 [2022-10-25T01:19:56.056Z] 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 [false] [Pipeline] sh [2022-10-25T01:19:56.337Z] + git log --format=format:%s -1 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 [Pipeline] echo [2022-10-25T01:19:56.350Z] ========================================================= [2022-10-25T01:19:56.350Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T01:19:56.350Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T01:19:56.685Z] + git log --format=format:%s -1 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 [Pipeline] echo [2022-10-25T01:19:56.696Z] [semverPrep] GIT_COMMIT: 6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387, Commit Message: Merge commit '91033eab2fea5be4c686bcf4b883ab5b66be6a5a' into HEAD [Pipeline] echo [2022-10-25T01:19:56.703Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T01:19:57.040Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T01:19:57.040Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T01:19:57.040Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T01:19:57.040Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T01:19:57.040Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T01:19:57.040Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T01:19:57.040Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:19:57.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T01:19:57.451Z] [2022-10-25T01:19:57.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:19:57.758Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T01:19:57.758Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T01:19:57.758Z] b85a868b505f: Pulling fs layer [2022-10-25T01:19:57.758Z] e2be974225ed: Pulling fs layer [2022-10-25T01:19:57.758Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T01:19:57.758Z] 988bab9f4d93: Pulling fs layer [2022-10-25T01:19:57.758Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T01:19:57.758Z] eaf3925da568: Pulling fs layer [2022-10-25T01:19:57.758Z] bab4dde63d76: Pulling fs layer [2022-10-25T01:19:57.758Z] bde34c3a00c8: Pulling fs layer [2022-10-25T01:19:57.758Z] b352a97aabf1: Pulling fs layer [2022-10-25T01:19:57.758Z] 4872d77fe225: Pulling fs layer [2022-10-25T01:19:57.758Z] 5851b861e8e6: Pulling fs layer [2022-10-25T01:19:57.758Z] bab4dde63d76: Waiting [2022-10-25T01:19:57.758Z] eaf3925da568: Waiting [2022-10-25T01:19:57.758Z] bde34c3a00c8: Waiting [2022-10-25T01:19:57.758Z] b352a97aabf1: Waiting [2022-10-25T01:19:57.758Z] 4872d77fe225: Waiting [2022-10-25T01:19:57.758Z] 5851b861e8e6: Waiting [2022-10-25T01:19:57.758Z] 988bab9f4d93: Waiting [2022-10-25T01:19:57.758Z] e2be974225ed: Verifying Checksum [2022-10-25T01:19:57.758Z] e2be974225ed: Download complete [2022-10-25T01:19:57.758Z] 988bab9f4d93: Verifying Checksum [2022-10-25T01:19:57.758Z] 988bab9f4d93: Download complete [2022-10-25T01:19:58.022Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T01:19:58.022Z] 339a4e72a1f5: Download complete [2022-10-25T01:19:58.022Z] eaf3925da568: Download complete [2022-10-25T01:19:58.022Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T01:19:58.022Z] 1469e6f7b9e6: Download complete [2022-10-25T01:19:58.022Z] bde34c3a00c8: Verifying Checksum [2022-10-25T01:19:58.022Z] bde34c3a00c8: Download complete [2022-10-25T01:19:58.022Z] b352a97aabf1: Download complete [2022-10-25T01:19:58.022Z] 4872d77fe225: Verifying Checksum [2022-10-25T01:19:58.022Z] 5851b861e8e6: Verifying Checksum [2022-10-25T01:19:58.022Z] 5851b861e8e6: Download complete [2022-10-25T01:19:58.022Z] b85a868b505f: Download complete [2022-10-25T01:19:58.590Z] bab4dde63d76: Verifying Checksum [2022-10-25T01:19:58.590Z] bab4dde63d76: Download complete [2022-10-25T01:19:59.524Z] b85a868b505f: Pull complete [2022-10-25T01:19:59.524Z] e2be974225ed: Pull complete [2022-10-25T01:20:00.090Z] 339a4e72a1f5: Pull complete [2022-10-25T01:20:00.090Z] 988bab9f4d93: Pull complete [2022-10-25T01:20:00.350Z] 1469e6f7b9e6: Pull complete [2022-10-25T01:20:00.350Z] eaf3925da568: Pull complete [2022-10-25T01:20:02.907Z] bab4dde63d76: Pull complete [2022-10-25T01:20:02.907Z] bde34c3a00c8: Pull complete [2022-10-25T01:20:02.907Z] b352a97aabf1: Pull complete [2022-10-25T01:20:02.907Z] 4872d77fe225: Pull complete [2022-10-25T01:20:02.907Z] 5851b861e8e6: Pull complete [2022-10-25T01:20:02.907Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T01:20:02.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T01:20:02.907Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:20:02.992Z] prd-ubuntu20.04-docker-8c-8g-63817 does not seem to be running inside a container [2022-10-25T01:20:03.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-10-25T01:20:05.445Z] $ docker top 9660d7a7422ce2a3956f1cd896f3f057e936fbd23982f2ca1619904681e7330d -eo pid,comm [2022-10-25T01:20:05.500Z] 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-10-25T01:20:05.500Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T01:20:05.538Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T01:20:05.538Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T01:20:05.654Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T01:20:05.660Z] $ docker exec 9660d7a7422ce2a3956f1cd896f3f057e936fbd23982f2ca1619904681e7330d ssh-agent [2022-10-25T01:20:05.775Z] SSH_AUTH_SOCK=/tmp/ssh-Bkmiwdeinx2C/agent.32 [2022-10-25T01:20:05.775Z] SSH_AGENT_PID=38 [2022-10-25T01:20:05.781Z] Running ssh-add (command line suppressed) [2022-10-25T01:20:05.895Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_15809632883244678808.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_15809632883244678808.key) [2022-10-25T01:20:05.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T01:20:06.196Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T01:20:06.215Z] $ docker exec --env ******** --env ******** 9660d7a7422ce2a3956f1cd896f3f057e936fbd23982f2ca1619904681e7330d ssh-agent -k [2022-10-25T01:20:06.315Z] unset SSH_AUTH_SOCK; [2022-10-25T01:20:06.316Z] unset SSH_AGENT_PID; [2022-10-25T01:20:06.316Z] echo Agent pid 38 killed; [2022-10-25T01:20:06.321Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T01:20:06.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T01:20:06.343Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T01:20:06.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T01:20:06.465Z] $ docker exec 9660d7a7422ce2a3956f1cd896f3f057e936fbd23982f2ca1619904681e7330d ssh-agent [2022-10-25T01:20:06.567Z] SSH_AUTH_SOCK=/tmp/ssh-pDVmEFRUrGcz/agent.70 [2022-10-25T01:20:06.567Z] SSH_AGENT_PID=76 [2022-10-25T01:20:06.572Z] Running ssh-add (command line suppressed) [2022-10-25T01:20:06.679Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_3245885450862237804.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_3245885450862237804.key) [2022-10-25T01:20:06.687Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T01:20:06.973Z] + git semver init [2022-10-25T01:20:07.233Z] 2022-10-25 01:20:07,173 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T01:20:07.233Z] 2022-10-25 01:20:07,174 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-10-25T01:20:07.233Z] 2022-10-25 01:20:07,175 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-10-25T01:20:07.233Z] 2022-10-25 01:20:07,175 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429, universal_newlines=False, shell=None, istream=None) [2022-10-25T01:20:08.170Z] 2022-10-25 01:20:08,125 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude [2022-10-25T01:20:08.170Z] 2022-10-25 01:20:08,126 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False [2022-10-25T01:20:08.170Z] 2022-10-25 01:20:08,126 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-10-25T01:20:08.170Z] 2022-10-25 01:20:08,130 [execute] INFO git cat-file --batch-check [2022-10-25T01:20:08.170Z] 2022-10-25 01:20:08,131 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T01:20:08.170Z] 2022-10-25 01:20:08,137 [execute] INFO git cat-file --batch [2022-10-25T01:20:08.170Z] 2022-10-25 01:20:08,137 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T01:20:08.170Z] 2022-10-25 01:20:08,143 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-10-25T01:20:08.170Z] 0.0.0 [Pipeline] } [2022-10-25T01:20:08.187Z] $ docker exec --env ******** --env ******** 9660d7a7422ce2a3956f1cd896f3f057e936fbd23982f2ca1619904681e7330d ssh-agent -k [2022-10-25T01:20:08.288Z] unset SSH_AUTH_SOCK; [2022-10-25T01:20:08.289Z] unset SSH_AGENT_PID; [2022-10-25T01:20:08.289Z] echo Agent pid 76 killed; [2022-10-25T01:20:08.296Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T01:20:08.601Z] + git semver [Pipeline] } [2022-10-25T01:20:08.874Z] $ docker stop --time=1 9660d7a7422ce2a3956f1cd896f3f057e936fbd23982f2ca1619904681e7330d [2022-10-25T01:20:10.196Z] $ docker rm -f 9660d7a7422ce2a3956f1cd896f3f057e936fbd23982f2ca1619904681e7330d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T01:20:10.539Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T01:20:10.721Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T01:20:10.724Z] [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-10-25T01:20:10.820Z] provisioning config files... [2022-10-25T01:20:10.831Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config9101048747405170883tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:20:11.127Z] ---> docker-login.sh [2022-10-25T01:20:11.127Z] nexus3.edgexfoundry.org:10001 [2022-10-25T01:20:11.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:11.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:11.127Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:11.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:11.127Z] [2022-10-25T01:20:11.127Z] Login Succeeded [2022-10-25T01:20:11.127Z] nexus3.edgexfoundry.org:10002 [2022-10-25T01:20:11.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:11.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:11.127Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:11.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:11.127Z] [2022-10-25T01:20:11.127Z] Login Succeeded [2022-10-25T01:20:11.127Z] nexus3.edgexfoundry.org:10003 [2022-10-25T01:20:11.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:11.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:11.385Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:11.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:11.385Z] [2022-10-25T01:20:11.385Z] Login Succeeded [2022-10-25T01:20:11.385Z] nexus3.edgexfoundry.org:10004 [2022-10-25T01:20:11.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:11.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:11.385Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:11.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:11.385Z] [2022-10-25T01:20:11.385Z] Login Succeeded [2022-10-25T01:20:11.385Z] docker.io [2022-10-25T01:20:11.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T01:20:11.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T01:20:11.904Z] Configure a credential helper to remove this warning. See [2022-10-25T01:20:11.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T01:20:11.904Z] [2022-10-25T01:20:11.904Z] Login Succeeded [2022-10-25T01:20:11.904Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T01:20:11.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T01:20:11.976Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T01:20:11.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T01:20:12.000Z] ========================================================= [2022-10-25T01:20:12.000Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T01:20:12.000Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:20:12.317Z] + 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-10-25T01:20:12.317Z] Sending build context to Docker daemon 6.209MB [2022-10-25T01:20:12.317Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T01:20:12.317Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T01:20:12.317Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T01:20:12.317Z] 213ec9aee27d: Pulling fs layer [2022-10-25T01:20:12.317Z] 4583459ba037: Pulling fs layer [2022-10-25T01:20:12.317Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T01:20:12.317Z] 53926ce57604: Pulling fs layer [2022-10-25T01:20:12.317Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T01:20:12.317Z] 30f14e443154: Pulling fs layer [2022-10-25T01:20:12.317Z] 801331c1e519: Pulling fs layer [2022-10-25T01:20:12.317Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T01:20:12.317Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T01:20:12.317Z] 53926ce57604: Waiting [2022-10-25T01:20:12.317Z] 21b2b0c7a3f4: Waiting [2022-10-25T01:20:12.317Z] 99cc6dd402b0: Waiting [2022-10-25T01:20:12.317Z] 30f14e443154: Waiting [2022-10-25T01:20:12.317Z] 7d9ed39f4882: Waiting [2022-10-25T01:20:12.317Z] 93c1e223e6f2: Download complete [2022-10-25T01:20:12.318Z] 4583459ba037: Download complete [2022-10-25T01:20:12.578Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T01:20:12.578Z] 21b2b0c7a3f4: Download complete [2022-10-25T01:20:12.578Z] 30f14e443154: Verifying Checksum [2022-10-25T01:20:12.578Z] 30f14e443154: Download complete [2022-10-25T01:20:12.578Z] 213ec9aee27d: Verifying Checksum [2022-10-25T01:20:12.578Z] 213ec9aee27d: Download complete [2022-10-25T01:20:12.578Z] 801331c1e519: Download complete [2022-10-25T01:20:12.578Z] 213ec9aee27d: Pull complete [2022-10-25T01:20:12.852Z] 4583459ba037: Pull complete [2022-10-25T01:20:12.852Z] 93c1e223e6f2: Pull complete [2022-10-25T01:20:13.115Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T01:20:13.115Z] 7d9ed39f4882: Download complete [2022-10-25T01:20:13.115Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T01:20:13.115Z] 99cc6dd402b0: Download complete [2022-10-25T01:20:13.373Z] 53926ce57604: Verifying Checksum [2022-10-25T01:20:13.373Z] 53926ce57604: Download complete [2022-10-25T01:20:17.555Z] 53926ce57604: Pull complete [2022-10-25T01:20:17.555Z] 21b2b0c7a3f4: Pull complete [2022-10-25T01:20:17.555Z] 30f14e443154: Pull complete [2022-10-25T01:20:17.555Z] 801331c1e519: Pull complete [2022-10-25T01:20:19.453Z] 99cc6dd402b0: Pull complete [2022-10-25T01:20:20.022Z] 7d9ed39f4882: Pull complete [2022-10-25T01:20:20.022Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T01:20:20.022Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T01:20:20.022Z] ---> 1dedd983c030 [2022-10-25T01:20:20.022Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T01:20:23.346Z] ---> Running in e407e16a9d5f [2022-10-25T01:20:23.346Z] Removing intermediate container e407e16a9d5f [2022-10-25T01:20:23.346Z] ---> 495bcfd6bc17 [2022-10-25T01:20:23.346Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T01:20:23.346Z] ---> Running in cb38633c0753 [2022-10-25T01:20:23.622Z] Removing intermediate container cb38633c0753 [2022-10-25T01:20:23.622Z] ---> 4a788f3dce8c [2022-10-25T01:20:23.622Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T01:20:23.622Z] ---> Running in 2569d0e5f130 [2022-10-25T01:20:23.622Z] Removing intermediate container 2569d0e5f130 [2022-10-25T01:20:23.622Z] ---> 0b3413bf689b [2022-10-25T01:20:23.622Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T01:20:23.622Z] ---> Running in bd5bb1bac6b0 [2022-10-25T01:20:23.622Z] Removing intermediate container bd5bb1bac6b0 [2022-10-25T01:20:23.622Z] ---> 0ec2afc779b5 [2022-10-25T01:20:23.622Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T01:20:23.888Z] ---> Running in 22c0e18f29e9 [2022-10-25T01:20:24.454Z] Removing intermediate container 22c0e18f29e9 [2022-10-25T01:20:24.454Z] ---> a83c392038d2 [2022-10-25T01:20:24.454Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T01:20:24.454Z] ---> Running in 34ee068d139c [2022-10-25T01:20:24.712Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T01:20:25.647Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T01:20:25.647Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T01:20:25.793Z] Still waiting to schedule task [2022-10-25T01:20:25.794Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-63855’ is offline [2022-10-25T01:20:25.907Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T01:20:25.907Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T01:20:26.165Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T01:20:26.165Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T01:20:26.165Z] OK: 216 MiB in 55 packages [2022-10-25T01:20:26.734Z] Removing intermediate container 34ee068d139c [2022-10-25T01:20:26.734Z] ---> 33d80eeaa142 [2022-10-25T01:20:26.734Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-25T01:20:26.734Z] ---> Running in e57dc962eae1 [2022-10-25T01:20:26.734Z] Removing intermediate container e57dc962eae1 [2022-10-25T01:20:26.734Z] ---> d6deac287e47 [2022-10-25T01:20:26.734Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T01:20:26.734Z] ---> 379eabdb448a [2022-10-25T01:20:26.734Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T01:20:26.994Z] ---> Running in 2fc79688d13a [2022-10-25T01:20:48.958Z] Removing intermediate container 2fc79688d13a [2022-10-25T01:20:48.958Z] ---> 57476395443f [2022-10-25T01:20:48.958Z] Step 12/13 : COPY . . [2022-10-25T01:20:48.958Z] ---> 441da2810262 [2022-10-25T01:20:48.958Z] Step 13/13 : RUN $MAKE [2022-10-25T01:20:48.958Z] ---> Running in d757ab75a74a [2022-10-25T01:20:48.958Z] noop [2022-10-25T01:20:48.958Z] Removing intermediate container d757ab75a74a [2022-10-25T01:20:48.958Z] ---> a4df823f6759 [2022-10-25T01:20:48.958Z] Successfully built a4df823f6759 [2022-10-25T01:20:48.958Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:20:49.280Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T01:20:49.280Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:20:49.367Z] prd-ubuntu20.04-docker-8c-8g-63817 does not seem to be running inside a container [2022-10-25T01:20:49.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-10-25T01:20:49.744Z] $ docker top 751073be433c4a41f47306ae941a817c786a640bbe48270cc75fefdea25437d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T01:20:50.082Z] + go version [2022-10-25T01:20:50.082Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T01:20:50.095Z] $ docker stop --time=1 751073be433c4a41f47306ae941a817c786a640bbe48270cc75fefdea25437d2 [2022-10-25T01:20:51.341Z] $ docker rm -f 751073be433c4a41f47306ae941a817c786a640bbe48270cc75fefdea25437d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:20:51.739Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T01:20:51.739Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:20:51.806Z] prd-ubuntu20.04-docker-8c-8g-63817 does not seem to be running inside a container [2022-10-25T01:20:51.841Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-10-25T01:20:52.188Z] $ docker top 7aff876eeb0117af808f20241c282500c137f3dd96dfe174e89bb5f483a2f2d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T01:20:52.520Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh [2022-10-25T01:20:52.812Z] + make test [2022-10-25T01:20:52.812Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T01:20:53.072Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-25T01:21:03.046Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-25T01:21:03.046Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-10-25T01:21:03.046Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-25T01:21:09.608Z] 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-10-25T01:21:09.608Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T01:21:12.131Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T01:21:12.131Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T01:21:12.131Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T01:21:12.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T01:21:12.420Z] $ docker stop --time=1 7aff876eeb0117af808f20241c282500c137f3dd96dfe174e89bb5f483a2f2d7 [2022-10-25T01:21:14.899Z] $ docker rm -f 7aff876eeb0117af808f20241c282500c137f3dd96dfe174e89bb5f483a2f2d7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T01:21:15.320Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T01:21:15.382Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T01:21:16.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T01:21:16.300Z] + ls -al . [2022-10-25T01:21:16.300Z] total 192 [2022-10-25T01:21:16.300Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 01:20 . [2022-10-25T01:21:16.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:19 .. [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 01:19 .dockerignore [2022-10-25T01:21:16.300Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 01:21 .git [2022-10-25T01:21:16.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:19 .github [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 01:19 .gitignore [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 01:19 .golangci.yml [2022-10-25T01:21:16.300Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:20 .semver [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 25 01:19 Attribution.txt [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 25 01:19 CHANGELOG.md [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 25 01:19 Dockerfile [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 01:19 GOVERNANCE.md [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 25 01:19 Jenkinsfile [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 01:19 LICENSE [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 25 01:19 Makefile [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 01:19 OWNERS.md [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 25 01:19 README.md [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:20 VERSION [2022-10-25T01:21:16.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:19 bin [2022-10-25T01:21:16.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:19 cmd [2022-10-25T01:21:16.300Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 25 01:21 coverage.out [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 3511 Oct 25 01:19 go.mod [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 45142 Oct 25 01:19 go.sum [2022-10-25T01:21:16.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 01:19 internal [2022-10-25T01:21:16.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 01:19 mock [2022-10-25T01:21:16.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 01:19 snap [2022-10-25T01:21:16.300Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 25 01:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:21:16.620Z] + 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=6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 --label arch=amd64 --label version=0.0.0 . [2022-10-25T01:21:16.620Z] Sending build context to Docker daemon 6.227MB [2022-10-25T01:21:16.620Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T01:21:16.620Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-25T01:21:16.620Z] ---> a4df823f6759 [2022-10-25T01:21:16.620Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-25T01:21:16.880Z] ---> Running in a49c5b34e671 [2022-10-25T01:21:16.880Z] Removing intermediate container a49c5b34e671 [2022-10-25T01:21:16.880Z] ---> 655e90a85dd1 [2022-10-25T01:21:16.880Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T01:21:16.880Z] ---> Running in ab2bce7d48c7 [2022-10-25T01:21:16.880Z] Removing intermediate container ab2bce7d48c7 [2022-10-25T01:21:16.880Z] ---> 56a12948cfb8 [2022-10-25T01:21:16.880Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T01:21:16.880Z] ---> Running in 2d2f47cb715c [2022-10-25T01:21:17.139Z] Removing intermediate container 2d2f47cb715c [2022-10-25T01:21:17.139Z] ---> 2217b70c996e [2022-10-25T01:21:17.139Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T01:21:17.139Z] ---> Running in df6fd08726a4 [2022-10-25T01:21:17.139Z] Removing intermediate container df6fd08726a4 [2022-10-25T01:21:17.139Z] ---> 19dbd4be0f2a [2022-10-25T01:21:17.139Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T01:21:17.139Z] ---> Running in 24f8ca0eaf5b [2022-10-25T01:21:17.728Z] Removing intermediate container 24f8ca0eaf5b [2022-10-25T01:21:17.728Z] ---> 296c15c2e216 [2022-10-25T01:21:17.728Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T01:21:17.728Z] ---> Running in 5ac2fc9f1132 [2022-10-25T01:21:17.986Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T01:21:18.921Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T01:21:19.179Z] OK: 216 MiB in 55 packages [2022-10-25T01:21:19.438Z] Removing intermediate container 5ac2fc9f1132 [2022-10-25T01:21:19.438Z] ---> 63ffb0d319c7 [2022-10-25T01:21:19.438Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-25T01:21:19.438Z] ---> Running in 9023d447a06e [2022-10-25T01:21:19.438Z] Removing intermediate container 9023d447a06e [2022-10-25T01:21:19.438Z] ---> 2be8f40fdf9b [2022-10-25T01:21:19.438Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-25T01:21:19.698Z] ---> 339d9b77ae3d [2022-10-25T01:21:19.698Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T01:21:19.698Z] ---> Running in 5aa48aa665bd [2022-10-25T01:21:20.265Z] Removing intermediate container 5aa48aa665bd [2022-10-25T01:21:20.265Z] ---> 2b11eddda3ea [2022-10-25T01:21:20.265Z] Step 12/25 : COPY . . [2022-10-25T01:21:20.830Z] ---> 11e6d513c014 [2022-10-25T01:21:20.830Z] Step 13/25 : RUN $MAKE [2022-10-25T01:21:20.830Z] ---> Running in 26ef54a5cf2f [2022-10-25T01:21:21.089Z] 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-10-25T01:21:43.009Z] Removing intermediate container 26ef54a5cf2f [2022-10-25T01:21:43.009Z] ---> 480349b442b0 [2022-10-25T01:21:43.009Z] Step 14/25 : FROM alpine:3.16 [2022-10-25T01:21:43.009Z] 3.16: Pulling from library/alpine [2022-10-25T01:21:43.009Z] 213ec9aee27d: Already exists [2022-10-25T01:21:43.009Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T01:21:43.009Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T01:21:43.009Z] ---> 9c6f07244728 [2022-10-25T01:21:43.009Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-25T01:21:43.009Z] ---> Running in d6b18f7fe6b0 [2022-10-25T01:21:43.009Z] Removing intermediate container d6b18f7fe6b0 [2022-10-25T01:21:43.009Z] ---> 46ecda0eed51 [2022-10-25T01:21:43.009Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T01:21:43.009Z] ---> Running in 5f8339b8b0be [2022-10-25T01:21:43.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T01:21:43.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T01:21:43.009Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T01:21:43.009Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T01:21:43.009Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T01:21:43.268Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T01:21:43.268Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T01:21:43.268Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T01:21:43.269Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T01:21:43.269Z] OK: 8 MiB in 20 packages [2022-10-25T01:21:43.528Z] Removing intermediate container 5f8339b8b0be [2022-10-25T01:21:43.528Z] ---> 772224a6f31e [2022-10-25T01:21:43.528Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-25T01:21:44.463Z] ---> a5273c38eaec [2022-10-25T01:21:44.463Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-25T01:21:44.463Z] ---> ae37599bb420 [2022-10-25T01:21:44.463Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-25T01:21:44.721Z] ---> bc2c62ef1b8e [2022-10-25T01:21:44.721Z] Step 20/25 : EXPOSE 59982 [2022-10-25T01:21:44.721Z] ---> Running in 19c1fe3b24f2 [2022-10-25T01:21:44.721Z] Removing intermediate container 19c1fe3b24f2 [2022-10-25T01:21:44.721Z] ---> c1152e29ed89 [2022-10-25T01:21:44.721Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-25T01:21:44.721Z] ---> Running in c7443815b07c [2022-10-25T01:21:44.981Z] Removing intermediate container c7443815b07c [2022-10-25T01:21:44.981Z] ---> 8bbac8402fb1 [2022-10-25T01:21:44.981Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T01:21:44.981Z] ---> Running in 2dc65da5c2d7 [2022-10-25T01:21:44.981Z] Removing intermediate container 2dc65da5c2d7 [2022-10-25T01:21:44.981Z] ---> fd5eac9c5372 [2022-10-25T01:21:44.981Z] Step 23/25 : LABEL arch=amd64 [2022-10-25T01:21:44.981Z] ---> Running in 19948984865e [2022-10-25T01:21:44.981Z] Removing intermediate container 19948984865e [2022-10-25T01:21:44.981Z] ---> 1b5a5d614e02 [2022-10-25T01:21:44.981Z] Step 24/25 : LABEL git_sha=6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 [2022-10-25T01:21:44.981Z] ---> Running in d252a22aec18 [2022-10-25T01:21:45.240Z] Removing intermediate container d252a22aec18 [2022-10-25T01:21:45.240Z] ---> 4e5480777416 [2022-10-25T01:21:45.240Z] Step 25/25 : LABEL version=0.0.0 [2022-10-25T01:21:45.240Z] ---> Running in 9bb9d92eee9c [2022-10-25T01:21:45.240Z] Removing intermediate container 9bb9d92eee9c [2022-10-25T01:21:45.240Z] ---> c4dc3431a915 [2022-10-25T01:21:45.240Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T01:21:45.240Z] Successfully built c4dc3431a915 [2022-10-25T01:21:45.240Z] 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-10-25T01:21:45.667Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T01:21:45.667Z] [2022-10-25T01:21:45.667Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T01:21:45.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T01:21:45.964Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T01:21:45.964Z] 5eb5b503b376: Pulling fs layer [2022-10-25T01:21:45.964Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T01:21:45.964Z] ec43610c2a17: Pulling fs layer [2022-10-25T01:21:45.964Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T01:21:45.964Z] 33b1e0a273af: Pulling fs layer [2022-10-25T01:21:45.964Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T01:21:45.964Z] 2f39f015ded8: Pulling fs layer [2022-10-25T01:21:45.964Z] 3a2ae6a8a46f: Waiting [2022-10-25T01:21:45.964Z] 33b1e0a273af: Waiting [2022-10-25T01:21:45.964Z] 5d3b04190fa2: Waiting [2022-10-25T01:21:45.964Z] 2f39f015ded8: Waiting [2022-10-25T01:21:45.964Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T01:21:45.964Z] 5c69ac0246d0: Download complete [2022-10-25T01:21:45.964Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T01:21:45.964Z] 3a2ae6a8a46f: Download complete [2022-10-25T01:21:45.964Z] 33b1e0a273af: Download complete [2022-10-25T01:21:46.225Z] ec43610c2a17: Verifying Checksum [2022-10-25T01:21:46.225Z] ec43610c2a17: Download complete [2022-10-25T01:21:46.225Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T01:21:46.225Z] 5d3b04190fa2: Download complete [2022-10-25T01:21:46.225Z] 5eb5b503b376: Verifying Checksum [2022-10-25T01:21:46.225Z] 5eb5b503b376: Download complete [2022-10-25T01:21:46.793Z] 2f39f015ded8: Download complete [2022-10-25T01:21:47.358Z] 5eb5b503b376: Pull complete [2022-10-25T01:21:47.616Z] 5c69ac0246d0: Pull complete [2022-10-25T01:21:47.873Z] ec43610c2a17: Pull complete [2022-10-25T01:21:47.873Z] 3a2ae6a8a46f: Pull complete [2022-10-25T01:21:48.132Z] 33b1e0a273af: Pull complete [2022-10-25T01:21:48.132Z] 5d3b04190fa2: Pull complete [2022-10-25T01:21:52.307Z] 2f39f015ded8: Pull complete [2022-10-25T01:21:52.307Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T01:21:52.307Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T01:21:52.307Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T01:21:52.385Z] prd-ubuntu20.04-docker-8c-8g-63817 does not seem to be running inside a container [2022-10-25T01:21:52.413Z] $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-10-25T01:21:56.013Z] $ docker top 16c376029f412e4affe6f5b5ece732d28b88cdd95039d5e8d3fdc443379d15a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T01:21:56.400Z] ---> job-cost.sh [2022-10-25T01:21:56.400Z] lf-activate-venv: SKIPPING [2022-10-25T01:21:56.400Z] INFO: No Stack... [2022-10-25T01:21:56.657Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T01:21:56.916Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T01:21:57.202Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv [2022-10-25T01:21:57.202Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T01:21:57.215Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-2-stack-cost] [2022-10-25T01:21:57.220Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-2-stack-cost] did not exist. Created. [2022-10-25T01:21:57.220Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T01:21:57.515Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T01:21:57.541Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T01:21:57.548Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T01:21:57.569Z] $ docker stop --time=1 16c376029f412e4affe6f5b5ece732d28b88cdd95039d5e8d3fdc443379d15a3 [2022-10-25T01:21:58.725Z] $ docker rm -f 16c376029f412e4affe6f5b5ece732d28b88cdd95039d5e8d3fdc443379d15a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T04:01:13.818Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-78142 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws [2022-10-25T04:01:13.831Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-10-25T04:01:13.871Z] Selected Git installation does not exist. Using Default [2022-10-25T04:01:13.871Z] The recommended git tool is: NONE [2022-10-25T04:01:19.256Z] using credential edgex-jenkins-ssh [2022-10-25T04:01:19.272Z] Cloning the remote Git repository [2022-10-25T04:01:19.316Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-25T04:01:19.390Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-10-25T04:01:19.531Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-25T04:01:19.532Z] > git --version # timeout=10 [2022-10-25T04:01:19.554Z] > git --version # 'git version 2.25.1' [2022-10-25T04:01:19.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:01:19.603Z] Verifying host key using known hosts file [2022-10-25T04:01:19.805Z] 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-10-25T04:01:19.816Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T04:01:21.019Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-25T04:01:21.039Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T04:01:22.558Z] Merging remotes/origin/main commit 91033eab2fea5be4c686bcf4b883ab5b66be6a5a into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2022-10-25T04:01:21.926Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-25T04:01:21.974Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-25T04:01:21.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:01:21.982Z] Verifying host key using known hosts file [2022-10-25T04:01:21.989Z] 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-10-25T04:01:22.004Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T04:01:22.581Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T04:01:22.598Z] > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [2022-10-25T04:01:22.686Z] > git remote # timeout=10 [2022-10-25T04:01:22.706Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T04:01:22.829Z] Merge succeeded, producing 83a5fc794dd57135cb1f8565590623a359eeacf5 [2022-10-25T04:01:22.829Z] Checking out Revision 83a5fc794dd57135cb1f8565590623a359eeacf5 (PR-429) [2022-10-25T04:01:22.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T04:01:22.733Z] Verifying host key using known hosts file [2022-10-25T04:01:22.738Z] 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-10-25T04:01:22.747Z] > git merge 91033eab2fea5be4c686bcf4b883ab5b66be6a5a # timeout=10 [2022-10-25T04:01:22.809Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T04:01:22.833Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T04:01:22.864Z] > git checkout -f 83a5fc794dd57135cb1f8565590623a359eeacf5 # timeout=10 [2022-10-25T04:01:26.376Z] Commit message: "Merge commit '91033eab2fea5be4c686bcf4b883ab5b66be6a5a' into HEAD" [2022-10-25T04:01:26.383Z] > git rev-list --no-walk fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T04:01:27.407Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T04:01:27.407Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T04:01:27.407Z] Dload Upload Total Spent Left Speed [2022-10-25T04:01:27.407Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 76841 0 --:--:-- --:--:-- --:--:-- 76841 [Pipeline] sh [2022-10-25T04:01:28.053Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T04:01:28.394Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-10-25T04:01:28.394Z] sudo tee /etc/docker/daemon.new [2022-10-25T04:01:28.394Z] { [2022-10-25T04:01:28.394Z] "registry-mirrors": [ [2022-10-25T04:01:28.394Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T04:01:28.394Z] ], [2022-10-25T04:01:28.394Z] "bip": "10.250.0.254/24", [2022-10-25T04:01:28.394Z] "hosts": [ [2022-10-25T04:01:28.394Z] "tcp://0.0.0.0:5555", [2022-10-25T04:01:28.394Z] "unix:///var/run/docker.sock" [2022-10-25T04:01:28.394Z] ], [2022-10-25T04:01:28.394Z] "mtu": 1458, [2022-10-25T04:01:28.394Z] "selinux-enabled": true, [2022-10-25T04:01:28.394Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T04:01:28.394Z] } [Pipeline] sh [2022-10-25T04:01:28.725Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T04:01:29.054Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T04:01:47.337Z] provisioning config files... [2022-10-25T04:01:47.361Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config15945546402084979546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:01:47.751Z] ---> docker-login.sh [2022-10-25T04:01:47.751Z] nexus3.edgexfoundry.org:10001 [2022-10-25T04:01:48.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:01:48.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:01:48.607Z] Configure a credential helper to remove this warning. See [2022-10-25T04:01:48.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:01:48.607Z] [2022-10-25T04:01:48.607Z] Login Succeeded [2022-10-25T04:01:48.607Z] nexus3.edgexfoundry.org:10002 [2022-10-25T04:01:48.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:01:48.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:01:48.875Z] Configure a credential helper to remove this warning. See [2022-10-25T04:01:48.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:01:48.875Z] [2022-10-25T04:01:48.875Z] Login Succeeded [2022-10-25T04:01:48.875Z] nexus3.edgexfoundry.org:10003 [2022-10-25T04:01:49.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:01:49.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:01:49.143Z] Configure a credential helper to remove this warning. See [2022-10-25T04:01:49.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:01:49.143Z] [2022-10-25T04:01:49.143Z] Login Succeeded [2022-10-25T04:01:49.143Z] nexus3.edgexfoundry.org:10004 [2022-10-25T04:01:49.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:01:49.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:01:49.680Z] Configure a credential helper to remove this warning. See [2022-10-25T04:01:49.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:01:49.680Z] [2022-10-25T04:01:49.680Z] Login Succeeded [2022-10-25T04:01:49.680Z] docker.io [2022-10-25T04:01:49.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T04:01:50.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T04:01:50.264Z] Configure a credential helper to remove this warning. See [2022-10-25T04:01:50.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T04:01:50.264Z] [2022-10-25T04:01:50.264Z] Login Succeeded [2022-10-25T04:01:50.264Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T04:01:50.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T04:01:50.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T04:01:50.445Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T04:01:50.452Z] ========================================================= [2022-10-25T04:01:50.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T04:01:50.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:01:50.779Z] + 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-10-25T04:01:51.049Z] Sending build context to Docker daemon 3.217MB [2022-10-25T04:01:51.049Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T04:01:51.049Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T04:01:51.318Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T04:01:51.318Z] 9b18e9b68314: Pulling fs layer [2022-10-25T04:01:51.318Z] d32db5db7311: Pulling fs layer [2022-10-25T04:01:51.318Z] d0c4b47475fc: Pulling fs layer [2022-10-25T04:01:51.318Z] 5831b945b038: Pulling fs layer [2022-10-25T04:01:51.318Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T04:01:51.318Z] e10730c5d714: Pulling fs layer [2022-10-25T04:01:51.318Z] 5dd5c2283517: Pulling fs layer [2022-10-25T04:01:51.318Z] d5ac0230b979: Pulling fs layer [2022-10-25T04:01:51.318Z] 5831b945b038: Waiting [2022-10-25T04:01:51.318Z] 86bbec2aaacd: Waiting [2022-10-25T04:01:51.318Z] e10730c5d714: Waiting [2022-10-25T04:01:51.318Z] 5dd5c2283517: Waiting [2022-10-25T04:01:51.318Z] d5ac0230b979: Waiting [2022-10-25T04:01:51.318Z] d0c4b47475fc: Verifying Checksum [2022-10-25T04:01:51.318Z] d0c4b47475fc: Download complete [2022-10-25T04:01:51.318Z] d32db5db7311: Verifying Checksum [2022-10-25T04:01:51.318Z] d32db5db7311: Download complete [2022-10-25T04:01:51.318Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T04:01:51.318Z] 86bbec2aaacd: Download complete [2022-10-25T04:01:51.318Z] e10730c5d714: Verifying Checksum [2022-10-25T04:01:51.318Z] e10730c5d714: Download complete [2022-10-25T04:01:51.318Z] 9b18e9b68314: Verifying Checksum [2022-10-25T04:01:51.318Z] 9b18e9b68314: Download complete [2022-10-25T04:01:52.305Z] 9b18e9b68314: Pull complete [2022-10-25T04:01:52.578Z] d5ac0230b979: Verifying Checksum [2022-10-25T04:01:52.578Z] d5ac0230b979: Download complete [2022-10-25T04:01:52.848Z] d32db5db7311: Pull complete [2022-10-25T04:01:53.438Z] d0c4b47475fc: Pull complete [2022-10-25T04:01:53.708Z] 5dd5c2283517: Verifying Checksum [2022-10-25T04:01:53.708Z] 5dd5c2283517: Download complete [2022-10-25T04:01:54.291Z] 5831b945b038: Download complete [2022-10-25T04:02:06.637Z] 5831b945b038: Pull complete [2022-10-25T04:02:06.637Z] 86bbec2aaacd: Pull complete [2022-10-25T04:02:06.905Z] e10730c5d714: Pull complete [2022-10-25T04:02:13.577Z] 5dd5c2283517: Pull complete [2022-10-25T04:02:15.526Z] d5ac0230b979: Pull complete [2022-10-25T04:02:15.526Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T04:02:15.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T04:02:15.526Z] ---> 59b3b1a385d4 [2022-10-25T04:02:15.526Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T04:02:17.477Z] ---> Running in bdc70f1e6b65 [2022-10-25T04:02:17.477Z] Removing intermediate container bdc70f1e6b65 [2022-10-25T04:02:17.477Z] ---> 148de4b6114c [2022-10-25T04:02:17.477Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T04:02:17.749Z] ---> Running in dc78390abadd [2022-10-25T04:02:18.017Z] Removing intermediate container dc78390abadd [2022-10-25T04:02:18.017Z] ---> dc3eb6ae6825 [2022-10-25T04:02:18.017Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T04:02:18.017Z] ---> Running in 5bdc5e3537c0 [2022-10-25T04:02:18.286Z] Removing intermediate container 5bdc5e3537c0 [2022-10-25T04:02:18.287Z] ---> f3957930e4e3 [2022-10-25T04:02:18.287Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T04:02:18.559Z] ---> Running in ef68bcf4eedc [2022-10-25T04:02:18.832Z] Removing intermediate container ef68bcf4eedc [2022-10-25T04:02:18.832Z] ---> c9c45d4ff190 [2022-10-25T04:02:18.832Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T04:02:18.832Z] ---> Running in aced0080fc83 [2022-10-25T04:02:20.795Z] Removing intermediate container aced0080fc83 [2022-10-25T04:02:20.796Z] ---> 720c452e862d [2022-10-25T04:02:20.796Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T04:02:20.796Z] ---> Running in c607d3715af3 [2022-10-25T04:02:21.755Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T04:02:22.717Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T04:02:23.683Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T04:02:23.683Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T04:02:23.683Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T04:02:23.955Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T04:02:23.955Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T04:02:23.955Z] OK: 226 MiB in 55 packages [2022-10-25T04:02:25.380Z] Removing intermediate container c607d3715af3 [2022-10-25T04:02:25.380Z] ---> 889a38a7aa04 [2022-10-25T04:02:25.380Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-10-25T04:02:25.380Z] ---> Running in f2688dfc6148 [2022-10-25T04:02:25.380Z] Removing intermediate container f2688dfc6148 [2022-10-25T04:02:25.380Z] ---> 3532e0afe28e [2022-10-25T04:02:25.380Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T04:02:25.962Z] ---> a1c3680b9094 [2022-10-25T04:02:25.962Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T04:02:25.962Z] ---> Running in 5fe57ba6f058 [2022-10-25T04:03:22.392Z] Removing intermediate container 5fe57ba6f058 [2022-10-25T04:03:22.392Z] ---> feb4b09f8eac [2022-10-25T04:03:22.392Z] Step 12/13 : COPY . . [2022-10-25T04:03:22.392Z] ---> 9eec68715ec2 [2022-10-25T04:03:22.392Z] Step 13/13 : RUN $MAKE [2022-10-25T04:03:22.392Z] ---> Running in ba6469d91c2d [2022-10-25T04:03:22.392Z] noop [2022-10-25T04:03:22.392Z] Removing intermediate container ba6469d91c2d [2022-10-25T04:03:22.392Z] ---> c6db5319c70d [2022-10-25T04:03:22.392Z] Successfully built c6db5319c70d [2022-10-25T04:03:22.392Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:03:22.742Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T04:03:22.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:03:22.905Z] prd-ubuntu20.04-docker-arm64-4c-16g-78142 does not seem to be running inside a container [2022-10-25T04:03:22.965Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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-10-25T04:03:24.087Z] $ docker top 660967b8d21b6abd445548572746441d59b2ef741656b1c565dae4ba50da959f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:03:24.906Z] + go version [2022-10-25T04:03:24.907Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T04:03:24.923Z] $ docker stop --time=1 660967b8d21b6abd445548572746441d59b2ef741656b1c565dae4ba50da959f [2022-10-25T04:03:26.545Z] $ docker rm -f 660967b8d21b6abd445548572746441d59b2ef741656b1c565dae4ba50da959f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:03:27.083Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T04:03:27.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:03:27.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-78142 does not seem to be running inside a container [2022-10-25T04:03:27.309Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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-10-25T04:03:28.491Z] $ docker top 379ffa3d8dbc3e8fc9bb6dc5ebf48ce19b6130bb926d9a89b428fc32624f0f41 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:03:28.999Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-25T04:03:29.917Z] + make test [2022-10-25T04:03:29.917Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T04:03:31.329Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-25T04:05:08.029Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-25T04:05:08.029Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements [2022-10-25T04:05:08.029Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-25T04:05:08.029Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T04:05:08.029Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T04:05:26.250Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T04:05:26.250Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T04:05:26.250Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T04:05:26.271Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T04:05:26.282Z] $ docker stop --time=1 379ffa3d8dbc3e8fc9bb6dc5ebf48ce19b6130bb926d9a89b428fc32624f0f41 [2022-10-25T04:05:28.087Z] $ docker rm -f 379ffa3d8dbc3e8fc9bb6dc5ebf48ce19b6130bb926d9a89b428fc32624f0f41 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T04:05:29.029Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T04:05:29.053Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T04:05:29.488Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T04:05:29.884Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T04:05:30.214Z] + ls -al . [2022-10-25T04:05:30.214Z] total 188 [2022-10-25T04:05:30.214Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 04:03 . [2022-10-25T04:05:30.214Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:01 .. [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 04:01 .dockerignore [2022-10-25T04:05:30.214Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 04:01 .git [2022-10-25T04:05:30.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:01 .github [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 04:01 .gitignore [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 04:01 .golangci.yml [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 25 04:01 Attribution.txt [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 25 04:01 CHANGELOG.md [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 1988 Oct 25 04:01 Dockerfile [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 04:01 GOVERNANCE.md [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 25 04:01 Jenkinsfile [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 04:01 LICENSE [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 25 04:01 Makefile [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 04:01 OWNERS.md [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 25 04:01 README.md [2022-10-25T04:05:30.214Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 01:20 VERSION [2022-10-25T04:05:30.214Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:01 bin [2022-10-25T04:05:30.214Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:01 cmd [2022-10-25T04:05:30.214Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 25 04:05 coverage.out [2022-10-25T04:05:30.215Z] -rw-rw-r-- 1 jenkins jenkins 3511 Oct 25 04:01 go.mod [2022-10-25T04:05:30.215Z] -rw-rw-r-- 1 jenkins jenkins 45142 Oct 25 04:01 go.sum [2022-10-25T04:05:30.215Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 04:01 internal [2022-10-25T04:05:30.215Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 04:01 mock [2022-10-25T04:05:30.215Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 04:01 snap [2022-10-25T04:05:30.215Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 25 04:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:05:30.557Z] + 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=83a5fc794dd57135cb1f8565590623a359eeacf5 --label arch=arm64 --label version=0.0.0 . [2022-10-25T04:05:30.848Z] Sending build context to Docker daemon 3.236MB [2022-10-25T04:05:30.848Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T04:05:30.848Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-25T04:05:30.848Z] ---> c6db5319c70d [2022-10-25T04:05:30.848Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-25T04:05:31.115Z] ---> Running in faf86268dc7e [2022-10-25T04:05:31.383Z] Removing intermediate container faf86268dc7e [2022-10-25T04:05:31.383Z] ---> 2bcee2b72060 [2022-10-25T04:05:31.383Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T04:05:31.383Z] ---> Running in a642fbb47d09 [2022-10-25T04:05:31.968Z] Removing intermediate container a642fbb47d09 [2022-10-25T04:05:31.968Z] ---> dda6ce398fa9 [2022-10-25T04:05:31.968Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T04:05:31.968Z] ---> Running in 7b6f70ca684e [2022-10-25T04:05:32.234Z] Removing intermediate container 7b6f70ca684e [2022-10-25T04:05:32.234Z] ---> ecb48dda3820 [2022-10-25T04:05:32.234Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T04:05:32.618Z] ---> Running in a846021ce5f5 [2022-10-25T04:05:32.618Z] Removing intermediate container a846021ce5f5 [2022-10-25T04:05:32.618Z] ---> 8ae07671f897 [2022-10-25T04:05:32.618Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T04:05:32.923Z] ---> Running in 61fe4b2cb4f2 [2022-10-25T04:05:34.974Z] Removing intermediate container 61fe4b2cb4f2 [2022-10-25T04:05:34.974Z] ---> 2c7920daf6d9 [2022-10-25T04:05:34.974Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T04:05:34.974Z] ---> Running in e4387e2ed18f [2022-10-25T04:05:37.596Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T04:05:38.185Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T04:05:39.169Z] OK: 226 MiB in 55 packages [2022-10-25T04:05:39.762Z] Removing intermediate container e4387e2ed18f [2022-10-25T04:05:39.762Z] ---> e17493415ec7 [2022-10-25T04:05:39.762Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-10-25T04:05:40.032Z] ---> Running in d6ef4cdb5abe [2022-10-25T04:05:40.305Z] Removing intermediate container d6ef4cdb5abe [2022-10-25T04:05:40.305Z] ---> 5d852e66549c [2022-10-25T04:05:40.305Z] Step 10/25 : COPY go.mod vendor* ./ [2022-10-25T04:05:40.895Z] ---> 1b91b16a4398 [2022-10-25T04:05:40.895Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T04:05:41.168Z] ---> Running in ded1c13ced6a [2022-10-25T04:05:43.778Z] Removing intermediate container ded1c13ced6a [2022-10-25T04:05:43.778Z] ---> ade1689f4641 [2022-10-25T04:05:43.778Z] Step 12/25 : COPY . . [2022-10-25T04:05:44.371Z] ---> 5b57a2975708 [2022-10-25T04:05:44.371Z] Step 13/25 : RUN $MAKE [2022-10-25T04:05:44.371Z] ---> Running in b89a80b79d85 [2022-10-25T04:05:45.823Z] 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-10-25T04:08:22.588Z] Removing intermediate container b89a80b79d85 [2022-10-25T04:08:22.588Z] ---> 51e48c4969b6 [2022-10-25T04:08:22.588Z] Step 14/25 : FROM alpine:3.16 [2022-10-25T04:08:22.588Z] 3.16: Pulling from library/alpine [2022-10-25T04:08:22.588Z] 9b18e9b68314: Already exists [2022-10-25T04:08:22.588Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T04:08:22.588Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T04:08:22.588Z] ---> a6215f271958 [2022-10-25T04:08:22.588Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-25T04:08:22.588Z] ---> Running in 2405bc99fa9a [2022-10-25T04:08:22.588Z] Removing intermediate container 2405bc99fa9a [2022-10-25T04:08:22.588Z] ---> a23b301b4918 [2022-10-25T04:08:22.588Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T04:08:22.588Z] ---> Running in 5d94a9c90fea [2022-10-25T04:08:22.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T04:08:22.588Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T04:08:22.588Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T04:08:22.588Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T04:08:22.588Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T04:08:22.588Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T04:08:22.588Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T04:08:22.588Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T04:08:22.588Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T04:08:22.588Z] OK: 8 MiB in 20 packages [2022-10-25T04:08:22.856Z] Removing intermediate container 5d94a9c90fea [2022-10-25T04:08:22.856Z] ---> a9b58253fd32 [2022-10-25T04:08:22.856Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-25T04:08:24.284Z] ---> 16a9ad9ef508 [2022-10-25T04:08:24.285Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-25T04:08:24.869Z] ---> d7171d77561a [2022-10-25T04:08:24.869Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-25T04:08:25.455Z] ---> fb50f7f47115 [2022-10-25T04:08:25.455Z] Step 20/25 : EXPOSE 59982 [2022-10-25T04:08:25.455Z] ---> Running in e13e76a19972 [2022-10-25T04:08:25.731Z] Removing intermediate container e13e76a19972 [2022-10-25T04:08:25.731Z] ---> a159e878f13d [2022-10-25T04:08:25.731Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-10-25T04:08:25.731Z] ---> Running in 774e7a09f124 [2022-10-25T04:08:26.000Z] Removing intermediate container 774e7a09f124 [2022-10-25T04:08:26.000Z] ---> 6271ed65ff5a [2022-10-25T04:08:26.000Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-25T04:08:26.000Z] ---> Running in 876f984e87b4 [2022-10-25T04:08:26.584Z] Removing intermediate container 876f984e87b4 [2022-10-25T04:08:26.584Z] ---> f917a19cd7ca [2022-10-25T04:08:26.584Z] Step 23/25 : LABEL arch=arm64 [2022-10-25T04:08:26.584Z] ---> Running in 3c20604aa0cd [2022-10-25T04:08:26.850Z] Removing intermediate container 3c20604aa0cd [2022-10-25T04:08:26.850Z] ---> d20b0c92ee23 [2022-10-25T04:08:26.850Z] Step 24/25 : LABEL git_sha=83a5fc794dd57135cb1f8565590623a359eeacf5 [2022-10-25T04:08:26.850Z] ---> Running in 2669b74ba549 [2022-10-25T04:08:27.116Z] Removing intermediate container 2669b74ba549 [2022-10-25T04:08:27.116Z] ---> a4fb374ad032 [2022-10-25T04:08:27.116Z] Step 25/25 : LABEL version=0.0.0 [2022-10-25T04:08:27.116Z] ---> Running in aff8805b64a7 [2022-10-25T04:08:27.383Z] Removing intermediate container aff8805b64a7 [2022-10-25T04:08:27.383Z] ---> 54e922f4eef2 [2022-10-25T04:08:27.383Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T04:08:27.649Z] Successfully built 54e922f4eef2 [2022-10-25T04:08:27.649Z] 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-10-25T04:08:28.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T04:08:28.082Z] [2022-10-25T04:08:28.082Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:08:28.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T04:08:28.417Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T04:08:28.417Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T04:08:28.417Z] 04944245beec: Pulling fs layer [2022-10-25T04:08:28.417Z] 699f458cf7ca: Pulling fs layer [2022-10-25T04:08:28.417Z] 765212b225bb: Pulling fs layer [2022-10-25T04:08:28.417Z] f23df028b6ca: Pulling fs layer [2022-10-25T04:08:28.417Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T04:08:28.417Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T04:08:28.417Z] f23df028b6ca: Waiting [2022-10-25T04:08:28.417Z] d65c8cfc05b1: Waiting [2022-10-25T04:08:28.417Z] 2437ff75d9bd: Waiting [2022-10-25T04:08:28.417Z] 765212b225bb: Waiting [2022-10-25T04:08:28.686Z] 04944245beec: Verifying Checksum [2022-10-25T04:08:28.686Z] 04944245beec: Download complete [2022-10-25T04:08:28.686Z] 765212b225bb: Verifying Checksum [2022-10-25T04:08:28.686Z] 765212b225bb: Download complete [2022-10-25T04:08:28.686Z] f23df028b6ca: Verifying Checksum [2022-10-25T04:08:28.686Z] f23df028b6ca: Download complete [2022-10-25T04:08:28.686Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T04:08:28.686Z] d65c8cfc05b1: Download complete [2022-10-25T04:08:28.686Z] 699f458cf7ca: Verifying Checksum [2022-10-25T04:08:28.686Z] 699f458cf7ca: Download complete [2022-10-25T04:08:29.274Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T04:08:29.274Z] 8998bd30e6a1: Download complete [2022-10-25T04:08:31.861Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T04:08:31.861Z] 2437ff75d9bd: Download complete [2022-10-25T04:08:33.272Z] 8998bd30e6a1: Pull complete [2022-10-25T04:08:33.859Z] 04944245beec: Pull complete [2022-10-25T04:08:35.273Z] 699f458cf7ca: Pull complete [2022-10-25T04:08:35.549Z] 765212b225bb: Pull complete [2022-10-25T04:08:36.135Z] f23df028b6ca: Pull complete [2022-10-25T04:08:36.400Z] d65c8cfc05b1: Pull complete [2022-10-25T04:08:51.397Z] 2437ff75d9bd: Pull complete [2022-10-25T04:08:51.397Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T04:08:51.397Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T04:08:51.397Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:08:51.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-78142 does not seem to be running inside a container [2022-10-25T04:08:51.642Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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-10-25T04:08:54.386Z] $ docker top ace0c1eb0121ca19f321ef14aff4ec2f04219c66c2082b3207dfd01bf3d3a76d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:08:55.208Z] ---> job-cost.sh [2022-10-25T04:08:55.208Z] lf-activate-venv: SKIPPING [2022-10-25T04:08:55.208Z] INFO: No Stack... [2022-10-25T04:08:55.473Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T04:08:56.432Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T04:08:57.072Z] + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [2022-10-25T04:08:57.073Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T04:08:57.134Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-2-stack-cost] [2022-10-25T04:08:57.140Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-2-stack-cost] did not exist. Created. [2022-10-25T04:08:57.140Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T04:08:57.794Z] /w/workspace/device-mqtt-go/2@tmp/durable-79f386ff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T04:08:58.446Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T04:08:58.467Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T04:08:58.508Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T04:08:58.518Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T04:08:58.533Z] $ docker stop --time=1 ace0c1eb0121ca19f321ef14aff4ec2f04219c66c2082b3207dfd01bf3d3a76d [2022-10-25T04:09:00.034Z] $ docker rm -f ace0c1eb0121ca19f321ef14aff4ec2f04219c66c2082b3207dfd01bf3d3a76d [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-10-25T04:09:00.392Z] provisioning config files... [2022-10-25T04:09:00.400Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config1486068403505049170tmp [Pipeline] { [Pipeline] sh [2022-10-25T04:09:00.693Z] + set +x [2022-10-25T04:09:00.693Z] + bash -s -- [2022-10-25T04:09:00.693Z] + curl -s https://codecov.io/bash [2022-10-25T04:09:00.693Z] [2022-10-25T04:09:00.693Z] _____ _ [2022-10-25T04:09:00.693Z] / ____| | | [2022-10-25T04:09:00.693Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T04:09:00.693Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T04:09:00.693Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T04:09:00.693Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T04:09:00.693Z] Bash-1.0.6 [2022-10-25T04:09:00.693Z] [2022-10-25T04:09:00.693Z] [2022-10-25T04:09:00.693Z] ==> git version 2.25.1 found [2022-10-25T04:09:00.693Z] ==> 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-10-25T04:09:00.693Z] Release-Date: 2020-01-08 [2022-10-25T04:09:00.693Z] 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-10-25T04:09:00.693Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T04:09:00.693Z] ==> Jenkins CI detected. [2022-10-25T04:09:00.693Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-10-25T04:09:00.693Z] project root: . [2022-10-25T04:09:00.693Z] --> token set from env [2022-10-25T04:09:00.693Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T04:09:00.693Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T04:09:00.693Z] ==> Python coveragepy not found [2022-10-25T04:09:00.693Z] ==> Searching for coverage reports in: [2022-10-25T04:09:00.693Z] + . [2022-10-25T04:09:00.693Z] -> Found 1 reports [2022-10-25T04:09:00.693Z] ==> Detecting git/mercurial file structure [2022-10-25T04:09:00.952Z] ==> Reading reports [2022-10-25T04:09:00.952Z] + ./coverage.out bytes=17887 [2022-10-25T04:09:00.952Z] ==> Appending adjustments [2022-10-25T04:09:00.952Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T04:09:00.952Z] + Found adjustments [2022-10-25T04:09:00.952Z] ==> Gzipping contents [2022-10-25T04:09:00.952Z] 4.0K /tmp/codecov.68iGR0.gz [2022-10-25T04:09:00.952Z] ==> Uploading reports [2022-10-25T04:09:00.952Z] url: https://codecov.io [2022-10-25T04:09:00.952Z] query: branch=PR-429&commit=6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-10-25T04:09:00.952Z] -> Pinging Codecov [2022-10-25T04:09:00.952Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-429&commit=6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-10-25T04:09:01.210Z] -> Uploading to [2022-10-25T04:09:01.210Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/7D719EC7BBE17E464838252E33014C33/6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387/eb6c7579-6601-48cb-b59f-a853437b6cda.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T040901Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c60007050d7b6db2173b539a97a494051991885c957d80db243f677a25117ce [2022-10-25T04:09:01.210Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T04:09:01.210Z] Dload Upload Total Spent Left Speed [2022-10-25T04:09:01.470Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 13679 --:--:-- --:--:-- --:--:-- 13621 100 3201 0 0 100 3201 0 12079 --:--:-- --:--:-- --:--:-- 12033 [2022-10-25T04:09:01.470Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6dc72a6d132ea7398b66f3c4ac4dd023f9fb5387 [Pipeline] } [2022-10-25T04:09:01.478Z] 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-10-25T04:09:02.061Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] [2022-10-25T04:09:02.061Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-10-25T04:09:02.061Z] total 16 [2022-10-25T04:09:02.061Z] drwxr-xr-x 3 root root 4096 Oct 25 01:21 . [2022-10-25T04:09:02.061Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 01:21 .. [2022-10-25T04:09:02.061Z] drwxr-xr-x 2 root root 4096 Oct 25 01:21 cost [2022-10-25T04:09:02.061Z] -rw-r--r-- 1 root root 86 Oct 25 01:21 cost.csv [2022-10-25T04:09:02.061Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-10-25T04:09:02.061Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-10-25T04:09:02.061Z] total 16 [2022-10-25T04:09:02.061Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 01:21 . [2022-10-25T04:09:02.061Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 01:21 .. [2022-10-25T04:09:02.061Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 01:21 cost [2022-10-25T04:09:02.061Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 25 01:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:09:02.354Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:09:03.207Z] ---> package-listing.sh [2022-10-25T04:09:03.208Z] ++ facter osfamily [2022-10-25T04:09:03.208Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T04:09:03.466Z] + OS_FAMILY=debian [2022-10-25T04:09:03.466Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-10-25T04:09:03.466Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T04:09:03.466Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T04:09:03.466Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T04:09:03.466Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T04:09:03.466Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-10-25T04:09:03.466Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T04:09:03.466Z] + case "${OS_FAMILY}" in [2022-10-25T04:09:03.466Z] + dpkg -l [2022-10-25T04:09:03.466Z] + grep '^ii' [2022-10-25T04:09:03.466Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T04:09:03.466Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T04:09:03.466Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T04:09:03.466Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-10-25T04:09:03.466Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [2022-10-25T04:09:03.466Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [Pipeline] echo [2022-10-25T04:09:03.476Z] 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T04:09:03.750Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T04:09:04.304Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T04:09:04.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T04:09:04.365Z] prd-ubuntu20.04-docker-8c-8g-63817 does not seem to be running inside a container [2022-10-25T04:09:04.407Z] $ 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-429/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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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-10-25T04:09:04.625Z] $ docker top 787cc92eaf163cda54064059b86cef3b0feebb37b19045453bc0922a3d6641fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T04:09:04.968Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T04:09:05.263Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T04:09:05.552Z] + ls /var/log/sa-host [2022-10-25T04:09:05.552Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T04:09:05.610Z] provisioning config files... [2022-10-25T04:09:05.618Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config16110000399478157946tmp [Pipeline] { [Pipeline] echo [2022-10-25T04:09:05.632Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:09:05.912Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T04:09:05.919Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:09:06.242Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T04:09:06.251Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:09:06.551Z] ---> sudo-logs.sh [2022-10-25T04:09:06.551Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T04:09:06.577Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:09:06.862Z] ---> job-cost.sh [2022-10-25T04:09:06.862Z] lf-activate-venv: SKIPPING [2022-10-25T04:09:06.862Z] DEBUG: total: 0.2199999988079071 [2022-10-25T04:09:06.862Z] INFO: Retrieving Stack Cost... [2022-10-25T04:09:08.236Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T04:09:08.498Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T04:09:08.508Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T04:09:08.801Z] ---> logs-deploy.sh [2022-10-25T04:09:08.801Z] lf-activate-venv: SKIPPING [2022-10-25T04:09:08.801Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/2 [2022-10-25T04:09:08.801Z] INFO: archiving workspace using pattern(s): [2022-10-25T04:09:09.735Z] Archives upload complete. [2022-10-25T04:09:09.993Z] INFO: archiving logs to Nexus [2022-10-25T04:09:10.561Z] ---> uname -a: [2022-10-25T04:09:10.561Z] Linux prd-ubuntu20-04-docker-8c-8g-63817 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2022-10-25T04:09:10.561Z] [2022-10-25T04:09:10.561Z] [2022-10-25T04:09:10.561Z] ---> lscpu: [2022-10-25T04:09:10.561Z] Architecture: x86_64 [2022-10-25T04:09:10.561Z] CPU op-mode(s): 32-bit, 64-bit [2022-10-25T04:09:10.561Z] Byte Order: Little Endian [2022-10-25T04:09:10.561Z] Address sizes: 40 bits physical, 48 bits virtual [2022-10-25T04:09:10.561Z] CPU(s): 8 [2022-10-25T04:09:10.561Z] On-line CPU(s) list: 0-7 [2022-10-25T04:09:10.561Z] Thread(s) per core: 1 [2022-10-25T04:09:10.561Z] Core(s) per socket: 1 [2022-10-25T04:09:10.561Z] Socket(s): 8 [2022-10-25T04:09:10.561Z] NUMA node(s): 1 [2022-10-25T04:09:10.561Z] Vendor ID: AuthenticAMD [2022-10-25T04:09:10.561Z] CPU family: 23 [2022-10-25T04:09:10.561Z] Model: 49 [2022-10-25T04:09:10.561Z] Model name: AMD EPYC-Rome Processor [2022-10-25T04:09:10.561Z] Stepping: 0 [2022-10-25T04:09:10.561Z] CPU MHz: 2799.988 [2022-10-25T04:09:10.561Z] BogoMIPS: 5599.97 [2022-10-25T04:09:10.561Z] Virtualization: AMD-V [2022-10-25T04:09:10.561Z] Hypervisor vendor: KVM [2022-10-25T04:09:10.561Z] Virtualization type: full [2022-10-25T04:09:10.561Z] L1d cache: 256 KiB [2022-10-25T04:09:10.561Z] L1i cache: 256 KiB [2022-10-25T04:09:10.561Z] L2 cache: 4 MiB [2022-10-25T04:09:10.561Z] L3 cache: 128 MiB [2022-10-25T04:09:10.561Z] NUMA node0 CPU(s): 0-7 [2022-10-25T04:09:10.561Z] Vulnerability Itlb multihit: Not affected [2022-10-25T04:09:10.561Z] Vulnerability L1tf: Not affected [2022-10-25T04:09:10.561Z] Vulnerability Mds: Not affected [2022-10-25T04:09:10.561Z] Vulnerability Meltdown: Not affected [2022-10-25T04:09:10.561Z] Vulnerability Mmio stale data: Not affected [2022-10-25T04:09:10.561Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-10-25T04:09:10.561Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-10-25T04:09:10.561Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-10-25T04:09:10.561Z] Vulnerability Srbds: Not affected [2022-10-25T04:09:10.561Z] Vulnerability Tsx async abort: Not affected [2022-10-25T04:09:10.561Z] 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-10-25T04:09:10.561Z] [2022-10-25T04:09:10.561Z] [2022-10-25T04:09:10.561Z] ---> nproc: [2022-10-25T04:09:10.561Z] 8 [2022-10-25T04:09:10.561Z] [2022-10-25T04:09:10.561Z] [2022-10-25T04:09:10.561Z] ---> df -h: [2022-10-25T04:09:10.561Z] Filesystem Size Used Avail Use% Mounted on [2022-10-25T04:09:10.561Z] overlay 155G 12G 144G 8% / [2022-10-25T04:09:10.561Z] tmpfs 64M 0 64M 0% /dev [2022-10-25T04:09:10.561Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-10-25T04:09:10.561Z] shm 64M 0 64M 0% /dev/shm [2022-10-25T04:09:10.561Z] /dev/vda1 155G 12G 144G 8% /facter-os [2022-10-25T04:09:10.561Z] [2022-10-25T04:09:10.561Z]