Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2108a7f0be6b4653e5542f63219bf96fe579bd50+2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 (81140aed311aaf482890187b506304994c1073e5) 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-ssh8138650052263570883.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh12998793469693009719.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-639/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-639/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15064821255596884239.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh8565853479824494967.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-639/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-639/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6674159905987958211.key > 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] ========================================================= [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.21 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 Running on prd-ubuntu20.04-docker-8c-8g-17571 in /w/workspace/gexfoundry_device-mqtt-go_PR-639 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-639 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 into PR head commit 2108a7f0be6b4653e5542f63219bf96fe579bd50 Merge succeeded, producing 0defc38c54ad6cc0c9f999e63a5247905829fa91 Checking out Revision 0defc38c54ad6cc0c9f999e63a5247905829fa91 (PR-639) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2108a7f0be6b4653e5542f63219bf96fe579bd50 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0defc38c54ad6cc0c9f999e63a5247905829fa91 # timeout=10 Commit message: "Merge commit '2e27f69eb295f4b29cb509ab7fedca7dd8db09a6' into HEAD" > git rev-list --no-walk 2108a7f0be6b4653e5542f63219bf96fe579bd50 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T23:16:32.615Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T23:16:32.660Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T23:16:32.676Z] ========================================================= [2023-11-14T23:16:32.676Z] EdgeX Global Pipelines Version Info [2023-11-14T23:16:32.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:16:33.383Z] ------------------- [2023-11-14T23:16:33.383Z] stable info: [2023-11-14T23:16:33.383Z] ------------------- [2023-11-14T23:16:33.383Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T23:16:33.383Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T23:16:33.383Z] Message: update stable to v1.0.257 [2023-11-14T23:16:33.954Z] ------------------- [2023-11-14T23:16:33.954Z] experimental info: [2023-11-14T23:16:33.954Z] ------------------- [2023-11-14T23:16:33.954Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T23:16:33.954Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T23:16:33.954Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T23:16:34.138Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-11-14T23:16:34.155Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-11-14T23:16:34.169Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T23:16:34.179Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T23:16:34.195Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T23:16:34.211Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T23:16:34.227Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T23:16:34.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-14T23:16:34.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T23:16:34.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T23:16:34.299Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T23:16:34.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-11-14T23:16:34.338Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T23:16:34.354Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T23:16:34.374Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T23:16:34.389Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T23:16:34.404Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T23:16:34.416Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T23:16:34.434Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T23:16:34.448Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T23:16:34.461Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-14T23:16:34.477Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-14T23:16:34.495Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T23:16:34.513Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T23:16:34.533Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T23:16:34.553Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T23:16:34.565Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T23:16:34.578Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-639 [Pipeline] echo [2023-11-14T23:16:34.590Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-639 [Pipeline] echo [2023-11-14T23:16:34.605Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-639 [Pipeline] echo [2023-11-14T23:16:34.619Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0defc38c54ad6cc0c9f999e63a5247905829fa91 [Pipeline] echo [2023-11-14T23:16:34.633Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0defc38 [Pipeline] echo [2023-11-14T23:16:34.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T23:16:34.694Z] provisioning config files... [2023-11-14T23:16:34.707Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/config1472886046042959134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:16:35.006Z] ---> docker-login.sh [2023-11-14T23:16:35.006Z] nexus3.edgexfoundry.org:10001 [2023-11-14T23:16:35.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:35.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:35.576Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:35.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:35.576Z] [2023-11-14T23:16:35.576Z] Login Succeeded [2023-11-14T23:16:35.576Z] nexus3.edgexfoundry.org:10002 [2023-11-14T23:16:35.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:35.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:35.576Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:35.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:35.576Z] [2023-11-14T23:16:35.576Z] Login Succeeded [2023-11-14T23:16:35.576Z] nexus3.edgexfoundry.org:10003 [2023-11-14T23:16:35.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:35.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:35.576Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:35.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:35.576Z] [2023-11-14T23:16:35.576Z] Login Succeeded [2023-11-14T23:16:35.576Z] nexus3.edgexfoundry.org:10004 [2023-11-14T23:16:35.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:35.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:35.836Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:35.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:35.836Z] [2023-11-14T23:16:35.836Z] Login Succeeded [2023-11-14T23:16:35.836Z] docker.io [2023-11-14T23:16:35.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:36.097Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:36.097Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:36.097Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:36.097Z] [2023-11-14T23:16:36.097Z] Login Succeeded [2023-11-14T23:16:36.097Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T23:16:36.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T23:16:36.476Z] + git rev-list -1 --merges 0defc38c54ad6cc0c9f999e63a5247905829fa91~1..0defc38c54ad6cc0c9f999e63a5247905829fa91 [Pipeline] echo [2023-11-14T23:16:36.493Z] -----------> git rev-list -1 --merges 0defc38c54ad6cc0c9f999e63a5247905829fa91~1..0defc38c54ad6cc0c9f999e63a5247905829fa91 0defc38c54ad6cc0c9f999e63a5247905829fa91 [2023-11-14T23:16:36.493Z] 0defc38c54ad6cc0c9f999e63a5247905829fa91 [false] [Pipeline] sh [2023-11-14T23:16:36.795Z] + git log --format=format:%s -1 0defc38c54ad6cc0c9f999e63a5247905829fa91 [Pipeline] echo [2023-11-14T23:16:36.810Z] ========================================================= [2023-11-14T23:16:36.810Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T23:16:36.810Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T23:16:37.146Z] + git log --format=format:%s -1 0defc38c54ad6cc0c9f999e63a5247905829fa91 [Pipeline] echo [2023-11-14T23:16:37.157Z] [semverPrep] GIT_COMMIT: 0defc38c54ad6cc0c9f999e63a5247905829fa91, Commit Message: Merge commit '2e27f69eb295f4b29cb509ab7fedca7dd8db09a6' into HEAD [Pipeline] echo [2023-11-14T23:16:37.166Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T23:16:37.505Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T23:16:37.505Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T23:16:37.505Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T23:16:37.505Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T23:16:37.505Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T23:16:37.505Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T23:16:37.505Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:16:37.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T23:16:37.849Z] [2023-11-14T23:16:37.849Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:16:38.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T23:16:38.152Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T23:16:38.152Z] b85a868b505f: Pulling fs layer [2023-11-14T23:16:38.152Z] e2be974225ed: Pulling fs layer [2023-11-14T23:16:38.152Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T23:16:38.152Z] 988bab9f4d93: Pulling fs layer [2023-11-14T23:16:38.152Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T23:16:38.152Z] eaf3925da568: Pulling fs layer [2023-11-14T23:16:38.152Z] bab4dde63d76: Pulling fs layer [2023-11-14T23:16:38.152Z] bde34c3a00c8: Pulling fs layer [2023-11-14T23:16:38.152Z] b352a97aabf1: Pulling fs layer [2023-11-14T23:16:38.152Z] 4872d77fe225: Pulling fs layer [2023-11-14T23:16:38.152Z] 5851b861e8e6: Pulling fs layer [2023-11-14T23:16:38.152Z] 988bab9f4d93: Waiting [2023-11-14T23:16:38.152Z] b352a97aabf1: Waiting [2023-11-14T23:16:38.152Z] 1469e6f7b9e6: Waiting [2023-11-14T23:16:38.152Z] eaf3925da568: Waiting [2023-11-14T23:16:38.152Z] 4872d77fe225: Waiting [2023-11-14T23:16:38.152Z] 5851b861e8e6: Waiting [2023-11-14T23:16:38.152Z] bde34c3a00c8: Waiting [2023-11-14T23:16:38.152Z] bab4dde63d76: Waiting [2023-11-14T23:16:38.152Z] e2be974225ed: Verifying Checksum [2023-11-14T23:16:38.152Z] e2be974225ed: Download complete [2023-11-14T23:16:38.152Z] 988bab9f4d93: Verifying Checksum [2023-11-14T23:16:38.152Z] 988bab9f4d93: Download complete [2023-11-14T23:16:38.152Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T23:16:38.152Z] 1469e6f7b9e6: Download complete [2023-11-14T23:16:38.152Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T23:16:38.152Z] 339a4e72a1f5: Download complete [2023-11-14T23:16:38.152Z] eaf3925da568: Verifying Checksum [2023-11-14T23:16:38.152Z] eaf3925da568: Download complete [2023-11-14T23:16:38.411Z] bde34c3a00c8: Download complete [2023-11-14T23:16:38.411Z] b352a97aabf1: Download complete [2023-11-14T23:16:38.411Z] 4872d77fe225: Download complete [2023-11-14T23:16:38.411Z] 5851b861e8e6: Verifying Checksum [2023-11-14T23:16:38.411Z] 5851b861e8e6: Download complete [2023-11-14T23:16:38.411Z] b85a868b505f: Verifying Checksum [2023-11-14T23:16:38.411Z] b85a868b505f: Download complete [2023-11-14T23:16:38.670Z] bab4dde63d76: Verifying Checksum [2023-11-14T23:16:38.670Z] bab4dde63d76: Download complete [2023-11-14T23:16:39.608Z] b85a868b505f: Pull complete [2023-11-14T23:16:39.608Z] e2be974225ed: Pull complete [2023-11-14T23:16:40.177Z] 339a4e72a1f5: Pull complete [2023-11-14T23:16:40.177Z] 988bab9f4d93: Pull complete [2023-11-14T23:16:40.177Z] 1469e6f7b9e6: Pull complete [2023-11-14T23:16:40.436Z] eaf3925da568: Pull complete [2023-11-14T23:16:41.813Z] bab4dde63d76: Pull complete [2023-11-14T23:16:42.073Z] bde34c3a00c8: Pull complete [2023-11-14T23:16:42.073Z] b352a97aabf1: Pull complete [2023-11-14T23:16:42.073Z] 4872d77fe225: Pull complete [2023-11-14T23:16:42.073Z] 5851b861e8e6: Pull complete [2023-11-14T23:16:42.073Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T23:16:42.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T23:16:42.074Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T23:16:42.155Z] prd-ubuntu20.04-docker-8c-8g-17571 does not seem to be running inside a container [2023-11-14T23:16:42.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@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 [2023-11-14T23:16:44.733Z] $ docker top 4f8fe28918f30883be7dbafc57b7c7c6f303d48e9cae40294449d13dbad161eb -eo pid,comm [2023-11-14T23:16:44.796Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-14T23:16:44.797Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T23:16:44.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T23:16:44.845Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T23:16:44.943Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T23:16:44.941Z] $ docker exec 4f8fe28918f30883be7dbafc57b7c7c6f303d48e9cae40294449d13dbad161eb ssh-agent [2023-11-14T23:16:45.038Z] SSH_AUTH_SOCK=/tmp/ssh-79GoUGkaiGc6/agent.32 [2023-11-14T23:16:45.038Z] SSH_AGENT_PID=38 [2023-11-14T23:16:45.044Z] Running ssh-add (command line suppressed) [2023-11-14T23:16:45.132Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/private_key_9096070148136000411.key (/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/private_key_9096070148136000411.key) [2023-11-14T23:16:45.147Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T23:16:45.436Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T23:16:45.449Z] $ docker exec --env ******** --env ******** 4f8fe28918f30883be7dbafc57b7c7c6f303d48e9cae40294449d13dbad161eb ssh-agent -k [2023-11-14T23:16:45.553Z] unset SSH_AUTH_SOCK; [2023-11-14T23:16:45.553Z] unset SSH_AGENT_PID; [2023-11-14T23:16:45.553Z] echo Agent pid 38 killed; [2023-11-14T23:16:45.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T23:16:45.594Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T23:16:45.594Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T23:16:45.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T23:16:45.700Z] $ docker exec 4f8fe28918f30883be7dbafc57b7c7c6f303d48e9cae40294449d13dbad161eb ssh-agent [2023-11-14T23:16:45.820Z] SSH_AUTH_SOCK=/tmp/ssh-7wP37bthpTgF/agent.70 [2023-11-14T23:16:45.820Z] SSH_AGENT_PID=76 [2023-11-14T23:16:45.824Z] Running ssh-add (command line suppressed) [2023-11-14T23:16:45.924Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/private_key_14898017459359089376.key (/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/private_key_14898017459359089376.key) [2023-11-14T23:16:45.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T23:16:46.229Z] + git semver init [2023-11-14T23:16:46.489Z] 2023-11-14 23:16:46,386 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T23:16:46.489Z] 2023-11-14 23:16:46,386 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver [2023-11-14T23:16:46.489Z] 2023-11-14 23:16:46,387 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver [2023-11-14T23:16:46.489Z] 2023-11-14 23:16:46,387 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-639, universal_newlines=False, shell=None, istream=None) [2023-11-14T23:16:47.427Z] 2023-11-14 23:16:47,247 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639/.git/info/exclude [2023-11-14T23:16:47.427Z] 2023-11-14 23:16:47,248 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver/PR-639 with force:False [2023-11-14T23:16:47.427Z] 2023-11-14 23:16:47,248 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver/PR-639 [2023-11-14T23:16:47.427Z] 2023-11-14 23:16:47,252 [execute] INFO git cat-file --batch-check [2023-11-14T23:16:47.427Z] 2023-11-14 23:16:47,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T23:16:47.427Z] 2023-11-14 23:16:47,257 [execute] INFO git cat-file --batch [2023-11-14T23:16:47.427Z] 2023-11-14 23:16:47,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T23:16:47.427Z] 2023-11-14 23:16:47,262 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver/PR-639 [2023-11-14T23:16:47.427Z] 0.0.0 [Pipeline] } [2023-11-14T23:16:47.432Z] $ docker exec --env ******** --env ******** 4f8fe28918f30883be7dbafc57b7c7c6f303d48e9cae40294449d13dbad161eb ssh-agent -k [2023-11-14T23:16:47.529Z] unset SSH_AUTH_SOCK; [2023-11-14T23:16:47.530Z] unset SSH_AGENT_PID; [2023-11-14T23:16:47.530Z] echo Agent pid 76 killed; [2023-11-14T23:16:47.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T23:16:47.852Z] + git semver [Pipeline] } [2023-11-14T23:16:48.120Z] $ docker stop --time=1 4f8fe28918f30883be7dbafc57b7c7c6f303d48e9cae40294449d13dbad161eb [2023-11-14T23:16:49.416Z] $ docker rm -f --volumes 4f8fe28918f30883be7dbafc57b7c7c6f303d48e9cae40294449d13dbad161eb [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T23:16:49.748Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T23:16:49.953Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T23:16:49.956Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T23:16:50.119Z] provisioning config files... [2023-11-14T23:16:50.129Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/config9077153769454263082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:16:50.425Z] ---> docker-login.sh [2023-11-14T23:16:50.425Z] nexus3.edgexfoundry.org:10001 [2023-11-14T23:16:50.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:50.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:50.425Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:50.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:50.425Z] [2023-11-14T23:16:50.425Z] Login Succeeded [2023-11-14T23:16:50.425Z] nexus3.edgexfoundry.org:10002 [2023-11-14T23:16:50.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:50.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:50.425Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:50.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:50.425Z] [2023-11-14T23:16:50.425Z] Login Succeeded [2023-11-14T23:16:50.425Z] nexus3.edgexfoundry.org:10003 [2023-11-14T23:16:50.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:50.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:50.685Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:50.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:50.685Z] [2023-11-14T23:16:50.685Z] Login Succeeded [2023-11-14T23:16:50.685Z] nexus3.edgexfoundry.org:10004 [2023-11-14T23:16:50.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:50.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:50.685Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:50.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:50.685Z] [2023-11-14T23:16:50.685Z] Login Succeeded [2023-11-14T23:16:50.685Z] docker.io [2023-11-14T23:16:50.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:16:50.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:16:50.945Z] Configure a credential helper to remove this warning. See [2023-11-14T23:16:50.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:16:50.945Z] [2023-11-14T23:16:50.945Z] Login Succeeded [2023-11-14T23:16:50.945Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T23:16:50.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T23:16:51.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T23:16:51.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T23:16:51.034Z] ========================================================= [2023-11-14T23:16:51.034Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T23:16:51.034Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:16:51.342Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T23:16:51.342Z] Sending build context to Docker daemon 6.584MB [2023-11-14T23:16:51.342Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T23:16:51.342Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T23:16:51.342Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T23:16:51.342Z] 7264a8db6415: Pulling fs layer [2023-11-14T23:16:51.342Z] c4d48a809fc2: Pulling fs layer [2023-11-14T23:16:51.342Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T23:16:51.342Z] ad3a456e5733: Pulling fs layer [2023-11-14T23:16:51.342Z] 69c7f0334f64: Pulling fs layer [2023-11-14T23:16:51.342Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T23:16:51.342Z] ce7588e14bc9: Pulling fs layer [2023-11-14T23:16:51.342Z] b5e4710f87ac: Pulling fs layer [2023-11-14T23:16:51.342Z] 69c7f0334f64: Waiting [2023-11-14T23:16:51.342Z] 1f1c1a5573a3: Waiting [2023-11-14T23:16:51.342Z] ce7588e14bc9: Waiting [2023-11-14T23:16:51.342Z] b5e4710f87ac: Waiting [2023-11-14T23:16:51.342Z] ad3a456e5733: Waiting [2023-11-14T23:16:51.342Z] c4d48a809fc2: Verifying Checksum [2023-11-14T23:16:51.342Z] c4d48a809fc2: Download complete [2023-11-14T23:16:51.342Z] ad3a456e5733: Verifying Checksum [2023-11-14T23:16:51.342Z] ad3a456e5733: Download complete [2023-11-14T23:16:51.342Z] 69c7f0334f64: Verifying Checksum [2023-11-14T23:16:51.342Z] 69c7f0334f64: Download complete [2023-11-14T23:16:51.342Z] 7264a8db6415: Verifying Checksum [2023-11-14T23:16:51.342Z] 7264a8db6415: Download complete [2023-11-14T23:16:51.600Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T23:16:51.601Z] 1f1c1a5573a3: Download complete [2023-11-14T23:16:51.601Z] 7264a8db6415: Pull complete [2023-11-14T23:16:51.601Z] b5e4710f87ac: Verifying Checksum [2023-11-14T23:16:51.601Z] b5e4710f87ac: Download complete [2023-11-14T23:16:51.859Z] c4d48a809fc2: Pull complete [2023-11-14T23:16:51.859Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T23:16:51.859Z] 4f1c88b9dad5: Download complete [2023-11-14T23:16:52.118Z] ce7588e14bc9: Verifying Checksum [2023-11-14T23:16:52.118Z] ce7588e14bc9: Download complete [2023-11-14T23:16:54.646Z] 4f1c88b9dad5: Pull complete [2023-11-14T23:16:54.646Z] ad3a456e5733: Pull complete [2023-11-14T23:16:54.646Z] 69c7f0334f64: Pull complete [2023-11-14T23:16:54.904Z] 1f1c1a5573a3: Pull complete [2023-11-14T23:16:57.431Z] ce7588e14bc9: Pull complete [2023-11-14T23:16:57.431Z] b5e4710f87ac: Pull complete [2023-11-14T23:16:57.431Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T23:16:57.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T23:16:57.431Z] ---> 88b5674ff536 [2023-11-14T23:16:57.431Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T23:16:59.966Z] ---> Running in fc2a7bda74fe [2023-11-14T23:16:59.967Z] Removing intermediate container fc2a7bda74fe [2023-11-14T23:16:59.967Z] ---> 6e689ae67677 [2023-11-14T23:16:59.967Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T23:17:00.226Z] ---> Running in 7b0a7774a87c [2023-11-14T23:17:00.226Z] Removing intermediate container 7b0a7774a87c [2023-11-14T23:17:00.226Z] ---> cea1ceb325df [2023-11-14T23:17:00.226Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T23:17:00.226Z] ---> Running in 447cf0b771d7 [2023-11-14T23:17:00.226Z] Removing intermediate container 447cf0b771d7 [2023-11-14T23:17:00.226Z] ---> 2e478800322d [2023-11-14T23:17:00.226Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T23:17:00.226Z] ---> Running in 475cfcce02d3 [2023-11-14T23:17:00.226Z] Removing intermediate container 475cfcce02d3 [2023-11-14T23:17:00.226Z] ---> ecf221fab24a [2023-11-14T23:17:00.226Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T23:17:00.488Z] ---> Running in 1e07dcfdde0c [2023-11-14T23:17:00.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T23:17:00.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T23:17:01.006Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T23:17:01.006Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T23:17:01.006Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T23:17:01.006Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T23:17:01.006Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T23:17:01.266Z] OK: 268 MiB in 56 packages [2023-11-14T23:17:01.834Z] Removing intermediate container 1e07dcfdde0c [2023-11-14T23:17:01.834Z] ---> f1934be1ad8d [2023-11-14T23:17:01.834Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-14T23:17:01.834Z] ---> Running in bcfd44417393 [2023-11-14T23:17:01.834Z] Removing intermediate container bcfd44417393 [2023-11-14T23:17:01.834Z] ---> d1fee3d0a65d [2023-11-14T23:17:01.834Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T23:17:01.834Z] ---> d74eb389ac43 [2023-11-14T23:17:01.834Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T23:17:01.834Z] ---> Running in 80a519892d77 [2023-11-14T23:17:05.063Z] Still waiting to schedule task [2023-11-14T23:17:05.063Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-18008’ [2023-11-14T23:17:33.915Z] Removing intermediate container 80a519892d77 [2023-11-14T23:17:33.915Z] ---> 24305f0ac588 [2023-11-14T23:17:33.915Z] Step 11/12 : COPY . . [2023-11-14T23:17:33.915Z] ---> 6f45a8e8f9b2 [2023-11-14T23:17:33.915Z] Step 12/12 : RUN $MAKE [2023-11-14T23:17:33.915Z] ---> Running in 6c0b39752756 [2023-11-14T23:17:33.915Z] noop [2023-11-14T23:17:33.915Z] Removing intermediate container 6c0b39752756 [2023-11-14T23:17:33.915Z] ---> a06daa469a74 [2023-11-14T23:17:33.915Z] Successfully built a06daa469a74 [2023-11-14T23:17:33.915Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:17:34.224Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T23:17:34.224Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T23:17:34.291Z] prd-ubuntu20.04-docker-8c-8g-17571 does not seem to be running inside a container [2023-11-14T23:17:34.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@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 [2023-11-14T23:17:34.652Z] $ docker top 0e977bb07c36ece75a03fa306fe79fc07558ff5bab36f761c931467e9937fd32 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T23:17:34.995Z] + go version [2023-11-14T23:17:34.995Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T23:17:35.001Z] $ docker stop --time=1 0e977bb07c36ece75a03fa306fe79fc07558ff5bab36f761c931467e9937fd32 [2023-11-14T23:17:36.289Z] $ docker rm -f --volumes 0e977bb07c36ece75a03fa306fe79fc07558ff5bab36f761c931467e9937fd32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:17:36.709Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T23:17:36.709Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T23:17:36.787Z] prd-ubuntu20.04-docker-8c-8g-17571 does not seem to be running inside a container [2023-11-14T23:17:36.812Z] $ 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-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@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 [2023-11-14T23:17:37.130Z] $ docker top 8bc5977fd57c71830e32f222ed05c5d4cf5d112f75630ef321687ca0b1da937b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T23:17:37.475Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-639 [Pipeline] fileExists [Pipeline] sh [2023-11-14T23:17:37.770Z] + make test [2023-11-14T23:17:37.770Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T23:17:38.705Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-14T23:17:48.685Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-14T23:17:48.685Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-14T23:17:48.685Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements [2023-11-14T23:17:53.952Z] go vet ./... [2023-11-14T23:17:57.230Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T23:17:57.230Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T23:17:57.230Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T23:17:57.241Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T23:17:57.248Z] $ docker stop --time=1 8bc5977fd57c71830e32f222ed05c5d4cf5d112f75630ef321687ca0b1da937b [2023-11-14T23:17:59.882Z] $ docker rm -f --volumes 8bc5977fd57c71830e32f222ed05c5d4cf5d112f75630ef321687ca0b1da937b [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T23:18:00.354Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T23:18:00.399Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T23:18:00.820Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T23:18:01.100Z] + ls -al . [2023-11-14T23:18:01.100Z] total 184 [2023-11-14T23:18:01.100Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 23:17 . [2023-11-14T23:18:01.100Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 23:16 .. [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 23:16 .dockerignore [2023-11-14T23:18:01.100Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 23:17 .git [2023-11-14T23:18:01.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 23:16 .github [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 23:16 .gitignore [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 23:16 .golangci.yml [2023-11-14T23:18:01.100Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 23:16 .semver [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 23:16 Attribution.txt [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 23:16 CHANGELOG.md [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 14 23:16 Dockerfile [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 23:16 GOVERNANCE.md [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 23:16 Jenkinsfile [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 23:16 LICENSE [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 23:16 Makefile [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 23:16 OWNERS.md [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 23:16 README.md [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 23:16 VERSION [2023-11-14T23:18:01.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 23:16 bin [2023-11-14T23:18:01.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 23:16 cmd [2023-11-14T23:18:01.100Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 23:17 coverage.out [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 23:16 go.mod [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 23:16 go.sum [2023-11-14T23:18:01.100Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 23:16 internal [2023-11-14T23:18:01.100Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 23:16 mock [2023-11-14T23:18:01.100Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 23:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:18:01.401Z] + 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=0defc38c54ad6cc0c9f999e63a5247905829fa91 --label arch=amd64 --label version=0.0.0 . [2023-11-14T23:18:01.401Z] Sending build context to Docker daemon 6.604MB [2023-11-14T23:18:01.401Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T23:18:01.401Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-14T23:18:01.401Z] ---> a06daa469a74 [2023-11-14T23:18:01.401Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-14T23:18:01.659Z] ---> Running in 36479a1c350d [2023-11-14T23:18:01.659Z] Removing intermediate container 36479a1c350d [2023-11-14T23:18:01.659Z] ---> 8e2ea8a9a5ab [2023-11-14T23:18:01.659Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T23:18:01.659Z] ---> Running in 6119de55c5a5 [2023-11-14T23:18:01.659Z] Removing intermediate container 6119de55c5a5 [2023-11-14T23:18:01.659Z] ---> 6c45a8000a57 [2023-11-14T23:18:01.659Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T23:18:01.659Z] ---> Running in 5db10643fb52 [2023-11-14T23:18:01.918Z] Removing intermediate container 5db10643fb52 [2023-11-14T23:18:01.918Z] ---> 5ab8caf35aeb [2023-11-14T23:18:01.918Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T23:18:01.918Z] ---> Running in 7d7ce0f9e2e5 [2023-11-14T23:18:01.918Z] Removing intermediate container 7d7ce0f9e2e5 [2023-11-14T23:18:01.918Z] ---> 332c44d71fa4 [2023-11-14T23:18:01.918Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T23:18:01.918Z] ---> Running in d48c1ac0dea1 [2023-11-14T23:18:02.176Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T23:18:02.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T23:18:02.693Z] OK: 268 MiB in 56 packages [2023-11-14T23:18:02.953Z] Removing intermediate container d48c1ac0dea1 [2023-11-14T23:18:02.953Z] ---> 5fffece870ca [2023-11-14T23:18:02.953Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-14T23:18:02.953Z] ---> Running in 03a9470c314e [2023-11-14T23:18:02.953Z] Removing intermediate container 03a9470c314e [2023-11-14T23:18:02.953Z] ---> eec644113ffb [2023-11-14T23:18:02.953Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-14T23:18:03.211Z] ---> ca99310d75cf [2023-11-14T23:18:03.211Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T23:18:03.211Z] ---> Running in 0d778a29de4b [2023-11-14T23:18:03.777Z] Removing intermediate container 0d778a29de4b [2023-11-14T23:18:03.777Z] ---> 7e31bfb20e36 [2023-11-14T23:18:03.777Z] Step 11/25 : COPY . . [2023-11-14T23:18:04.034Z] ---> bdd3dd7461d4 [2023-11-14T23:18:04.034Z] Step 12/25 : RUN $MAKE [2023-11-14T23:18:04.034Z] ---> Running in 32a87762a4f1 [2023-11-14T23:18:04.293Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-14T23:18:22.367Z] Removing intermediate container 32a87762a4f1 [2023-11-14T23:18:22.367Z] ---> 6714e0def1a6 [2023-11-14T23:18:22.367Z] Step 13/25 : FROM alpine:3.18 [2023-11-14T23:18:22.367Z] 3.18: Pulling from library/alpine [2023-11-14T23:18:22.367Z] 96526aa774ef: Pulling fs layer [2023-11-14T23:18:22.367Z] 96526aa774ef: Verifying Checksum [2023-11-14T23:18:22.367Z] 96526aa774ef: Download complete [2023-11-14T23:18:22.367Z] 96526aa774ef: Pull complete [2023-11-14T23:18:22.367Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T23:18:22.367Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T23:18:22.367Z] ---> 8ca4688f4f35 [2023-11-14T23:18:22.367Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-14T23:18:22.367Z] ---> Running in a532ac98c4be [2023-11-14T23:18:22.367Z] Removing intermediate container a532ac98c4be [2023-11-14T23:18:22.367Z] ---> a289484e59f3 [2023-11-14T23:18:22.367Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-14T23:18:22.367Z] ---> Running in 251e18eee3b0 [2023-11-14T23:18:22.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T23:18:22.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T23:18:22.367Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T23:18:22.367Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T23:18:22.367Z] OK: 7 MiB in 16 packages [2023-11-14T23:18:22.367Z] Removing intermediate container 251e18eee3b0 [2023-11-14T23:18:22.367Z] ---> b29f953a80f7 [2023-11-14T23:18:22.367Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-14T23:18:22.367Z] ---> Running in c6e7baa7028c [2023-11-14T23:18:22.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T23:18:22.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T23:18:22.884Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T23:18:22.884Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T23:18:22.884Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T23:18:22.884Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T23:18:22.884Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T23:18:22.884Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T23:18:22.884Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T23:18:22.884Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T23:18:22.884Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T23:18:22.884Z] OK: 7 MiB in 16 packages [2023-11-14T23:18:23.449Z] Removing intermediate container c6e7baa7028c [2023-11-14T23:18:23.449Z] ---> b6b1c4327da0 [2023-11-14T23:18:23.449Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-14T23:18:24.117Z] ---> 965806ca5034 [2023-11-14T23:18:24.117Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-14T23:18:24.117Z] ---> 8aba23a93e72 [2023-11-14T23:18:24.117Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-14T23:18:24.384Z] ---> 95b4afe443b3 [2023-11-14T23:18:24.384Z] Step 20/25 : EXPOSE 59982 [2023-11-14T23:18:24.384Z] ---> Running in 2bd1b048262a [2023-11-14T23:18:24.384Z] Removing intermediate container 2bd1b048262a [2023-11-14T23:18:24.384Z] ---> 3cf1f23af4fc [2023-11-14T23:18:24.384Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-14T23:18:24.384Z] ---> Running in a3f786dbc48b [2023-11-14T23:18:24.384Z] Removing intermediate container a3f786dbc48b [2023-11-14T23:18:24.384Z] ---> 1fbfc3254a6a [2023-11-14T23:18:24.384Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T23:18:24.642Z] ---> Running in 34af489606eb [2023-11-14T23:18:24.642Z] Removing intermediate container 34af489606eb [2023-11-14T23:18:24.642Z] ---> 9c327f2ec99f [2023-11-14T23:18:24.642Z] Step 23/25 : LABEL arch=amd64 [2023-11-14T23:18:24.642Z] ---> Running in b5a6ae4e3c79 [2023-11-14T23:18:24.642Z] Removing intermediate container b5a6ae4e3c79 [2023-11-14T23:18:24.642Z] ---> a0420a7b5e1f [2023-11-14T23:18:24.642Z] Step 24/25 : LABEL git_sha=0defc38c54ad6cc0c9f999e63a5247905829fa91 [2023-11-14T23:18:24.642Z] ---> Running in fb29dfaa995c [2023-11-14T23:18:24.900Z] Removing intermediate container fb29dfaa995c [2023-11-14T23:18:24.901Z] ---> bdd0d61388bf [2023-11-14T23:18:24.901Z] Step 25/25 : LABEL version=0.0.0 [2023-11-14T23:18:24.901Z] ---> Running in 87d69e24c6a1 [2023-11-14T23:18:24.901Z] Removing intermediate container 87d69e24c6a1 [2023-11-14T23:18:24.901Z] ---> baa658ce0047 [2023-11-14T23:18:24.901Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T23:18:24.901Z] Successfully built baa658ce0047 [2023-11-14T23:18:24.901Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:18:25.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T23:18:25.335Z] [2023-11-14T23:18:25.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:18:25.629Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T23:18:25.629Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T23:18:25.629Z] 5eb5b503b376: Pulling fs layer [2023-11-14T23:18:25.629Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T23:18:25.629Z] ec43610c2a17: Pulling fs layer [2023-11-14T23:18:25.629Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T23:18:25.629Z] 33b1e0a273af: Pulling fs layer [2023-11-14T23:18:25.629Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T23:18:25.629Z] 2f39f015ded8: Pulling fs layer [2023-11-14T23:18:25.629Z] 33b1e0a273af: Waiting [2023-11-14T23:18:25.629Z] 5d3b04190fa2: Waiting [2023-11-14T23:18:25.629Z] 2f39f015ded8: Waiting [2023-11-14T23:18:25.629Z] 3a2ae6a8a46f: Waiting [2023-11-14T23:18:25.629Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T23:18:25.629Z] 5c69ac0246d0: Download complete [2023-11-14T23:18:25.629Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T23:18:25.629Z] 3a2ae6a8a46f: Download complete [2023-11-14T23:18:25.629Z] 33b1e0a273af: Verifying Checksum [2023-11-14T23:18:25.629Z] 33b1e0a273af: Download complete [2023-11-14T23:18:25.629Z] ec43610c2a17: Verifying Checksum [2023-11-14T23:18:25.629Z] ec43610c2a17: Download complete [2023-11-14T23:18:25.629Z] 5d3b04190fa2: Verifying Checksum [2023-11-14T23:18:25.630Z] 5d3b04190fa2: Download complete [2023-11-14T23:18:25.888Z] 5eb5b503b376: Download complete [2023-11-14T23:18:26.453Z] 2f39f015ded8: Verifying Checksum [2023-11-14T23:18:26.453Z] 2f39f015ded8: Download complete [2023-11-14T23:18:27.021Z] 5eb5b503b376: Pull complete [2023-11-14T23:18:27.021Z] 5c69ac0246d0: Pull complete [2023-11-14T23:18:27.587Z] ec43610c2a17: Pull complete [2023-11-14T23:18:27.587Z] 3a2ae6a8a46f: Pull complete [2023-11-14T23:18:27.845Z] 33b1e0a273af: Pull complete [2023-11-14T23:18:27.845Z] 5d3b04190fa2: Pull complete [2023-11-14T23:18:32.024Z] 2f39f015ded8: Pull complete [2023-11-14T23:18:32.024Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T23:18:32.024Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T23:18:32.024Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T23:18:32.108Z] prd-ubuntu20.04-docker-8c-8g-17571 does not seem to be running inside a container [2023-11-14T23:18:32.132Z] $ 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-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@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 [2023-11-14T23:18:34.785Z] $ docker top be582bbfaf940df1c41ece1ff046b45a7409fa087273664c03dfff864f3d6d03 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:18:35.149Z] ---> job-cost.sh [2023-11-14T23:18:35.149Z] lf-activate-venv: SKIPPING [2023-11-14T23:18:35.149Z] INFO: No Stack... [2023-11-14T23:18:50.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T23:18:50.027Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T23:18:50.317Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives/cost.csv [2023-11-14T23:18:50.317Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T23:18:50.331Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-639-7-stack-cost] [2023-11-14T23:18:50.337Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-639-7-stack-cost] did not exist. Created. [2023-11-14T23:18:50.337Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-639-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T23:18:50.637Z] + echo total: 0.4399999976158142 [Pipeline] stash [2023-11-14T23:18:50.668Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T23:18:50.678Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-639-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T23:18:50.697Z] $ docker stop --time=1 be582bbfaf940df1c41ece1ff046b45a7409fa087273664c03dfff864f3d6d03 [2023-11-14T23:18:51.852Z] $ docker rm -f --volumes be582bbfaf940df1c41ece1ff046b45a7409fa087273664c03dfff864f3d6d03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T23:20:34.952Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18018 in /w/workspace/gexfoundry_device-mqtt-go_PR-639 [Pipeline] { [Pipeline] ws [2023-11-14T23:20:34.966Z] Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout [2023-11-14T23:20:35.005Z] The recommended git tool is: git [2023-11-14T23:20:39.828Z] using credential edgex-jenkins-ssh [2023-11-14T23:20:39.846Z] Cloning the remote Git repository [2023-11-14T23:20:39.889Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-14T23:20:39.997Z] > git init /w/workspace/device-mqtt-go/7 # timeout=10 [2023-11-14T23:20:40.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-14T23:20:40.126Z] > git --version # timeout=10 [2023-11-14T23:20:40.148Z] > git --version # 'git version 2.25.1' [2023-11-14T23:20:40.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T23:20:40.282Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T23:20:41.447Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-14T23:20:41.465Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T23:20:42.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-11-14T23:20:42.305Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-11-14T23:20:42.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T23:20:42.322Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T23:20:42.859Z] Merging remotes/origin/main commit 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 into PR head commit 2108a7f0be6b4653e5542f63219bf96fe579bd50 [2023-11-14T23:20:43.131Z] Merge succeeded, producing 3d9507c102a6aed3666b19c6adb8438238bc0668 [2023-11-14T23:20:43.132Z] Checking out Revision 3d9507c102a6aed3666b19c6adb8438238bc0668 (PR-639) [2023-11-14T23:20:42.878Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T23:20:42.953Z] > git checkout -f 2108a7f0be6b4653e5542f63219bf96fe579bd50 # timeout=10 [2023-11-14T23:20:43.024Z] > git remote # timeout=10 [2023-11-14T23:20:43.041Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T23:20:43.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T23:20:43.070Z] > git merge 2e27f69eb295f4b29cb509ab7fedca7dd8db09a6 # timeout=10 [2023-11-14T23:20:43.116Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T23:20:43.140Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T23:20:43.153Z] > git checkout -f 3d9507c102a6aed3666b19c6adb8438238bc0668 # timeout=10 [2023-11-14T23:20:46.581Z] Commit message: "Merge commit '2e27f69eb295f4b29cb509ab7fedca7dd8db09a6' into HEAD" [2023-11-14T23:20:46.591Z] > git rev-list --no-walk 2108a7f0be6b4653e5542f63219bf96fe579bd50 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T23:20:47.617Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T23:20:47.617Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T23:20:47.617Z] Dload Upload Total Spent Left Speed [2023-11-14T23:20:47.617Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh [2023-11-14T23:20:48.317Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T23:20:48.640Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-11-14T23:20:48.640Z] /etc/docker/daemon.json [2023-11-14T23:20:48.640Z] { [2023-11-14T23:20:48.640Z] "registry-mirrors": [ [2023-11-14T23:20:48.640Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T23:20:48.640Z] ], [2023-11-14T23:20:48.640Z] "bip": "10.250.0.254/24", [2023-11-14T23:20:48.640Z] "hosts": [ [2023-11-14T23:20:48.640Z] "tcp://0.0.0.0:5555", [2023-11-14T23:20:48.640Z] "unix:///var/run/docker.sock" [2023-11-14T23:20:48.640Z] ], [2023-11-14T23:20:48.640Z] "mtu": 1458, [2023-11-14T23:20:48.640Z] "selinux-enabled": true, [2023-11-14T23:20:48.640Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T23:20:48.640Z] } [Pipeline] sh [2023-11-14T23:20:48.960Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T23:20:49.287Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T23:21:07.542Z] provisioning config files... [2023-11-14T23:21:07.581Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config242357422128260335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:21:07.929Z] ---> docker-login.sh [2023-11-14T23:21:07.929Z] nexus3.edgexfoundry.org:10001 [2023-11-14T23:21:08.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:21:08.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:21:08.474Z] Configure a credential helper to remove this warning. See [2023-11-14T23:21:08.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:21:08.474Z] [2023-11-14T23:21:08.474Z] Login Succeeded [2023-11-14T23:21:08.474Z] nexus3.edgexfoundry.org:10002 [2023-11-14T23:21:08.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:21:09.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:21:09.016Z] Configure a credential helper to remove this warning. See [2023-11-14T23:21:09.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:21:09.016Z] [2023-11-14T23:21:09.016Z] Login Succeeded [2023-11-14T23:21:09.016Z] nexus3.edgexfoundry.org:10003 [2023-11-14T23:21:09.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:21:09.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:21:09.288Z] Configure a credential helper to remove this warning. See [2023-11-14T23:21:09.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:21:09.288Z] [2023-11-14T23:21:09.288Z] Login Succeeded [2023-11-14T23:21:09.288Z] nexus3.edgexfoundry.org:10004 [2023-11-14T23:21:09.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:21:09.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:21:09.556Z] Configure a credential helper to remove this warning. See [2023-11-14T23:21:09.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:21:09.556Z] [2023-11-14T23:21:09.556Z] Login Succeeded [2023-11-14T23:21:09.556Z] docker.io [2023-11-14T23:21:09.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T23:21:10.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T23:21:10.091Z] Configure a credential helper to remove this warning. See [2023-11-14T23:21:10.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T23:21:10.091Z] [2023-11-14T23:21:10.091Z] Login Succeeded [2023-11-14T23:21:10.091Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T23:21:10.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T23:21:10.348Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T23:21:10.369Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T23:21:10.386Z] ========================================================= [2023-11-14T23:21:10.386Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T23:21:10.386Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:21:10.736Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-14T23:21:11.003Z] Sending build context to Docker daemon 3.392MB [2023-11-14T23:21:11.003Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T23:21:11.003Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-14T23:21:14.362Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T23:21:14.363Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T23:21:14.363Z] 5d54e960e981: Pulling fs layer [2023-11-14T23:21:14.363Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T23:21:14.363Z] f0e02332f6b5: Pulling fs layer [2023-11-14T23:21:14.363Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T23:21:14.363Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T23:21:14.363Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T23:21:14.363Z] f0e02332f6b5: Waiting [2023-11-14T23:21:14.363Z] 872ee5b61b7b: Waiting [2023-11-14T23:21:14.363Z] 0c6a40ed1a82: Waiting [2023-11-14T23:21:14.363Z] 94ae7d8d031c: Waiting [2023-11-14T23:21:14.363Z] 5d54e960e981: Verifying Checksum [2023-11-14T23:21:14.363Z] 5d54e960e981: Download complete [2023-11-14T23:21:14.363Z] f0e02332f6b5: Verifying Checksum [2023-11-14T23:21:14.363Z] f0e02332f6b5: Download complete [2023-11-14T23:21:14.363Z] 872ee5b61b7b: Verifying Checksum [2023-11-14T23:21:14.363Z] 872ee5b61b7b: Download complete [2023-11-14T23:21:14.363Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T23:21:14.363Z] 9fda8d8052c6: Download complete [2023-11-14T23:21:14.363Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T23:21:14.363Z] 94ae7d8d031c: Download complete [2023-11-14T23:21:14.949Z] 9fda8d8052c6: Pull complete [2023-11-14T23:21:15.219Z] 5d54e960e981: Pull complete [2023-11-14T23:21:15.485Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T23:21:15.485Z] c4a7e357bf2a: Download complete [2023-11-14T23:21:16.895Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T23:21:16.895Z] 0c6a40ed1a82: Download complete [2023-11-14T23:21:29.219Z] c4a7e357bf2a: Pull complete [2023-11-14T23:21:29.219Z] f0e02332f6b5: Pull complete [2023-11-14T23:21:29.219Z] 872ee5b61b7b: Pull complete [2023-11-14T23:21:35.861Z] 0c6a40ed1a82: Pull complete [2023-11-14T23:21:37.266Z] 94ae7d8d031c: Pull complete [2023-11-14T23:21:37.266Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T23:21:37.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T23:21:37.266Z] ---> 86de565de09d [2023-11-14T23:21:37.266Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-14T23:21:37.847Z] ---> Running in 2e579b756357 [2023-11-14T23:21:38.119Z] Removing intermediate container 2e579b756357 [2023-11-14T23:21:38.119Z] ---> 42baec4c8bfe [2023-11-14T23:21:38.119Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T23:21:38.385Z] ---> Running in 46c1491ceaba [2023-11-14T23:21:38.651Z] Removing intermediate container 46c1491ceaba [2023-11-14T23:21:38.651Z] ---> 54bdbfb8313a [2023-11-14T23:21:38.651Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T23:21:38.651Z] ---> Running in cf032303eb96 [2023-11-14T23:21:38.918Z] Removing intermediate container cf032303eb96 [2023-11-14T23:21:38.918Z] ---> 02b786333a03 [2023-11-14T23:21:38.918Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T23:21:39.196Z] ---> Running in 5b26e8aaf0b6 [2023-11-14T23:21:39.462Z] Removing intermediate container 5b26e8aaf0b6 [2023-11-14T23:21:39.462Z] ---> 8723dc827a38 [2023-11-14T23:21:39.462Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T23:21:39.462Z] ---> Running in 08ab30206cb9 [2023-11-14T23:21:40.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T23:21:41.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T23:21:41.980Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-14T23:21:41.980Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-14T23:21:41.980Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-14T23:21:41.980Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-14T23:21:41.980Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T23:21:42.247Z] OK: 271 MiB in 56 packages [2023-11-14T23:21:43.211Z] Removing intermediate container 08ab30206cb9 [2023-11-14T23:21:43.211Z] ---> 694dcc42785a [2023-11-14T23:21:43.211Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-11-14T23:21:43.211Z] ---> Running in 7b3a735a28d3 [2023-11-14T23:21:43.479Z] Removing intermediate container 7b3a735a28d3 [2023-11-14T23:21:43.479Z] ---> 6727390dfd88 [2023-11-14T23:21:43.479Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-14T23:21:44.064Z] ---> 4bd3a5705eaf [2023-11-14T23:21:44.064Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T23:21:44.064Z] ---> Running in 338dc7f0add2 [2023-11-14T23:23:05.680Z] Removing intermediate container 338dc7f0add2 [2023-11-14T23:23:05.680Z] ---> a605956d73f8 [2023-11-14T23:23:05.680Z] Step 11/12 : COPY . . [2023-11-14T23:23:05.680Z] ---> 3f81b0fac9e6 [2023-11-14T23:23:05.680Z] Step 12/12 : RUN $MAKE [2023-11-14T23:23:05.680Z] ---> Running in e9e90bc78c17 [2023-11-14T23:23:05.680Z] noop [2023-11-14T23:23:05.680Z] Removing intermediate container e9e90bc78c17 [2023-11-14T23:23:05.680Z] ---> 588fbc658207 [2023-11-14T23:23:05.680Z] Successfully built 588fbc658207 [2023-11-14T23:23:05.680Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:23:06.037Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T23:23:06.037Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T23:23:06.222Z] prd-ubuntu20.04-docker-arm64-4c-16g-18018 does not seem to be running inside a container [2023-11-14T23:23:06.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 [2023-11-14T23:23:07.422Z] $ docker top 23465bbd72d9ad13189431e57694c0199ed5bf25a4d3160f70a751cb0209ead4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T23:23:08.229Z] + go version [2023-11-14T23:23:08.229Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T23:23:08.247Z] $ docker stop --time=1 23465bbd72d9ad13189431e57694c0199ed5bf25a4d3160f70a751cb0209ead4 [2023-11-14T23:23:09.809Z] $ docker rm -f --volumes 23465bbd72d9ad13189431e57694c0199ed5bf25a4d3160f70a751cb0209ead4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:23:10.328Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T23:23:10.329Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T23:23:10.493Z] prd-ubuntu20.04-docker-arm64-4c-16g-18018 does not seem to be running inside a container [2023-11-14T23:23:10.553Z] $ 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/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 [2023-11-14T23:23:11.629Z] $ docker top ea2db6770610818664e9fb600734623888ede07b8c69cf4554e0b5dea1a7e45e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T23:23:12.116Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/7 [Pipeline] fileExists [Pipeline] sh [2023-11-14T23:23:12.716Z] + make test [2023-11-14T23:23:12.716Z] go test ./... -coverprofile=coverage.out ./... [2023-11-14T23:23:16.967Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-11-14T23:24:38.554Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2023-11-14T23:24:41.125Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-11-14T23:24:41.125Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.062s coverage: 22.8% of statements [2023-11-14T23:24:41.390Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T23:24:41.390Z] go vet ./... [2023-11-14T23:25:08.210Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T23:25:08.210Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T23:25:08.210Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T23:25:08.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T23:25:08.510Z] $ docker stop --time=1 ea2db6770610818664e9fb600734623888ede07b8c69cf4554e0b5dea1a7e45e [2023-11-14T23:25:10.516Z] $ docker rm -f --volumes ea2db6770610818664e9fb600734623888ede07b8c69cf4554e0b5dea1a7e45e [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T23:25:11.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T23:25:11.771Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T23:25:12.460Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T23:25:12.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T23:25:13.183Z] + ls -al . [2023-11-14T23:25:13.183Z] total 180 [2023-11-14T23:25:13.183Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 23:23 . [2023-11-14T23:25:13.183Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 23:20 .. [2023-11-14T23:25:13.183Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 23:20 .dockerignore [2023-11-14T23:25:13.183Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 23:20 .git [2023-11-14T23:25:13.183Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 23:20 .github [2023-11-14T23:25:13.183Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 23:20 .gitignore [2023-11-14T23:25:13.183Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 23:20 .golangci.yml [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 10386 Nov 14 23:20 Attribution.txt [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 23:20 CHANGELOG.md [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 1798 Nov 14 23:20 Dockerfile [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 23:20 GOVERNANCE.md [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 23:20 Jenkinsfile [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 23:20 LICENSE [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 1963 Nov 14 23:20 Makefile [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 23:20 OWNERS.md [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 23:20 README.md [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 23:16 VERSION [2023-11-14T23:25:13.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 23:20 bin [2023-11-14T23:25:13.184Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 23:20 cmd [2023-11-14T23:25:13.184Z] -rw-r--r-- 1 jenkins jenkins 18506 Nov 14 23:24 coverage.out [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 3775 Nov 14 23:20 go.mod [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 14 23:20 go.sum [2023-11-14T23:25:13.184Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 23:20 internal [2023-11-14T23:25:13.184Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 23:20 mock [2023-11-14T23:25:13.184Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 23:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:25:13.533Z] + 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=3d9507c102a6aed3666b19c6adb8438238bc0668 --label arch=arm64 --label version=0.0.0 . [2023-11-14T23:25:14.115Z] Sending build context to Docker daemon 3.411MB [2023-11-14T23:25:14.115Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T23:25:14.115Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-14T23:25:14.115Z] ---> 588fbc658207 [2023-11-14T23:25:14.115Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-14T23:25:14.380Z] ---> Running in 3bc543c3c256 [2023-11-14T23:25:14.966Z] Removing intermediate container 3bc543c3c256 [2023-11-14T23:25:14.966Z] ---> 80ff7744f634 [2023-11-14T23:25:14.966Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-14T23:25:14.966Z] ---> Running in dcb2e9ad1d2d [2023-11-14T23:25:15.231Z] Removing intermediate container dcb2e9ad1d2d [2023-11-14T23:25:15.231Z] ---> 5f4dd8e86279 [2023-11-14T23:25:15.231Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-14T23:25:15.231Z] ---> Running in f964650fe487 [2023-11-14T23:25:15.496Z] Removing intermediate container f964650fe487 [2023-11-14T23:25:15.497Z] ---> d52973d26461 [2023-11-14T23:25:15.497Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-14T23:25:15.762Z] ---> Running in cb24d4b91856 [2023-11-14T23:25:16.031Z] Removing intermediate container cb24d4b91856 [2023-11-14T23:25:16.031Z] ---> 4a5c5a2781c4 [2023-11-14T23:25:16.031Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-14T23:25:16.031Z] ---> Running in 4a9f91247f88 [2023-11-14T23:25:18.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T23:25:19.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T23:25:20.105Z] OK: 271 MiB in 56 packages [2023-11-14T23:25:21.519Z] Removing intermediate container 4a9f91247f88 [2023-11-14T23:25:21.519Z] ---> e38d1659f6d8 [2023-11-14T23:25:21.519Z] Step 8/25 : WORKDIR /device-mqtt-go [2023-11-14T23:25:21.519Z] ---> Running in c2a5ee278122 [2023-11-14T23:25:21.786Z] Removing intermediate container c2a5ee278122 [2023-11-14T23:25:21.786Z] ---> 1edf13b10600 [2023-11-14T23:25:21.786Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-14T23:25:22.370Z] ---> 3f0c201dc7e2 [2023-11-14T23:25:22.370Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T23:25:22.370Z] ---> Running in 7ce5e3a5168c [2023-11-14T23:25:24.947Z] Removing intermediate container 7ce5e3a5168c [2023-11-14T23:25:24.947Z] ---> 0d38da6b0a64 [2023-11-14T23:25:24.947Z] Step 11/25 : COPY . . [2023-11-14T23:25:29.210Z] ---> f8b3aedcaa3d [2023-11-14T23:25:29.210Z] Step 12/25 : RUN $MAKE [2023-11-14T23:25:29.482Z] ---> Running in 58f5ccf215e9 [2023-11-14T23:25:30.459Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2023-11-14T23:27:22.262Z] Removing intermediate container 58f5ccf215e9 [2023-11-14T23:27:22.262Z] ---> d7a4cce31031 [2023-11-14T23:27:22.262Z] Step 13/25 : FROM alpine:3.18 [2023-11-14T23:27:22.262Z] 3.18: Pulling from library/alpine [2023-11-14T23:27:22.262Z] 579b34f0a95b: Pulling fs layer [2023-11-14T23:27:22.262Z] 579b34f0a95b: Verifying Checksum [2023-11-14T23:27:22.262Z] 579b34f0a95b: Download complete [2023-11-14T23:27:22.843Z] 579b34f0a95b: Pull complete [2023-11-14T23:27:22.843Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T23:27:22.843Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T23:27:22.843Z] ---> 3cc203321400 [2023-11-14T23:27:22.843Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2023-11-14T23:27:22.843Z] ---> Running in 9fd4bcc7d53b [2023-11-14T23:27:23.116Z] Removing intermediate container 9fd4bcc7d53b [2023-11-14T23:27:23.116Z] ---> 0ee54decc9fc [2023-11-14T23:27:23.116Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-11-14T23:27:23.116Z] ---> Running in de759b0de372 [2023-11-14T23:27:24.070Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T23:27:24.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T23:27:25.748Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T23:27:25.748Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T23:27:25.748Z] OK: 8 MiB in 16 packages [2023-11-14T23:27:26.330Z] Removing intermediate container de759b0de372 [2023-11-14T23:27:26.330Z] ---> 159b7ab3641b [2023-11-14T23:27:26.330Z] Step 16/25 : RUN apk --no-cache upgrade [2023-11-14T23:27:26.330Z] ---> Running in 5ea78e5a30da [2023-11-14T23:27:27.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T23:27:27.552Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T23:27:28.508Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T23:27:28.508Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T23:27:28.508Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T23:27:28.777Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T23:27:28.777Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T23:27:28.777Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T23:27:28.777Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T23:27:28.777Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T23:27:28.777Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T23:27:28.777Z] OK: 8 MiB in 16 packages [2023-11-14T23:27:30.184Z] Removing intermediate container 5ea78e5a30da [2023-11-14T23:27:30.184Z] ---> 9afb33b216f2 [2023-11-14T23:27:30.184Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2023-11-14T23:27:31.583Z] ---> 9752945917c4 [2023-11-14T23:27:31.583Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2023-11-14T23:27:31.848Z] ---> e079510757b6 [2023-11-14T23:27:31.848Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2023-11-14T23:27:37.169Z] ---> 935fb6e064cc [2023-11-14T23:27:37.170Z] Step 20/25 : EXPOSE 59982 [2023-11-14T23:27:37.170Z] ---> Running in a3d12cc3e3e6 [2023-11-14T23:27:37.170Z] Removing intermediate container a3d12cc3e3e6 [2023-11-14T23:27:37.170Z] ---> 9b25f936d226 [2023-11-14T23:27:37.170Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2023-11-14T23:27:37.170Z] ---> Running in 73fca59faa49 [2023-11-14T23:27:37.170Z] Removing intermediate container 73fca59faa49 [2023-11-14T23:27:37.170Z] ---> b970d3b48f32 [2023-11-14T23:27:37.170Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-14T23:27:37.170Z] ---> Running in 5b115cd707c2 [2023-11-14T23:27:37.435Z] Removing intermediate container 5b115cd707c2 [2023-11-14T23:27:37.435Z] ---> 53bb26b0c95f [2023-11-14T23:27:37.435Z] Step 23/25 : LABEL arch=arm64 [2023-11-14T23:27:37.435Z] ---> Running in f5d0c3551359 [2023-11-14T23:27:37.700Z] Removing intermediate container f5d0c3551359 [2023-11-14T23:27:37.700Z] ---> 9151246326fa [2023-11-14T23:27:37.700Z] Step 24/25 : LABEL git_sha=3d9507c102a6aed3666b19c6adb8438238bc0668 [2023-11-14T23:27:37.700Z] ---> Running in 6eff70a9a98b [2023-11-14T23:27:37.967Z] Removing intermediate container 6eff70a9a98b [2023-11-14T23:27:37.967Z] ---> 5ed0099501c2 [2023-11-14T23:27:37.967Z] Step 25/25 : LABEL version=0.0.0 [2023-11-14T23:27:38.233Z] ---> Running in a2b41fe9dc94 [2023-11-14T23:27:38.497Z] Removing intermediate container a2b41fe9dc94 [2023-11-14T23:27:38.497Z] ---> e86eee48f5ce [2023-11-14T23:27:38.497Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T23:27:38.497Z] Successfully built e86eee48f5ce [2023-11-14T23:27:38.497Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:27:38.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T23:27:38.948Z] [2023-11-14T23:27:38.948Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:27:39.273Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T23:27:39.273Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T23:27:39.273Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T23:27:39.273Z] 04944245beec: Pulling fs layer [2023-11-14T23:27:39.273Z] 699f458cf7ca: Pulling fs layer [2023-11-14T23:27:39.273Z] 765212b225bb: Pulling fs layer [2023-11-14T23:27:39.273Z] f23df028b6ca: Pulling fs layer [2023-11-14T23:27:39.273Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T23:27:39.273Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T23:27:39.273Z] 765212b225bb: Waiting [2023-11-14T23:27:39.273Z] f23df028b6ca: Waiting [2023-11-14T23:27:39.273Z] d65c8cfc05b1: Waiting [2023-11-14T23:27:39.273Z] 2437ff75d9bd: Waiting [2023-11-14T23:27:39.541Z] 04944245beec: Verifying Checksum [2023-11-14T23:27:39.541Z] 04944245beec: Download complete [2023-11-14T23:27:39.541Z] 765212b225bb: Verifying Checksum [2023-11-14T23:27:39.541Z] 765212b225bb: Download complete [2023-11-14T23:27:39.541Z] f23df028b6ca: Download complete [2023-11-14T23:27:39.541Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T23:27:39.541Z] d65c8cfc05b1: Download complete [2023-11-14T23:27:39.541Z] 699f458cf7ca: Verifying Checksum [2023-11-14T23:27:39.541Z] 699f458cf7ca: Download complete [2023-11-14T23:27:40.126Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T23:27:42.700Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T23:27:42.700Z] 2437ff75d9bd: Download complete [2023-11-14T23:27:44.638Z] 8998bd30e6a1: Pull complete [2023-11-14T23:27:44.903Z] 04944245beec: Pull complete [2023-11-14T23:27:46.310Z] 699f458cf7ca: Pull complete [2023-11-14T23:27:46.575Z] 765212b225bb: Pull complete [2023-11-14T23:27:50.818Z] f23df028b6ca: Pull complete [2023-11-14T23:27:50.818Z] d65c8cfc05b1: Pull complete [2023-11-14T23:28:05.799Z] 2437ff75d9bd: Pull complete [2023-11-14T23:28:05.799Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T23:28:05.799Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T23:28:05.799Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T23:28:05.971Z] prd-ubuntu20.04-docker-arm64-4c-16g-18018 does not seem to be running inside a container [2023-11-14T23:28:06.039Z] $ 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/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 [2023-11-14T23:28:08.546Z] $ docker top 7885d97072868d27a28b1a721b665e4212767e65fa619a320e8377abc7e30da9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:28:09.068Z] ---> job-cost.sh [2023-11-14T23:28:09.333Z] lf-activate-venv: SKIPPING [2023-11-14T23:28:09.333Z] INFO: No Stack... [2023-11-14T23:28:09.597Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T23:28:10.551Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T23:28:10.872Z] + cut -d, -f6 [2023-11-14T23:28:10.872Z] + cat /w/workspace/device-mqtt-go/7/archives/cost.csv [Pipeline] lock [2023-11-14T23:28:11.202Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-639-7-stack-cost] [2023-11-14T23:28:11.207Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-639-7-stack-cost] did not exist. Created. [2023-11-14T23:28:11.207Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-639-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T23:28:11.541Z] /w/workspace/device-mqtt-go/7@tmp/durable-2b9862c5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T23:28:11.870Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T23:28:11.895Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T23:28:11.946Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T23:28:11.953Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-639-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T23:28:11.967Z] $ docker stop --time=1 7885d97072868d27a28b1a721b665e4212767e65fa619a320e8377abc7e30da9 [2023-11-14T23:28:13.446Z] $ docker rm -f --volumes 7885d97072868d27a28b1a721b665e4212767e65fa619a320e8377abc7e30da9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-14T23:28:13.880Z] provisioning config files... [2023-11-14T23:28:13.887Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/config7898354813458961894tmp [Pipeline] { [Pipeline] sh [2023-11-14T23:28:14.179Z] + set +x [2023-11-14T23:28:14.179Z] + curl -s https://codecov.io/bash [2023-11-14T23:28:14.179Z] + bash -s -- [2023-11-14T23:28:14.179Z] [2023-11-14T23:28:14.179Z] _____ _ [2023-11-14T23:28:14.179Z] / ____| | | [2023-11-14T23:28:14.179Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T23:28:14.179Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T23:28:14.179Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T23:28:14.179Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T23:28:14.179Z] Bash-1.0.6 [2023-11-14T23:28:14.179Z] [2023-11-14T23:28:14.179Z] [2023-11-14T23:28:14.179Z] ==> git version 2.25.1 found [2023-11-14T23:28:14.179Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-14T23:28:14.179Z] Release-Date: 2020-01-08 [2023-11-14T23:28:14.179Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-14T23:28:14.179Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T23:28:14.179Z] ==> Jenkins CI detected. [2023-11-14T23:28:14.179Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-639 [2023-11-14T23:28:14.179Z] project root: . [2023-11-14T23:28:14.179Z] --> token set from env [2023-11-14T23:28:14.179Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T23:28:14.179Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T23:28:14.179Z] ==> Python coveragepy not found [2023-11-14T23:28:14.179Z] ==> Searching for coverage reports in: [2023-11-14T23:28:14.179Z] + . [2023-11-14T23:28:14.179Z] -> Found 1 reports [2023-11-14T23:28:14.179Z] ==> Detecting git/mercurial file structure [2023-11-14T23:28:14.438Z] ==> Reading reports [2023-11-14T23:28:14.438Z] + ./coverage.out bytes=18506 [2023-11-14T23:28:14.438Z] ==> Appending adjustments [2023-11-14T23:28:14.438Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T23:28:14.438Z] + Found adjustments [2023-11-14T23:28:14.438Z] ==> Gzipping contents [2023-11-14T23:28:14.438Z] 4.0K /tmp/codecov.YguZCD.gz [2023-11-14T23:28:14.438Z] ==> Uploading reports [2023-11-14T23:28:14.438Z] url: https://codecov.io [2023-11-14T23:28:14.438Z] query: branch=PR-639&commit=0defc38c54ad6cc0c9f999e63a5247905829fa91&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-639%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=639&job=&cmd_args= [2023-11-14T23:28:14.438Z] -> Pinging Codecov [2023-11-14T23:28:14.438Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-639&commit=0defc38c54ad6cc0c9f999e63a5247905829fa91&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-639%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=639&job=&cmd_args= [2023-11-14T23:28:14.697Z] -> Uploading to [2023-11-14T23:28:14.697Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/7D719EC7BBE17E464838252E33014C33/0defc38c54ad6cc0c9f999e63a5247905829fa91/dabbf10f-9544-4e77-95f5-8eb6681f0719.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T232814Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c206d9302ce02af4f5595a8210b0d8472af50dca7aad326a3695f1e2b2c70193 [2023-11-14T23:28:14.697Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T23:28:14.697Z] Dload Upload Total Spent Left Speed [2023-11-14T23:28:14.957Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11637 --:--:-- --:--:-- --:--:-- 11637 [2023-11-14T23:28:14.957Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/0defc38c54ad6cc0c9f999e63a5247905829fa91 [Pipeline] } [2023-11-14T23:28:14.966Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-14T23:28:15.721Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives ] [2023-11-14T23:28:15.721Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives [2023-11-14T23:28:15.721Z] total 16 [2023-11-14T23:28:15.721Z] drwxr-xr-x 3 root root 4096 Nov 14 23:18 . [2023-11-14T23:28:15.721Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 23:18 .. [2023-11-14T23:28:15.721Z] drwxr-xr-x 2 root root 4096 Nov 14 23:18 cost [2023-11-14T23:28:15.721Z] -rw-r--r-- 1 root root 87 Nov 14 23:18 cost.csv [2023-11-14T23:28:15.721Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives [2023-11-14T23:28:15.721Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives [2023-11-14T23:28:15.721Z] total 16 [2023-11-14T23:28:15.721Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 23:18 . [2023-11-14T23:28:15.721Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 23:18 .. [2023-11-14T23:28:15.721Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 23:18 cost [2023-11-14T23:28:15.721Z] -rw-r--r-- 1 jenkins jenkins 87 Nov 14 23:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:28:16.051Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:28:16.965Z] ---> package-listing.sh [2023-11-14T23:28:16.965Z] ++ facter osfamily [2023-11-14T23:28:16.965Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T23:28:17.223Z] + OS_FAMILY=debian [2023-11-14T23:28:17.223Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-639 [2023-11-14T23:28:17.223Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T23:28:17.223Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T23:28:17.223Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T23:28:17.223Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T23:28:17.223Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-639 ']' [2023-11-14T23:28:17.223Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T23:28:17.223Z] + case "${OS_FAMILY}" in [2023-11-14T23:28:17.223Z] + dpkg -l [2023-11-14T23:28:17.223Z] + grep '^ii' [2023-11-14T23:28:17.223Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T23:28:17.223Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T23:28:17.223Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T23:28:17.223Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-639 ']' [2023-11-14T23:28:17.223Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives/ [2023-11-14T23:28:17.223Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives/ [Pipeline] echo [2023-11-14T23:28:17.235Z] 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-639/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T23:28:17.510Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T23:28:18.080Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T23:28:18.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T23:28:18.157Z] prd-ubuntu20.04-docker-8c-8g-17571 does not seem to be running inside a container [2023-11-14T23:28:18.185Z] $ 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-639/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-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@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 [2023-11-14T23:28:18.457Z] $ docker top 56a64d891f667f9853014504a3de989acb171fa96190dc83c2484e11d7a697ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T23:28:18.812Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T23:28:19.101Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T23:28:19.390Z] + ls /var/log/sa-host [2023-11-14T23:28:19.391Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T23:28:19.475Z] provisioning config files... [2023-11-14T23:28:19.483Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/config2189158658689744848tmp [Pipeline] { [Pipeline] echo [2023-11-14T23:28:19.493Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:28:19.772Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T23:28:19.779Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:28:20.125Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T23:28:20.135Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:28:20.416Z] ---> sudo-logs.sh [2023-11-14T23:28:20.416Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T23:28:20.452Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:28:20.739Z] ---> job-cost.sh [2023-11-14T23:28:20.739Z] lf-activate-venv: SKIPPING [2023-11-14T23:28:20.739Z] DEBUG: total: 0.4399999976158142 [2023-11-14T23:28:20.739Z] INFO: Retrieving Stack Cost... [2023-11-14T23:28:20.999Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T23:28:21.259Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T23:28:21.272Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T23:28:21.555Z] ---> logs-deploy.sh [2023-11-14T23:28:21.555Z] lf-activate-venv: SKIPPING [2023-11-14T23:28:21.555Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-639/7 [2023-11-14T23:28:21.555Z] INFO: archiving workspace using pattern(s): [2023-11-14T23:28:22.489Z] Archives upload complete. [2023-11-14T23:28:22.489Z] INFO: archiving logs to Nexus