Pull request #582 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4+7300f1631db8a52a6c9bbc97f1ad6792569d05b3 (e5daab77acd9e40d76bc7816b994afb925b36e09) 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-ssh16280478788770273936.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh5020161283463493030.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-582/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-582/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11321325154335653194.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14993565767267384507.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-582/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-582/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9675365806502297852.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-11858’ Running on prd-ubuntu20.04-docker-8c-8g-11861 in /w/workspace/gexfoundry_device-mqtt-go_PR-582 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-582 # 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 > 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/582/head:refs/remotes/origin/PR-582 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 into PR head commit 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 Merge succeeded, producing 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 Checking out Revision 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 (PR-582) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-27T04:54:08.179Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-27T04:54:08.234Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-27T04:54:08.256Z] ========================================================= [2023-04-27T04:54:08.256Z] EdgeX Global Pipelines Version Info [2023-04-27T04:54:08.256Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 # 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 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 # timeout=10 > git rev-list --no-walk c8965a03c715dd0050778f908054fc97aa775ee0 # timeout=10 [2023-04-27T04:54:09.037Z] ------------------- [2023-04-27T04:54:09.037Z] stable info: [2023-04-27T04:54:09.037Z] ------------------- [2023-04-27T04:54:09.037Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-27T04:54:09.037Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-27T04:54:09.037Z] Message: update stable to v1.0.248 [2023-04-27T04:54:09.611Z] ------------------- [2023-04-27T04:54:09.611Z] experimental info: [2023-04-27T04:54:09.611Z] ------------------- [2023-04-27T04:54:09.611Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-27T04:54:09.611Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-27T04:54:09.611Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-27T04:54:09.769Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2023-04-27T04:54:09.783Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2023-04-27T04:54:09.800Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-27T04:54:09.811Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-27T04:54:09.826Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-27T04:54:09.839Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-27T04:54:09.850Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-27T04:54:09.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-27T04:54:09.872Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-27T04:54:09.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-27T04:54:09.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-27T04:54:09.916Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2023-04-27T04:54:09.932Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-27T04:54:09.944Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-27T04:54:09.958Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-27T04:54:09.971Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-27T04:54:09.981Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-27T04:54:09.989Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-27T04:54:09.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-27T04:54:10.010Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-27T04:54:10.020Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-27T04:54:10.031Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-27T04:54:10.042Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-27T04:54:10.054Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-27T04:54:10.066Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-27T04:54:10.077Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-27T04:54:10.090Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-27T04:54:10.106Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo [2023-04-27T04:54:10.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo [2023-04-27T04:54:10.135Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo [2023-04-27T04:54:10.149Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 [Pipeline] echo [2023-04-27T04:54:10.165Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 61a66b7 [Pipeline] echo [2023-04-27T04:54:10.183Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T04:54:10.221Z] provisioning config files... [2023-04-27T04:54:10.234Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp/config5191159394431788992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:54:10.550Z] ---> docker-login.sh [2023-04-27T04:54:10.550Z] nexus3.edgexfoundry.org:10001 [2023-04-27T04:54:10.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:10.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:10.812Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:10.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:10.812Z] [2023-04-27T04:54:10.812Z] Login Succeeded [2023-04-27T04:54:10.812Z] nexus3.edgexfoundry.org:10002 [2023-04-27T04:54:10.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:10.812Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:10.812Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:10.812Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:10.812Z] [2023-04-27T04:54:10.812Z] Login Succeeded [2023-04-27T04:54:10.812Z] nexus3.edgexfoundry.org:10003 [2023-04-27T04:54:10.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:11.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:11.076Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:11.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:11.076Z] [2023-04-27T04:54:11.076Z] Login Succeeded [2023-04-27T04:54:11.076Z] nexus3.edgexfoundry.org:10004 [2023-04-27T04:54:11.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:11.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:11.076Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:11.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:11.076Z] [2023-04-27T04:54:11.076Z] Login Succeeded [2023-04-27T04:54:11.076Z] docker.io [2023-04-27T04:54:11.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:11.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:11.337Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:11.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:11.337Z] [2023-04-27T04:54:11.337Z] Login Succeeded [2023-04-27T04:54:11.337Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T04:54:11.345Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-27T04:54:11.738Z] + git rev-list -1 --merges 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4~1..61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 [Pipeline] echo [2023-04-27T04:54:11.791Z] -----------> git rev-list -1 --merges 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4~1..61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 [false] [Pipeline] sh [2023-04-27T04:54:12.082Z] + git log --format=format:%s -1 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 [Pipeline] echo [2023-04-27T04:54:12.099Z] ========================================================= [2023-04-27T04:54:12.099Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-27T04:54:12.099Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-27T04:54:12.440Z] + git log --format=format:%s -1 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 [Pipeline] echo [2023-04-27T04:54:12.450Z] [semverPrep] GIT_COMMIT: 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-27T04:54:12.461Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-27T04:54:12.809Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-27T04:54:12.809Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-27T04:54:12.809Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-27T04:54:12.809Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-27T04:54:12.809Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-27T04:54:12.809Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-27T04:54:12.809Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:54:13.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T04:54:13.154Z] [2023-04-27T04:54:13.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:54:13.453Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T04:54:13.453Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-27T04:54:13.453Z] b85a868b505f: Pulling fs layer [2023-04-27T04:54:13.453Z] e2be974225ed: Pulling fs layer [2023-04-27T04:54:13.453Z] 339a4e72a1f5: Pulling fs layer [2023-04-27T04:54:13.453Z] 988bab9f4d93: Pulling fs layer [2023-04-27T04:54:13.453Z] 1469e6f7b9e6: Pulling fs layer [2023-04-27T04:54:13.453Z] eaf3925da568: Pulling fs layer [2023-04-27T04:54:13.453Z] bab4dde63d76: Pulling fs layer [2023-04-27T04:54:13.453Z] bde34c3a00c8: Pulling fs layer [2023-04-27T04:54:13.453Z] b352a97aabf1: Pulling fs layer [2023-04-27T04:54:13.453Z] 4872d77fe225: Pulling fs layer [2023-04-27T04:54:13.453Z] 5851b861e8e6: Pulling fs layer [2023-04-27T04:54:13.453Z] eaf3925da568: Waiting [2023-04-27T04:54:13.453Z] 1469e6f7b9e6: Waiting [2023-04-27T04:54:13.453Z] bde34c3a00c8: Waiting [2023-04-27T04:54:13.453Z] b352a97aabf1: Waiting [2023-04-27T04:54:13.453Z] 4872d77fe225: Waiting [2023-04-27T04:54:13.453Z] 5851b861e8e6: Waiting [2023-04-27T04:54:13.453Z] 988bab9f4d93: Waiting [2023-04-27T04:54:13.453Z] bab4dde63d76: Waiting [2023-04-27T04:54:13.453Z] e2be974225ed: Download complete [2023-04-27T04:54:13.453Z] 988bab9f4d93: Verifying Checksum [2023-04-27T04:54:13.453Z] 988bab9f4d93: Download complete [2023-04-27T04:54:13.453Z] 1469e6f7b9e6: Verifying Checksum [2023-04-27T04:54:13.453Z] 1469e6f7b9e6: Download complete [2023-04-27T04:54:13.715Z] eaf3925da568: Download complete [2023-04-27T04:54:13.715Z] 339a4e72a1f5: Verifying Checksum [2023-04-27T04:54:13.715Z] 339a4e72a1f5: Download complete [2023-04-27T04:54:13.715Z] bde34c3a00c8: Download complete [2023-04-27T04:54:13.715Z] b352a97aabf1: Download complete [2023-04-27T04:54:13.715Z] 4872d77fe225: Verifying Checksum [2023-04-27T04:54:13.715Z] 4872d77fe225: Download complete [2023-04-27T04:54:13.715Z] 5851b861e8e6: Verifying Checksum [2023-04-27T04:54:13.715Z] 5851b861e8e6: Download complete [2023-04-27T04:54:13.715Z] b85a868b505f: Verifying Checksum [2023-04-27T04:54:13.715Z] b85a868b505f: Download complete [2023-04-27T04:54:13.974Z] bab4dde63d76: Verifying Checksum [2023-04-27T04:54:13.974Z] bab4dde63d76: Download complete [2023-04-27T04:54:14.913Z] b85a868b505f: Pull complete [2023-04-27T04:54:15.172Z] e2be974225ed: Pull complete [2023-04-27T04:54:15.432Z] 339a4e72a1f5: Pull complete [2023-04-27T04:54:15.432Z] 988bab9f4d93: Pull complete [2023-04-27T04:54:15.739Z] 1469e6f7b9e6: Pull complete [2023-04-27T04:54:15.739Z] eaf3925da568: Pull complete [2023-04-27T04:54:17.649Z] bab4dde63d76: Pull complete [2023-04-27T04:54:17.649Z] bde34c3a00c8: Pull complete [2023-04-27T04:54:17.909Z] b352a97aabf1: Pull complete [2023-04-27T04:54:17.909Z] 4872d77fe225: Pull complete [2023-04-27T04:54:17.909Z] 5851b861e8e6: Pull complete [2023-04-27T04:54:17.909Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-27T04:54:17.909Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-27T04:54:17.909Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:54:18.036Z] prd-ubuntu20.04-docker-8c-8g-11861 does not seem to be running inside a container [2023-04-27T04:54:18.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-582 -v /w/workspace/gexfoundry_device-mqtt-go_PR-582:/w/workspace/gexfoundry_device-mqtt-go_PR-582:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-582@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-27T04:54:19.341Z] $ docker top 4026ac47a972eae05b53215abc1f78ca8a88413d841c1c7723261c257c613d93 -eo pid,comm [2023-04-27T04:54:19.392Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-27T04:54:19.392Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-27T04:54:19.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-27T04:54:19.429Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-27T04:54:19.562Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-27T04:54:19.570Z] $ docker exec 4026ac47a972eae05b53215abc1f78ca8a88413d841c1c7723261c257c613d93 ssh-agent [2023-04-27T04:54:19.676Z] SSH_AUTH_SOCK=/tmp/ssh-s3pts6VQyLWd/agent.33 [2023-04-27T04:54:19.676Z] SSH_AGENT_PID=39 [2023-04-27T04:54:19.684Z] Running ssh-add (command line suppressed) [2023-04-27T04:54:19.793Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp/private_key_13284801822521253803.key (/w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp/private_key_13284801822521253803.key) [2023-04-27T04:54:19.804Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-27T04:54:20.089Z] + git tag --points-at HEAD [Pipeline] } [2023-04-27T04:54:20.105Z] $ docker exec --env ******** --env ******** 4026ac47a972eae05b53215abc1f78ca8a88413d841c1c7723261c257c613d93 ssh-agent -k [2023-04-27T04:54:20.207Z] unset SSH_AUTH_SOCK; [2023-04-27T04:54:20.208Z] unset SSH_AGENT_PID; [2023-04-27T04:54:20.208Z] echo Agent pid 39 killed; [2023-04-27T04:54:20.214Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-27T04:54:20.241Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-27T04:54:20.241Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-27T04:54:20.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-27T04:54:20.360Z] $ docker exec 4026ac47a972eae05b53215abc1f78ca8a88413d841c1c7723261c257c613d93 ssh-agent [2023-04-27T04:54:20.461Z] SSH_AUTH_SOCK=/tmp/ssh-IOEAHXx0mQac/agent.71 [2023-04-27T04:54:20.461Z] SSH_AGENT_PID=77 [2023-04-27T04:54:20.469Z] Running ssh-add (command line suppressed) [2023-04-27T04:54:20.582Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp/private_key_9640771729270529440.key (/w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp/private_key_9640771729270529440.key) [2023-04-27T04:54:20.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-27T04:54:20.886Z] + git semver init [2023-04-27T04:54:21.146Z] 2023-04-27 04:54:21,075 [run_init] DEBUG init version:0.0.0 force:False [2023-04-27T04:54:21.146Z] 2023-04-27 04:54:21,075 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-582/.semver [2023-04-27T04:54:21.146Z] 2023-04-27 04:54:21,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-582/.semver [2023-04-27T04:54:21.146Z] 2023-04-27 04:54:21,076 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-582/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-582, universal_newlines=False, shell=None, istream=None) [2023-04-27T04:54:22.087Z] 2023-04-27 04:54:21,829 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-582/.git/info/exclude [2023-04-27T04:54:22.087Z] 2023-04-27 04:54:21,829 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-582/.semver/PR-582 with force:False [2023-04-27T04:54:22.087Z] 2023-04-27 04:54:21,829 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-582/.semver/PR-582 [2023-04-27T04:54:22.087Z] 2023-04-27 04:54:21,834 [execute] INFO git cat-file --batch-check [2023-04-27T04:54:22.087Z] 2023-04-27 04:54:21,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-582/.semver, universal_newlines=False, shell=None, istream=) [2023-04-27T04:54:22.087Z] 2023-04-27 04:54:21,840 [execute] INFO git cat-file --batch [2023-04-27T04:54:22.087Z] 2023-04-27 04:54:21,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-582/.semver, universal_newlines=False, shell=None, istream=) [2023-04-27T04:54:22.087Z] 2023-04-27 04:54:21,845 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-582/.semver/PR-582 [2023-04-27T04:54:22.087Z] 0.0.0 [Pipeline] } [2023-04-27T04:54:22.101Z] $ docker exec --env ******** --env ******** 4026ac47a972eae05b53215abc1f78ca8a88413d841c1c7723261c257c613d93 ssh-agent -k [2023-04-27T04:54:22.200Z] unset SSH_AUTH_SOCK; [2023-04-27T04:54:22.201Z] unset SSH_AGENT_PID; [2023-04-27T04:54:22.202Z] echo Agent pid 77 killed; [2023-04-27T04:54:22.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-27T04:54:22.513Z] + git semver [Pipeline] } [2023-04-27T04:54:22.794Z] $ docker stop --time=1 4026ac47a972eae05b53215abc1f78ca8a88413d841c1c7723261c257c613d93 [2023-04-27T04:54:24.098Z] $ docker rm -f --volumes 4026ac47a972eae05b53215abc1f78ca8a88413d841c1c7723261c257c613d93 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-27T04:54:24.431Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-27T04:54:24.615Z] Stashed 1 file(s) [Pipeline] echo [2023-04-27T04:54:24.618Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T04:54:24.760Z] provisioning config files... [2023-04-27T04:54:24.768Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp/config5279131396958405455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:54:25.060Z] ---> docker-login.sh [2023-04-27T04:54:25.060Z] nexus3.edgexfoundry.org:10001 [2023-04-27T04:54:25.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:25.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:25.060Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:25.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:25.060Z] [2023-04-27T04:54:25.060Z] Login Succeeded [2023-04-27T04:54:25.060Z] nexus3.edgexfoundry.org:10002 [2023-04-27T04:54:25.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:25.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:25.060Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:25.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:25.060Z] [2023-04-27T04:54:25.060Z] Login Succeeded [2023-04-27T04:54:25.060Z] nexus3.edgexfoundry.org:10003 [2023-04-27T04:54:25.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:25.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:25.318Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:25.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:25.319Z] [2023-04-27T04:54:25.319Z] Login Succeeded [2023-04-27T04:54:25.319Z] nexus3.edgexfoundry.org:10004 [2023-04-27T04:54:25.319Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:25.319Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:25.319Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:25.319Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:25.319Z] [2023-04-27T04:54:25.319Z] Login Succeeded [2023-04-27T04:54:25.319Z] docker.io [2023-04-27T04:54:25.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:54:25.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:54:25.578Z] Configure a credential helper to remove this warning. See [2023-04-27T04:54:25.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:54:25.578Z] [2023-04-27T04:54:25.578Z] Login Succeeded [2023-04-27T04:54:25.578Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T04:54:25.585Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-27T04:54:25.640Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T04:54:25.653Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T04:54:25.659Z] ========================================================= [2023-04-27T04:54:25.660Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-27T04:54:25.660Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:54:25.966Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-27T04:54:25.967Z] Sending build context to Docker daemon 6.499MB [2023-04-27T04:54:25.967Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T04:54:25.967Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-27T04:54:25.967Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-27T04:54:25.967Z] f56be85fc22e: Pulling fs layer [2023-04-27T04:54:25.967Z] 85791d961cd3: Pulling fs layer [2023-04-27T04:54:25.967Z] d694b5ae8c79: Pulling fs layer [2023-04-27T04:54:25.967Z] 9f32a84ed3da: Pulling fs layer [2023-04-27T04:54:25.967Z] 4d19c01a9841: Pulling fs layer [2023-04-27T04:54:25.967Z] 9325e15d5711: Pulling fs layer [2023-04-27T04:54:25.967Z] 556b6ee489ea: Pulling fs layer [2023-04-27T04:54:25.967Z] c5a4b2cf53e6: Pulling fs layer [2023-04-27T04:54:25.967Z] 9f32a84ed3da: Waiting [2023-04-27T04:54:25.967Z] 4d19c01a9841: Waiting [2023-04-27T04:54:25.967Z] 9325e15d5711: Waiting [2023-04-27T04:54:25.967Z] 556b6ee489ea: Waiting [2023-04-27T04:54:25.967Z] c5a4b2cf53e6: Waiting [2023-04-27T04:54:25.967Z] 85791d961cd3: Verifying Checksum [2023-04-27T04:54:25.967Z] 85791d961cd3: Download complete [2023-04-27T04:54:25.967Z] 9f32a84ed3da: Verifying Checksum [2023-04-27T04:54:25.967Z] 9f32a84ed3da: Download complete [2023-04-27T04:54:25.967Z] 4d19c01a9841: Verifying Checksum [2023-04-27T04:54:26.226Z] f56be85fc22e: Verifying Checksum [2023-04-27T04:54:26.227Z] f56be85fc22e: Download complete [2023-04-27T04:54:26.227Z] 9325e15d5711: Verifying Checksum [2023-04-27T04:54:26.227Z] 9325e15d5711: Download complete [2023-04-27T04:54:26.227Z] f56be85fc22e: Pull complete [2023-04-27T04:54:26.488Z] 85791d961cd3: Pull complete [2023-04-27T04:54:26.488Z] c5a4b2cf53e6: Verifying Checksum [2023-04-27T04:54:26.488Z] c5a4b2cf53e6: Download complete [2023-04-27T04:54:26.747Z] d694b5ae8c79: Verifying Checksum [2023-04-27T04:54:26.747Z] d694b5ae8c79: Download complete [2023-04-27T04:54:27.005Z] 556b6ee489ea: Verifying Checksum [2023-04-27T04:54:27.005Z] 556b6ee489ea: Download complete [2023-04-27T04:54:30.295Z] d694b5ae8c79: Pull complete [2023-04-27T04:54:30.295Z] 9f32a84ed3da: Pull complete [2023-04-27T04:54:30.295Z] 4d19c01a9841: Pull complete [2023-04-27T04:54:30.554Z] 9325e15d5711: Pull complete [2023-04-27T04:54:33.085Z] 556b6ee489ea: Pull complete [2023-04-27T04:54:34.019Z] c5a4b2cf53e6: Pull complete [2023-04-27T04:54:34.019Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-27T04:54:34.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-27T04:54:34.019Z] ---> c4be618373d6 [2023-04-27T04:54:34.019Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-27T04:54:35.398Z] ---> Running in fd41e5b459ed [2023-04-27T04:54:35.398Z] Removing intermediate container fd41e5b459ed [2023-04-27T04:54:35.398Z] ---> a070b01869bf [2023-04-27T04:54:35.398Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T04:54:35.398Z] ---> Running in ca81cdeba34a [2023-04-27T04:54:35.398Z] Removing intermediate container ca81cdeba34a [2023-04-27T04:54:35.398Z] ---> cb902f3f4e9c [2023-04-27T04:54:35.398Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-27T04:54:35.398Z] ---> Running in 18de1218877e [2023-04-27T04:54:35.398Z] Removing intermediate container 18de1218877e [2023-04-27T04:54:35.398Z] ---> 3adf88dbb40e [2023-04-27T04:54:35.398Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T04:54:35.398Z] ---> Running in 0233064b75b5 [2023-04-27T04:54:35.968Z] Removing intermediate container 0233064b75b5 [2023-04-27T04:54:35.968Z] ---> 33d5647a9654 [2023-04-27T04:54:35.968Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T04:54:35.968Z] ---> Running in a2da1e6710fd [2023-04-27T04:54:36.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-27T04:54:36.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-27T04:54:36.486Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-27T04:54:36.486Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-27T04:54:36.486Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-27T04:54:36.486Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-27T04:54:36.486Z] Executing busybox-1.35.0-r29.trigger [2023-04-27T04:54:36.486Z] OK: 269 MiB in 57 packages [2023-04-27T04:54:37.055Z] Removing intermediate container a2da1e6710fd [2023-04-27T04:54:37.055Z] ---> 2a9df370189b [2023-04-27T04:54:37.055Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-27T04:54:37.055Z] ---> Running in 6a6f7b19f6c7 [2023-04-27T04:54:37.055Z] Removing intermediate container 6a6f7b19f6c7 [2023-04-27T04:54:37.055Z] ---> b1860c5d168a [2023-04-27T04:54:37.055Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-27T04:54:37.055Z] ---> 1f0bd2265e57 [2023-04-27T04:54:37.055Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T04:54:37.055Z] ---> Running in 17178a2171db [2023-04-27T04:54:39.717Z] Still waiting to schedule task [2023-04-27T04:54:39.717Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-11860’ is offline [2023-04-27T04:54:55.142Z] Removing intermediate container 17178a2171db [2023-04-27T04:54:55.142Z] ---> 68277c36778d [2023-04-27T04:54:55.142Z] Step 11/12 : COPY . . [2023-04-27T04:54:55.401Z] ---> 9dbc22f29e0b [2023-04-27T04:54:55.401Z] Step 12/12 : RUN $MAKE [2023-04-27T04:54:55.401Z] ---> Running in 1dae9f9a48d2 [2023-04-27T04:54:55.661Z] noop [2023-04-27T04:54:55.919Z] Removing intermediate container 1dae9f9a48d2 [2023-04-27T04:54:55.919Z] ---> cdae9ca3eef5 [2023-04-27T04:54:55.919Z] Successfully built cdae9ca3eef5 [2023-04-27T04:54:55.919Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:54:56.233Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-27T04:54:56.233Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:54:56.313Z] prd-ubuntu20.04-docker-8c-8g-11861 does not seem to be running inside a container [2023-04-27T04:54:56.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-582 -v /w/workspace/gexfoundry_device-mqtt-go_PR-582:/w/workspace/gexfoundry_device-mqtt-go_PR-582:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-27T04:54:56.675Z] $ docker top 264b67dc1a07d523272b69a6bc295a1d1c8329ea9e2265477968d89aaf1682f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T04:54:57.014Z] + go version [2023-04-27T04:54:57.014Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-27T04:54:57.029Z] $ docker stop --time=1 264b67dc1a07d523272b69a6bc295a1d1c8329ea9e2265477968d89aaf1682f7 [2023-04-27T04:54:58.264Z] $ docker rm -f --volumes 264b67dc1a07d523272b69a6bc295a1d1c8329ea9e2265477968d89aaf1682f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:54:58.668Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-27T04:54:58.668Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:54:58.743Z] prd-ubuntu20.04-docker-8c-8g-11861 does not seem to be running inside a container [2023-04-27T04:54:58.774Z] $ 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-582 -v /w/workspace/gexfoundry_device-mqtt-go_PR-582:/w/workspace/gexfoundry_device-mqtt-go_PR-582:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-27T04:54:59.092Z] $ docker top e2afb07317acf18d2e62ec5868e7a92472297825dbe5804563488af13f2e9746 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T04:54:59.438Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-582 [Pipeline] fileExists [Pipeline] sh [2023-04-27T04:54:59.744Z] + make test [2023-04-27T04:54:59.744Z] go test ./... -coverprofile=coverage.out ./... [2023-04-27T04:55:05.014Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-27T04:55:11.574Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-04-27T04:55:11.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.76/internal/config/config.go:71:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal [2023-04-27T04:55:11.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.76/internal/config/config.go:72:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal [2023-04-27T04:55:11.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.76/internal/config/config.go:73:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal [2023-04-27T04:55:11.574Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.76/internal/config/config.go:74:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal [2023-04-27T04:55:14.855Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-27T04:55:14.855Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 24.6% of statements [2023-04-27T04:55:14.855Z] FAIL [2023-04-27T04:55:14.855Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-27T04:55:14.871Z] $ docker stop --time=1 e2afb07317acf18d2e62ec5868e7a92472297825dbe5804563488af13f2e9746 [2023-04-27T04:55:16.596Z] $ docker rm -f --volumes e2afb07317acf18d2e62ec5868e7a92472297825dbe5804563488af13f2e9746 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:17.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T04:55:17.196Z] [2023-04-27T04:55:17.196Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:55:17.496Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T04:55:17.496Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-27T04:55:17.496Z] 5eb5b503b376: Pulling fs layer [2023-04-27T04:55:17.496Z] 5c69ac0246d0: Pulling fs layer [2023-04-27T04:55:17.496Z] ec43610c2a17: Pulling fs layer [2023-04-27T04:55:17.496Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-27T04:55:17.496Z] 33b1e0a273af: Pulling fs layer [2023-04-27T04:55:17.496Z] 5d3b04190fa2: Pulling fs layer [2023-04-27T04:55:17.496Z] 2f39f015ded8: Pulling fs layer [2023-04-27T04:55:17.496Z] 3a2ae6a8a46f: Waiting [2023-04-27T04:55:17.496Z] 33b1e0a273af: Waiting [2023-04-27T04:55:17.496Z] 5d3b04190fa2: Waiting [2023-04-27T04:55:17.496Z] 5c69ac0246d0: Verifying Checksum [2023-04-27T04:55:17.496Z] 5c69ac0246d0: Download complete [2023-04-27T04:55:17.496Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-27T04:55:17.496Z] 3a2ae6a8a46f: Download complete [2023-04-27T04:55:17.496Z] 33b1e0a273af: Verifying Checksum [2023-04-27T04:55:17.496Z] 33b1e0a273af: Download complete [2023-04-27T04:55:17.496Z] 5d3b04190fa2: Verifying Checksum [2023-04-27T04:55:17.496Z] 5d3b04190fa2: Download complete [2023-04-27T04:55:17.496Z] ec43610c2a17: Verifying Checksum [2023-04-27T04:55:17.496Z] ec43610c2a17: Download complete [2023-04-27T04:55:17.754Z] 5eb5b503b376: Verifying Checksum [2023-04-27T04:55:17.754Z] 5eb5b503b376: Download complete [2023-04-27T04:55:18.322Z] 2f39f015ded8: Download complete [2023-04-27T04:55:18.888Z] 5eb5b503b376: Pull complete [2023-04-27T04:55:19.146Z] 5c69ac0246d0: Pull complete [2023-04-27T04:55:19.712Z] ec43610c2a17: Pull complete [2023-04-27T04:55:19.712Z] 3a2ae6a8a46f: Pull complete [2023-04-27T04:55:19.712Z] 33b1e0a273af: Pull complete [2023-04-27T04:55:19.971Z] 5d3b04190fa2: Pull complete [2023-04-27T04:55:24.159Z] 2f39f015ded8: Pull complete [2023-04-27T04:55:24.159Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-27T04:55:24.159Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T04:55:24.159Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:55:24.238Z] prd-ubuntu20.04-docker-8c-8g-11861 does not seem to be running inside a container [2023-04-27T04:55:24.271Z] $ 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-582 -v /w/workspace/gexfoundry_device-mqtt-go_PR-582:/w/workspace/gexfoundry_device-mqtt-go_PR-582:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-27T04:55:25.208Z] $ docker top 7fe1663a69f63a09da55f7313eefa404ba1d8856dfa2fdee2d86f174eeff452f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:55:25.581Z] ---> job-cost.sh [2023-04-27T04:55:25.581Z] lf-activate-venv: SKIPPING [2023-04-27T04:55:25.581Z] INFO: No Stack... [2023-04-27T04:55:25.840Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-27T04:55:26.407Z] INFO: Archiving Costs [Pipeline] sh [2023-04-27T04:55:26.693Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-582/archives/cost.csv [2023-04-27T04:55:26.694Z] + cut -d, -f6 [Pipeline] lock [2023-04-27T04:55:26.707Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-582-2-stack-cost] [2023-04-27T04:55:26.720Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-582-2-stack-cost] did not exist. Created. [2023-04-27T04:55:26.720Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-582-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-27T04:55:27.017Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-27T04:55:27.058Z] Stashed 1 file(s) [Pipeline] } [2023-04-27T04:55:27.064Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-582-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-27T04:55:27.085Z] $ docker stop --time=1 7fe1663a69f63a09da55f7313eefa404ba1d8856dfa2fdee2d86f174eeff452f [2023-04-27T04:55:28.241Z] $ docker rm -f --volumes 7fe1663a69f63a09da55f7313eefa404ba1d8856dfa2fdee2d86f174eeff452f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-27T04:55:28.335Z] Failed in branch amd64 [2023-04-27T04:57:30.387Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11864 in /w/workspace/gexfoundry_device-mqtt-go_PR-582 [Pipeline] { [Pipeline] ws [2023-04-27T04:57:30.402Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2023-04-27T04:57:30.442Z] Selected Git installation does not exist. Using Default [2023-04-27T04:57:30.442Z] The recommended git tool is: NONE [2023-04-27T04:57:37.282Z] using credential edgex-jenkins-ssh [2023-04-27T04:57:37.302Z] Cloning the remote Git repository [2023-04-27T04:57:37.363Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-27T04:57:37.499Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2023-04-27T04:57:37.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-27T04:57:37.683Z] > git --version # timeout=10 [2023-04-27T04:57:37.708Z] > git --version # 'git version 2.25.1' [2023-04-27T04:57:37.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-27T04:57:37.926Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-27T04:57:39.146Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-27T04:57:39.172Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-27T04:57:40.144Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2023-04-27T04:57:40.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2023-04-27T04:57:40.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-27T04:57:40.217Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-27T04:57:40.775Z] Merging remotes/origin/main commit 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 into PR head commit 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 [2023-04-27T04:57:41.109Z] Merge succeeded, producing 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 [2023-04-27T04:57:41.109Z] Checking out Revision 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 (PR-582) [2023-04-27T04:57:41.610Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-27T04:57:40.798Z] > git config core.sparsecheckout # timeout=10 [2023-04-27T04:57:40.891Z] > git checkout -f 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 # timeout=10 [2023-04-27T04:57:40.989Z] > git remote # timeout=10 [2023-04-27T04:57:41.007Z] > git config --get remote.origin.url # timeout=10 [2023-04-27T04:57:41.042Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-27T04:57:41.057Z] > git merge 7300f1631db8a52a6c9bbc97f1ad6792569d05b3 # timeout=10 [2023-04-27T04:57:41.089Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-27T04:57:41.114Z] > git config core.sparsecheckout # timeout=10 [2023-04-27T04:57:41.129Z] > git checkout -f 61a66b7d4fce285a8cfcda3d5bf61ca109a2b5b4 # timeout=10 [2023-04-27T04:57:42.474Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-27T04:57:42.474Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-27T04:57:42.474Z] Dload Upload Total Spent Left Speed [2023-04-27T04:57:42.474Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-04-27T04:57:43.079Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-27T04:57:43.427Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-27T04:57:43.427Z] + sudo tee /etc/docker/daemon.new [2023-04-27T04:57:43.427Z] { [2023-04-27T04:57:43.427Z] "registry-mirrors": [ [2023-04-27T04:57:43.427Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-27T04:57:43.427Z] ], [2023-04-27T04:57:43.427Z] "bip": "10.250.0.254/24", [2023-04-27T04:57:43.427Z] "hosts": [ [2023-04-27T04:57:43.427Z] "tcp://0.0.0.0:5555", [2023-04-27T04:57:43.427Z] "unix:///var/run/docker.sock" [2023-04-27T04:57:43.427Z] ], [2023-04-27T04:57:43.427Z] "mtu": 1458, [2023-04-27T04:57:43.427Z] "selinux-enabled": true, [2023-04-27T04:57:43.427Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-27T04:57:43.427Z] } [Pipeline] sh [2023-04-27T04:57:43.767Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-27T04:57:44.119Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T04:58:02.407Z] provisioning config files... [2023-04-27T04:58:02.442Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config7261294126442944253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T04:58:02.815Z] ---> docker-login.sh [2023-04-27T04:58:02.815Z] nexus3.edgexfoundry.org:10001 [2023-04-27T04:58:03.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:58:03.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:58:03.686Z] Configure a credential helper to remove this warning. See [2023-04-27T04:58:03.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:58:03.686Z] [2023-04-27T04:58:03.686Z] Login Succeeded [2023-04-27T04:58:03.686Z] nexus3.edgexfoundry.org:10002 [2023-04-27T04:58:03.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:58:03.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:58:03.958Z] Configure a credential helper to remove this warning. See [2023-04-27T04:58:03.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:58:03.959Z] [2023-04-27T04:58:03.959Z] Login Succeeded [2023-04-27T04:58:03.959Z] nexus3.edgexfoundry.org:10003 [2023-04-27T04:58:04.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:58:04.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:58:04.231Z] Configure a credential helper to remove this warning. See [2023-04-27T04:58:04.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:58:04.231Z] [2023-04-27T04:58:04.231Z] Login Succeeded [2023-04-27T04:58:04.231Z] nexus3.edgexfoundry.org:10004 [2023-04-27T04:58:04.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:58:04.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:58:04.779Z] Configure a credential helper to remove this warning. See [2023-04-27T04:58:04.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:58:04.779Z] [2023-04-27T04:58:04.779Z] Login Succeeded [2023-04-27T04:58:04.779Z] docker.io [2023-04-27T04:58:05.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-27T04:58:05.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-27T04:58:05.324Z] Configure a credential helper to remove this warning. See [2023-04-27T04:58:05.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-27T04:58:05.324Z] [2023-04-27T04:58:05.324Z] Login Succeeded [2023-04-27T04:58:05.324Z] ---> docker-login.sh ends [Pipeline] } [2023-04-27T04:58:05.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-27T04:58:05.659Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T04:58:05.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-27T04:58:05.695Z] ========================================================= [2023-04-27T04:58:05.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-27T04:58:05.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:58:06.051Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-27T04:58:06.325Z] Sending build context to Docker daemon 3.361MB [2023-04-27T04:58:06.325Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-27T04:58:06.325Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-27T04:58:06.598Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-27T04:58:06.598Z] c41833b44d91: Pulling fs layer [2023-04-27T04:58:06.598Z] ed15518f5707: Pulling fs layer [2023-04-27T04:58:06.598Z] feae8fd75edb: Pulling fs layer [2023-04-27T04:58:06.598Z] 242c74f7c9fa: Pulling fs layer [2023-04-27T04:58:06.598Z] 3cdef696dda3: Pulling fs layer [2023-04-27T04:58:06.598Z] 2ced38df9373: Pulling fs layer [2023-04-27T04:58:06.598Z] 58f1dce35555: Pulling fs layer [2023-04-27T04:58:06.598Z] 3cdef696dda3: Waiting [2023-04-27T04:58:06.598Z] 2ced38df9373: Waiting [2023-04-27T04:58:06.598Z] 58f1dce35555: Waiting [2023-04-27T04:58:06.598Z] 242c74f7c9fa: Waiting [2023-04-27T04:58:06.598Z] ed15518f5707: Download complete [2023-04-27T04:58:06.598Z] 242c74f7c9fa: Verifying Checksum [2023-04-27T04:58:06.598Z] 242c74f7c9fa: Download complete [2023-04-27T04:58:06.598Z] 3cdef696dda3: Verifying Checksum [2023-04-27T04:58:06.598Z] 3cdef696dda3: Download complete [2023-04-27T04:58:06.598Z] c41833b44d91: Verifying Checksum [2023-04-27T04:58:06.598Z] c41833b44d91: Download complete [2023-04-27T04:58:08.053Z] c41833b44d91: Pull complete [2023-04-27T04:58:08.327Z] 58f1dce35555: Verifying Checksum [2023-04-27T04:58:08.327Z] 58f1dce35555: Download complete [2023-04-27T04:58:08.603Z] ed15518f5707: Pull complete [2023-04-27T04:58:09.580Z] feae8fd75edb: Download complete [2023-04-27T04:58:09.580Z] 2ced38df9373: Verifying Checksum [2023-04-27T04:58:09.580Z] 2ced38df9373: Download complete [2023-04-27T04:58:21.940Z] feae8fd75edb: Pull complete [2023-04-27T04:58:21.940Z] 242c74f7c9fa: Pull complete [2023-04-27T04:58:21.940Z] 3cdef696dda3: Pull complete [2023-04-27T04:58:28.764Z] 2ced38df9373: Pull complete [2023-04-27T04:58:31.368Z] 58f1dce35555: Pull complete [2023-04-27T04:58:31.368Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-27T04:58:31.368Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-27T04:58:31.368Z] ---> fadd8f120f05 [2023-04-27T04:58:31.368Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-27T04:58:33.333Z] ---> Running in e699b454e8a2 [2023-04-27T04:58:33.602Z] Removing intermediate container e699b454e8a2 [2023-04-27T04:58:33.602Z] ---> c3ff0d5b6a78 [2023-04-27T04:58:33.602Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-27T04:58:33.602Z] ---> Running in 8921d58f6f61 [2023-04-27T04:58:33.874Z] Removing intermediate container 8921d58f6f61 [2023-04-27T04:58:33.874Z] ---> 32fb5cc34747 [2023-04-27T04:58:33.874Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-27T04:58:34.143Z] ---> Running in 0f06ba5c54c0 [2023-04-27T04:58:34.413Z] Removing intermediate container 0f06ba5c54c0 [2023-04-27T04:58:34.413Z] ---> 4ada29bbba12 [2023-04-27T04:58:34.413Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-27T04:58:34.413Z] ---> Running in e3148f839395 [2023-04-27T04:58:34.681Z] Removing intermediate container e3148f839395 [2023-04-27T04:58:34.681Z] ---> aa9538220da0 [2023-04-27T04:58:34.681Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-27T04:58:34.951Z] ---> Running in ed0711779819 [2023-04-27T04:58:36.372Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-27T04:58:36.639Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-27T04:58:38.061Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-27T04:58:38.061Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-27T04:58:38.061Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-27T04:58:38.061Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-27T04:58:38.061Z] Executing busybox-1.35.0-r29.trigger [2023-04-27T04:58:38.061Z] OK: 268 MiB in 57 packages [2023-04-27T04:58:40.664Z] Removing intermediate container ed0711779819 [2023-04-27T04:58:40.664Z] ---> fbc4b06f4ebe [2023-04-27T04:58:40.664Z] Step 8/12 : WORKDIR /device-mqtt-go [2023-04-27T04:58:40.664Z] ---> Running in 2f0651274c6e [2023-04-27T04:58:40.935Z] Removing intermediate container 2f0651274c6e [2023-04-27T04:58:40.935Z] ---> 147f045ec7aa [2023-04-27T04:58:40.935Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-27T04:58:41.533Z] ---> 2f1de8d5ed84 [2023-04-27T04:58:41.533Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-27T04:58:41.533Z] ---> Running in f87f8103c0e7 [2023-04-27T04:59:49.462Z] Removing intermediate container f87f8103c0e7 [2023-04-27T04:59:49.462Z] ---> a1040c582590 [2023-04-27T04:59:49.462Z] Step 11/12 : COPY . . [2023-04-27T04:59:49.462Z] ---> 237ffa276bef [2023-04-27T04:59:49.462Z] Step 12/12 : RUN $MAKE [2023-04-27T04:59:49.462Z] ---> Running in 87e6bd1e0b57 [2023-04-27T04:59:49.462Z] noop [2023-04-27T04:59:49.462Z] Removing intermediate container 87e6bd1e0b57 [2023-04-27T04:59:49.462Z] ---> 8b0a3ac89a2b [2023-04-27T04:59:49.462Z] Successfully built 8b0a3ac89a2b [2023-04-27T04:59:49.462Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:59:49.837Z] + docker inspect -f . ci-base-image-arm64 [2023-04-27T04:59:49.837Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:59:50.071Z] prd-ubuntu20.04-docker-arm64-4c-16g-11864 does not seem to be running inside a container [2023-04-27T04:59:50.142Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-27T04:59:51.341Z] $ docker top 58eb13d78a06e15ba81843d7af85fff70177405dfd01bbeabbfa94a4145dcac4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T04:59:52.188Z] + go version [2023-04-27T04:59:52.188Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-27T04:59:52.210Z] $ docker stop --time=1 58eb13d78a06e15ba81843d7af85fff70177405dfd01bbeabbfa94a4145dcac4 [2023-04-27T04:59:53.859Z] $ docker rm -f --volumes 58eb13d78a06e15ba81843d7af85fff70177405dfd01bbeabbfa94a4145dcac4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T04:59:54.407Z] + docker inspect -f . ci-base-image-arm64 [2023-04-27T04:59:54.407Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T04:59:54.600Z] prd-ubuntu20.04-docker-arm64-4c-16g-11864 does not seem to be running inside a container [2023-04-27T04:59:54.675Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-27T04:59:55.930Z] $ docker top 91059f526984bce8933bb316ac66a387496934ce3df02b6826e2fe81269e3e72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T04:59:56.787Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-27T04:59:57.446Z] + make test [2023-04-27T04:59:57.446Z] go test ./... -coverprofile=coverage.out ./... [2023-04-27T05:00:37.360Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2023-04-27T05:01:45.259Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/config [2023-04-27T05:01:45.259Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.76/internal/config/config.go:71:15: cannot use c.Clients (variable of type map[string]"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ClientsCollection value in struct literal [2023-04-27T05:01:45.259Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.76/internal/config/config.go:72:15: cannot use c.Service (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo value in struct literal [2023-04-27T05:01:45.259Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.76/internal/config/config.go:73:15: cannot use c.Registry (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".RegistryInfo value in struct literal [2023-04-27T05:01:45.259Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.76/internal/config/config.go:74:15: cannot use c.MessageBus (variable of type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo) as *"github.com/edgexfoundry/go-mod-bootstrap/v3/config".MessageBusInfo value in struct literal [2023-04-27T05:02:53.158Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2023-04-27T05:02:53.158Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 24.6% of statements [2023-04-27T05:02:53.158Z] FAIL [2023-04-27T05:02:53.158Z] make: *** [Makefile:30: unittest] Error 1 [Pipeline] } [2023-04-27T05:02:53.177Z] $ docker stop --time=1 91059f526984bce8933bb316ac66a387496934ce3df02b6826e2fe81269e3e72 [2023-04-27T05:02:55.029Z] $ docker rm -f --volumes 91059f526984bce8933bb316ac66a387496934ce3df02b6826e2fe81269e3e72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:02:56.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-27T05:02:56.277Z] [2023-04-27T05:02:56.277Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:02:56.623Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-27T05:02:56.623Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-27T05:02:56.623Z] 8998bd30e6a1: Pulling fs layer [2023-04-27T05:02:56.623Z] 04944245beec: Pulling fs layer [2023-04-27T05:02:56.623Z] 699f458cf7ca: Pulling fs layer [2023-04-27T05:02:56.623Z] 765212b225bb: Pulling fs layer [2023-04-27T05:02:56.623Z] 765212b225bb: Waiting [2023-04-27T05:02:56.623Z] f23df028b6ca: Pulling fs layer [2023-04-27T05:02:56.623Z] d65c8cfc05b1: Pulling fs layer [2023-04-27T05:02:56.623Z] f23df028b6ca: Waiting [2023-04-27T05:02:56.623Z] 2437ff75d9bd: Pulling fs layer [2023-04-27T05:02:56.623Z] d65c8cfc05b1: Waiting [2023-04-27T05:02:56.623Z] 2437ff75d9bd: Waiting [2023-04-27T05:02:56.892Z] 04944245beec: Verifying Checksum [2023-04-27T05:02:56.892Z] 04944245beec: Download complete [2023-04-27T05:02:56.892Z] 765212b225bb: Verifying Checksum [2023-04-27T05:02:56.892Z] 765212b225bb: Download complete [2023-04-27T05:02:56.892Z] f23df028b6ca: Download complete [2023-04-27T05:02:56.892Z] d65c8cfc05b1: Verifying Checksum [2023-04-27T05:02:56.892Z] d65c8cfc05b1: Download complete [2023-04-27T05:02:57.161Z] 699f458cf7ca: Verifying Checksum [2023-04-27T05:02:57.161Z] 699f458cf7ca: Download complete [2023-04-27T05:02:57.431Z] 8998bd30e6a1: Verifying Checksum [2023-04-27T05:02:57.431Z] 8998bd30e6a1: Download complete [2023-04-27T05:02:59.383Z] 2437ff75d9bd: Verifying Checksum [2023-04-27T05:02:59.383Z] 2437ff75d9bd: Download complete [2023-04-27T05:03:01.330Z] 8998bd30e6a1: Pull complete [2023-04-27T05:03:01.598Z] 04944245beec: Pull complete [2023-04-27T05:03:03.012Z] 699f458cf7ca: Pull complete [2023-04-27T05:03:03.012Z] 765212b225bb: Pull complete [2023-04-27T05:03:03.600Z] f23df028b6ca: Pull complete [2023-04-27T05:03:03.867Z] d65c8cfc05b1: Pull complete [2023-04-27T05:03:22.099Z] 2437ff75d9bd: Pull complete [2023-04-27T05:03:22.099Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-27T05:03:22.099Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-27T05:03:22.099Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T05:03:22.309Z] prd-ubuntu20.04-docker-arm64-4c-16g-11864 does not seem to be running inside a container [2023-04-27T05:03:22.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-27T05:03:25.311Z] $ docker top 8d5737d4735b02072e397dec16208beee42db9d205d81b4e120851e1a6c94404 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:03:26.182Z] ---> job-cost.sh [2023-04-27T05:03:26.182Z] lf-activate-venv: SKIPPING [2023-04-27T05:03:26.182Z] INFO: No Stack... [2023-04-27T05:03:26.768Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-27T05:03:27.351Z] INFO: Archiving Costs [Pipeline] sh [2023-04-27T05:03:27.994Z] + cat+ /w/workspace/device-mqtt-go/2/archives/cost.csv [2023-04-27T05:03:27.994Z] cut -d, -f6 [Pipeline] lock [2023-04-27T05:03:28.082Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-582-2-stack-cost] [2023-04-27T05:03:28.093Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-582-2-stack-cost] did not exist. Created. [2023-04-27T05:03:28.093Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-582-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-27T05:03:28.765Z] /w/workspace/device-mqtt-go/2@tmp/durable-cdb9862c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-27T05:03:29.433Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-27T05:03:29.455Z] Warning: overwriting stash ‘stack-cost’ [2023-04-27T05:03:29.980Z] Stashed 1 file(s) [Pipeline] } [2023-04-27T05:03:29.989Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-582-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-27T05:03:30.004Z] $ docker stop --time=1 8d5737d4735b02072e397dec16208beee42db9d205d81b4e120851e1a6c94404 [2023-04-27T05:03:31.551Z] $ docker rm -f --volumes 8d5737d4735b02072e397dec16208beee42db9d205d81b4e120851e1a6c94404 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-27T05:03:31.828Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-04-27T05:03:32.522Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-582/archives ] [2023-04-27T05:03:32.522Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-582/archives [2023-04-27T05:03:32.522Z] total 16 [2023-04-27T05:03:32.522Z] drwxr-xr-x 3 root root 4096 Apr 27 04:55 . [2023-04-27T05:03:32.522Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:55 .. [2023-04-27T05:03:32.522Z] drwxr-xr-x 2 root root 4096 Apr 27 04:55 cost [2023-04-27T05:03:32.522Z] -rw-r--r-- 1 root root 86 Apr 27 04:55 cost.csv [2023-04-27T05:03:32.522Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-582/archives [2023-04-27T05:03:32.522Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-582/archives [2023-04-27T05:03:32.522Z] total 16 [2023-04-27T05:03:32.522Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:55 . [2023-04-27T05:03:32.522Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:55 .. [2023-04-27T05:03:32.522Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:55 cost [2023-04-27T05:03:32.522Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 27 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:03:32.818Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:03:33.680Z] ---> package-listing.sh [2023-04-27T05:03:33.680Z] ++ facter osfamily [2023-04-27T05:03:33.680Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-27T05:03:33.940Z] + OS_FAMILY=debian [2023-04-27T05:03:33.940Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-582 [2023-04-27T05:03:33.940Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-27T05:03:33.940Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-27T05:03:33.940Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-27T05:03:33.940Z] + PACKAGES=/tmp/packages_start.txt [2023-04-27T05:03:33.940Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-582 ']' [2023-04-27T05:03:33.940Z] + PACKAGES=/tmp/packages_end.txt [2023-04-27T05:03:33.940Z] + case "${OS_FAMILY}" in [2023-04-27T05:03:33.940Z] + dpkg -l [2023-04-27T05:03:33.940Z] + grep '^ii' [2023-04-27T05:03:33.940Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-27T05:03:33.940Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-27T05:03:33.940Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-27T05:03:33.940Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-582 ']' [2023-04-27T05:03:33.940Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-582/archives/ [2023-04-27T05:03:33.940Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-582/archives/ [Pipeline] echo [2023-04-27T05:03:33.951Z] 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-582/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-27T05:03:34.228Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-27T05:03:34.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-27T05:03:34.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-27T05:03:34.847Z] prd-ubuntu20.04-docker-8c-8g-11861 does not seem to be running inside a container [2023-04-27T05:03:34.878Z] $ 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-582/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-582 -v /w/workspace/gexfoundry_device-mqtt-go_PR-582:/w/workspace/gexfoundry_device-mqtt-go_PR-582:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-582@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 [2023-04-27T05:03:35.178Z] $ docker top fd3d8f73493b3ad655048ae4b430a5864f0e380ae1b5085b7386c963eccd8a6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-27T05:03:35.513Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-27T05:03:35.799Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-27T05:03:36.085Z] + ls /var/log/sa-host [2023-04-27T05:03:36.085Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-27T05:03:36.224Z] provisioning config files... [2023-04-27T05:03:36.233Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-582@tmp/config13479539613581347636tmp [Pipeline] { [Pipeline] echo [2023-04-27T05:03:36.247Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:03:36.529Z] ---> create-netrc.sh [Pipeline] } [2023-04-27T05:03:36.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:03:36.868Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-27T05:03:36.876Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:03:37.161Z] ---> sudo-logs.sh [2023-04-27T05:03:37.161Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-27T05:03:37.186Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:03:37.473Z] ---> job-cost.sh [2023-04-27T05:03:37.473Z] lf-activate-venv: SKIPPING [2023-04-27T05:03:37.473Z] DEBUG: total: 0.2199999988079071 [2023-04-27T05:03:37.473Z] INFO: Retrieving Stack Cost... [2023-04-27T05:03:37.732Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-27T05:03:37.990Z] INFO: Archiving Costs [Pipeline] echo [2023-04-27T05:03:38.002Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-27T05:03:38.283Z] ---> logs-deploy.sh [2023-04-27T05:03:38.284Z] lf-activate-venv: SKIPPING [2023-04-27T05:03:38.284Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-582/2 [2023-04-27T05:03:38.284Z] INFO: archiving workspace using pattern(s): [2023-04-27T05:03:39.230Z] Archives upload complete. [2023-04-27T05:03:39.230Z] INFO: archiving logs to Nexus