Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+16ab89a495dc588a47662ccf315e42eca693f4b5 (bda09720391df03683d8117636b526c63500c7f3) 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-ssh6471428974703525032.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-ssh2057705805946045139.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-ssh14826446618652916043.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-ssh16261421234727665013.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-ssh11836840858311283708.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-117260 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 16ab89a495dc588a47662ccf315e42eca693f4b5 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing 7ec6f57915863abda1d4d9bd3873dbb9635c1aca Checking out Revision 7ec6f57915863abda1d4d9bd3873dbb9635c1aca (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 16ab89a495dc588a47662ccf315e42eca693f4b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ec6f57915863abda1d4d9bd3873dbb9635c1aca # timeout=10 Commit message: "Merge commit '16ab89a495dc588a47662ccf315e42eca693f4b5' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-26T19:36:28.622Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-26T19:36:28.663Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-26T19:36:28.676Z] ========================================================= [2022-10-26T19:36:28.676Z] EdgeX Global Pipelines Version Info [2022-10-26T19:36:28.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:29.401Z] ------------------- [2022-10-26T19:36:29.401Z] stable info: [2022-10-26T19:36:29.401Z] ------------------- [2022-10-26T19:36:29.401Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-26T19:36:29.401Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:36:29.401Z] Message: update stable to v1.0.243 > git rev-list --no-walk 83a5fc794dd57135cb1f8565590623a359eeacf5 # timeout=10 [2022-10-26T19:36:29.970Z] ------------------- [2022-10-26T19:36:29.970Z] experimental info: [2022-10-26T19:36:29.970Z] ------------------- [2022-10-26T19:36:29.970Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-26T19:36:29.970Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-26T19:36:29.970Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-26T19:36:30.107Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-10-26T19:36:30.120Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-10-26T19:36:30.131Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-26T19:36:30.140Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-26T19:36:30.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-26T19:36:30.157Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-26T19:36:30.165Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-26T19:36:30.173Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-26T19:36:30.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-26T19:36:30.189Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-26T19:36:30.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-26T19:36:30.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-10-26T19:36:30.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-26T19:36:30.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-26T19:36:30.257Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:36:30.269Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-26T19:36:30.281Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:36:30.296Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-26T19:36:30.311Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-26T19:36:30.324Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-26T19:36:30.333Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-26T19:36:30.341Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-26T19:36:30.349Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-26T19:36:30.358Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-26T19:36:30.367Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-26T19:36:30.375Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-26T19:36:30.383Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-26T19:36:30.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo [2022-10-26T19:36:30.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo [2022-10-26T19:36:30.413Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo [2022-10-26T19:36:30.424Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ec6f57915863abda1d4d9bd3873dbb9635c1aca [Pipeline] echo [2022-10-26T19:36:30.432Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ec6f57 [Pipeline] echo [2022-10-26T19:36:30.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:36:30.473Z] provisioning config files... [2022-10-26T19:36:30.485Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config2778673621902172947tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:30.788Z] ---> docker-login.sh [2022-10-26T19:36:30.788Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:36:31.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:31.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:31.355Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:31.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:31.355Z] [2022-10-26T19:36:31.355Z] Login Succeeded [2022-10-26T19:36:31.355Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:36:31.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:31.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:31.614Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:31.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:31.614Z] [2022-10-26T19:36:31.614Z] Login Succeeded [2022-10-26T19:36:31.614Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:36:31.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:31.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:31.614Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:31.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:31.614Z] [2022-10-26T19:36:31.614Z] Login Succeeded [2022-10-26T19:36:31.614Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:36:31.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:31.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:31.872Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:31.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:31.872Z] [2022-10-26T19:36:31.872Z] Login Succeeded [2022-10-26T19:36:31.872Z] docker.io [2022-10-26T19:36:31.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:32.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:32.131Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:32.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:32.131Z] [2022-10-26T19:36:32.131Z] Login Succeeded [2022-10-26T19:36:32.131Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:36:32.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-26T19:36:32.487Z] + git rev-list -1 --merges 7ec6f57915863abda1d4d9bd3873dbb9635c1aca~1..7ec6f57915863abda1d4d9bd3873dbb9635c1aca [Pipeline] echo [2022-10-26T19:36:32.518Z] -----------> git rev-list -1 --merges 7ec6f57915863abda1d4d9bd3873dbb9635c1aca~1..7ec6f57915863abda1d4d9bd3873dbb9635c1aca 7ec6f57915863abda1d4d9bd3873dbb9635c1aca [2022-10-26T19:36:32.518Z] 7ec6f57915863abda1d4d9bd3873dbb9635c1aca [false] [Pipeline] sh [2022-10-26T19:36:32.805Z] + git log --format=format:%s -1 7ec6f57915863abda1d4d9bd3873dbb9635c1aca [Pipeline] echo [2022-10-26T19:36:32.818Z] ========================================================= [2022-10-26T19:36:32.818Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-26T19:36:32.818Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:36:33.148Z] + git log --format=format:%s -1 7ec6f57915863abda1d4d9bd3873dbb9635c1aca [Pipeline] echo [2022-10-26T19:36:33.158Z] [semverPrep] GIT_COMMIT: 7ec6f57915863abda1d4d9bd3873dbb9635c1aca, Commit Message: Merge commit '16ab89a495dc588a47662ccf315e42eca693f4b5' into HEAD [Pipeline] echo [2022-10-26T19:36:33.165Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-26T19:36:33.502Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-26T19:36:33.502Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-26T19:36:33.502Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-26T19:36:33.502Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-26T19:36:33.502Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-26T19:36:33.502Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-26T19:36:33.502Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:33.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:33.846Z] [2022-10-26T19:36:33.846Z] 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-26T19:36:34.166Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:34.166Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-26T19:36:34.166Z] b85a868b505f: Pulling fs layer [2022-10-26T19:36:34.166Z] e2be974225ed: Pulling fs layer [2022-10-26T19:36:34.166Z] 339a4e72a1f5: Pulling fs layer [2022-10-26T19:36:34.166Z] 988bab9f4d93: Pulling fs layer [2022-10-26T19:36:34.166Z] 1469e6f7b9e6: Pulling fs layer [2022-10-26T19:36:34.166Z] eaf3925da568: Pulling fs layer [2022-10-26T19:36:34.166Z] bab4dde63d76: Pulling fs layer [2022-10-26T19:36:34.166Z] bde34c3a00c8: Pulling fs layer [2022-10-26T19:36:34.166Z] b352a97aabf1: Pulling fs layer [2022-10-26T19:36:34.166Z] 4872d77fe225: Pulling fs layer [2022-10-26T19:36:34.166Z] 5851b861e8e6: Pulling fs layer [2022-10-26T19:36:34.166Z] 988bab9f4d93: Waiting [2022-10-26T19:36:34.166Z] eaf3925da568: Waiting [2022-10-26T19:36:34.166Z] 4872d77fe225: Waiting [2022-10-26T19:36:34.166Z] 5851b861e8e6: Waiting [2022-10-26T19:36:34.166Z] 1469e6f7b9e6: Waiting [2022-10-26T19:36:34.166Z] bde34c3a00c8: Waiting [2022-10-26T19:36:34.166Z] b352a97aabf1: Waiting [2022-10-26T19:36:34.166Z] bab4dde63d76: Waiting [2022-10-26T19:36:34.166Z] e2be974225ed: Download complete [2022-10-26T19:36:34.166Z] 988bab9f4d93: Verifying Checksum [2022-10-26T19:36:34.166Z] 988bab9f4d93: Download complete [2022-10-26T19:36:34.441Z] 1469e6f7b9e6: Verifying Checksum [2022-10-26T19:36:34.441Z] 1469e6f7b9e6: Download complete [2022-10-26T19:36:34.441Z] eaf3925da568: Verifying Checksum [2022-10-26T19:36:34.441Z] eaf3925da568: Download complete [2022-10-26T19:36:34.441Z] 339a4e72a1f5: Verifying Checksum [2022-10-26T19:36:34.441Z] 339a4e72a1f5: Download complete [2022-10-26T19:36:34.441Z] bde34c3a00c8: Verifying Checksum [2022-10-26T19:36:34.441Z] bde34c3a00c8: Download complete [2022-10-26T19:36:34.441Z] b352a97aabf1: Download complete [2022-10-26T19:36:34.441Z] 4872d77fe225: Verifying Checksum [2022-10-26T19:36:34.441Z] 4872d77fe225: Download complete [2022-10-26T19:36:34.713Z] 5851b861e8e6: Verifying Checksum [2022-10-26T19:36:34.713Z] 5851b861e8e6: Download complete [2022-10-26T19:36:34.977Z] b85a868b505f: Verifying Checksum [2022-10-26T19:36:34.977Z] b85a868b505f: Download complete [2022-10-26T19:36:35.236Z] bab4dde63d76: Verifying Checksum [2022-10-26T19:36:35.236Z] bab4dde63d76: Download complete [2022-10-26T19:36:36.180Z] b85a868b505f: Pull complete [2022-10-26T19:36:36.180Z] e2be974225ed: Pull complete [2022-10-26T19:36:36.747Z] 339a4e72a1f5: Pull complete [2022-10-26T19:36:36.747Z] 988bab9f4d93: Pull complete [2022-10-26T19:36:37.007Z] 1469e6f7b9e6: Pull complete [2022-10-26T19:36:37.007Z] eaf3925da568: Pull complete [2022-10-26T19:36:38.910Z] bab4dde63d76: Pull complete [2022-10-26T19:36:39.169Z] bde34c3a00c8: Pull complete [2022-10-26T19:36:39.432Z] b352a97aabf1: Pull complete [2022-10-26T19:36:39.432Z] 4872d77fe225: Pull complete [2022-10-26T19:36:39.694Z] 5851b861e8e6: Pull complete [2022-10-26T19:36:39.694Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-26T19:36:39.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-26T19:36:39.694Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:36:39.814Z] prd-ubuntu20.04-docker-8c-8g-117260 does not seem to be running inside a container [2022-10-26T19:36:39.922Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-26T19:36:41.498Z] $ docker top a8b8c9c11b89467ecf1df0ef014f5a1f53880721f8f1fb028bca97fabdce2072 -eo pid,comm [2022-10-26T19:36:41.572Z] 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-26T19:36:41.572Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-26T19:36:41.612Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:36:41.612Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:36:41.748Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:36:41.754Z] $ docker exec a8b8c9c11b89467ecf1df0ef014f5a1f53880721f8f1fb028bca97fabdce2072 ssh-agent [2022-10-26T19:36:41.881Z] SSH_AUTH_SOCK=/tmp/ssh-6rDQgNoMsQjg/agent.32 [2022-10-26T19:36:41.881Z] SSH_AGENT_PID=38 [2022-10-26T19:36:41.930Z] Running ssh-add (command line suppressed) [2022-10-26T19:36:42.045Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_15057656772360208026.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_15057656772360208026.key) [2022-10-26T19:36:42.068Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:36:42.374Z] + git tag --points-at HEAD [Pipeline] } [2022-10-26T19:36:42.390Z] $ docker exec --env ******** --env ******** a8b8c9c11b89467ecf1df0ef014f5a1f53880721f8f1fb028bca97fabdce2072 ssh-agent -k [2022-10-26T19:36:42.498Z] unset SSH_AUTH_SOCK; [2022-10-26T19:36:42.499Z] unset SSH_AGENT_PID; [2022-10-26T19:36:42.499Z] echo Agent pid 38 killed; [2022-10-26T19:36:42.512Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-26T19:36:42.535Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-26T19:36:42.535Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-26T19:36:42.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-26T19:36:42.655Z] $ docker exec a8b8c9c11b89467ecf1df0ef014f5a1f53880721f8f1fb028bca97fabdce2072 ssh-agent [2022-10-26T19:36:42.788Z] SSH_AUTH_SOCK=/tmp/ssh-mzlrQUeGzg5K/agent.70 [2022-10-26T19:36:42.788Z] SSH_AGENT_PID=76 [2022-10-26T19:36:42.793Z] Running ssh-add (command line suppressed) [2022-10-26T19:36:42.893Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_9526841456059454954.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_9526841456059454954.key) [2022-10-26T19:36:42.912Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-26T19:36:43.201Z] + git semver init [2022-10-26T19:36:43.460Z] 2022-10-26 19:36:43,404 [run_init] DEBUG init version:0.0.0 force:False [2022-10-26T19:36:43.460Z] 2022-10-26 19:36:43,405 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver [2022-10-26T19:36:43.460Z] 2022-10-26 19:36:43,406 [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-26T19:36:43.460Z] 2022-10-26 19:36:43,406 [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-26T19:36:44.417Z] 2022-10-26 19:36:44,344 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude [2022-10-26T19:36:44.417Z] 2022-10-26 19:36:44,345 [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-26T19:36:44.417Z] 2022-10-26 19:36:44,345 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-10-26T19:36:44.417Z] 2022-10-26 19:36:44,349 [execute] INFO git cat-file --batch-check [2022-10-26T19:36:44.417Z] 2022-10-26 19:36:44,350 [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-26T19:36:44.417Z] 2022-10-26 19:36:44,359 [execute] INFO git cat-file --batch [2022-10-26T19:36:44.417Z] 2022-10-26 19:36:44,360 [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-26T19:36:44.417Z] 2022-10-26 19:36:44,366 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 [2022-10-26T19:36:44.417Z] 0.0.0 [Pipeline] } [2022-10-26T19:36:44.447Z] $ docker exec --env ******** --env ******** a8b8c9c11b89467ecf1df0ef014f5a1f53880721f8f1fb028bca97fabdce2072 ssh-agent -k [2022-10-26T19:36:44.556Z] unset SSH_AUTH_SOCK; [2022-10-26T19:36:44.556Z] unset SSH_AGENT_PID; [2022-10-26T19:36:44.556Z] echo Agent pid 76 killed; [2022-10-26T19:36:44.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-26T19:36:44.908Z] + git semver [Pipeline] } [2022-10-26T19:36:45.181Z] $ docker stop --time=1 a8b8c9c11b89467ecf1df0ef014f5a1f53880721f8f1fb028bca97fabdce2072 [2022-10-26T19:36:46.489Z] $ docker rm -f a8b8c9c11b89467ecf1df0ef014f5a1f53880721f8f1fb028bca97fabdce2072 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:36:46.823Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-26T19:36:47.033Z] Stashed 1 file(s) [Pipeline] echo [2022-10-26T19:36:47.036Z] [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-26T19:36:47.187Z] provisioning config files... [2022-10-26T19:36:47.200Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config7201034952171297318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:36:47.520Z] ---> docker-login.sh [2022-10-26T19:36:47.520Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:36:47.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:47.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:47.520Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:47.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:47.520Z] [2022-10-26T19:36:47.520Z] Login Succeeded [2022-10-26T19:36:47.520Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:36:47.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:47.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:47.804Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:47.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:47.804Z] [2022-10-26T19:36:47.804Z] Login Succeeded [2022-10-26T19:36:47.804Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:36:47.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:47.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:47.804Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:47.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:47.804Z] [2022-10-26T19:36:47.804Z] Login Succeeded [2022-10-26T19:36:47.804Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:36:47.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:48.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:48.098Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:48.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:48.098Z] [2022-10-26T19:36:48.098Z] Login Succeeded [2022-10-26T19:36:48.098Z] docker.io [2022-10-26T19:36:48.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:36:48.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:36:48.383Z] Configure a credential helper to remove this warning. See [2022-10-26T19:36:48.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:36:48.383Z] [2022-10-26T19:36:48.383Z] Login Succeeded [2022-10-26T19:36:48.383Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:36:48.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:36:48.473Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:36:48.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:36:48.492Z] ========================================================= [2022-10-26T19:36:48.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-26T19:36:48.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:36:48.852Z] + 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-26T19:36:48.852Z] Sending build context to Docker daemon 6.22MB [2022-10-26T19:36:48.852Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:36:48.852Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:36:49.120Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-26T19:36:49.120Z] 213ec9aee27d: Pulling fs layer [2022-10-26T19:36:49.120Z] 4583459ba037: Pulling fs layer [2022-10-26T19:36:49.120Z] 93c1e223e6f2: Pulling fs layer [2022-10-26T19:36:49.120Z] 53926ce57604: Pulling fs layer [2022-10-26T19:36:49.120Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-26T19:36:49.120Z] 30f14e443154: Pulling fs layer [2022-10-26T19:36:49.120Z] 801331c1e519: Pulling fs layer [2022-10-26T19:36:49.120Z] 99cc6dd402b0: Pulling fs layer [2022-10-26T19:36:49.120Z] 7d9ed39f4882: Pulling fs layer [2022-10-26T19:36:49.120Z] 21b2b0c7a3f4: Waiting [2022-10-26T19:36:49.120Z] 53926ce57604: Waiting [2022-10-26T19:36:49.120Z] 30f14e443154: Waiting [2022-10-26T19:36:49.120Z] 99cc6dd402b0: Waiting [2022-10-26T19:36:49.120Z] 801331c1e519: Waiting [2022-10-26T19:36:49.120Z] 7d9ed39f4882: Waiting [2022-10-26T19:36:49.120Z] 93c1e223e6f2: Verifying Checksum [2022-10-26T19:36:49.120Z] 93c1e223e6f2: Download complete [2022-10-26T19:36:49.120Z] 4583459ba037: Download complete [2022-10-26T19:36:49.120Z] 21b2b0c7a3f4: Download complete [2022-10-26T19:36:49.120Z] 30f14e443154: Verifying Checksum [2022-10-26T19:36:49.120Z] 30f14e443154: Download complete [2022-10-26T19:36:49.120Z] 213ec9aee27d: Verifying Checksum [2022-10-26T19:36:49.120Z] 213ec9aee27d: Download complete [2022-10-26T19:36:49.120Z] 801331c1e519: Download complete [2022-10-26T19:36:49.385Z] 213ec9aee27d: Pull complete [2022-10-26T19:36:49.385Z] 4583459ba037: Pull complete [2022-10-26T19:36:49.652Z] 93c1e223e6f2: Pull complete [2022-10-26T19:36:49.652Z] 7d9ed39f4882: Verifying Checksum [2022-10-26T19:36:49.652Z] 7d9ed39f4882: Download complete [2022-10-26T19:36:49.925Z] 53926ce57604: Verifying Checksum [2022-10-26T19:36:49.925Z] 53926ce57604: Download complete [2022-10-26T19:36:50.188Z] 99cc6dd402b0: Verifying Checksum [2022-10-26T19:36:50.188Z] 99cc6dd402b0: Download complete [2022-10-26T19:36:54.372Z] 53926ce57604: Pull complete [2022-10-26T19:36:54.372Z] 21b2b0c7a3f4: Pull complete [2022-10-26T19:36:54.372Z] 30f14e443154: Pull complete [2022-10-26T19:36:54.372Z] 801331c1e519: Pull complete [2022-10-26T19:36:56.278Z] 99cc6dd402b0: Pull complete [2022-10-26T19:36:57.236Z] 7d9ed39f4882: Pull complete [2022-10-26T19:36:57.236Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-26T19:36:57.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-26T19:36:57.236Z] ---> 1dedd983c030 [2022-10-26T19:36:57.236Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:37:00.536Z] ---> Running in d3d918e43bc2 [2022-10-26T19:37:00.537Z] Removing intermediate container d3d918e43bc2 [2022-10-26T19:37:00.537Z] ---> 7a43cf7a17cf [2022-10-26T19:37:00.537Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:37:00.537Z] ---> Running in ffd5614d7b5d [2022-10-26T19:37:00.537Z] Removing intermediate container ffd5614d7b5d [2022-10-26T19:37:00.537Z] ---> 79fcf3d06a1a [2022-10-26T19:37:00.537Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:37:00.797Z] ---> Running in 243e7657b455 [2022-10-26T19:37:00.797Z] Removing intermediate container 243e7657b455 [2022-10-26T19:37:00.797Z] ---> b99fc420ca97 [2022-10-26T19:37:00.797Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:37:01.098Z] ---> Running in ca1588a16f85 [2022-10-26T19:37:01.098Z] Removing intermediate container ca1588a16f85 [2022-10-26T19:37:01.098Z] ---> fa7e15461564 [2022-10-26T19:37:01.098Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:37:01.356Z] ---> Running in 99c84a624a94 [2022-10-26T19:37:01.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:01.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:02.143Z] Still waiting to schedule task [2022-10-26T19:37:02.143Z] ‘prd-ubuntu20.04-docker-8c-8g-117268’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:37:02.143Z] ‘prd-ubuntu20.04-docker-8c-8g-117269’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:37:02.143Z] ‘prd-ubuntu20.04-docker-8c-8g-117270’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:37:02.143Z] ‘prd-ubuntu20.04-docker-8c-8g-117271’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:37:02.143Z] ‘prd-ubuntu20.04-docker-8c-8g-117272’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-26T19:37:02.143Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117262’ is offline [2022-10-26T19:37:02.143Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117263’ is offline [2022-10-26T19:37:02.144Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117264’ is offline [2022-10-26T19:37:02.144Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117265’ is offline [2022-10-26T19:37:02.144Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117266’ is offline [2022-10-26T19:37:02.144Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-117267’ is offline [2022-10-26T19:37:02.446Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:37:02.446Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:37:02.446Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:37:02.446Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:37:02.446Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:37:02.446Z] OK: 216 MiB in 55 packages [2022-10-26T19:37:03.012Z] Removing intermediate container 99c84a624a94 [2022-10-26T19:37:03.012Z] ---> c66e90af8776 [2022-10-26T19:37:03.012Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-10-26T19:37:03.012Z] ---> Running in 3eef54bf9f73 [2022-10-26T19:37:03.012Z] Removing intermediate container 3eef54bf9f73 [2022-10-26T19:37:03.012Z] ---> 8dd984ee37e0 [2022-10-26T19:37:03.012Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T19:37:03.271Z] ---> cb8f53ee9a84 [2022-10-26T19:37:03.271Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:37:03.271Z] ---> Running in afa5860dc662 [2022-10-26T19:37:21.371Z] Removing intermediate container afa5860dc662 [2022-10-26T19:37:21.371Z] ---> 48daf97e733e [2022-10-26T19:37:21.371Z] Step 11/12 : COPY . . [2022-10-26T19:37:21.629Z] ---> 3f42c01a8cf3 [2022-10-26T19:37:21.629Z] Step 12/12 : RUN $MAKE [2022-10-26T19:37:21.629Z] ---> Running in 125da67fc839 [2022-10-26T19:37:21.890Z] noop [2022-10-26T19:37:22.147Z] Removing intermediate container 125da67fc839 [2022-10-26T19:37:22.147Z] ---> aed6be78512e [2022-10-26T19:37:22.147Z] Successfully built aed6be78512e [2022-10-26T19:37:22.147Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:22.449Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:37:22.449Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:37:22.515Z] prd-ubuntu20.04-docker-8c-8g-117260 does not seem to be running inside a container [2022-10-26T19:37:22.545Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-26T19:37:22.915Z] $ docker top 9b3ffd0601b0412ca3a16ab1b5413513a88d6796d8dc779fb531e9573680f075 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:37:23.256Z] + go version [2022-10-26T19:37:23.256Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-26T19:37:23.266Z] $ docker stop --time=1 9b3ffd0601b0412ca3a16ab1b5413513a88d6796d8dc779fb531e9573680f075 [2022-10-26T19:37:24.596Z] $ docker rm -f 9b3ffd0601b0412ca3a16ab1b5413513a88d6796d8dc779fb531e9573680f075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:24.992Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-26T19:37:24.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:37:25.055Z] prd-ubuntu20.04-docker-8c-8g-117260 does not seem to be running inside a container [2022-10-26T19:37:25.086Z] $ 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 ******** ci-base-image-x86_64 cat [2022-10-26T19:37:25.439Z] $ docker top 5938923806d9ab6543a95379bf0349e7a4fea6161a6128cf7d02c8e674ad3c57 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:37:25.786Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:37:26.073Z] + make test [2022-10-26T19:37:26.073Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T19:37:26.331Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-26T19:37:36.290Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-26T19:37:36.290Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements [2022-10-26T19:37:36.290Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-26T19:37:41.541Z] 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-26T19:37:41.541Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:37:44.821Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:37:44.821Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:37:44.821Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:37:44.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:37:44.847Z] $ docker stop --time=1 5938923806d9ab6543a95379bf0349e7a4fea6161a6128cf7d02c8e674ad3c57 [2022-10-26T19:37:46.730Z] $ docker rm -f 5938923806d9ab6543a95379bf0349e7a4fea6161a6128cf7d02c8e674ad3c57 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:37:47.176Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:37:47.218Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-26T19:37:47.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:37:47.938Z] + ls -al . [2022-10-26T19:37:47.938Z] total 192 [2022-10-26T19:37:47.938Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 19:37 . [2022-10-26T19:37:47.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 .. [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 19:36 .dockerignore [2022-10-26T19:37:47.938Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:37 .git [2022-10-26T19:37:47.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 .github [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 19:36 .gitignore [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:36 .golangci.yml [2022-10-26T19:37:47.938Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:36 .semver [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 26 19:36 Attribution.txt [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 26 19:36 CHANGELOG.md [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 1752 Oct 26 19:36 Dockerfile [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:36 GOVERNANCE.md [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 26 19:36 Jenkinsfile [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:36 LICENSE [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 26 19:36 Makefile [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 19:36 OWNERS.md [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 26 19:36 README.md [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION [2022-10-26T19:37:47.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:36 bin [2022-10-26T19:37:47.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 cmd [2022-10-26T19:37:47.938Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 26 19:37 coverage.out [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 3512 Oct 26 19:36 go.mod [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 45144 Oct 26 19:36 go.sum [2022-10-26T19:37:47.938Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:36 internal [2022-10-26T19:37:47.938Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:36 mock [2022-10-26T19:37:47.938Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:36 snap [2022-10-26T19:37:47.938Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 26 19:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:37:48.285Z] + 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=7ec6f57915863abda1d4d9bd3873dbb9635c1aca --label arch=amd64 --label version=0.0.0 . [2022-10-26T19:37:48.285Z] Sending build context to Docker daemon 6.239MB [2022-10-26T19:37:48.285Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:37:48.285Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-26T19:37:48.285Z] ---> aed6be78512e [2022-10-26T19:37:48.285Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:37:48.542Z] ---> Running in b8504c394bd8 [2022-10-26T19:37:48.542Z] Removing intermediate container b8504c394bd8 [2022-10-26T19:37:48.542Z] ---> a547035eab33 [2022-10-26T19:37:48.542Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:37:48.542Z] ---> Running in 507fd61a1a2f [2022-10-26T19:37:48.542Z] Removing intermediate container 507fd61a1a2f [2022-10-26T19:37:48.542Z] ---> a21006bb6027 [2022-10-26T19:37:48.542Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:37:48.799Z] ---> Running in 6568d298dc9d [2022-10-26T19:37:48.799Z] Removing intermediate container 6568d298dc9d [2022-10-26T19:37:48.800Z] ---> 5f0c8fc1618f [2022-10-26T19:37:48.800Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:37:48.800Z] ---> Running in 9de460a086ec [2022-10-26T19:37:48.800Z] Removing intermediate container 9de460a086ec [2022-10-26T19:37:48.800Z] ---> 6b3d0ccd47a3 [2022-10-26T19:37:48.800Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:37:48.800Z] ---> Running in 74150ce728a8 [2022-10-26T19:37:49.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:49.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:37:49.574Z] OK: 216 MiB in 55 packages [2022-10-26T19:37:49.833Z] Removing intermediate container 74150ce728a8 [2022-10-26T19:37:49.833Z] ---> 4a7b11ced1f9 [2022-10-26T19:37:49.833Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-10-26T19:37:50.091Z] ---> Running in d0135eb15caf [2022-10-26T19:37:50.091Z] Removing intermediate container d0135eb15caf [2022-10-26T19:37:50.091Z] ---> f09081f83639 [2022-10-26T19:37:50.091Z] Step 9/24 : COPY go.mod vendor* ./ [2022-10-26T19:37:50.347Z] ---> 0e1cc5c53875 [2022-10-26T19:37:50.347Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:37:50.347Z] ---> Running in da9ffd701211 [2022-10-26T19:37:50.913Z] Removing intermediate container da9ffd701211 [2022-10-26T19:37:50.913Z] ---> 0a54e93f49ca [2022-10-26T19:37:50.913Z] Step 11/24 : COPY . . [2022-10-26T19:37:51.478Z] ---> 405730303c2c [2022-10-26T19:37:51.478Z] Step 12/24 : RUN $MAKE [2022-10-26T19:37:51.478Z] ---> Running in 3fc8462c3554 [2022-10-26T19:37:51.735Z] 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-26T19:38:13.663Z] Removing intermediate container 3fc8462c3554 [2022-10-26T19:38:13.663Z] ---> ed64517e346b [2022-10-26T19:38:13.663Z] Step 13/24 : FROM alpine:3.16 [2022-10-26T19:38:13.663Z] 3.16: Pulling from library/alpine [2022-10-26T19:38:13.663Z] 213ec9aee27d: Already exists [2022-10-26T19:38:13.663Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:38:13.663Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:38:13.663Z] ---> 9c6f07244728 [2022-10-26T19:38:13.663Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-26T19:38:13.663Z] ---> Running in c29f74d1fbb2 [2022-10-26T19:38:13.663Z] Removing intermediate container c29f74d1fbb2 [2022-10-26T19:38:13.663Z] ---> 223116de15eb [2022-10-26T19:38:13.663Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:38:13.663Z] ---> Running in 3607ab4fa8db [2022-10-26T19:38:13.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-26T19:38:13.663Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-26T19:38:13.663Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:38:13.663Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:38:13.663Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:38:13.663Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:38:13.663Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:38:13.663Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:38:13.663Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:38:13.663Z] OK: 8 MiB in 20 packages [2022-10-26T19:38:13.663Z] Removing intermediate container 3607ab4fa8db [2022-10-26T19:38:13.663Z] ---> 558dd006dc32 [2022-10-26T19:38:13.663Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-26T19:38:13.923Z] ---> 2a705077d1e8 [2022-10-26T19:38:13.923Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-26T19:38:13.923Z] ---> 887c2493d745 [2022-10-26T19:38:13.923Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-26T19:38:14.182Z] ---> d38195437941 [2022-10-26T19:38:14.182Z] Step 19/24 : EXPOSE 59982 [2022-10-26T19:38:14.182Z] ---> Running in 8bce68925668 [2022-10-26T19:38:14.182Z] Removing intermediate container 8bce68925668 [2022-10-26T19:38:14.182Z] ---> 91d99ea7ded7 [2022-10-26T19:38:14.182Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-10-26T19:38:14.444Z] ---> Running in dd08ccbc44bc [2022-10-26T19:38:14.444Z] Removing intermediate container dd08ccbc44bc [2022-10-26T19:38:14.444Z] ---> 85a12ebd8e2b [2022-10-26T19:38:14.444Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:38:14.444Z] ---> Running in 2eaff5a02537 [2022-10-26T19:38:14.444Z] Removing intermediate container 2eaff5a02537 [2022-10-26T19:38:14.444Z] ---> f476e563d30f [2022-10-26T19:38:14.444Z] Step 22/24 : LABEL arch=amd64 [2022-10-26T19:38:14.703Z] ---> Running in a8b66f4ad108 [2022-10-26T19:38:14.703Z] Removing intermediate container a8b66f4ad108 [2022-10-26T19:38:14.703Z] ---> e0575ab5a4ba [2022-10-26T19:38:14.703Z] Step 23/24 : LABEL git_sha=7ec6f57915863abda1d4d9bd3873dbb9635c1aca [2022-10-26T19:38:14.963Z] ---> Running in fbdea3acd06b [2022-10-26T19:38:14.963Z] Removing intermediate container fbdea3acd06b [2022-10-26T19:38:14.963Z] ---> 994c9bb6de6c [2022-10-26T19:38:14.963Z] Step 24/24 : LABEL version=0.0.0 [2022-10-26T19:38:14.963Z] ---> Running in f2e6115e8774 [2022-10-26T19:38:14.963Z] Removing intermediate container f2e6115e8774 [2022-10-26T19:38:14.963Z] ---> 6b2f7c335548 [2022-10-26T19:38:14.963Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:38:14.963Z] Successfully built 6b2f7c335548 [2022-10-26T19:38:14.963Z] 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-26T19:38:15.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:15.370Z] [2022-10-26T19:38:15.370Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:38:15.675Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:15.675Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-26T19:38:15.675Z] 5eb5b503b376: Pulling fs layer [2022-10-26T19:38:15.675Z] 5c69ac0246d0: Pulling fs layer [2022-10-26T19:38:15.675Z] ec43610c2a17: Pulling fs layer [2022-10-26T19:38:15.675Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-26T19:38:15.675Z] 33b1e0a273af: Pulling fs layer [2022-10-26T19:38:15.675Z] 5d3b04190fa2: Pulling fs layer [2022-10-26T19:38:15.675Z] 2f39f015ded8: Pulling fs layer [2022-10-26T19:38:15.675Z] 3a2ae6a8a46f: Waiting [2022-10-26T19:38:15.675Z] 33b1e0a273af: Waiting [2022-10-26T19:38:15.675Z] 2f39f015ded8: Waiting [2022-10-26T19:38:15.675Z] 5d3b04190fa2: Waiting [2022-10-26T19:38:15.675Z] 5c69ac0246d0: Verifying Checksum [2022-10-26T19:38:15.675Z] 5c69ac0246d0: Download complete [2022-10-26T19:38:15.675Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-26T19:38:15.675Z] 3a2ae6a8a46f: Download complete [2022-10-26T19:38:15.939Z] 33b1e0a273af: Verifying Checksum [2022-10-26T19:38:15.940Z] 33b1e0a273af: Download complete [2022-10-26T19:38:15.940Z] 5d3b04190fa2: Verifying Checksum [2022-10-26T19:38:15.940Z] 5d3b04190fa2: Download complete [2022-10-26T19:38:15.940Z] ec43610c2a17: Verifying Checksum [2022-10-26T19:38:15.940Z] ec43610c2a17: Download complete [2022-10-26T19:38:16.212Z] 5eb5b503b376: Verifying Checksum [2022-10-26T19:38:16.212Z] 5eb5b503b376: Download complete [2022-10-26T19:38:17.219Z] 5eb5b503b376: Pull complete [2022-10-26T19:38:17.219Z] 2f39f015ded8: Download complete [2022-10-26T19:38:17.488Z] 5c69ac0246d0: Pull complete [2022-10-26T19:38:17.770Z] ec43610c2a17: Pull complete [2022-10-26T19:38:18.034Z] 3a2ae6a8a46f: Pull complete [2022-10-26T19:38:18.034Z] 33b1e0a273af: Pull complete [2022-10-26T19:38:18.293Z] 5d3b04190fa2: Pull complete [2022-10-26T19:38:22.476Z] 2f39f015ded8: Pull complete [2022-10-26T19:38:22.476Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-26T19:38:22.476Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:38:22.476Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:38:22.549Z] prd-ubuntu20.04-docker-8c-8g-117260 does not seem to be running inside a container [2022-10-26T19:38:22.575Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:38:25.103Z] $ docker top fedb1552fddcc60bf39204604b74a8056ab7c74c62638014cd80a09c3a70f172 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:38:25.490Z] ---> job-cost.sh [2022-10-26T19:38:25.490Z] lf-activate-venv: SKIPPING [2022-10-26T19:38:25.490Z] INFO: No Stack... [2022-10-26T19:38:26.059Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:38:26.319Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:38:26.607Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv [2022-10-26T19:38:26.607Z] + cut -d, -f6 [Pipeline] lock [2022-10-26T19:38:26.623Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-3-stack-cost] [2022-10-26T19:38:26.632Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-3-stack-cost] did not exist. Created. [2022-10-26T19:38:26.632Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:38:26.935Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-26T19:38:26.963Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:38:26.971Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:38:26.993Z] $ docker stop --time=1 fedb1552fddcc60bf39204604b74a8056ab7c74c62638014cd80a09c3a70f172 [2022-10-26T19:38:28.162Z] $ docker rm -f fedb1552fddcc60bf39204604b74a8056ab7c74c62638014cd80a09c3a70f172 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-26T19:51:12.466Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-117279 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws [2022-10-26T19:51:12.484Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2022-10-26T19:51:12.522Z] Selected Git installation does not exist. Using Default [2022-10-26T19:51:12.522Z] The recommended git tool is: NONE [2022-10-26T19:51:19.624Z] using credential edgex-jenkins-ssh [2022-10-26T19:51:19.642Z] Cloning the remote Git repository [2022-10-26T19:51:19.708Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-26T19:51:19.800Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2022-10-26T19:51:20.006Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-26T19:51:20.008Z] > git --version # timeout=10 [2022-10-26T19:51:20.034Z] > git --version # 'git version 2.25.1' [2022-10-26T19:51:20.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:51:20.111Z] Verifying host key using known hosts file [2022-10-26T19:51:20.389Z] 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-26T19:51:20.405Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:51:21.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-26T19:51:21.674Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-26T19:51:22.782Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-10-26T19:51:22.831Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-10-26T19:51:22.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:51:22.839Z] Verifying host key using known hosts file [2022-10-26T19:51:22.848Z] 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-26T19:51:22.862Z] > 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-26T19:51:23.622Z] Merging remotes/origin/main commit 16ab89a495dc588a47662ccf315e42eca693f4b5 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 [2022-10-26T19:51:23.927Z] Merge succeeded, producing 76f008e63d3978bd6867cf7edb279ee078f760c2 [2022-10-26T19:51:23.927Z] Checking out Revision 76f008e63d3978bd6867cf7edb279ee078f760c2 (PR-429) [2022-10-26T19:51:23.645Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:51:23.670Z] > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 [2022-10-26T19:51:23.764Z] > git remote # timeout=10 [2022-10-26T19:51:23.784Z] > git config --get remote.origin.url # timeout=10 [2022-10-26T19:51:23.812Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-26T19:51:23.819Z] Verifying host key using known hosts file [2022-10-26T19:51:23.822Z] 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-26T19:51:23.834Z] > git merge 16ab89a495dc588a47662ccf315e42eca693f4b5 # timeout=10 [2022-10-26T19:51:23.904Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-26T19:51:23.936Z] > git config core.sparsecheckout # timeout=10 [2022-10-26T19:51:23.955Z] > git checkout -f 76f008e63d3978bd6867cf7edb279ee078f760c2 # timeout=10 [2022-10-26T19:51:27.612Z] Commit message: "Merge commit '16ab89a495dc588a47662ccf315e42eca693f4b5' into HEAD" [2022-10-26T19:51:27.646Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:51:28.572Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-26T19:51:28.572Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:51:28.572Z] Dload Upload Total Spent Left Speed [2022-10-26T19:51:28.572Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh [2022-10-26T19:51:27.623Z] > git rev-list --no-walk 83a5fc794dd57135cb1f8565590623a359eeacf5 # timeout=10 [2022-10-26T19:51:29.346Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-26T19:51:29.690Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-26T19:51:29.690Z] + sudo tee /etc/docker/daemon.new [2022-10-26T19:51:29.690Z] { [2022-10-26T19:51:29.690Z] "registry-mirrors": [ [2022-10-26T19:51:29.690Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-26T19:51:29.690Z] ], [2022-10-26T19:51:29.690Z] "bip": "10.250.0.254/24", [2022-10-26T19:51:29.690Z] "hosts": [ [2022-10-26T19:51:29.690Z] "tcp://0.0.0.0:5555", [2022-10-26T19:51:29.690Z] "unix:///var/run/docker.sock" [2022-10-26T19:51:29.690Z] ], [2022-10-26T19:51:29.690Z] "mtu": 1458, [2022-10-26T19:51:29.690Z] "selinux-enabled": true, [2022-10-26T19:51:29.690Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-26T19:51:29.690Z] } [Pipeline] sh [2022-10-26T19:51:30.037Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-26T19:51:30.384Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:51:48.726Z] provisioning config files... [2022-10-26T19:51:48.762Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config11167411183109426457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:51:49.147Z] ---> docker-login.sh [2022-10-26T19:51:49.147Z] nexus3.edgexfoundry.org:10001 [2022-10-26T19:51:50.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:50.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:50.403Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:50.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:50.403Z] [2022-10-26T19:51:50.403Z] Login Succeeded [2022-10-26T19:51:50.403Z] nexus3.edgexfoundry.org:10002 [2022-10-26T19:51:50.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:50.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:50.953Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:50.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:50.953Z] [2022-10-26T19:51:50.953Z] Login Succeeded [2022-10-26T19:51:50.953Z] nexus3.edgexfoundry.org:10003 [2022-10-26T19:51:51.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:51.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:51.502Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:51.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:51.502Z] [2022-10-26T19:51:51.502Z] Login Succeeded [2022-10-26T19:51:51.502Z] nexus3.edgexfoundry.org:10004 [2022-10-26T19:51:51.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:51.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:51.776Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:51.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:51.776Z] [2022-10-26T19:51:51.776Z] Login Succeeded [2022-10-26T19:51:51.776Z] docker.io [2022-10-26T19:51:52.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-26T19:51:52.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-26T19:51:52.646Z] Configure a credential helper to remove this warning. See [2022-10-26T19:51:52.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-26T19:51:52.646Z] [2022-10-26T19:51:52.646Z] Login Succeeded [2022-10-26T19:51:52.646Z] ---> docker-login.sh ends [Pipeline] } [2022-10-26T19:51:52.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-26T19:51:52.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:51:52.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-26T19:51:52.925Z] ========================================================= [2022-10-26T19:51:52.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-26T19:51:52.925Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:51:53.315Z] + 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-26T19:51:53.598Z] Sending build context to Docker daemon 3.224MB [2022-10-26T19:51:53.881Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:51:53.881Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-26T19:51:53.881Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-26T19:51:53.881Z] 9b18e9b68314: Pulling fs layer [2022-10-26T19:51:53.881Z] d32db5db7311: Pulling fs layer [2022-10-26T19:51:53.881Z] d0c4b47475fc: Pulling fs layer [2022-10-26T19:51:53.881Z] 5831b945b038: Pulling fs layer [2022-10-26T19:51:53.881Z] 86bbec2aaacd: Pulling fs layer [2022-10-26T19:51:53.881Z] e10730c5d714: Pulling fs layer [2022-10-26T19:51:53.881Z] 5dd5c2283517: Pulling fs layer [2022-10-26T19:51:53.881Z] d5ac0230b979: Pulling fs layer [2022-10-26T19:51:53.881Z] 5831b945b038: Waiting [2022-10-26T19:51:53.881Z] 86bbec2aaacd: Waiting [2022-10-26T19:51:53.881Z] e10730c5d714: Waiting [2022-10-26T19:51:53.881Z] 5dd5c2283517: Waiting [2022-10-26T19:51:53.881Z] d5ac0230b979: Waiting [2022-10-26T19:51:53.881Z] d0c4b47475fc: Verifying Checksum [2022-10-26T19:51:53.881Z] d0c4b47475fc: Download complete [2022-10-26T19:51:54.176Z] d32db5db7311: Download complete [2022-10-26T19:51:54.176Z] 86bbec2aaacd: Verifying Checksum [2022-10-26T19:51:54.176Z] 86bbec2aaacd: Download complete [2022-10-26T19:51:54.176Z] e10730c5d714: Verifying Checksum [2022-10-26T19:51:54.176Z] e10730c5d714: Download complete [2022-10-26T19:51:54.176Z] 9b18e9b68314: Verifying Checksum [2022-10-26T19:51:54.176Z] 9b18e9b68314: Download complete [2022-10-26T19:51:54.796Z] 9b18e9b68314: Pull complete [2022-10-26T19:51:55.785Z] d32db5db7311: Pull complete [2022-10-26T19:51:55.785Z] d0c4b47475fc: Pull complete [2022-10-26T19:51:56.070Z] d5ac0230b979: Verifying Checksum [2022-10-26T19:51:57.513Z] 5dd5c2283517: Verifying Checksum [2022-10-26T19:51:57.513Z] 5dd5c2283517: Download complete [2022-10-26T19:51:58.116Z] 5831b945b038: Verifying Checksum [2022-10-26T19:51:58.116Z] 5831b945b038: Download complete [2022-10-26T19:52:10.497Z] 5831b945b038: Pull complete [2022-10-26T19:52:10.772Z] 86bbec2aaacd: Pull complete [2022-10-26T19:52:11.049Z] e10730c5d714: Pull complete [2022-10-26T19:52:17.774Z] 5dd5c2283517: Pull complete [2022-10-26T19:52:18.755Z] d5ac0230b979: Pull complete [2022-10-26T19:52:18.755Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-26T19:52:18.755Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-26T19:52:18.755Z] ---> 59b3b1a385d4 [2022-10-26T19:52:18.755Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:52:21.387Z] ---> Running in f80629903167 [2022-10-26T19:52:21.387Z] Removing intermediate container f80629903167 [2022-10-26T19:52:21.387Z] ---> e5dfc37e8559 [2022-10-26T19:52:21.387Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:52:21.665Z] ---> Running in f9ba826c7078 [2022-10-26T19:52:21.943Z] Removing intermediate container f9ba826c7078 [2022-10-26T19:52:21.943Z] ---> 82d486df77c6 [2022-10-26T19:52:21.943Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:52:22.215Z] ---> Running in 12239f4dd8d9 [2022-10-26T19:52:22.508Z] Removing intermediate container 12239f4dd8d9 [2022-10-26T19:52:22.508Z] ---> 97d098f83687 [2022-10-26T19:52:22.508Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:52:22.788Z] ---> Running in 37166cd15635 [2022-10-26T19:52:23.063Z] Removing intermediate container 37166cd15635 [2022-10-26T19:52:23.063Z] ---> a55df9f230ec [2022-10-26T19:52:23.063Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:52:23.337Z] ---> Running in 60b8e1992305 [2022-10-26T19:52:24.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:52:25.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:52:26.006Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-26T19:52:26.006Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-26T19:52:26.280Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-26T19:52:26.280Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-26T19:52:26.280Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:52:26.280Z] OK: 226 MiB in 55 packages [2022-10-26T19:52:27.734Z] Removing intermediate container 60b8e1992305 [2022-10-26T19:52:27.734Z] ---> 422ff57745e0 [2022-10-26T19:52:27.734Z] Step 8/12 : WORKDIR /device-mqtt-go [2022-10-26T19:52:27.734Z] ---> Running in 5b66fcd6d022 [2022-10-26T19:52:28.006Z] Removing intermediate container 5b66fcd6d022 [2022-10-26T19:52:28.006Z] ---> 0fed25b1ced3 [2022-10-26T19:52:28.006Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-26T19:52:28.598Z] ---> e489558a22ab [2022-10-26T19:52:28.598Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:52:28.598Z] ---> Running in d27937d83325 [2022-10-26T19:53:25.086Z] Removing intermediate container d27937d83325 [2022-10-26T19:53:25.086Z] ---> 7cbe721629df [2022-10-26T19:53:25.086Z] Step 11/12 : COPY . . [2022-10-26T19:53:26.055Z] ---> b17c64beeb8f [2022-10-26T19:53:26.055Z] Step 12/12 : RUN $MAKE [2022-10-26T19:53:26.055Z] ---> Running in 43d40adb2bb0 [2022-10-26T19:53:27.025Z] noop [2022-10-26T19:53:27.994Z] Removing intermediate container 43d40adb2bb0 [2022-10-26T19:53:27.994Z] ---> 56da450599c0 [2022-10-26T19:53:27.994Z] Successfully built 56da450599c0 [2022-10-26T19:53:27.994Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:53:28.363Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:53:28.363Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:53:28.596Z] prd-ubuntu20.04-docker-arm64-4c-16g-117279 does not seem to be running inside a container [2022-10-26T19:53:28.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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-26T19:53:30.135Z] $ docker top 258e330cc9672e7696a027615c36037c4a818d68d420ef22b91a97d0b6fdbf32 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:53:31.001Z] + go version [2022-10-26T19:53:31.001Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-26T19:53:31.024Z] $ docker stop --time=1 258e330cc9672e7696a027615c36037c4a818d68d420ef22b91a97d0b6fdbf32 [2022-10-26T19:53:32.784Z] $ docker rm -f 258e330cc9672e7696a027615c36037c4a818d68d420ef22b91a97d0b6fdbf32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:53:33.368Z] + docker inspect -f . ci-base-image-arm64 [2022-10-26T19:53:33.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:53:33.583Z] prd-ubuntu20.04-docker-arm64-4c-16g-117279 does not seem to be running inside a container [2022-10-26T19:53:33.674Z] $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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-26T19:53:35.074Z] $ docker top 09725c536ae0f840e0be4f1d4da4e66bb613874e5f53821279eea177b35a3b8d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:53:35.938Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh [2022-10-26T19:53:36.593Z] + make test [2022-10-26T19:53:36.593Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-26T19:53:38.551Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-10-26T19:55:30.284Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-10-26T19:55:30.285Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.086s coverage: 21.8% of statements [2022-10-26T19:55:30.285Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-10-26T19:55:30.285Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-26T19:55:30.285Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-26T19:56:02.631Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-26T19:56:02.631Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-26T19:56:02.631Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-26T19:56:02.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-26T19:56:02.666Z] $ docker stop --time=1 09725c536ae0f840e0be4f1d4da4e66bb613874e5f53821279eea177b35a3b8d [2022-10-26T19:56:04.805Z] $ docker rm -f 09725c536ae0f840e0be4f1d4da4e66bb613874e5f53821279eea177b35a3b8d [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-26T19:56:05.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-26T19:56:05.992Z] Warning: overwriting stash ‘coverage-report’ [2022-10-26T19:56:06.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-26T19:56:06.913Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-26T19:56:07.244Z] + ls -al . [2022-10-26T19:56:07.244Z] total 188 [2022-10-26T19:56:07.244Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 19:53 . [2022-10-26T19:56:07.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:51 .. [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 19:51 .dockerignore [2022-10-26T19:56:07.244Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 19:51 .git [2022-10-26T19:56:07.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:51 .github [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 19:51 .gitignore [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 26 19:51 .golangci.yml [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 9293 Oct 26 19:51 Attribution.txt [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 11365 Oct 26 19:51 CHANGELOG.md [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 1752 Oct 26 19:51 Dockerfile [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 19:51 GOVERNANCE.md [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 678 Oct 26 19:51 Jenkinsfile [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 19:51 LICENSE [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 2126 Oct 26 19:51 Makefile [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 19:51 OWNERS.md [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 3165 Oct 26 19:51 README.md [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 19:36 VERSION [2022-10-26T19:56:07.244Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:51 bin [2022-10-26T19:56:07.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:51 cmd [2022-10-26T19:56:07.244Z] -rw-r--r-- 1 jenkins jenkins 17887 Oct 26 19:55 coverage.out [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 3512 Oct 26 19:51 go.mod [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 45144 Oct 26 19:51 go.sum [2022-10-26T19:56:07.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 19:51 internal [2022-10-26T19:56:07.244Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 19:51 mock [2022-10-26T19:56:07.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 19:51 snap [2022-10-26T19:56:07.244Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 26 19:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:56:07.673Z] + 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=76f008e63d3978bd6867cf7edb279ee078f760c2 --label arch=arm64 --label version=0.0.0 . [2022-10-26T19:56:07.943Z] Sending build context to Docker daemon 3.242MB [2022-10-26T19:56:08.212Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-10-26T19:56:08.212Z] Step 2/24 : FROM ${BASE} AS builder [2022-10-26T19:56:08.212Z] ---> 56da450599c0 [2022-10-26T19:56:08.212Z] Step 3/24 : ARG ADD_BUILD_TAGS="" [2022-10-26T19:56:08.212Z] ---> Running in 23e0df11dfe0 [2022-10-26T19:56:08.799Z] Removing intermediate container 23e0df11dfe0 [2022-10-26T19:56:08.799Z] ---> 33cf88ffd860 [2022-10-26T19:56:08.799Z] Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-26T19:56:08.799Z] ---> Running in adf642880ebf [2022-10-26T19:56:09.423Z] Removing intermediate container adf642880ebf [2022-10-26T19:56:09.423Z] ---> 3c909003351c [2022-10-26T19:56:09.423Z] Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-26T19:56:09.423Z] ---> Running in 70a3ec522ef6 [2022-10-26T19:56:09.709Z] Removing intermediate container 70a3ec522ef6 [2022-10-26T19:56:09.709Z] ---> c76703d865c7 [2022-10-26T19:56:09.709Z] Step 6/24 : ARG ALPINE_PKG_EXTRA="" [2022-10-26T19:56:09.977Z] ---> Running in 18991ffe0192 [2022-10-26T19:56:10.246Z] Removing intermediate container 18991ffe0192 [2022-10-26T19:56:10.246Z] ---> 4f990ce07f06 [2022-10-26T19:56:10.246Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-26T19:56:10.515Z] ---> Running in 1ca016f1d39c [2022-10-26T19:56:11.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:56:11.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:56:13.358Z] OK: 226 MiB in 55 packages [2022-10-26T19:56:14.484Z] Removing intermediate container 1ca016f1d39c [2022-10-26T19:56:14.484Z] ---> 7a11fd232aaf [2022-10-26T19:56:14.484Z] Step 8/24 : WORKDIR /device-mqtt-go [2022-10-26T19:56:14.484Z] ---> Running in d12a07b4524f [2022-10-26T19:56:15.096Z] Removing intermediate container d12a07b4524f [2022-10-26T19:56:15.096Z] ---> 8469c97899e2 [2022-10-26T19:56:15.096Z] Step 9/24 : COPY go.mod vendor* ./ [2022-10-26T19:56:15.717Z] ---> cd5641f96f6f [2022-10-26T19:56:15.717Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-26T19:56:15.717Z] ---> Running in 79cd7e66874c [2022-10-26T19:56:18.393Z] Removing intermediate container 79cd7e66874c [2022-10-26T19:56:18.393Z] ---> dba30146aa61 [2022-10-26T19:56:18.393Z] Step 11/24 : COPY . . [2022-10-26T19:56:20.995Z] ---> 2a7fa1dc93b9 [2022-10-26T19:56:20.995Z] Step 12/24 : RUN $MAKE [2022-10-26T19:56:20.995Z] ---> Running in b859cf97a1be [2022-10-26T19:56:23.594Z] 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-26T19:59:00.430Z] Removing intermediate container b859cf97a1be [2022-10-26T19:59:00.430Z] ---> a96632b4d3e3 [2022-10-26T19:59:00.430Z] Step 13/24 : FROM alpine:3.16 [2022-10-26T19:59:00.430Z] 3.16: Pulling from library/alpine [2022-10-26T19:59:00.430Z] 9b18e9b68314: Already exists [2022-10-26T19:59:00.430Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-26T19:59:00.430Z] Status: Downloaded newer image for alpine:3.16 [2022-10-26T19:59:00.430Z] ---> a6215f271958 [2022-10-26T19:59:00.430Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-10-26T19:59:00.430Z] ---> Running in ef7a988420ae [2022-10-26T19:59:00.700Z] Removing intermediate container ef7a988420ae [2022-10-26T19:59:00.700Z] ---> 8554abcfc056 [2022-10-26T19:59:00.700Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-26T19:59:00.700Z] ---> Running in 8a8fbe8d08bd [2022-10-26T19:59:02.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-26T19:59:02.119Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-26T19:59:03.086Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-26T19:59:03.086Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-26T19:59:03.086Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-26T19:59:03.355Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-26T19:59:03.355Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-26T19:59:03.355Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-26T19:59:03.355Z] Executing busybox-1.35.0-r17.trigger [2022-10-26T19:59:03.355Z] OK: 8 MiB in 20 packages [2022-10-26T19:59:04.320Z] Removing intermediate container 8a8fbe8d08bd [2022-10-26T19:59:04.321Z] ---> d596f5380473 [2022-10-26T19:59:04.321Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-10-26T19:59:05.733Z] ---> 5a943c643c8c [2022-10-26T19:59:05.733Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-10-26T19:59:06.317Z] ---> fba95e2adf3f [2022-10-26T19:59:06.317Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-10-26T19:59:06.901Z] ---> 400577c69bc7 [2022-10-26T19:59:06.901Z] Step 19/24 : EXPOSE 59982 [2022-10-26T19:59:06.901Z] ---> Running in 172267f076a6 [2022-10-26T19:59:07.168Z] Removing intermediate container 172267f076a6 [2022-10-26T19:59:07.168Z] ---> 33f7fc52e2c0 [2022-10-26T19:59:07.168Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-10-26T19:59:07.168Z] ---> Running in 3a2d984c8a22 [2022-10-26T19:59:07.751Z] Removing intermediate container 3a2d984c8a22 [2022-10-26T19:59:07.751Z] ---> 9ffae53dc18f [2022-10-26T19:59:07.751Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-10-26T19:59:07.751Z] ---> Running in f2b63463901d [2022-10-26T19:59:08.020Z] Removing intermediate container f2b63463901d [2022-10-26T19:59:08.020Z] ---> 0479a08dc029 [2022-10-26T19:59:08.020Z] Step 22/24 : LABEL arch=arm64 [2022-10-26T19:59:08.020Z] ---> Running in f398f6005d09 [2022-10-26T19:59:08.294Z] Removing intermediate container f398f6005d09 [2022-10-26T19:59:08.294Z] ---> 56108c646023 [2022-10-26T19:59:08.294Z] Step 23/24 : LABEL git_sha=76f008e63d3978bd6867cf7edb279ee078f760c2 [2022-10-26T19:59:08.561Z] ---> Running in 694cc0aa2ea3 [2022-10-26T19:59:08.828Z] Removing intermediate container 694cc0aa2ea3 [2022-10-26T19:59:08.828Z] ---> d969b7ab970b [2022-10-26T19:59:08.828Z] Step 24/24 : LABEL version=0.0.0 [2022-10-26T19:59:08.828Z] ---> Running in f630db4420c7 [2022-10-26T19:59:09.095Z] Removing intermediate container f630db4420c7 [2022-10-26T19:59:09.095Z] ---> a9236c8f818c [2022-10-26T19:59:09.095Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-26T19:59:09.095Z] Successfully built a9236c8f818c [2022-10-26T19:59:09.095Z] 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-26T19:59:09.556Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:59:09.556Z] [2022-10-26T19:59:09.556Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:59:09.888Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:59:10.159Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-26T19:59:10.159Z] 8998bd30e6a1: Pulling fs layer [2022-10-26T19:59:10.159Z] 04944245beec: Pulling fs layer [2022-10-26T19:59:10.159Z] 699f458cf7ca: Pulling fs layer [2022-10-26T19:59:10.159Z] 765212b225bb: Pulling fs layer [2022-10-26T19:59:10.159Z] f23df028b6ca: Pulling fs layer [2022-10-26T19:59:10.159Z] d65c8cfc05b1: Pulling fs layer [2022-10-26T19:59:10.159Z] 2437ff75d9bd: Pulling fs layer [2022-10-26T19:59:10.159Z] 2437ff75d9bd: Waiting [2022-10-26T19:59:10.159Z] d65c8cfc05b1: Waiting [2022-10-26T19:59:10.159Z] 765212b225bb: Waiting [2022-10-26T19:59:10.159Z] 04944245beec: Verifying Checksum [2022-10-26T19:59:10.159Z] 04944245beec: Download complete [2022-10-26T19:59:10.159Z] 765212b225bb: Verifying Checksum [2022-10-26T19:59:10.159Z] 765212b225bb: Download complete [2022-10-26T19:59:10.159Z] f23df028b6ca: Verifying Checksum [2022-10-26T19:59:10.159Z] f23df028b6ca: Download complete [2022-10-26T19:59:10.159Z] d65c8cfc05b1: Verifying Checksum [2022-10-26T19:59:10.159Z] d65c8cfc05b1: Download complete [2022-10-26T19:59:10.429Z] 699f458cf7ca: Verifying Checksum [2022-10-26T19:59:10.429Z] 699f458cf7ca: Download complete [2022-10-26T19:59:10.699Z] 8998bd30e6a1: Verifying Checksum [2022-10-26T19:59:10.699Z] 8998bd30e6a1: Download complete [2022-10-26T19:59:13.309Z] 2437ff75d9bd: Verifying Checksum [2022-10-26T19:59:13.309Z] 2437ff75d9bd: Download complete [2022-10-26T19:59:14.718Z] 8998bd30e6a1: Pull complete [2022-10-26T19:59:14.987Z] 04944245beec: Pull complete [2022-10-26T19:59:16.397Z] 699f458cf7ca: Pull complete [2022-10-26T19:59:16.397Z] 765212b225bb: Pull complete [2022-10-26T19:59:17.360Z] f23df028b6ca: Pull complete [2022-10-26T19:59:17.627Z] d65c8cfc05b1: Pull complete [2022-10-26T19:59:32.634Z] 2437ff75d9bd: Pull complete [2022-10-26T19:59:32.634Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-26T19:59:32.634Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-26T19:59:32.634Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:59:32.915Z] prd-ubuntu20.04-docker-arm64-4c-16g-117279 does not seem to be running inside a container [2022-10-26T19:59:32.984Z] $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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-26T19:59:35.962Z] $ docker top ed61563bfbd30ffbb9075dd27b4b576f014b3aa5dac928033b47e21915a1a455 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:36.834Z] ---> job-cost.sh [2022-10-26T19:59:36.834Z] lf-activate-venv: SKIPPING [2022-10-26T19:59:36.834Z] INFO: No Stack... [2022-10-26T19:59:37.420Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-26T19:59:38.004Z] INFO: Archiving Costs [Pipeline] sh [2022-10-26T19:59:38.645Z] + + catcut /w/workspace/device-mqtt-go/3/archives/cost.csv -d, [2022-10-26T19:59:38.645Z] -f6 [Pipeline] lock [2022-10-26T19:59:38.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-3-stack-cost] [2022-10-26T19:59:38.717Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-3-stack-cost] did not exist. Created. [2022-10-26T19:59:38.717Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-26T19:59:39.372Z] /w/workspace/device-mqtt-go/3@tmp/durable-7ef9d242/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-26T19:59:40.027Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-26T19:59:40.048Z] Warning: overwriting stash ‘stack-cost’ [2022-10-26T19:59:40.093Z] Stashed 1 file(s) [Pipeline] } [2022-10-26T19:59:40.101Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-26T19:59:40.119Z] $ docker stop --time=1 ed61563bfbd30ffbb9075dd27b4b576f014b3aa5dac928033b47e21915a1a455 [2022-10-26T19:59:41.683Z] $ docker rm -f ed61563bfbd30ffbb9075dd27b4b576f014b3aa5dac928033b47e21915a1a455 [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-26T19:59:42.042Z] provisioning config files... [2022-10-26T19:59:42.051Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config7884606949888693850tmp [Pipeline] { [Pipeline] sh [2022-10-26T19:59:42.345Z] + set +x [2022-10-26T19:59:42.345Z] + + curl -s https://codecov.io/bash [2022-10-26T19:59:42.345Z] bash -s -- [2022-10-26T19:59:42.345Z] [2022-10-26T19:59:42.345Z] _____ _ [2022-10-26T19:59:42.345Z] / ____| | | [2022-10-26T19:59:42.345Z] | | ___ __| | ___ ___ _____ __ [2022-10-26T19:59:42.345Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-26T19:59:42.345Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-26T19:59:42.345Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-26T19:59:42.345Z] Bash-1.0.6 [2022-10-26T19:59:42.345Z] [2022-10-26T19:59:42.345Z] [2022-10-26T19:59:42.345Z] ==> git version 2.25.1 found [2022-10-26T19:59:42.345Z] ==> 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-26T19:59:42.345Z] Release-Date: 2020-01-08 [2022-10-26T19:59:42.345Z] 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-26T19:59:42.345Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-26T19:59:42.345Z] ==> Jenkins CI detected. [2022-10-26T19:59:42.345Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-10-26T19:59:42.345Z] project root: . [2022-10-26T19:59:42.345Z] --> token set from env [2022-10-26T19:59:42.345Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-26T19:59:42.345Z] ==> Running gcov in . (disable via -X gcov) [2022-10-26T19:59:42.345Z] ==> Python coveragepy not found [2022-10-26T19:59:42.345Z] ==> Searching for coverage reports in: [2022-10-26T19:59:42.345Z] + . [2022-10-26T19:59:42.345Z] -> Found 1 reports [2022-10-26T19:59:42.345Z] ==> Detecting git/mercurial file structure [2022-10-26T19:59:42.345Z] ==> Reading reports [2022-10-26T19:59:42.345Z] + ./coverage.out bytes=17887 [2022-10-26T19:59:42.345Z] ==> Appending adjustments [2022-10-26T19:59:42.345Z] https://docs.codecov.io/docs/fixing-reports [2022-10-26T19:59:42.606Z] + Found adjustments [2022-10-26T19:59:42.606Z] ==> Gzipping contents [2022-10-26T19:59:42.606Z] 4.0K /tmp/codecov.2harnG.gz [2022-10-26T19:59:42.606Z] ==> Uploading reports [2022-10-26T19:59:42.606Z] url: https://codecov.io [2022-10-26T19:59:42.606Z] query: branch=PR-429&commit=7ec6f57915863abda1d4d9bd3873dbb9635c1aca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-10-26T19:59:42.606Z] -> Pinging Codecov [2022-10-26T19:59:42.606Z] 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=7ec6f57915863abda1d4d9bd3873dbb9635c1aca&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= [2022-10-26T19:59:42.864Z] -> Uploading to [2022-10-26T19:59:42.864Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7D719EC7BBE17E464838252E33014C33/7ec6f57915863abda1d4d9bd3873dbb9635c1aca/aa7bd5c8-b85b-4bd4-b811-df6dbfbb0780.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T195942Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0aacfac619e8a6b54bcef6e6e659fe5fe2c59f9409c93de35c0f54b4f378dd9 [2022-10-26T19:59:42.864Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-26T19:59:42.864Z] Dload Upload Total Spent Left Speed [2022-10-26T19:59:43.124Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 14101 --:--:-- --:--:-- --:--:-- 14101 [2022-10-26T19:59:43.124Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7ec6f57915863abda1d4d9bd3873dbb9635c1aca [Pipeline] } [2022-10-26T19:59:43.131Z] 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-26T19:59:43.801Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] [2022-10-26T19:59:43.801Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-10-26T19:59:43.801Z] total 16 [2022-10-26T19:59:43.801Z] drwxr-xr-x 3 root root 4096 Oct 26 19:38 . [2022-10-26T19:59:43.801Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:38 .. [2022-10-26T19:59:43.801Z] drwxr-xr-x 2 root root 4096 Oct 26 19:38 cost [2022-10-26T19:59:43.801Z] -rw-r--r-- 1 root root 86 Oct 26 19:38 cost.csv [2022-10-26T19:59:43.801Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-10-26T19:59:43.801Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives [2022-10-26T19:59:43.802Z] total 16 [2022-10-26T19:59:43.802Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 19:38 . [2022-10-26T19:59:43.802Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 19:38 .. [2022-10-26T19:59:43.802Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 19:38 cost [2022-10-26T19:59:43.802Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 19:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:44.095Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:44.954Z] ---> package-listing.sh [2022-10-26T19:59:44.954Z] ++ facter osfamily [2022-10-26T19:59:44.954Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-26T19:59:45.214Z] + OS_FAMILY=debian [2022-10-26T19:59:45.214Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 [2022-10-26T19:59:45.214Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-26T19:59:45.214Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-26T19:59:45.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-26T19:59:45.214Z] + PACKAGES=/tmp/packages_start.txt [2022-10-26T19:59:45.214Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-10-26T19:59:45.214Z] + PACKAGES=/tmp/packages_end.txt [2022-10-26T19:59:45.214Z] + case "${OS_FAMILY}" in [2022-10-26T19:59:45.214Z] + dpkg -l [2022-10-26T19:59:45.214Z] + grep '^ii' [2022-10-26T19:59:45.214Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-26T19:59:45.214Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-26T19:59:45.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-26T19:59:45.214Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' [2022-10-26T19:59:45.214Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [2022-10-26T19:59:45.214Z] + 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-26T19:59:45.223Z] 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-26T19:59:45.499Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-26T19:59:46.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-26T19:59:46.071Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-26T19:59:46.133Z] prd-ubuntu20.04-docker-8c-8g-117260 does not seem to be running inside a container [2022-10-26T19:59:46.160Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-26T19:59:46.390Z] $ docker top 34e3d09be4868987cb07fd559f47b78a285eaf0398c4c0ed33b65182ef6405ae -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-26T19:59:46.739Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-26T19:59:47.023Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-26T19:59:47.310Z] + ls /var/log/sa-host [2022-10-26T19:59:47.310Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-26T19:59:47.370Z] provisioning config files... [2022-10-26T19:59:47.379Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config3078268355814276295tmp [Pipeline] { [Pipeline] echo [2022-10-26T19:59:47.390Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:47.671Z] ---> create-netrc.sh [Pipeline] } [2022-10-26T19:59:47.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:48.006Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-26T19:59:48.016Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:48.298Z] ---> sudo-logs.sh [2022-10-26T19:59:48.298Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-26T19:59:48.326Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:48.609Z] ---> job-cost.sh [2022-10-26T19:59:48.609Z] lf-activate-venv: SKIPPING [2022-10-26T19:59:48.609Z] DEBUG: total: 0.2199999988079071 [2022-10-26T19:59:48.609Z] INFO: Retrieving Stack Cost... [2022-10-26T19:59:48.868Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-26T19:59:49.434Z] INFO: Archiving Costs [Pipeline] echo [2022-10-26T19:59:49.445Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-26T19:59:49.728Z] ---> logs-deploy.sh [2022-10-26T19:59:49.728Z] lf-activate-venv: SKIPPING [2022-10-26T19:59:49.728Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/3 [2022-10-26T19:59:49.728Z] INFO: archiving workspace using pattern(s): [2022-10-26T19:59:50.661Z] Archives upload complete. [2022-10-26T19:59:50.661Z] INFO: archiving logs to Nexus