Pull request #698 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a09a63a95da2d3bc844fcdd555a08d7ba1c742ec+70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed (d1461eed7f1ac62320983d12cba62176be8844fd) 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-ssh14753079404002471892.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3262576482282334862.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-698/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-698/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14900829611694270188.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-698/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16807324065607379168.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9434336743321172851.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-698/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-698/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh821171204367983760.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-builder-2c-1g-21900’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21828’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-21830’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-21901’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-21899’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21904 in /w/workspace/gexfoundry_device-mqtt-go_PR-698 [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-698 # 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 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed into PR head commit a09a63a95da2d3bc844fcdd555a08d7ba1c742ec Merge succeeded, producing a09a63a95da2d3bc844fcdd555a08d7ba1c742ec Checking out Revision a09a63a95da2d3bc844fcdd555a08d7ba1c742ec (PR-698) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > 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/698/head:refs/remotes/origin/PR-698 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a09a63a95da2d3bc844fcdd555a08d7ba1c742ec # 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 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a09a63a95da2d3bc844fcdd555a08d7ba1c742ec # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:05:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:05:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:05:46 ========================================================= 14:05:46 EdgeX Global Pipelines Version Info 14:05:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:05:47 ------------------- 14:05:47 stable info: 14:05:47 ------------------- 14:05:47 Commited By: Ginny Guan ginny@iotechsys.com 14:05:47 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 14:05:47 Message: update stable to v1.0.265 14:05:48 ------------------- 14:05:48 experimental info: 14:05:48 ------------------- 14:05:48 Commited By: Cherry Wang cherry@iotechsys.com 14:05:48 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 14:05:48 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:05:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 14:05:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 14:05:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:05:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:05:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:05:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 14:05:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:05:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:05:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:05:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:05:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:05:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:05:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-698 [Pipeline] echo 14:05:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-698 [Pipeline] echo 14:05:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-698 [Pipeline] echo 14:05:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] echo 14:05:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a09a63a [Pipeline] echo 14:05:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:05:50 provisioning config files... 14:05:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/config17129034787863435608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:51 ---> ****-login.sh 14:05:51 nexus3.edgexfoundry.org:10001 14:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:51 Configure a credential helper to remove this warning. See 14:05:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:51 14:05:51 Login Succeeded 14:05:51 nexus3.edgexfoundry.org:10002 14:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:51 Configure a credential helper to remove this warning. See 14:05:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:51 14:05:51 Login Succeeded 14:05:51 nexus3.edgexfoundry.org:10003 14:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:51 Configure a credential helper to remove this warning. See 14:05:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:51 14:05:51 Login Succeeded 14:05:51 nexus3.edgexfoundry.org:10004 14:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:51 Configure a credential helper to remove this warning. See 14:05:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:51 14:05:51 Login Succeeded 14:05:51 ****.io 14:05:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:51 Configure a credential helper to remove this warning. See 14:05:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:51 14:05:51 Login Succeeded 14:05:51 ---> ****-login.sh ends [Pipeline] } 14:05:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:05:52 + git rev-list -1 --merges a09a63a95da2d3bc844fcdd555a08d7ba1c742ec~1..a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] echo 14:05:52 -----------> git rev-list -1 --merges a09a63a95da2d3bc844fcdd555a08d7ba1c742ec~1..a09a63a95da2d3bc844fcdd555a08d7ba1c742ec a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [false] [Pipeline] sh 14:05:52 + git log --format=format:%s -1 a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] echo 14:05:53 ========================================================= 14:05:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:05:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:05:53 + git log --format=format:%s -1 a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] echo 14:05:53 [semverPrep] GIT_COMMIT: a09a63a95da2d3bc844fcdd555a08d7ba1c742ec, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 14:05:53 [semverPrep] This is not a build commit. [Pipeline] sh 14:05:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:05:54 + grep -v github /etc/ssh/ssh_known_hosts 14:05:54 + [ -e /tmp/ssh_known_hosts ] 14:05:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:05:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:05:54 + sudo tee -a /etc/ssh/ssh_known_hosts 14:05:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:54 14:05:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:54 0.1.4: Pulling from edgex-devops/py-git-semver 14:05:54 b85a868b505f: Pulling fs layer 14:05:54 e2be974225ed: Pulling fs layer 14:05:54 339a4e72a1f5: Pulling fs layer 14:05:54 988bab9f4d93: Pulling fs layer 14:05:54 1469e6f7b9e6: Pulling fs layer 14:05:54 eaf3925da568: Pulling fs layer 14:05:54 bab4dde63d76: Pulling fs layer 14:05:54 bde34c3a00c8: Pulling fs layer 14:05:54 b352a97aabf1: Pulling fs layer 14:05:54 4872d77fe225: Pulling fs layer 14:05:54 5851b861e8e6: Pulling fs layer 14:05:54 bab4dde63d76: Waiting 14:05:54 988bab9f4d93: Waiting 14:05:54 bde34c3a00c8: Waiting 14:05:54 b352a97aabf1: Waiting 14:05:54 4872d77fe225: Waiting 14:05:54 1469e6f7b9e6: Waiting 14:05:54 5851b861e8e6: Waiting 14:05:54 eaf3925da568: Waiting 14:05:54 e2be974225ed: Verifying Checksum 14:05:54 e2be974225ed: Download complete 14:05:54 988bab9f4d93: Verifying Checksum 14:05:54 988bab9f4d93: Download complete 14:05:54 1469e6f7b9e6: Verifying Checksum 14:05:54 1469e6f7b9e6: Download complete 14:05:55 eaf3925da568: Verifying Checksum 14:05:55 eaf3925da568: Download complete 14:05:55 339a4e72a1f5: Verifying Checksum 14:05:55 339a4e72a1f5: Download complete 14:05:55 bde34c3a00c8: Verifying Checksum 14:05:55 bde34c3a00c8: Download complete 14:05:55 b352a97aabf1: Download complete 14:05:55 4872d77fe225: Verifying Checksum 14:05:55 4872d77fe225: Download complete 14:05:55 5851b861e8e6: Download complete 14:05:55 b85a868b505f: Verifying Checksum 14:05:55 b85a868b505f: Download complete 14:05:55 bab4dde63d76: Verifying Checksum 14:05:55 bab4dde63d76: Download complete 14:05:56 b85a868b505f: Pull complete 14:05:56 e2be974225ed: Pull complete 14:05:56 339a4e72a1f5: Pull complete 14:05:56 988bab9f4d93: Pull complete 14:05:57 1469e6f7b9e6: Pull complete 14:05:57 eaf3925da568: Pull complete 14:05:58 bab4dde63d76: Pull complete 14:05:58 bde34c3a00c8: Pull complete 14:05:58 b352a97aabf1: Pull complete 14:05:58 4872d77fe225: Pull complete 14:05:58 5851b861e8e6: Pull complete 14:05:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:05:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:05:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:05:59 prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container 14:05:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:06:01 $ docker top b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 -eo pid,comm 14:06:01 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). 14:06:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:06:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:30 [ssh-agent] Looking for ssh-agent implementation... 14:06:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:31 $ docker exec b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 ssh-agent 14:06:31 SSH_AUTH_SOCK=/tmp/ssh-AUITSBgdSC3p/agent.32 14:06:31 SSH_AGENT_PID=38 14:06:31 Running ssh-add (command line suppressed) 14:06:31 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/private_key_5492703624504830854.key (/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/private_key_5492703624504830854.key) 14:06:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:31 + git tag --points-at HEAD [Pipeline] } 14:06:31 $ docker exec --env ******** --env ******** b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 ssh-agent -k 14:06:31 unset SSH_AUTH_SOCK; 14:06:31 unset SSH_AGENT_PID; 14:06:31 echo Agent pid 38 killed; 14:06:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:06:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:06:31 [ssh-agent] Looking for ssh-agent implementation... 14:06:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:06:31 $ docker exec b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 ssh-agent 14:06:32 SSH_AUTH_SOCK=/tmp/ssh-CeT8a9dYwGMF/agent.71 14:06:32 SSH_AGENT_PID=77 14:06:32 Running ssh-add (command line suppressed) 14:06:32 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/private_key_4147542951137291145.key (/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/private_key_4147542951137291145.key) 14:06:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:06:32 + git semver init 14:06:32 2024-10-05 14:06:32,696 [run_init] DEBUG init version:0.0.0 force:False 14:06:32 2024-10-05 14:06:32,697 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver 14:06:32 2024-10-05 14:06:32,697 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver 14:06:32 2024-10-05 14:06:32,698 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-698, universal_newlines=False, shell=None, istream=None) 14:06:34 2024-10-05 14:06:34,289 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698/.git/info/exclude 14:06:34 2024-10-05 14:06:34,290 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver/PR-698 with force:False 14:06:34 2024-10-05 14:06:34,290 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver/PR-698 14:06:34 2024-10-05 14:06:34,294 [execute] INFO git cat-file --batch-check 14:06:34 2024-10-05 14:06:34,294 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver, universal_newlines=False, shell=None, istream=) 14:06:34 2024-10-05 14:06:34,301 [execute] INFO git cat-file --batch 14:06:34 2024-10-05 14:06:34,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver, universal_newlines=False, shell=None, istream=) 14:06:34 2024-10-05 14:06:34,306 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-698/.semver/PR-698 14:06:34 0.0.0 [Pipeline] } 14:06:34 $ docker exec --env ******** --env ******** b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 ssh-agent -k 14:06:34 unset SSH_AUTH_SOCK; 14:06:34 unset SSH_AGENT_PID; 14:06:34 echo Agent pid 77 killed; 14:06:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:06:35 + git semver [Pipeline] } 14:06:35 $ docker stop --time=1 b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 14:06:36 $ docker rm -f --volumes b135492a78ce5922020c93ee24ff7b3fcab1bf50c062e609b5f7315347391304 [Pipeline] // withDockerContainer [Pipeline] sh 14:06:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:06:37 Stashed 1 file(s) [Pipeline] echo 14:06:37 [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 14:06:38 provisioning config files... 14:06:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/config11972827095663261496tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:38 ---> ****-login.sh 14:06:38 nexus3.edgexfoundry.org:10001 14:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:38 Configure a credential helper to remove this warning. See 14:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:38 14:06:38 Login Succeeded 14:06:38 nexus3.edgexfoundry.org:10002 14:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:38 Configure a credential helper to remove this warning. See 14:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:38 14:06:38 Login Succeeded 14:06:38 nexus3.edgexfoundry.org:10003 14:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:38 Configure a credential helper to remove this warning. See 14:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:38 14:06:38 Login Succeeded 14:06:38 nexus3.edgexfoundry.org:10004 14:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:38 Configure a credential helper to remove this warning. See 14:06:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:38 14:06:38 Login Succeeded 14:06:38 ****.io 14:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:06:39 Configure a credential helper to remove this warning. See 14:06:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:06:39 14:06:39 Login Succeeded 14:06:39 ---> ****-login.sh ends [Pipeline] } 14:06:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:06:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:06:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:06:39 ========================================================= 14:06:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 14:06:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:40 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 14:06:40 Sending build context to Docker daemon 20.83MB 14:06:40 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 14:06:40 Step 2/12 : FROM ${BASE} AS builder 14:06:40 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 14:06:40 43c4264eed91: Pulling fs layer 14:06:40 4cc291be95ef: Pulling fs layer 14:06:40 2ac1f1163629: Pulling fs layer 14:06:40 5c3c966382ef: Pulling fs layer 14:06:40 4f4fb700ef54: Pulling fs layer 14:06:40 5d5c8e513c77: Pulling fs layer 14:06:40 9f66e0745190: Pulling fs layer 14:06:40 4f4fb700ef54: Waiting 14:06:40 5d5c8e513c77: Waiting 14:06:40 5c3c966382ef: Waiting 14:06:40 f49a43e4bbc0: Pulling fs layer 14:06:40 561ebcabdf7f: Pulling fs layer 14:06:40 9f66e0745190: Waiting 14:06:40 f49a43e4bbc0: Waiting 14:06:40 4cc291be95ef: Verifying Checksum 14:06:40 4cc291be95ef: Download complete 14:06:40 5c3c966382ef: Verifying Checksum 14:06:40 5c3c966382ef: Download complete 14:06:40 4f4fb700ef54: Verifying Checksum 14:06:40 4f4fb700ef54: Download complete 14:06:40 5d5c8e513c77: Verifying Checksum 14:06:40 5d5c8e513c77: Download complete 14:06:40 43c4264eed91: Download complete 14:06:40 9f66e0745190: Verifying Checksum 14:06:40 9f66e0745190: Download complete 14:06:40 43c4264eed91: Pull complete 14:06:40 561ebcabdf7f: Verifying Checksum 14:06:40 561ebcabdf7f: Download complete 14:06:40 4cc291be95ef: Pull complete 14:06:40 2ac1f1163629: Download complete 14:06:41 f49a43e4bbc0: Verifying Checksum 14:06:41 f49a43e4bbc0: Download complete 14:06:44 2ac1f1163629: Pull complete 14:06:44 5c3c966382ef: Pull complete 14:06:44 4f4fb700ef54: Pull complete 14:06:44 5d5c8e513c77: Pull complete 14:06:44 9f66e0745190: Pull complete 14:06:46 f49a43e4bbc0: Pull complete 14:06:47 561ebcabdf7f: Pull complete 14:06:47 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 14:06:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 14:06:47 ---> 3a752c3f9dda 14:06:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:06:51 ---> Running in 556e03aa0dc0 14:06:51 Removing intermediate container 556e03aa0dc0 14:06:51 ---> 04304f2f9dbb 14:06:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:06:51 ---> Running in 2332d661ffee 14:06:51 Removing intermediate container 2332d661ffee 14:06:51 ---> 692d6f2b2735 14:06:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:06:51 ---> Running in 21f37cd6e4eb 14:06:51 Removing intermediate container 21f37cd6e4eb 14:06:51 ---> f8300a280a1f 14:06:51 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:06:51 ---> Running in 9a8827a2d07e 14:06:51 Removing intermediate container 9a8827a2d07e 14:06:51 ---> 12e5c4c78024 14:06:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:06:51 ---> Running in d02faf6dc556 14:06:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:06:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:06:51 (1/4) Installing openssh-keygen (9.7_p1-r4) 14:06:51 (2/4) Installing libedit (20240517.3.1-r0) 14:06:51 (3/4) Installing openssh-client-common (9.7_p1-r4) 14:06:51 (4/4) Installing openssh-client-default (9.7_p1-r4) 14:06:51 Executing busybox-1.36.1-r29.trigger 14:06:51 OK: 250 MiB in 58 packages 14:06:52 Removing intermediate container d02faf6dc556 14:06:52 ---> 6a4a6492f157 14:06:52 Step 8/12 : WORKDIR /device-mqtt-go 14:06:52 ---> Running in 362b0c8dedf0 14:06:52 Removing intermediate container 362b0c8dedf0 14:06:52 ---> 670b43a4fde8 14:06:52 Step 9/12 : COPY go.mod vendor* ./ 14:06:52 ---> 00ed42e4c803 14:06:52 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:06:52 ---> Running in ce904512888c 14:06:53 Still waiting to schedule task 14:06:53 ‘prd-ubuntu18.04-docker-8c-8g-21828’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:06:53 ‘prd-ubuntu18.04-docker-8c-8g-21829’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:06:53 ‘prd-ubuntu18.04-docker-8c-8g-21830’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 14:06:53 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21906’ is offline 14:07:39 Removing intermediate container ce904512888c 14:07:39 ---> 4d4b60bc338b 14:07:39 Step 11/12 : COPY . . 14:07:39 ---> 971afa0c21d2 14:07:39 Step 12/12 : RUN $MAKE 14:07:39 ---> Running in 32927361805b 14:07:39 noop 14:07:39 Removing intermediate container 32927361805b 14:07:39 ---> bfa315d3a15d 14:07:39 Successfully built bfa315d3a15d 14:07:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:39 + docker inspect -f . ci-base-image-x86_64 14:07:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:39 prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container 14:07:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:07:40 $ docker top 11daafac0ef9077238b153465132d5500dfe81fb7bccfb4689b8b6f57abf092c -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:40 + go version 14:07:40 go version go1.23.2 linux/amd64 [Pipeline] } 14:07:40 $ docker stop --time=1 11daafac0ef9077238b153465132d5500dfe81fb7bccfb4689b8b6f57abf092c 14:07:41 $ docker rm -f --volumes 11daafac0ef9077238b153465132d5500dfe81fb7bccfb4689b8b6f57abf092c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:42 + docker inspect -f . ci-base-image-x86_64 14:07:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:42 prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container 14:07:42 $ 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-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 14:07:43 $ docker top 610e4c785c3daac7783eb0cf67a59161905a057cd9e012e5968b814c8404764c -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-698 [Pipeline] fileExists [Pipeline] sh 14:07:44 + make test 14:07:44 go test ./... -coverprofile=coverage.out ./... 14:07:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:08:03 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 14:08:03 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 14:08:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 14:08:13 go vet ./... 14:08:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:08:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:08:20 ./bin/test-attribution-txt.sh [Pipeline] echo 14:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:08:20 $ docker stop --time=1 610e4c785c3daac7783eb0cf67a59161905a057cd9e012e5968b814c8404764c 14:08:24 $ docker rm -f --volumes 610e4c785c3daac7783eb0cf67a59161905a057cd9e012e5968b814c8404764c [Pipeline] // withDockerContainer [Pipeline] sh 14:08:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:08:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:08:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:08:25 + ls -al . 14:08:25 total 264 14:08:25 drwxrwxr-x 9 jenkins jenkins 4096 Oct 5 14:07 . 14:08:25 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 14:05 .. 14:08:25 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 14:05 .dockerignore 14:08:25 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 14:08 .git 14:08:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:05 .github 14:08:25 -rw-rw-r-- 1 jenkins jenkins 264 Oct 5 14:05 .gitignore 14:08:25 -rw-rw-r-- 1 jenkins jenkins 41 Oct 5 14:05 .golangci.yml 14:08:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 14:06 .semver 14:08:25 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 5 14:05 Attribution.txt 14:08:25 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 5 14:05 CHANGELOG.md 14:08:25 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 5 14:05 Dockerfile 14:08:25 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 14:05 GOVERNANCE.md 14:08:25 -rw-rw-r-- 1 jenkins jenkins 657 Oct 5 14:05 Jenkinsfile 14:08:25 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 14:05 LICENSE 14:08:25 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 5 14:05 Makefile 14:08:25 -rw-rw-r-- 1 jenkins jenkins 620 Oct 5 14:05 OWNERS.md 14:08:25 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 5 14:05 README.md 14:08:25 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 14:06 VERSION 14:08:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:05 bin 14:08:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:05 cmd 14:08:25 -rw-r--r-- 1 jenkins jenkins 21039 Oct 5 14:08 coverage.out 14:08:25 -rw-rw-r-- 1 jenkins jenkins 7037 Oct 5 14:05 go.mod 14:08:25 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 5 14:05 go.sum 14:08:25 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:05 internal 14:08:25 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:05 mock 14:08:25 -rw-rw-r-- 1 jenkins jenkins 227 Oct 5 14:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:26 + 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=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec --label arch=amd64 --label version=0.0.0 . 14:08:26 Sending build context to Docker daemon 20.85MB 14:08:26 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 14:08:26 Step 2/25 : FROM ${BASE} AS builder 14:08:26 ---> bfa315d3a15d 14:08:26 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:08:26 ---> Running in d292bad0833e 14:08:26 Removing intermediate container d292bad0833e 14:08:26 ---> be893dd2973d 14:08:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:08:26 ---> Running in 00c5b14590c6 14:08:26 Removing intermediate container 00c5b14590c6 14:08:26 ---> 0e1199c3f19c 14:08:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:08:26 ---> Running in 29b53c514ca7 14:08:26 Removing intermediate container 29b53c514ca7 14:08:26 ---> 86ca0b7b8d0c 14:08:26 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:08:26 ---> Running in 7bb274cd6412 14:08:26 Removing intermediate container 7bb274cd6412 14:08:26 ---> 113b179df7e0 14:08:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:08:26 ---> Running in 85e19a88ffb2 14:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:08:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:08:27 OK: 250 MiB in 58 packages 14:08:28 Removing intermediate container 85e19a88ffb2 14:08:28 ---> 070dd11fdef9 14:08:28 Step 8/25 : WORKDIR /device-mqtt-go 14:08:28 ---> Running in 00356be42cb0 14:08:28 Removing intermediate container 00356be42cb0 14:08:28 ---> aa8582aa0d80 14:08:28 Step 9/25 : COPY go.mod vendor* ./ 14:08:28 ---> 7296e607952d 14:08:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:08:28 ---> Running in c3b1220bf68d 14:08:28 Removing intermediate container c3b1220bf68d 14:08:28 ---> f1ace40dfd7a 14:08:28 Step 11/25 : COPY . . 14:08:29 ---> 0faf54323322 14:08:29 Step 12/25 : RUN $MAKE 14:08:29 ---> Running in 2e952afb63a6 14:08:29 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.2.0-dev.42" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 14:09:01 Removing intermediate container 2e952afb63a6 14:09:01 ---> e40b06a9629e 14:09:01 Step 13/25 : FROM alpine:3.20 14:09:01 3.20: Pulling from library/alpine 14:09:01 43c4264eed91: Already exists 14:09:01 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 14:09:01 Status: Downloaded newer image for alpine:3.20 14:09:01 ---> 91ef0af61f39 14:09:01 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 14:09:01 ---> Running in 75381e897976 14:09:01 Removing intermediate container 75381e897976 14:09:01 ---> 179a7be747c0 14:09:01 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:09:01 ---> Running in f65aeb75d54d 14:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:09:01 (1/1) Installing dumb-init (1.2.5-r3) 14:09:01 Executing busybox-1.36.1-r29.trigger 14:09:01 OK: 8 MiB in 15 packages 14:09:01 Removing intermediate container f65aeb75d54d 14:09:01 ---> f3a0cd2b2772 14:09:01 Step 16/25 : RUN apk --no-cache upgrade 14:09:01 ---> Running in 590b5a46553f 14:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:09:02 Upgrading critical system libraries and apk-tools: 14:09:02 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 14:09:02 Executing busybox-1.36.1-r29.trigger 14:09:02 Continuing the upgrade transaction with new apk-tools: 14:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:09:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:09:02 OK: 8 MiB in 15 packages 14:09:03 Removing intermediate container 590b5a46553f 14:09:03 ---> 011161af849a 14:09:03 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 14:09:04 ---> 01872acb4174 14:09:04 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 14:09:04 ---> 093d5f14a879 14:09:04 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:09:04 ---> 9c0dff5136af 14:09:04 Step 20/25 : EXPOSE 59982 14:09:04 ---> Running in a86ebc08f1f6 14:09:04 Removing intermediate container a86ebc08f1f6 14:09:04 ---> b18bb0e7a8c6 14:09:04 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 14:09:04 ---> Running in 561bce836c2c 14:09:04 Removing intermediate container 561bce836c2c 14:09:04 ---> de2f6af557b3 14:09:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:09:04 ---> Running in b21d24eee5a7 14:09:04 Removing intermediate container b21d24eee5a7 14:09:04 ---> 20e08e06a9a1 14:09:04 Step 23/25 : LABEL arch=amd64 14:09:04 ---> Running in b043a8a03ef9 14:09:04 Removing intermediate container b043a8a03ef9 14:09:04 ---> 76caa6906d78 14:09:04 Step 24/25 : LABEL git_sha=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec 14:09:04 ---> Running in 333038b6d709 14:09:04 Removing intermediate container 333038b6d709 14:09:04 ---> d620420f5edf 14:09:04 Step 25/25 : LABEL version=0.0.0 14:09:04 ---> Running in df94dcc0c5dc 14:09:04 Removing intermediate container df94dcc0c5dc 14:09:04 ---> 5ffa38a9e10d 14:09:04 [Warning] One or more build-args [ARCH] were not consumed 14:09:04 Successfully built 5ffa38a9e10d 14:09:04 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:09:05 14:09:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:09:06 latest: Pulling from edgex-lftools-log-publisher 14:09:06 5eb5b503b376: Pulling fs layer 14:09:06 5c69ac0246d0: Pulling fs layer 14:09:06 ec43610c2a17: Pulling fs layer 14:09:06 3a2ae6a8a46f: Pulling fs layer 14:09:06 33b1e0a273af: Pulling fs layer 14:09:06 5d3b04190fa2: Pulling fs layer 14:09:06 2f39f015ded8: Pulling fs layer 14:09:06 33b1e0a273af: Waiting 14:09:06 5d3b04190fa2: Waiting 14:09:06 2f39f015ded8: Waiting 14:09:06 5c69ac0246d0: Verifying Checksum 14:09:06 5c69ac0246d0: Download complete 14:09:06 3a2ae6a8a46f: Verifying Checksum 14:09:06 3a2ae6a8a46f: Download complete 14:09:06 ec43610c2a17: Verifying Checksum 14:09:06 ec43610c2a17: Download complete 14:09:06 5d3b04190fa2: Verifying Checksum 14:09:06 5d3b04190fa2: Download complete 14:09:06 33b1e0a273af: Verifying Checksum 14:09:06 33b1e0a273af: Download complete 14:09:06 5eb5b503b376: Verifying Checksum 14:09:06 5eb5b503b376: Download complete 14:09:07 2f39f015ded8: Download complete 14:09:07 5eb5b503b376: Pull complete 14:09:08 5c69ac0246d0: Pull complete 14:09:08 ec43610c2a17: Pull complete 14:09:08 3a2ae6a8a46f: Pull complete 14:09:08 33b1e0a273af: Pull complete 14:09:08 5d3b04190fa2: Pull complete 14:09:12 2f39f015ded8: Pull complete 14:09:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:09:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:09:13 prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container 14:09:13 $ 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-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:09:17 $ docker top 0485f0d1a01f2f97daa677f2a5f5e3577d731a0938cdbf89c815864fb5b3466f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:17 ---> job-cost.sh 14:09:17 lf-activate-venv: SKIPPING 14:09:17 INFO: No Stack... 14:09:17 INFO: Retrieving Pricing Info for: v3-standard-8 14:09:18 INFO: Archiving Costs [Pipeline] sh 14:09:18 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives/cost.csv 14:09:18 + cut -d, -f6 [Pipeline] lock 14:09:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] 14:09:18 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] did not exist. Created. 14:09:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:09:18 + echo total: 0.2199999988079071 [Pipeline] stash 14:09:19 Stashed 1 file(s) [Pipeline] } 14:09:19 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:09:19 $ docker stop --time=1 0485f0d1a01f2f97daa677f2a5f5e3577d731a0938cdbf89c815864fb5b3466f 14:09:20 $ docker rm -f --volumes 0485f0d1a01f2f97daa677f2a5f5e3577d731a0938cdbf89c815864fb5b3466f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:09:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21908 in /w/workspace/gexfoundry_device-mqtt-go_PR-698 [Pipeline] { [Pipeline] ws 14:09:21 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 14:09:21 The recommended git tool is: git 14:09:30 using credential edgex-jenkins-ssh 14:09:30 Cloning the remote Git repository 14:09:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:09:30 > git init /w/workspace/device-mqtt-go/1 # timeout=10 14:09:30 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:09:30 > git --version # timeout=10 14:09:30 > git --version # 'git version 2.25.1' 14:09:30 using GIT_SSH to set credentials SSH Credentials for GitHub 14:09:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:09:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:09:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:09:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:09:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:09:35 using GIT_SSH to set credentials SSH Credentials for GitHub 14:09:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/698/head:refs/remotes/origin/PR-698 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:09:35 Merging remotes/origin/main commit 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed into PR head commit a09a63a95da2d3bc844fcdd555a08d7ba1c742ec 14:09:36 Merge succeeded, producing a09a63a95da2d3bc844fcdd555a08d7ba1c742ec 14:09:36 Checking out Revision a09a63a95da2d3bc844fcdd555a08d7ba1c742ec (PR-698) 14:09:36 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 14:09:36 > git --version # timeout=10 14:09:36 > git --version # 'git version 2.25.1' 14:09:36 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 14:09:35 > git config core.sparsecheckout # timeout=10 14:09:35 > git checkout -f a09a63a95da2d3bc844fcdd555a08d7ba1c742ec # timeout=10 14:09:36 > git remote # timeout=10 14:09:36 > git config --get remote.origin.url # timeout=10 14:09:36 using GIT_SSH to set credentials SSH Credentials for GitHub 14:09:36 > git merge 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed # timeout=10 14:09:36 > git rev-parse HEAD^{commit} # timeout=10 14:09:36 > git config core.sparsecheckout # timeout=10 14:09:36 > git checkout -f a09a63a95da2d3bc844fcdd555a08d7ba1c742ec # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:09:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:09:41 % Total % Received % Xferd Average Speed Time Time Time Current 14:09:41 Dload Upload Total Spent Left Speed 14:09:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 14:09:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:09:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:09:42 + sudo tee /etc/docker/daemon.new 14:09:42 { 14:09:42 "registry-mirrors": [ 14:09:42 "https://nexus3.edgexfoundry.org:10001" 14:09:42 ], 14:09:42 "bip": "10.250.0.254/24", 14:09:42 "hosts": [ 14:09:42 "tcp://0.0.0.0:5555", 14:09:42 "unix:///var/run/docker.sock" 14:09:42 ], 14:09:42 "mtu": 1458, 14:09:42 "selinux-enabled": true, 14:09:42 "seccomp-profile": "/etc/docker/seccomp.json" 14:09:42 } [Pipeline] sh 14:09:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:09:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:10:01 provisioning config files... 14:10:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5083599348235634179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:10:02 ---> ****-login.sh 14:10:02 nexus3.edgexfoundry.org:10001 14:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:10:02 Configure a credential helper to remove this warning. See 14:10:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:10:02 14:10:02 Login Succeeded 14:10:03 nexus3.edgexfoundry.org:10002 14:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:10:03 Configure a credential helper to remove this warning. See 14:10:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:10:03 14:10:03 Login Succeeded 14:10:03 nexus3.edgexfoundry.org:10003 14:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:10:03 Configure a credential helper to remove this warning. See 14:10:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:10:03 14:10:03 Login Succeeded 14:10:03 nexus3.edgexfoundry.org:10004 14:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:10:04 Configure a credential helper to remove this warning. See 14:10:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:10:04 14:10:04 Login Succeeded 14:10:04 ****.io 14:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:10:04 Configure a credential helper to remove this warning. See 14:10:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:10:04 14:10:04 Login Succeeded 14:10:04 ---> ****-login.sh ends [Pipeline] } 14:10:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:10:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:10:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:10:05 ========================================================= 14:10:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 14:10:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:10:05 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 14:10:06 Sending build context to Docker daemon 10.53MB 14:10:06 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 14:10:06 Step 2/12 : FROM ${BASE} AS builder 14:10:06 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:10:06 cf04c63912e1: Pulling fs layer 14:10:06 55b35a11ae5e: Pulling fs layer 14:10:06 a37a00ec5f00: Pulling fs layer 14:10:06 50b3750afda1: Pulling fs layer 14:10:06 4f4fb700ef54: Pulling fs layer 14:10:06 80978eb59214: Pulling fs layer 14:10:06 c9f46d7d2bd2: Pulling fs layer 14:10:06 c5a475d317c9: Pulling fs layer 14:10:06 4f4fb700ef54: Waiting 14:10:06 80978eb59214: Waiting 14:10:06 c9f46d7d2bd2: Waiting 14:10:06 c5a475d317c9: Waiting 14:10:06 50b3750afda1: Waiting 14:10:06 55b35a11ae5e: Verifying Checksum 14:10:06 55b35a11ae5e: Download complete 14:10:06 50b3750afda1: Verifying Checksum 14:10:06 50b3750afda1: Download complete 14:10:06 4f4fb700ef54: Verifying Checksum 14:10:06 4f4fb700ef54: Download complete 14:10:06 80978eb59214: Verifying Checksum 14:10:06 80978eb59214: Download complete 14:10:06 cf04c63912e1: Verifying Checksum 14:10:06 cf04c63912e1: Download complete 14:10:07 c5a475d317c9: Verifying Checksum 14:10:07 c5a475d317c9: Download complete 14:10:07 cf04c63912e1: Pull complete 14:10:08 55b35a11ae5e: Pull complete 14:10:08 a37a00ec5f00: Verifying Checksum 14:10:08 a37a00ec5f00: Download complete 14:10:09 c9f46d7d2bd2: Verifying Checksum 14:10:09 c9f46d7d2bd2: Download complete 14:10:21 a37a00ec5f00: Pull complete 14:10:21 50b3750afda1: Pull complete 14:10:22 4f4fb700ef54: Pull complete 14:10:22 80978eb59214: Pull complete 14:10:30 c9f46d7d2bd2: Pull complete 14:10:31 c5a475d317c9: Pull complete 14:10:31 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 14:10:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 14:10:31 ---> be29e6b0f0d4 14:10:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:10:33 ---> Running in 913097b31430 14:10:34 Removing intermediate container 913097b31430 14:10:34 ---> 03c7c09e81cb 14:10:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:10:34 ---> Running in 32479228cb88 14:10:34 Removing intermediate container 32479228cb88 14:10:34 ---> 2b4a9c07380f 14:10:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:10:34 ---> Running in b4f77427a522 14:10:35 Removing intermediate container b4f77427a522 14:10:35 ---> 49856a3e523f 14:10:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:10:35 ---> Running in f12a3a133bcf 14:10:35 Removing intermediate container f12a3a133bcf 14:10:35 ---> 063ee4b354a6 14:10:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:10:35 ---> Running in c5e122ab421e 14:10:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:10:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:10:39 (1/4) Installing openssh-keygen (9.7_p1-r4) 14:10:39 (2/4) Installing libedit (20240517.3.1-r0) 14:10:39 (3/4) Installing openssh-client-common (9.7_p1-r4) 14:10:39 (4/4) Installing openssh-client-default (9.7_p1-r4) 14:10:39 Executing busybox-1.36.1-r29.trigger 14:10:39 OK: 242 MiB in 58 packages 14:10:39 Removing intermediate container c5e122ab421e 14:10:39 ---> 6a18331f6f4b 14:10:39 Step 8/12 : WORKDIR /device-mqtt-go 14:10:40 ---> Running in cc4993d9a939 14:10:40 Removing intermediate container cc4993d9a939 14:10:40 ---> d998a908e012 14:10:40 Step 9/12 : COPY go.mod vendor* ./ 14:10:41 ---> eaa0387db981 14:10:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:10:41 ---> Running in b419eca50540 14:12:47 Removing intermediate container b419eca50540 14:12:47 ---> 8f4f8d6fa06f 14:12:47 Step 11/12 : COPY . . 14:12:47 ---> a9852459b17b 14:12:47 Step 12/12 : RUN $MAKE 14:12:47 ---> Running in ffa8f49858dc 14:12:47 noop 14:12:47 Removing intermediate container ffa8f49858dc 14:12:47 ---> 0131d351fbbe 14:12:47 Successfully built 0131d351fbbe 14:12:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:48 + docker inspect -f . ci-base-image-arm64 14:12:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:48 prd-ubuntu20.04-docker-arm64-4c-16g-21908 does not seem to be running inside a container 14:12:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:12:50 $ docker top ac0332a1e6ccb2e32456c8fee23dbbbfbf368557a302e98f20602b15fab4da60 -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:51 + go version 14:12:51 go version go1.23.2 linux/arm64 [Pipeline] } 14:12:51 $ docker stop --time=1 ac0332a1e6ccb2e32456c8fee23dbbbfbf368557a302e98f20602b15fab4da60 14:12:53 $ docker rm -f --volumes ac0332a1e6ccb2e32456c8fee23dbbbfbf368557a302e98f20602b15fab4da60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:54 + docker inspect -f . ci-base-image-arm64 14:12:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:54 prd-ubuntu20.04-docker-arm64-4c-16g-21908 does not seem to be running inside a container 14:12:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:12:55 $ docker top 4e942fc16929716254886aff749c086c0514fb74396d12ff5bebadc95a990f8a -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:56 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 14:12:57 + make test 14:12:57 go test ./... -coverprofile=coverage.out ./... 14:13:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:16:56 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 14:17:03 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 14:17:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.8% of statements 14:17:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:17:03 go vet ./... 14:18:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:18:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:18:00 ./bin/test-attribution-txt.sh [Pipeline] echo 14:18:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:18:00 $ docker stop --time=1 4e942fc16929716254886aff749c086c0514fb74396d12ff5bebadc95a990f8a 14:18:02 $ docker rm -f --volumes 4e942fc16929716254886aff749c086c0514fb74396d12ff5bebadc95a990f8a [Pipeline] // withDockerContainer [Pipeline] sh 14:18:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:18:04 Warning: overwriting stash ‘coverage-report’ 14:18:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:18:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:18:05 + ls -al . 14:18:05 total 260 14:18:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 14:13 . 14:18:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 14:09 .. 14:18:05 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 14:09 .dockerignore 14:18:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 14:09 .git 14:18:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:09 .github 14:18:05 -rw-rw-r-- 1 jenkins jenkins 264 Oct 5 14:09 .gitignore 14:18:05 -rw-rw-r-- 1 jenkins jenkins 41 Oct 5 14:09 .golangci.yml 14:18:05 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 5 14:09 Attribution.txt 14:18:05 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 5 14:09 CHANGELOG.md 14:18:05 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 5 14:09 Dockerfile 14:18:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 14:09 GOVERNANCE.md 14:18:05 -rw-rw-r-- 1 jenkins jenkins 657 Oct 5 14:09 Jenkinsfile 14:18:05 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 14:09 LICENSE 14:18:05 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 5 14:09 Makefile 14:18:05 -rw-rw-r-- 1 jenkins jenkins 620 Oct 5 14:09 OWNERS.md 14:18:05 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 5 14:09 README.md 14:18:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 14:06 VERSION 14:18:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:09 bin 14:18:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:09 cmd 14:18:05 -rw-r--r-- 1 jenkins jenkins 21039 Oct 5 14:17 coverage.out 14:18:05 -rw-rw-r-- 1 jenkins jenkins 7037 Oct 5 14:09 go.mod 14:18:05 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 5 14:09 go.sum 14:18:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:09 internal 14:18:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:09 mock 14:18:05 -rw-rw-r-- 1 jenkins jenkins 227 Oct 5 14:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:06 + 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=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec --label arch=arm64 --label version=0.0.0 . 14:18:06 Sending build context to Docker daemon 10.55MB 14:18:06 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 14:18:06 Step 2/25 : FROM ${BASE} AS builder 14:18:06 ---> 0131d351fbbe 14:18:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:18:06 ---> Running in 8d72ab50ed9e 14:18:07 Removing intermediate container 8d72ab50ed9e 14:18:07 ---> a8dcb39cbab3 14:18:07 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:18:07 ---> Running in 0f4414ac97c7 14:18:07 Removing intermediate container 0f4414ac97c7 14:18:07 ---> 347a45c96710 14:18:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:18:07 ---> Running in 85599baef113 14:18:08 Removing intermediate container 85599baef113 14:18:08 ---> ef49ab17660e 14:18:08 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:18:08 ---> Running in 9ada65244e23 14:18:08 Removing intermediate container 9ada65244e23 14:18:08 ---> f9fea5bd200e 14:18:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:18:08 ---> Running in 74e0105f50b2 14:18:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:18:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:18:11 OK: 242 MiB in 58 packages 14:18:12 Removing intermediate container 74e0105f50b2 14:18:12 ---> 5366ccc952c7 14:18:12 Step 8/25 : WORKDIR /device-mqtt-go 14:18:12 ---> Running in 24174eb6c15d 14:18:13 Removing intermediate container 24174eb6c15d 14:18:13 ---> f9227b221560 14:18:13 Step 9/25 : COPY go.mod vendor* ./ 14:18:13 ---> 6010df5b9cb3 14:18:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:18:13 ---> Running in 7522f1424155 14:18:16 Removing intermediate container 7522f1424155 14:18:16 ---> 5852f50bfde1 14:18:16 Step 11/25 : COPY . . 14:18:17 ---> 093896de1eb5 14:18:17 Step 12/25 : RUN $MAKE 14:18:17 ---> Running in 5cbec40c48dd 14:18:18 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.2.0-dev.42" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 14:22:25 Removing intermediate container 5cbec40c48dd 14:22:25 ---> b6e70cc22d90 14:22:25 Step 13/25 : FROM alpine:3.20 14:22:25 3.20: Pulling from library/alpine 14:22:25 cf04c63912e1: Already exists 14:22:25 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 14:22:26 Status: Downloaded newer image for alpine:3.20 14:22:26 ---> c157a85ed455 14:22:26 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 14:22:26 ---> Running in ebe5916af0a1 14:22:26 Removing intermediate container ebe5916af0a1 14:22:26 ---> 4d549ad0aee6 14:22:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:22:26 ---> Running in b65cc0cc0e22 14:22:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:22:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:22:29 (1/1) Installing dumb-init (1.2.5-r3) 14:22:29 Executing busybox-1.36.1-r29.trigger 14:22:29 OK: 9 MiB in 15 packages 14:22:30 Removing intermediate container b65cc0cc0e22 14:22:30 ---> 30dac591d7e5 14:22:30 Step 16/25 : RUN apk --no-cache upgrade 14:22:30 ---> Running in 4295456f7b07 14:22:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:22:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:22:33 Upgrading critical system libraries and apk-tools: 14:22:33 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 14:22:33 Executing busybox-1.36.1-r29.trigger 14:22:33 Continuing the upgrade transaction with new apk-tools: 14:22:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:22:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:22:35 OK: 9 MiB in 15 packages 14:22:36 Removing intermediate container 4295456f7b07 14:22:36 ---> 1cac06eb97fd 14:22:36 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 14:22:39 ---> 45b3e2590774 14:22:39 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 14:22:39 ---> eba91c5dd422 14:22:39 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:22:40 ---> 6504b6c05ca9 14:22:40 Step 20/25 : EXPOSE 59982 14:22:40 ---> Running in b61e5961c128 14:22:40 Removing intermediate container b61e5961c128 14:22:40 ---> 0ccef7106205 14:22:40 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 14:22:40 ---> Running in 0b96dc559bd9 14:22:41 Removing intermediate container 0b96dc559bd9 14:22:41 ---> a0e7cb618d0c 14:22:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:22:41 ---> Running in 127ec8c1b67e 14:22:41 Removing intermediate container 127ec8c1b67e 14:22:41 ---> 1d4bb551cf30 14:22:41 Step 23/25 : LABEL arch=arm64 14:22:41 ---> Running in 8c0976edee17 14:22:41 Removing intermediate container 8c0976edee17 14:22:41 ---> 9a847d71c826 14:22:41 Step 24/25 : LABEL git_sha=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec 14:22:41 ---> Running in ff6e81e9f5a2 14:22:42 Removing intermediate container ff6e81e9f5a2 14:22:42 ---> 50812e6c7a3d 14:22:42 Step 25/25 : LABEL version=0.0.0 14:22:42 ---> Running in 7839fa871289 14:22:42 Removing intermediate container 7839fa871289 14:22:42 ---> bb1e1a931a5c 14:22:42 [Warning] One or more build-args [ARCH] were not consumed 14:22:42 Successfully built bb1e1a931a5c 14:22:42 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:22:43 14:22:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:22:44 arm64: Pulling from edgex-lftools-log-publisher 14:22:44 8998bd30e6a1: Pulling fs layer 14:22:44 04944245beec: Pulling fs layer 14:22:44 699f458cf7ca: Pulling fs layer 14:22:44 765212b225bb: Pulling fs layer 14:22:44 f23df028b6ca: Pulling fs layer 14:22:44 d65c8cfc05b1: Pulling fs layer 14:22:44 2437ff75d9bd: Pulling fs layer 14:22:44 765212b225bb: Waiting 14:22:44 f23df028b6ca: Waiting 14:22:44 d65c8cfc05b1: Waiting 14:22:44 04944245beec: Verifying Checksum 14:22:44 04944245beec: Download complete 14:22:44 765212b225bb: Verifying Checksum 14:22:44 765212b225bb: Download complete 14:22:44 f23df028b6ca: Verifying Checksum 14:22:44 f23df028b6ca: Download complete 14:22:44 d65c8cfc05b1: Verifying Checksum 14:22:44 d65c8cfc05b1: Download complete 14:22:44 699f458cf7ca: Verifying Checksum 14:22:44 699f458cf7ca: Download complete 14:22:45 8998bd30e6a1: Verifying Checksum 14:22:45 8998bd30e6a1: Download complete 14:22:47 2437ff75d9bd: Verifying Checksum 14:22:47 2437ff75d9bd: Download complete 14:22:50 8998bd30e6a1: Pull complete 14:22:50 04944245beec: Pull complete 14:22:52 699f458cf7ca: Pull complete 14:22:52 765212b225bb: Pull complete 14:22:53 f23df028b6ca: Pull complete 14:22:53 d65c8cfc05b1: Pull complete 14:23:12 2437ff75d9bd: Pull complete 14:23:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:23:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:23:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:23:12 prd-ubuntu20.04-docker-arm64-4c-16g-21908 does not seem to be running inside a container 14:23:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:23:15 $ docker top f7bb3362d60cb101c6c88dc95c1b211310bbce246eec68075709a1eab7d5fb64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:16 ---> job-cost.sh 14:23:16 lf-activate-venv: SKIPPING 14:23:16 INFO: No Stack... 14:23:17 INFO: Retrieving Pricing Info for: v3-standard-4 14:23:18 INFO: Archiving Costs [Pipeline] sh 14:23:18 + + cutcat -d, /w/workspace/device-mqtt-go/1/archives/cost.csv -f6 14:23:18 [Pipeline] lock 14:23:18 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] 14:23:18 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] did not exist. Created. 14:23:18 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:23:19 /w/workspace/device-mqtt-go/1@tmp/durable-7dc46ae9/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:23:20 + echo total: 0.10999999940395355 [Pipeline] stash 14:23:20 Warning: overwriting stash ‘stack-cost’ 14:23:20 Stashed 1 file(s) [Pipeline] } 14:23:20 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-698-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:23:20 $ docker stop --time=1 f7bb3362d60cb101c6c88dc95c1b211310bbce246eec68075709a1eab7d5fb64 14:23:22 $ docker rm -f --volumes f7bb3362d60cb101c6c88dc95c1b211310bbce246eec68075709a1eab7d5fb64 [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 14:23:23 provisioning config files... 14:23:23 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/config15078177100098264443tmp [Pipeline] { [Pipeline] sh 14:23:23 + set +x 14:23:23 + curl -s https://codecov.io/bash 14:23:23 + bash -s -- 14:23:23 14:23:23 _____ _ 14:23:23 / ____| | | 14:23:23 | | ___ __| | ___ ___ _____ __ 14:23:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:23:23 | |___| (_) | (_| | __/ (_| (_) \ V / 14:23:23 \_____\___/ \__,_|\___|\___\___/ \_/ 14:23:23 Bash-1.0.6 14:23:23 14:23:23 14:23:23 ==> git version 2.25.1 found 14:23:23 ==> 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 14:23:23 Release-Date: 2020-01-08 14:23:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:23:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:23:23 ==> Jenkins CI detected. 14:23:23 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-698 14:23:23 project root: . 14:23:23 --> token set from env 14:23:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:23:23 ==> Running gcov in . (disable via -X gcov) 14:23:23 ==> Python coveragepy not found 14:23:23 ==> Searching for coverage reports in: 14:23:23 + . 14:23:23 -> Found 1 reports 14:23:23 ==> Detecting git/mercurial file structure 14:23:23 ==> Reading reports 14:23:23 + ./coverage.out bytes=21039 14:23:24 ==> Appending adjustments 14:23:24 https://docs.codecov.io/docs/fixing-reports 14:23:24 + Found adjustments 14:23:24 ==> Gzipping contents 14:23:24 4.0K /tmp/codecov.EGKeUK.gz 14:23:24 ==> Uploading reports 14:23:24 url: https://codecov.io 14:23:24 query: branch=PR-698&commit=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-698%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=698&job=&cmd_args= 14:23:24 -> Pinging Codecov 14:23:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-698&commit=a09a63a95da2d3bc844fcdd555a08d7ba1c742ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-698%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=698&job=&cmd_args= 14:23:24 -> Uploading to 14:23:24 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/a09a63a95da2d3bc844fcdd555a08d7ba1c742ec/f6f21c29-4091-4214-8278-80b936b3dca3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241005%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241005T142324Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=47d562110a77f6e16d0c4341e7b51e4989d1ee9eb3567c06e9abdac5247ac770 14:23:24 % Total % Received % Xferd Average Speed Time Time Time Current 14:23:24 Dload Upload Total Spent Left Speed 14:23:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14000 --:--:-- --:--:-- --:--:-- 14000 14:23:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a09a63a95da2d3bc844fcdd555a08d7ba1c742ec [Pipeline] } 14:23:24 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:23:27 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives ] 14:23:27 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives 14:23:27 total 16 14:23:27 drwxr-xr-x 3 root root 4096 Oct 5 14:09 . 14:23:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 14:09 .. 14:23:27 drwxr-xr-x 2 root root 4096 Oct 5 14:09 cost 14:23:27 -rw-r--r-- 1 root root 86 Oct 5 14:09 cost.csv 14:23:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives 14:23:27 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives 14:23:27 total 16 14:23:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 14:09 . 14:23:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 14:09 .. 14:23:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 14:09 cost 14:23:27 -rw-r--r-- 1 jenkins jenkins 86 Oct 5 14:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:23:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:23:28 ---> package-listing.sh 14:23:28 ++ facter osfamily 14:23:28 ++ tr '[:upper:]' '[:lower:]' 14:23:28 + OS_FAMILY=debian 14:23:28 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-698 14:23:28 + START_PACKAGES=/tmp/packages_start.txt 14:23:28 + END_PACKAGES=/tmp/packages_end.txt 14:23:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:23:28 + PACKAGES=/tmp/packages_start.txt 14:23:28 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-698 ']' 14:23:28 + PACKAGES=/tmp/packages_end.txt 14:23:28 + case "${OS_FAMILY}" in 14:23:28 + dpkg -l 14:23:28 + grep '^ii' 14:23:28 + '[' -f /tmp/packages_start.txt ']' 14:23:28 + '[' -f /tmp/packages_end.txt ']' 14:23:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:23:28 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-698 ']' 14:23:28 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives/ 14:23:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-698/archives/ [Pipeline] echo 14:23:28 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-698/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:23:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:23:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:23:29 prd-ubuntu20.04-docker-8c-8g-21904 does not seem to be running inside a container 14:23:29 $ 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-698/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-698 -v /w/workspace/gexfoundry_device-mqtt-go_PR-698:/w/workspace/gexfoundry_device-mqtt-go_PR-698:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:23:30 $ docker top 12e582e54a7ff7c4058a244641a8aa96c87a1a2c07d5af02172f56c008e126f1 -eo pid,comm [Pipeline] { [Pipeline] sh 14:23:30 + touch /tmp/pre-build-complete [Pipeline] sh 14:23:30 + mkdir -p /var/log/sysstat [Pipeline] sh 14:23:31 + ls /var/log/sa-host 14:23:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:23:31 provisioning config files... 14:23:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-698@tmp/config15778756128604344417tmp [Pipeline] { [Pipeline] echo 14:23:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:23:31 ---> create-netrc.sh [Pipeline] } 14:23:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:23:32 ---> python-tools-install.sh [Pipeline] echo 14:23:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:23:32 ---> sudo-logs.sh 14:23:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:23:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:23:32 ---> job-cost.sh 14:23:32 lf-activate-venv: SKIPPING 14:23:32 DEBUG: total: 0.2199999988079071 14:23:32 INFO: Retrieving Stack Cost... 14:23:33 INFO: Retrieving Pricing Info for: v3-standard-8 14:23:33 INFO: Archiving Costs [Pipeline] echo 14:23:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:23:34 ---> logs-deploy.sh 14:23:34 lf-activate-venv: SKIPPING 14:23:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-698/1 14:23:34 INFO: archiving workspace using pattern(s): 14:23:35 Archives upload complete. 14:23:35 INFO: archiving logs to Nexus