Pull request #695 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 37575170a0923cb9d0ee57faf1b6d191fd764e42+a7ea162f49cc88b1fd5543c209327df7c238676c (2ea56dcbb79c83c3501f933a259f7dbb7202391a) 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-ssh4014885812934100438.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh4968642256414365579.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-695/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-695/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18400171756106879098.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-695/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8698071644380151455.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1012497095604510215.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-695/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-695/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2678945737513923888.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13063 in /w/workspace/gexfoundry_device-mqtt-go_PR-695 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-695 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit 37575170a0923cb9d0ee57faf1b6d191fd764e42 Merge succeeded, producing 37575170a0923cb9d0ee57faf1b6d191fd764e42 Checking out Revision 37575170a0923cb9d0ee57faf1b6d191fd764e42 (PR-695) > 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/695/head:refs/remotes/origin/PR-695 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37575170a0923cb9d0ee57faf1b6d191fd764e42 # 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 a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37575170a0923cb9d0ee57faf1b6d191fd764e42 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-03T01:41:29.319Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-03T01:41:29.569Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-03T01:41:29.691Z] ========================================================= [2024-10-03T01:41:29.691Z] EdgeX Global Pipelines Version Info [2024-10-03T01:41:29.691Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:41:30.460Z] ------------------- [2024-10-03T01:41:30.460Z] stable info: [2024-10-03T01:41:30.460Z] ------------------- [2024-10-03T01:41:30.460Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T01:41:30.460Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T01:41:30.460Z] Message: update stable to v1.0.264 [2024-10-03T01:41:31.032Z] ------------------- [2024-10-03T01:41:31.032Z] experimental info: [2024-10-03T01:41:31.032Z] ------------------- [2024-10-03T01:41:31.032Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T01:41:31.032Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T01:41:31.032Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-03T01:41:31.279Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-10-03T01:41:31.343Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-10-03T01:41:31.406Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-03T01:41:31.471Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-03T01:41:31.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-03T01:41:31.596Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-10-03T01:41:31.667Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-03T01:41:31.729Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-03T01:41:31.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-03T01:41:31.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-03T01:41:31.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-03T01:41:31.986Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-10-03T01:41:32.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-03T01:41:32.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-03T01:41:32.168Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T01:41:32.233Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T01:41:32.292Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T01:41:32.341Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T01:41:32.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-03T01:41:32.442Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-03T01:41:32.501Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-03T01:41:32.559Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-03T01:41:32.614Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-03T01:41:32.673Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-03T01:41:32.720Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-03T01:41:32.770Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-03T01:41:32.830Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-03T01:41:32.885Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-695 [Pipeline] echo [2024-10-03T01:41:32.944Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-695 [Pipeline] echo [2024-10-03T01:41:33.008Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-695 [Pipeline] echo [2024-10-03T01:41:33.065Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37575170a0923cb9d0ee57faf1b6d191fd764e42 [Pipeline] echo [2024-10-03T01:41:33.123Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3757517 [Pipeline] echo [2024-10-03T01:41:33.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T01:41:33.564Z] provisioning config files... [2024-10-03T01:41:33.579Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp/config17561385039067811594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:41:33.977Z] ---> ****-login.sh [2024-10-03T01:41:33.977Z] nexus3.edgexfoundry.org:10001 [2024-10-03T01:41:34.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:34.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:34.238Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:34.238Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:34.238Z] [2024-10-03T01:41:34.238Z] Login Succeeded [2024-10-03T01:41:34.238Z] nexus3.edgexfoundry.org:10002 [2024-10-03T01:41:34.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:34.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:34.497Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:34.497Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:34.497Z] [2024-10-03T01:41:34.497Z] Login Succeeded [2024-10-03T01:41:34.497Z] nexus3.edgexfoundry.org:10003 [2024-10-03T01:41:34.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:34.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:34.497Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:34.497Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:34.497Z] [2024-10-03T01:41:34.497Z] Login Succeeded [2024-10-03T01:41:34.497Z] nexus3.edgexfoundry.org:10004 [2024-10-03T01:41:34.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:34.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:34.758Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:34.758Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:34.758Z] [2024-10-03T01:41:34.758Z] Login Succeeded [2024-10-03T01:41:34.758Z] ****.io [2024-10-03T01:41:34.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:35.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:35.020Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:35.020Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:35.020Z] [2024-10-03T01:41:35.020Z] Login Succeeded [2024-10-03T01:41:35.020Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T01:41:35.053Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-03T01:41:35.771Z] + git rev-list -1 --merges 37575170a0923cb9d0ee57faf1b6d191fd764e42~1..37575170a0923cb9d0ee57faf1b6d191fd764e42 [Pipeline] echo [2024-10-03T01:41:35.841Z] -----------> git rev-list -1 --merges 37575170a0923cb9d0ee57faf1b6d191fd764e42~1..37575170a0923cb9d0ee57faf1b6d191fd764e42 37575170a0923cb9d0ee57faf1b6d191fd764e42 [false] [Pipeline] sh [2024-10-03T01:41:36.169Z] + git log --format=format:%s -1 37575170a0923cb9d0ee57faf1b6d191fd764e42 [Pipeline] echo [2024-10-03T01:41:36.222Z] ========================================================= [2024-10-03T01:41:36.222Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-03T01:41:36.222Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T01:41:36.680Z] + git log --format=format:%s -1 37575170a0923cb9d0ee57faf1b6d191fd764e42 [Pipeline] echo [2024-10-03T01:41:36.718Z] [semverPrep] GIT_COMMIT: 37575170a0923cb9d0ee57faf1b6d191fd764e42, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-03T01:41:36.764Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-03T01:41:37.199Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-03T01:41:37.199Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-03T01:41:37.199Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-03T01:41:37.199Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-03T01:41:37.199Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-03T01:41:37.199Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-03T01:41:37.199Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:41:37.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T01:41:37.708Z] [2024-10-03T01:41:37.708Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:41:38.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T01:41:38.131Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-03T01:41:38.131Z] b85a868b505f: Pulling fs layer [2024-10-03T01:41:38.131Z] e2be974225ed: Pulling fs layer [2024-10-03T01:41:38.131Z] 339a4e72a1f5: Pulling fs layer [2024-10-03T01:41:38.131Z] 988bab9f4d93: Pulling fs layer [2024-10-03T01:41:38.131Z] 1469e6f7b9e6: Pulling fs layer [2024-10-03T01:41:38.131Z] eaf3925da568: Pulling fs layer [2024-10-03T01:41:38.131Z] bab4dde63d76: Pulling fs layer [2024-10-03T01:41:38.131Z] bde34c3a00c8: Pulling fs layer [2024-10-03T01:41:38.131Z] b352a97aabf1: Pulling fs layer [2024-10-03T01:41:38.131Z] 4872d77fe225: Pulling fs layer [2024-10-03T01:41:38.131Z] 5851b861e8e6: Pulling fs layer [2024-10-03T01:41:38.131Z] eaf3925da568: Waiting [2024-10-03T01:41:38.131Z] bab4dde63d76: Waiting [2024-10-03T01:41:38.131Z] bde34c3a00c8: Waiting [2024-10-03T01:41:38.131Z] 5851b861e8e6: Waiting [2024-10-03T01:41:38.131Z] b352a97aabf1: Waiting [2024-10-03T01:41:38.131Z] 4872d77fe225: Waiting [2024-10-03T01:41:38.131Z] 988bab9f4d93: Waiting [2024-10-03T01:41:38.131Z] 1469e6f7b9e6: Waiting [2024-10-03T01:41:38.131Z] e2be974225ed: Verifying Checksum [2024-10-03T01:41:38.131Z] e2be974225ed: Download complete [2024-10-03T01:41:38.131Z] 988bab9f4d93: Verifying Checksum [2024-10-03T01:41:38.131Z] 988bab9f4d93: Download complete [2024-10-03T01:41:38.131Z] 1469e6f7b9e6: Verifying Checksum [2024-10-03T01:41:38.131Z] 1469e6f7b9e6: Download complete [2024-10-03T01:41:38.131Z] eaf3925da568: Verifying Checksum [2024-10-03T01:41:38.131Z] eaf3925da568: Download complete [2024-10-03T01:41:38.131Z] 339a4e72a1f5: Verifying Checksum [2024-10-03T01:41:38.131Z] 339a4e72a1f5: Download complete [2024-10-03T01:41:38.391Z] bde34c3a00c8: Download complete [2024-10-03T01:41:38.391Z] b352a97aabf1: Download complete [2024-10-03T01:41:38.391Z] 4872d77fe225: Download complete [2024-10-03T01:41:38.391Z] 5851b861e8e6: Download complete [2024-10-03T01:41:38.391Z] b85a868b505f: Verifying Checksum [2024-10-03T01:41:38.391Z] b85a868b505f: Download complete [2024-10-03T01:41:38.652Z] bab4dde63d76: Verifying Checksum [2024-10-03T01:41:38.652Z] bab4dde63d76: Download complete [2024-10-03T01:41:39.592Z] b85a868b505f: Pull complete [2024-10-03T01:41:39.852Z] e2be974225ed: Pull complete [2024-10-03T01:41:40.422Z] 339a4e72a1f5: Pull complete [2024-10-03T01:41:40.422Z] 988bab9f4d93: Pull complete [2024-10-03T01:41:40.688Z] 1469e6f7b9e6: Pull complete [2024-10-03T01:41:40.688Z] eaf3925da568: Pull complete [2024-10-03T01:41:42.593Z] bab4dde63d76: Pull complete [2024-10-03T01:41:42.593Z] bde34c3a00c8: Pull complete [2024-10-03T01:41:42.593Z] b352a97aabf1: Pull complete [2024-10-03T01:41:42.593Z] 4872d77fe225: Pull complete [2024-10-03T01:41:42.593Z] 5851b861e8e6: Pull complete [2024-10-03T01:41:42.859Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-03T01:41:42.859Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T01:41:42.859Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:41:43.148Z] prd-ubuntu20.04-docker-8c-8g-13063 does not seem to be running inside a container [2024-10-03T01:41:43.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-695 -v /w/workspace/gexfoundry_device-mqtt-go_PR-695:/w/workspace/gexfoundry_device-mqtt-go_PR-695:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-03T01:41:46.098Z] $ docker top df389fff17533da6ea6c912b5fa4fdf195018a5d9076f6f68890948f728d01cd -eo pid,comm [2024-10-03T01:41:46.158Z] 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). [2024-10-03T01:41:46.158Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-03T01:41:46.345Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T01:41:46.345Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T01:41:46.470Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T01:41:46.470Z] $ docker exec df389fff17533da6ea6c912b5fa4fdf195018a5d9076f6f68890948f728d01cd ssh-agent [2024-10-03T01:41:46.586Z] SSH_AUTH_SOCK=/tmp/ssh-IUXu4tQJgJVm/agent.32 [2024-10-03T01:41:46.586Z] SSH_AGENT_PID=38 [2024-10-03T01:41:46.594Z] Running ssh-add (command line suppressed) [2024-10-03T01:41:46.685Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp/private_key_4342752207924835676.key (/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp/private_key_4342752207924835676.key) [2024-10-03T01:41:46.702Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T01:41:47.055Z] + git tag --points-at HEAD [Pipeline] } [2024-10-03T01:41:47.083Z] $ docker exec --env ******** --env ******** df389fff17533da6ea6c912b5fa4fdf195018a5d9076f6f68890948f728d01cd ssh-agent -k [2024-10-03T01:41:47.192Z] unset SSH_AUTH_SOCK; [2024-10-03T01:41:47.193Z] unset SSH_AGENT_PID; [2024-10-03T01:41:47.193Z] echo Agent pid 38 killed; [2024-10-03T01:41:47.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-03T01:41:47.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T01:41:47.323Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T01:41:47.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T01:41:47.439Z] $ docker exec df389fff17533da6ea6c912b5fa4fdf195018a5d9076f6f68890948f728d01cd ssh-agent [2024-10-03T01:41:47.542Z] SSH_AUTH_SOCK=/tmp/ssh-Fb1pvQhUkE9p/agent.71 [2024-10-03T01:41:47.542Z] SSH_AGENT_PID=77 [2024-10-03T01:41:47.547Z] Running ssh-add (command line suppressed) [2024-10-03T01:41:47.669Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp/private_key_18154567559708159258.key (/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp/private_key_18154567559708159258.key) [2024-10-03T01:41:47.685Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T01:41:48.045Z] + git semver init [2024-10-03T01:41:48.305Z] 2024-10-03 01:41:48,235 [run_init] DEBUG init version:0.0.0 force:False [2024-10-03T01:41:48.305Z] 2024-10-03 01:41:48,236 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-695/.semver [2024-10-03T01:41:48.305Z] 2024-10-03 01:41:48,236 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-695/.semver [2024-10-03T01:41:48.306Z] 2024-10-03 01:41:48,236 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-695/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-695, universal_newlines=False, shell=None, istream=None) [2024-10-03T01:41:50.229Z] 2024-10-03 01:41:49,962 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-695/.git/info/exclude [2024-10-03T01:41:50.229Z] 2024-10-03 01:41:49,963 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-695/.semver/PR-695 with force:False [2024-10-03T01:41:50.229Z] 2024-10-03 01:41:49,963 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-695/.semver/PR-695 [2024-10-03T01:41:50.229Z] 2024-10-03 01:41:49,968 [execute] INFO git cat-file --batch-check [2024-10-03T01:41:50.229Z] 2024-10-03 01:41:49,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-695/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T01:41:50.229Z] 2024-10-03 01:41:49,973 [execute] INFO git cat-file --batch [2024-10-03T01:41:50.229Z] 2024-10-03 01:41:49,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-695/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T01:41:50.229Z] 2024-10-03 01:41:49,978 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-695/.semver/PR-695 [2024-10-03T01:41:50.229Z] 0.0.0 [Pipeline] } [2024-10-03T01:41:50.257Z] $ docker exec --env ******** --env ******** df389fff17533da6ea6c912b5fa4fdf195018a5d9076f6f68890948f728d01cd ssh-agent -k [2024-10-03T01:41:50.348Z] unset SSH_AUTH_SOCK; [2024-10-03T01:41:50.348Z] unset SSH_AGENT_PID; [2024-10-03T01:41:50.348Z] echo Agent pid 77 killed; [2024-10-03T01:41:50.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-03T01:41:50.828Z] + git semver [Pipeline] } [2024-10-03T01:41:51.118Z] $ docker stop --time=1 df389fff17533da6ea6c912b5fa4fdf195018a5d9076f6f68890948f728d01cd [2024-10-03T01:41:52.427Z] $ docker rm -f --volumes df389fff17533da6ea6c912b5fa4fdf195018a5d9076f6f68890948f728d01cd [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-03T01:41:52.857Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-03T01:41:53.154Z] Stashed 1 file(s) [Pipeline] echo [2024-10-03T01:41:53.176Z] [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 [2024-10-03T01:41:54.327Z] provisioning config files... [2024-10-03T01:41:54.336Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp/config8858922921575854348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:41:54.712Z] ---> ****-login.sh [2024-10-03T01:41:54.712Z] nexus3.edgexfoundry.org:10001 [2024-10-03T01:41:54.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:54.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:54.712Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:54.712Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:54.712Z] [2024-10-03T01:41:54.712Z] Login Succeeded [2024-10-03T01:41:54.712Z] nexus3.edgexfoundry.org:10002 [2024-10-03T01:41:54.712Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:54.713Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:54.713Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:54.713Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:54.713Z] [2024-10-03T01:41:54.713Z] Login Succeeded [2024-10-03T01:41:54.713Z] nexus3.edgexfoundry.org:10003 [2024-10-03T01:41:54.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:54.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:54.971Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:54.972Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:54.972Z] [2024-10-03T01:41:54.972Z] Login Succeeded [2024-10-03T01:41:54.972Z] nexus3.edgexfoundry.org:10004 [2024-10-03T01:41:54.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:54.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:54.972Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:54.972Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:54.972Z] [2024-10-03T01:41:54.972Z] Login Succeeded [2024-10-03T01:41:54.972Z] ****.io [2024-10-03T01:41:55.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:41:55.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:41:55.235Z] Configure a credential helper to remove this warning. See [2024-10-03T01:41:55.235Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:41:55.235Z] [2024-10-03T01:41:55.235Z] Login Succeeded [2024-10-03T01:41:55.235Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T01:41:55.270Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-03T01:41:55.532Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T01:41:55.590Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T01:41:55.632Z] ========================================================= [2024-10-03T01:41:55.632Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-10-03T01:41:55.632Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:41:56.167Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-03T01:41:56.167Z] Sending build context to Docker daemon 20.86MB [2024-10-03T01:41:56.167Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-03T01:41:56.167Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-03T01:41:56.433Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-03T01:41:56.434Z] 619be1103602: Pulling fs layer [2024-10-03T01:41:56.434Z] 7862e08f4a3e: Pulling fs layer [2024-10-03T01:41:56.434Z] 5df492c9dc93: Pulling fs layer [2024-10-03T01:41:56.434Z] 7629e6793208: Pulling fs layer [2024-10-03T01:41:56.434Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T01:41:56.434Z] fb5054dd5b73: Pulling fs layer [2024-10-03T01:41:56.434Z] eeca6798cff9: Pulling fs layer [2024-10-03T01:41:56.434Z] aa269ceb94a6: Pulling fs layer [2024-10-03T01:41:56.434Z] ada007ff1a6a: Pulling fs layer [2024-10-03T01:41:56.434Z] fb5054dd5b73: Waiting [2024-10-03T01:41:56.434Z] 7629e6793208: Waiting [2024-10-03T01:41:56.434Z] 4f4fb700ef54: Waiting [2024-10-03T01:41:56.434Z] eeca6798cff9: Waiting [2024-10-03T01:41:56.434Z] aa269ceb94a6: Waiting [2024-10-03T01:41:56.434Z] ada007ff1a6a: Waiting [2024-10-03T01:41:56.434Z] 7862e08f4a3e: Verifying Checksum [2024-10-03T01:41:56.434Z] 7862e08f4a3e: Download complete [2024-10-03T01:41:56.434Z] 7629e6793208: Download complete [2024-10-03T01:41:56.434Z] 4f4fb700ef54: Download complete [2024-10-03T01:41:56.434Z] fb5054dd5b73: Verifying Checksum [2024-10-03T01:41:56.434Z] fb5054dd5b73: Download complete [2024-10-03T01:41:56.434Z] 619be1103602: Download complete [2024-10-03T01:41:56.434Z] eeca6798cff9: Verifying Checksum [2024-10-03T01:41:56.434Z] eeca6798cff9: Download complete [2024-10-03T01:41:56.693Z] 619be1103602: Pull complete [2024-10-03T01:41:56.693Z] ada007ff1a6a: Verifying Checksum [2024-10-03T01:41:56.693Z] ada007ff1a6a: Download complete [2024-10-03T01:41:56.693Z] 7862e08f4a3e: Pull complete [2024-10-03T01:41:56.954Z] 5df492c9dc93: Verifying Checksum [2024-10-03T01:41:56.954Z] 5df492c9dc93: Download complete [2024-10-03T01:41:57.214Z] aa269ceb94a6: Verifying Checksum [2024-10-03T01:41:57.214Z] aa269ceb94a6: Download complete [2024-10-03T01:41:59.744Z] 5df492c9dc93: Pull complete [2024-10-03T01:42:00.005Z] 7629e6793208: Pull complete [2024-10-03T01:42:00.005Z] 4f4fb700ef54: Pull complete [2024-10-03T01:42:00.005Z] fb5054dd5b73: Pull complete [2024-10-03T01:42:00.265Z] eeca6798cff9: Pull complete [2024-10-03T01:42:02.796Z] aa269ceb94a6: Pull complete [2024-10-03T01:42:03.363Z] ada007ff1a6a: Pull complete [2024-10-03T01:42:03.363Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-10-03T01:42:03.363Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-10-03T01:42:03.363Z] ---> f489d0715acc [2024-10-03T01:42:03.363Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-03T01:42:09.036Z] Still waiting to schedule task [2024-10-03T01:42:09.036Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-13061’ [2024-10-03T01:42:11.498Z] ---> Running in 95f623753f63 [2024-10-03T01:42:11.498Z] Removing intermediate container 95f623753f63 [2024-10-03T01:42:11.498Z] ---> 49113b970f10 [2024-10-03T01:42:11.498Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-03T01:42:11.498Z] ---> Running in 25a6e38d457a [2024-10-03T01:42:11.498Z] Removing intermediate container 25a6e38d457a [2024-10-03T01:42:11.498Z] ---> 84aa5e86eec4 [2024-10-03T01:42:11.498Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-03T01:42:11.498Z] ---> Running in dbb42e03c5b5 [2024-10-03T01:42:11.498Z] Removing intermediate container dbb42e03c5b5 [2024-10-03T01:42:11.498Z] ---> 3a72bb9a381b [2024-10-03T01:42:11.498Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-03T01:42:11.498Z] ---> Running in 2dc820273122 [2024-10-03T01:42:11.498Z] Removing intermediate container 2dc820273122 [2024-10-03T01:42:11.498Z] ---> 03980ef1f8c7 [2024-10-03T01:42:11.498Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-03T01:42:11.498Z] ---> Running in d4c3dca7ff08 [2024-10-03T01:42:11.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-03T01:42:11.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-03T01:42:11.758Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-10-03T01:42:11.758Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-10-03T01:42:11.758Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-10-03T01:42:11.758Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-10-03T01:42:11.758Z] Executing busybox-1.36.1-r5.trigger [2024-10-03T01:42:11.758Z] OK: 268 MiB in 56 packages [2024-10-03T01:42:12.327Z] Removing intermediate container d4c3dca7ff08 [2024-10-03T01:42:12.327Z] ---> eaa6b34a1ff7 [2024-10-03T01:42:12.327Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-03T01:42:12.327Z] ---> Running in 5b94eb65ac89 [2024-10-03T01:42:12.327Z] Removing intermediate container 5b94eb65ac89 [2024-10-03T01:42:12.327Z] ---> d13bbdf3bca1 [2024-10-03T01:42:12.327Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-03T01:42:12.586Z] ---> 94c5e15cd5ae [2024-10-03T01:42:12.586Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T01:42:12.586Z] ---> Running in d0cb3b9e6648 [2024-10-03T01:43:34.071Z] Removing intermediate container d0cb3b9e6648 [2024-10-03T01:43:34.071Z] ---> be7ef5f8e3f0 [2024-10-03T01:43:34.071Z] Step 11/12 : COPY . . [2024-10-03T01:43:34.071Z] ---> 370408e8a6f1 [2024-10-03T01:43:34.071Z] Step 12/12 : RUN $MAKE [2024-10-03T01:43:34.071Z] ---> Running in 0c73fdec5332 [2024-10-03T01:43:34.071Z] noop [2024-10-03T01:43:34.071Z] Removing intermediate container 0c73fdec5332 [2024-10-03T01:43:34.071Z] ---> 862b2442c6ff [2024-10-03T01:43:34.071Z] Successfully built 862b2442c6ff [2024-10-03T01:43:34.071Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:43:34.574Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T01:43:34.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:43:34.765Z] prd-ubuntu20.04-docker-8c-8g-13063 does not seem to be running inside a container [2024-10-03T01:43:34.798Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-695 -v /w/workspace/gexfoundry_device-mqtt-go_PR-695:/w/workspace/gexfoundry_device-mqtt-go_PR-695:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-03T01:43:35.142Z] $ docker top c77dc5c068354b711e32900cd11e1253b60330c899552c16f47dc4cbb9379bc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:43:35.554Z] + go version [2024-10-03T01:43:35.554Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-10-03T01:43:35.594Z] $ docker stop --time=1 c77dc5c068354b711e32900cd11e1253b60330c899552c16f47dc4cbb9379bc0 [2024-10-03T01:43:36.843Z] $ docker rm -f --volumes c77dc5c068354b711e32900cd11e1253b60330c899552c16f47dc4cbb9379bc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:43:37.644Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T01:43:37.645Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:43:37.822Z] prd-ubuntu20.04-docker-8c-8g-13063 does not seem to be running inside a container [2024-10-03T01:43:37.865Z] $ 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-695 -v /w/workspace/gexfoundry_device-mqtt-go_PR-695:/w/workspace/gexfoundry_device-mqtt-go_PR-695:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-03T01:43:38.184Z] $ docker top d9fadf0a31c5be97bcef88e091ab08de162b86709da306aaf672a0bf7643b0d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:43:38.594Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-695 [Pipeline] fileExists [Pipeline] sh [2024-10-03T01:43:38.982Z] + make test [2024-10-03T01:43:38.982Z] go test ./... -coverprofile=coverage.out ./... [2024-10-03T01:43:40.886Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-03T01:43:58.968Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-10-03T01:43:58.968Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-10-03T01:43:58.968Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.8% of statements [2024-10-03T01:44:07.075Z] go vet ./... [2024-10-03T01:44:12.336Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-03T01:44:12.336Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-03T01:44:12.336Z] ./bin/test-attribution-txt.sh [2024-10-03T01:44:12.336Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [2024-10-03T01:44:12.336Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-10-03T01:44:12.393Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-03T01:44:12.438Z] $ docker stop --time=1 d9fadf0a31c5be97bcef88e091ab08de162b86709da306aaf672a0bf7643b0d6 [2024-10-03T01:44:22.507Z] $ docker rm -f --volumes d9fadf0a31c5be97bcef88e091ab08de162b86709da306aaf672a0bf7643b0d6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-03T01:44:23.163Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-03T01:44:23.241Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-03T01:44:23.993Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T01:44:24.314Z] + ls -al . [2024-10-03T01:44:24.314Z] total 252 [2024-10-03T01:44:24.314Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 01:43 . [2024-10-03T01:44:24.314Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:41 .. [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 01:41 .dockerignore [2024-10-03T01:44:24.314Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:43 .git [2024-10-03T01:44:24.314Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:41 .github [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 3 01:41 .gitignore [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:41 .golangci.yml [2024-10-03T01:44:24.314Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:41 .semver [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 3 01:41 Attribution.txt [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 3 01:41 CHANGELOG.md [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 3 01:41 Dockerfile [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:41 GOVERNANCE.md [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 3 01:41 Jenkinsfile [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:41 LICENSE [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 3 01:41 Makefile [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 01:41 OWNERS.md [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 3 01:41 README.md [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:41 VERSION [2024-10-03T01:44:24.314Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:41 bin [2024-10-03T01:44:24.314Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:41 cmd [2024-10-03T01:44:24.314Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 3 01:43 coverage.out [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 3 01:41 go.mod [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 3 01:41 go.sum [2024-10-03T01:44:24.314Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:41 internal [2024-10-03T01:44:24.314Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:41 mock [2024-10-03T01:44:24.314Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 3 01:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:44:24.742Z] + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=37575170a0923cb9d0ee57faf1b6d191fd764e42 --label arch=amd64 --label version=0.0.0 . [2024-10-03T01:44:24.742Z] Sending build context to Docker daemon 20.87MB [2024-10-03T01:44:24.742Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-10-03T01:44:24.742Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-03T01:44:24.742Z] ---> 862b2442c6ff [2024-10-03T01:44:24.742Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-03T01:44:25.310Z] ---> Running in f05284b009ea [2024-10-03T01:44:25.310Z] Removing intermediate container f05284b009ea [2024-10-03T01:44:25.310Z] ---> 89f4969e63eb [2024-10-03T01:44:25.310Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-03T01:44:25.310Z] ---> Running in 18dea8e2f0b3 [2024-10-03T01:44:25.569Z] Removing intermediate container 18dea8e2f0b3 [2024-10-03T01:44:25.570Z] ---> 3ff41f758013 [2024-10-03T01:44:25.570Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-03T01:44:25.570Z] ---> Running in ba922d18c5e7 [2024-10-03T01:44:25.570Z] Removing intermediate container ba922d18c5e7 [2024-10-03T01:44:25.570Z] ---> aa098ce362fc [2024-10-03T01:44:25.570Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-03T01:44:25.570Z] ---> Running in 6a73b0e41e7b [2024-10-03T01:44:25.570Z] Removing intermediate container 6a73b0e41e7b [2024-10-03T01:44:25.570Z] ---> c4651fa666d5 [2024-10-03T01:44:25.570Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-03T01:44:25.570Z] ---> Running in de6d9a17eef3 [2024-10-03T01:44:25.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-03T01:44:26.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-03T01:44:26.349Z] OK: 268 MiB in 56 packages [2024-10-03T01:44:26.609Z] Removing intermediate container de6d9a17eef3 [2024-10-03T01:44:26.609Z] ---> 74b379e4d98a [2024-10-03T01:44:26.609Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-03T01:44:26.609Z] ---> Running in 5c3e623ec824 [2024-10-03T01:44:26.869Z] Removing intermediate container 5c3e623ec824 [2024-10-03T01:44:26.869Z] ---> 958ceaa95b55 [2024-10-03T01:44:26.869Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-03T01:44:26.869Z] ---> 8e944bdfd346 [2024-10-03T01:44:26.869Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T01:44:26.869Z] ---> Running in 5f170a36ce52 [2024-10-03T01:44:27.436Z] Removing intermediate container 5f170a36ce52 [2024-10-03T01:44:27.436Z] ---> 9f9b2a867af7 [2024-10-03T01:44:27.436Z] Step 11/25 : COPY . . [2024-10-03T01:44:28.372Z] ---> 49f60bec0c44 [2024-10-03T01:44:28.372Z] Step 12/25 : RUN $MAKE [2024-10-03T01:44:28.372Z] ---> Running in 1500ae097a7c [2024-10-03T01:44:28.632Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.40" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-10-03T01:45:07.349Z] Removing intermediate container 1500ae097a7c [2024-10-03T01:45:07.349Z] ---> 0ec3fd3457a3 [2024-10-03T01:45:07.349Z] Step 13/25 : FROM alpine:3.18 [2024-10-03T01:45:07.349Z] 3.18: Pulling from library/alpine [2024-10-03T01:45:07.349Z] 1cc3d825d8b2: Pulling fs layer [2024-10-03T01:45:07.349Z] 1cc3d825d8b2: Verifying Checksum [2024-10-03T01:45:07.349Z] 1cc3d825d8b2: Download complete [2024-10-03T01:45:07.349Z] 1cc3d825d8b2: Pull complete [2024-10-03T01:45:07.349Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-03T01:45:07.349Z] Status: Downloaded newer image for alpine:3.18 [2024-10-03T01:45:07.349Z] ---> 2c64cf60f6f0 [2024-10-03T01:45:07.349Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-10-03T01:45:07.349Z] ---> Running in ae10854ac873 [2024-10-03T01:45:07.349Z] Removing intermediate container ae10854ac873 [2024-10-03T01:45:07.349Z] ---> 604e745cd663 [2024-10-03T01:45:07.349Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-03T01:45:07.349Z] ---> Running in 84e136aad5f6 [2024-10-03T01:45:07.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-03T01:45:07.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-03T01:45:07.349Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-03T01:45:07.349Z] Executing busybox-1.36.1-r7.trigger [2024-10-03T01:45:07.349Z] OK: 7 MiB in 16 packages [2024-10-03T01:45:07.349Z] Removing intermediate container 84e136aad5f6 [2024-10-03T01:45:07.349Z] ---> ecce457cdae6 [2024-10-03T01:45:07.349Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-03T01:45:07.349Z] ---> Running in 8e354abf687f [2024-10-03T01:45:07.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-10-03T01:45:07.349Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-10-03T01:45:07.349Z] OK: 7 MiB in 16 packages [2024-10-03T01:45:07.349Z] Removing intermediate container 8e354abf687f [2024-10-03T01:45:07.349Z] ---> 414bdab594db [2024-10-03T01:45:07.349Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-03T01:45:07.609Z] ---> f83ce9aa1e62 [2024-10-03T01:45:07.609Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-03T01:45:07.871Z] ---> 0d0787102e15 [2024-10-03T01:45:07.871Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-03T01:45:07.871Z] ---> 73d19cafe632 [2024-10-03T01:45:07.871Z] Step 20/25 : EXPOSE 59982 [2024-10-03T01:45:07.871Z] ---> Running in b1a425d3731c [2024-10-03T01:45:07.871Z] Removing intermediate container b1a425d3731c [2024-10-03T01:45:07.871Z] ---> 575c78ad4ca7 [2024-10-03T01:45:07.871Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-03T01:45:08.131Z] ---> Running in 9f705d2f4154 [2024-10-03T01:45:08.131Z] Removing intermediate container 9f705d2f4154 [2024-10-03T01:45:08.131Z] ---> 8949fe643e00 [2024-10-03T01:45:08.131Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-03T01:45:08.131Z] ---> Running in d084d9c6bfa3 [2024-10-03T01:45:08.131Z] Removing intermediate container d084d9c6bfa3 [2024-10-03T01:45:08.131Z] ---> 9be52dd7069c [2024-10-03T01:45:08.131Z] Step 23/25 : LABEL arch=amd64 [2024-10-03T01:45:08.131Z] ---> Running in 6cc2f88e91e1 [2024-10-03T01:45:08.131Z] Removing intermediate container 6cc2f88e91e1 [2024-10-03T01:45:08.131Z] ---> a161f3863773 [2024-10-03T01:45:08.131Z] Step 24/25 : LABEL git_sha=37575170a0923cb9d0ee57faf1b6d191fd764e42 [2024-10-03T01:45:08.390Z] ---> Running in b1184916875d [2024-10-03T01:45:08.390Z] Removing intermediate container b1184916875d [2024-10-03T01:45:08.390Z] ---> a4c1d78d747c [2024-10-03T01:45:08.390Z] Step 25/25 : LABEL version=0.0.0 [2024-10-03T01:45:08.390Z] ---> Running in 4780c1c787b7 [2024-10-03T01:45:08.390Z] Removing intermediate container 4780c1c787b7 [2024-10-03T01:45:08.390Z] ---> 0224655a846f [2024-10-03T01:45:08.390Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T01:45:08.390Z] Successfully built 0224655a846f [2024-10-03T01:45:08.390Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:45:09.462Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T01:45:09.462Z] [2024-10-03T01:45:09.462Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:45:09.859Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T01:45:09.859Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-03T01:45:09.859Z] 5eb5b503b376: Pulling fs layer [2024-10-03T01:45:09.859Z] 5c69ac0246d0: Pulling fs layer [2024-10-03T01:45:09.859Z] ec43610c2a17: Pulling fs layer [2024-10-03T01:45:09.859Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-03T01:45:09.859Z] 33b1e0a273af: Pulling fs layer [2024-10-03T01:45:09.859Z] 5d3b04190fa2: Pulling fs layer [2024-10-03T01:45:09.859Z] 2f39f015ded8: Pulling fs layer [2024-10-03T01:45:09.859Z] 3a2ae6a8a46f: Waiting [2024-10-03T01:45:09.859Z] 33b1e0a273af: Waiting [2024-10-03T01:45:09.859Z] 5d3b04190fa2: Waiting [2024-10-03T01:45:09.859Z] 2f39f015ded8: Waiting [2024-10-03T01:45:09.859Z] 5c69ac0246d0: Verifying Checksum [2024-10-03T01:45:09.859Z] 5c69ac0246d0: Download complete [2024-10-03T01:45:09.859Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-03T01:45:09.859Z] 3a2ae6a8a46f: Download complete [2024-10-03T01:45:09.859Z] 33b1e0a273af: Verifying Checksum [2024-10-03T01:45:09.859Z] 33b1e0a273af: Download complete [2024-10-03T01:45:09.859Z] ec43610c2a17: Verifying Checksum [2024-10-03T01:45:09.859Z] ec43610c2a17: Download complete [2024-10-03T01:45:09.859Z] 5d3b04190fa2: Verifying Checksum [2024-10-03T01:45:10.117Z] 5eb5b503b376: Verifying Checksum [2024-10-03T01:45:10.117Z] 5eb5b503b376: Download complete [2024-10-03T01:45:10.684Z] 2f39f015ded8: Download complete [2024-10-03T01:45:11.251Z] 5eb5b503b376: Pull complete [2024-10-03T01:45:11.251Z] 5c69ac0246d0: Pull complete [2024-10-03T01:45:11.818Z] ec43610c2a17: Pull complete [2024-10-03T01:45:11.819Z] 3a2ae6a8a46f: Pull complete [2024-10-03T01:45:12.078Z] 33b1e0a273af: Pull complete [2024-10-03T01:45:12.078Z] 5d3b04190fa2: Pull complete [2024-10-03T01:45:16.266Z] 2f39f015ded8: Pull complete [2024-10-03T01:45:16.266Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-03T01:45:16.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T01:45:16.266Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:45:16.526Z] prd-ubuntu20.04-docker-8c-8g-13063 does not seem to be running inside a container [2024-10-03T01:45:16.565Z] $ 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-695 -v /w/workspace/gexfoundry_device-mqtt-go_PR-695:/w/workspace/gexfoundry_device-mqtt-go_PR-695:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-695@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 [2024-10-03T01:45:23.904Z] $ docker top 04f49f6eca4fdeafde951a5168921d4fe41ef27670ffa48d03bb8886ca41d79d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:45:24.366Z] ---> job-cost.sh [2024-10-03T01:45:24.367Z] lf-activate-venv: SKIPPING [2024-10-03T01:45:24.367Z] INFO: No Stack... [2024-10-03T01:45:24.625Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T01:45:24.885Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T01:45:25.222Z] + + cutcat -d, /w/workspace/gexfoundry_device-mqtt-go_PR-695/archives/cost.csv -f6 [2024-10-03T01:45:25.222Z] [Pipeline] lock [2024-10-03T01:45:25.275Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-695-1-stack-cost] [2024-10-03T01:45:25.281Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-695-1-stack-cost] did not exist. Created. [2024-10-03T01:45:25.287Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-695-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T01:45:25.730Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-03T01:45:25.788Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T01:45:25.833Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-695-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T01:45:25.938Z] $ docker stop --time=1 04f49f6eca4fdeafde951a5168921d4fe41ef27670ffa48d03bb8886ca41d79d [2024-10-03T01:45:27.094Z] $ docker rm -f --volumes 04f49f6eca4fdeafde951a5168921d4fe41ef27670ffa48d03bb8886ca41d79d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T01:46:13.305Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13067 in /w/workspace/gexfoundry_device-mqtt-go_PR-695 [Pipeline] { [Pipeline] ws [2024-10-03T01:46:13.380Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-10-03T01:46:16.495Z] The recommended git tool is: git [2024-10-03T01:46:24.573Z] using credential edgex-jenkins-ssh [2024-10-03T01:46:24.606Z] Cloning the remote Git repository [2024-10-03T01:46:24.661Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-03T01:46:24.811Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-10-03T01:46:25.076Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-03T01:46:25.077Z] > git --version # timeout=10 [2024-10-03T01:46:25.128Z] > git --version # 'git version 2.25.1' [2024-10-03T01:46:25.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T01:46:25.364Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T01:46:28.131Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-03T01:46:28.152Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T01:46:29.748Z] Merging remotes/origin/main commit a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit 37575170a0923cb9d0ee57faf1b6d191fd764e42 [2024-10-03T01:46:30.030Z] Merge succeeded, producing 37575170a0923cb9d0ee57faf1b6d191fd764e42 [2024-10-03T01:46:30.031Z] Checking out Revision 37575170a0923cb9d0ee57faf1b6d191fd764e42 (PR-695) [2024-10-03T01:46:29.160Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-03T01:46:29.200Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-03T01:46:29.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T01:46:29.225Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/695/head:refs/remotes/origin/PR-695 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-03T01:46:29.769Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T01:46:29.836Z] > git checkout -f 37575170a0923cb9d0ee57faf1b6d191fd764e42 # timeout=10 [2024-10-03T01:46:29.915Z] > git remote # timeout=10 [2024-10-03T01:46:29.933Z] > git config --get remote.origin.url # timeout=10 [2024-10-03T01:46:29.954Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T01:46:29.978Z] > git merge a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 [2024-10-03T01:46:30.014Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-03T01:46:30.038Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T01:46:30.053Z] > git checkout -f 37575170a0923cb9d0ee57faf1b6d191fd764e42 # timeout=10 [2024-10-03T01:46:30.636Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-03T01:46:30.711Z] > git --version # timeout=10 [2024-10-03T01:46:30.727Z] > git --version # 'git version 2.25.1' [2024-10-03T01:46:30.747Z] fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T01:46:35.879Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-03T01:46:35.879Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-03T01:46:35.879Z] Dload Upload Total Spent Left Speed [2024-10-03T01:46:35.879Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 67162 0 --:--:-- --:--:-- --:--:-- 67515 [Pipeline] sh [2024-10-03T01:46:36.233Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-03T01:46:36.589Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-03T01:46:36.589Z] + sudo tee /etc/docker/daemon.new [2024-10-03T01:46:36.589Z] { [2024-10-03T01:46:36.589Z] "registry-mirrors": [ [2024-10-03T01:46:36.589Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-03T01:46:36.589Z] ], [2024-10-03T01:46:36.589Z] "bip": "10.250.0.254/24", [2024-10-03T01:46:36.589Z] "hosts": [ [2024-10-03T01:46:36.589Z] "tcp://0.0.0.0:5555", [2024-10-03T01:46:36.589Z] "unix:///var/run/docker.sock" [2024-10-03T01:46:36.589Z] ], [2024-10-03T01:46:36.589Z] "mtu": 1458, [2024-10-03T01:46:36.589Z] "selinux-enabled": true, [2024-10-03T01:46:36.589Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-03T01:46:36.589Z] } [Pipeline] sh [2024-10-03T01:46:36.960Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-03T01:46:37.334Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T01:46:55.740Z] provisioning config files... [2024-10-03T01:46:55.777Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config9104893683055635643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:46:56.274Z] ---> ****-login.sh [2024-10-03T01:46:56.274Z] nexus3.edgexfoundry.org:10001 [2024-10-03T01:46:56.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:46:57.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:46:57.142Z] Configure a credential helper to remove this warning. See [2024-10-03T01:46:57.142Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:46:57.142Z] [2024-10-03T01:46:57.142Z] Login Succeeded [2024-10-03T01:46:57.142Z] nexus3.edgexfoundry.org:10002 [2024-10-03T01:46:57.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:46:57.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:46:57.416Z] Configure a credential helper to remove this warning. See [2024-10-03T01:46:57.416Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:46:57.416Z] [2024-10-03T01:46:57.416Z] Login Succeeded [2024-10-03T01:46:57.416Z] nexus3.edgexfoundry.org:10003 [2024-10-03T01:46:57.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:46:57.965Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:46:57.965Z] Configure a credential helper to remove this warning. See [2024-10-03T01:46:57.965Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:46:57.965Z] [2024-10-03T01:46:57.965Z] Login Succeeded [2024-10-03T01:46:57.965Z] nexus3.edgexfoundry.org:10004 [2024-10-03T01:46:58.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:46:58.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:46:58.234Z] Configure a credential helper to remove this warning. See [2024-10-03T01:46:58.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:46:58.234Z] [2024-10-03T01:46:58.234Z] Login Succeeded [2024-10-03T01:46:58.234Z] ****.io [2024-10-03T01:46:58.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T01:46:58.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T01:46:58.774Z] Configure a credential helper to remove this warning. See [2024-10-03T01:46:58.774Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T01:46:58.774Z] [2024-10-03T01:46:58.774Z] Login Succeeded [2024-10-03T01:46:58.774Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T01:46:58.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-03T01:46:59.363Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T01:46:59.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T01:46:59.470Z] ========================================================= [2024-10-03T01:46:59.470Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-10-03T01:46:59.470Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:47:00.035Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-03T01:47:00.638Z] Sending build context to Docker daemon 10.54MB [2024-10-03T01:47:00.638Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-03T01:47:00.638Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-03T01:47:00.638Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-03T01:47:00.638Z] c6b39de5b339: Pulling fs layer [2024-10-03T01:47:00.638Z] a69c41024577: Pulling fs layer [2024-10-03T01:47:00.638Z] d6de4b400683: Pulling fs layer [2024-10-03T01:47:00.638Z] 35cb2a7552d0: Pulling fs layer [2024-10-03T01:47:00.638Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T01:47:00.638Z] 464afbd9ba4c: Pulling fs layer [2024-10-03T01:47:00.638Z] 00f215d4a9da: Pulling fs layer [2024-10-03T01:47:00.638Z] d496ad576159: Pulling fs layer [2024-10-03T01:47:00.638Z] 35cb2a7552d0: Waiting [2024-10-03T01:47:00.638Z] 464afbd9ba4c: Waiting [2024-10-03T01:47:00.638Z] 00f215d4a9da: Waiting [2024-10-03T01:47:00.638Z] d496ad576159: Waiting [2024-10-03T01:47:00.638Z] 4f4fb700ef54: Waiting [2024-10-03T01:47:00.638Z] a69c41024577: Verifying Checksum [2024-10-03T01:47:00.638Z] a69c41024577: Download complete [2024-10-03T01:47:00.915Z] 35cb2a7552d0: Verifying Checksum [2024-10-03T01:47:00.915Z] 35cb2a7552d0: Download complete [2024-10-03T01:47:00.915Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T01:47:00.915Z] 4f4fb700ef54: Download complete [2024-10-03T01:47:00.915Z] 464afbd9ba4c: Verifying Checksum [2024-10-03T01:47:00.915Z] 464afbd9ba4c: Download complete [2024-10-03T01:47:00.915Z] c6b39de5b339: Verifying Checksum [2024-10-03T01:47:00.915Z] c6b39de5b339: Download complete [2024-10-03T01:47:01.506Z] d496ad576159: Verifying Checksum [2024-10-03T01:47:01.506Z] d496ad576159: Download complete [2024-10-03T01:47:02.100Z] c6b39de5b339: Pull complete [2024-10-03T01:47:02.693Z] a69c41024577: Pull complete [2024-10-03T01:47:02.969Z] d6de4b400683: Verifying Checksum [2024-10-03T01:47:02.969Z] d6de4b400683: Download complete [2024-10-03T01:47:03.936Z] 00f215d4a9da: Verifying Checksum [2024-10-03T01:47:03.936Z] 00f215d4a9da: Download complete [2024-10-03T01:47:16.293Z] d6de4b400683: Pull complete [2024-10-03T01:47:16.293Z] 35cb2a7552d0: Pull complete [2024-10-03T01:47:16.293Z] 4f4fb700ef54: Pull complete [2024-10-03T01:47:16.566Z] 464afbd9ba4c: Pull complete [2024-10-03T01:47:26.693Z] 00f215d4a9da: Pull complete [2024-10-03T01:47:27.664Z] d496ad576159: Pull complete [2024-10-03T01:47:27.664Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-10-03T01:47:27.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-10-03T01:47:27.664Z] ---> f246e2811388 [2024-10-03T01:47:27.664Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-03T01:47:28.632Z] ---> Running in 5347be4ead13 [2024-10-03T01:47:28.900Z] Removing intermediate container 5347be4ead13 [2024-10-03T01:47:28.900Z] ---> f32cb4dec36c [2024-10-03T01:47:28.900Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-03T01:47:28.900Z] ---> Running in 7a5050586d50 [2024-10-03T01:47:29.169Z] Removing intermediate container 7a5050586d50 [2024-10-03T01:47:29.169Z] ---> 36e4f707f6f2 [2024-10-03T01:47:29.169Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-03T01:47:29.169Z] ---> Running in 83fc4ee32aa8 [2024-10-03T01:47:29.756Z] Removing intermediate container 83fc4ee32aa8 [2024-10-03T01:47:29.756Z] ---> 8f2337801277 [2024-10-03T01:47:29.756Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-03T01:47:29.756Z] ---> Running in fb2034d64690 [2024-10-03T01:47:30.027Z] Removing intermediate container fb2034d64690 [2024-10-03T01:47:30.027Z] ---> 5c22d54b9943 [2024-10-03T01:47:30.027Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-03T01:47:30.027Z] ---> Running in cdb173e4a1fb [2024-10-03T01:47:31.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-03T01:47:31.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-03T01:47:32.681Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-10-03T01:47:32.681Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-10-03T01:47:32.681Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-10-03T01:47:32.951Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-10-03T01:47:32.951Z] Executing busybox-1.36.1-r5.trigger [2024-10-03T01:47:32.951Z] OK: 271 MiB in 56 packages [2024-10-03T01:47:33.914Z] Removing intermediate container cdb173e4a1fb [2024-10-03T01:47:33.914Z] ---> 86910e746b44 [2024-10-03T01:47:33.914Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-03T01:47:34.197Z] ---> Running in cba22311e701 [2024-10-03T01:47:34.466Z] Removing intermediate container cba22311e701 [2024-10-03T01:47:34.466Z] ---> f5c122914467 [2024-10-03T01:47:34.466Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-03T01:47:35.054Z] ---> 465dc59d0582 [2024-10-03T01:47:35.054Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T01:47:35.054Z] ---> Running in a3643b5a7398 [2024-10-03T01:49:41.774Z] Removing intermediate container a3643b5a7398 [2024-10-03T01:49:41.774Z] ---> 13950b76a3f3 [2024-10-03T01:49:41.774Z] Step 11/12 : COPY . . [2024-10-03T01:49:41.774Z] ---> 55953f95f061 [2024-10-03T01:49:41.774Z] Step 12/12 : RUN $MAKE [2024-10-03T01:49:41.774Z] ---> Running in e2294e955e43 [2024-10-03T01:49:41.774Z] noop [2024-10-03T01:49:41.774Z] Removing intermediate container e2294e955e43 [2024-10-03T01:49:41.774Z] ---> ae13c09cf552 [2024-10-03T01:49:41.774Z] Successfully built ae13c09cf552 [2024-10-03T01:49:41.774Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:49:42.353Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T01:49:42.353Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:49:42.674Z] prd-ubuntu20.04-docker-arm64-4c-16g-13067 does not seem to be running inside a container [2024-10-03T01:49:42.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-03T01:49:44.213Z] $ docker top d08ebc330a82a8a100003cefa3a58b5b2429845c3e1ba1bcac5b3cab0e92a464 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:49:45.142Z] + go version [2024-10-03T01:49:45.142Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-10-03T01:49:45.183Z] $ docker stop --time=1 d08ebc330a82a8a100003cefa3a58b5b2429845c3e1ba1bcac5b3cab0e92a464 [2024-10-03T01:49:46.830Z] $ docker rm -f --volumes d08ebc330a82a8a100003cefa3a58b5b2429845c3e1ba1bcac5b3cab0e92a464 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:49:47.831Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T01:49:47.831Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:49:48.139Z] prd-ubuntu20.04-docker-arm64-4c-16g-13067 does not seem to be running inside a container [2024-10-03T01:49:48.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-03T01:49:49.503Z] $ docker top 5c239b070d4f037fb90b340223286ce8cfdced5d346881704779e21e289d1839 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:49:50.416Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-03T01:49:51.186Z] + make test [2024-10-03T01:49:51.186Z] go test ./... -coverprofile=coverage.out ./... [2024-10-03T01:49:56.536Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-03T01:53:18.555Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-10-03T01:53:18.555Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-10-03T01:53:18.555Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.048s coverage: 22.8% of statements [2024-10-03T01:53:18.826Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-03T01:53:18.826Z] go vet ./... [2024-10-03T01:54:05.684Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-03T01:54:05.684Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-03T01:54:05.684Z] ./bin/test-attribution-txt.sh [2024-10-03T01:54:05.684Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [2024-10-03T01:54:05.684Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-10-03T01:54:05.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-03T01:54:05.804Z] $ docker stop --time=1 5c239b070d4f037fb90b340223286ce8cfdced5d346881704779e21e289d1839 [2024-10-03T01:54:07.658Z] $ docker rm -f --volumes 5c239b070d4f037fb90b340223286ce8cfdced5d346881704779e21e289d1839 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-03T01:54:09.292Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-03T01:54:09.334Z] Warning: overwriting stash ‘coverage-report’ [2024-10-03T01:54:09.794Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T01:54:10.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-03T01:54:10.787Z] + ls -al . [2024-10-03T01:54:10.787Z] total 248 [2024-10-03T01:54:10.787Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:49 . [2024-10-03T01:54:10.787Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 3 01:46 .. [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 3 01:46 .dockerignore [2024-10-03T01:54:10.787Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 3 01:46 .git [2024-10-03T01:54:10.787Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:46 .github [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 3 01:46 .gitignore [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 3 01:46 .golangci.yml [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 10386 Oct 3 01:46 Attribution.txt [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 3 01:46 CHANGELOG.md [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 3 01:46 Dockerfile [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 3 01:46 GOVERNANCE.md [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 3 01:46 Jenkinsfile [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 3 01:46 LICENSE [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 1963 Oct 3 01:46 Makefile [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 3 01:46 OWNERS.md [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 3 01:46 README.md [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 3 01:41 VERSION [2024-10-03T01:54:10.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:46 bin [2024-10-03T01:54:10.787Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:46 cmd [2024-10-03T01:54:10.787Z] -rw-r--r-- 1 jenkins jenkins 18506 Oct 3 01:53 coverage.out [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 3 01:46 go.mod [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 3 01:46 go.sum [2024-10-03T01:54:10.787Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 3 01:46 internal [2024-10-03T01:54:10.787Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 3 01:46 mock [2024-10-03T01:54:10.787Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 3 01:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:54:11.260Z] + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=37575170a0923cb9d0ee57faf1b6d191fd764e42 --label arch=arm64 --label version=0.0.0 . [2024-10-03T01:54:11.533Z] Sending build context to Docker daemon 10.56MB [2024-10-03T01:54:11.533Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-10-03T01:54:11.533Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-03T01:54:11.533Z] ---> ae13c09cf552 [2024-10-03T01:54:11.533Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-03T01:54:11.801Z] ---> Running in 9264bf4aef2a [2024-10-03T01:54:12.068Z] Removing intermediate container 9264bf4aef2a [2024-10-03T01:54:12.068Z] ---> f9dcebe2e1ea [2024-10-03T01:54:12.068Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-03T01:54:12.068Z] ---> Running in a37ae3e4ea84 [2024-10-03T01:54:12.333Z] Removing intermediate container a37ae3e4ea84 [2024-10-03T01:54:12.333Z] ---> 6b10609c4a52 [2024-10-03T01:54:12.333Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-03T01:54:12.600Z] ---> Running in 361e47114339 [2024-10-03T01:54:12.866Z] Removing intermediate container 361e47114339 [2024-10-03T01:54:12.866Z] ---> fcdefd6b61d7 [2024-10-03T01:54:12.866Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-03T01:54:12.866Z] ---> Running in 1c53d02337ec [2024-10-03T01:54:13.134Z] Removing intermediate container 1c53d02337ec [2024-10-03T01:54:13.134Z] ---> cb2156d655dc [2024-10-03T01:54:13.134Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-03T01:54:13.134Z] ---> Running in 5d4dcc680a57 [2024-10-03T01:54:14.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-03T01:54:14.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-03T01:54:15.637Z] OK: 271 MiB in 56 packages [2024-10-03T01:54:16.223Z] Removing intermediate container 5d4dcc680a57 [2024-10-03T01:54:16.223Z] ---> aa31d2afac8e [2024-10-03T01:54:16.223Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-03T01:54:16.490Z] ---> Running in 124668b5e5b5 [2024-10-03T01:54:16.757Z] Removing intermediate container 124668b5e5b5 [2024-10-03T01:54:16.757Z] ---> 75e51c41e938 [2024-10-03T01:54:16.757Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-03T01:54:17.344Z] ---> 4e781022fd83 [2024-10-03T01:54:17.344Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T01:54:17.344Z] ---> Running in bbaa6108c588 [2024-10-03T01:54:19.921Z] Removing intermediate container bbaa6108c588 [2024-10-03T01:54:19.921Z] ---> 57b0e636ca10 [2024-10-03T01:54:19.921Z] Step 11/25 : COPY . . [2024-10-03T01:54:20.888Z] ---> bad197b70956 [2024-10-03T01:54:20.888Z] Step 12/25 : RUN $MAKE [2024-10-03T01:54:20.888Z] ---> Running in 476efc11593f [2024-10-03T01:54:21.845Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.40" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-10-03T01:57:58.679Z] Removing intermediate container 476efc11593f [2024-10-03T01:57:58.679Z] ---> 5e5afc9475c0 [2024-10-03T01:57:58.679Z] Step 13/25 : FROM alpine:3.18 [2024-10-03T01:57:58.679Z] 3.18: Pulling from library/alpine [2024-10-03T01:57:58.679Z] 720f3032cd11: Pulling fs layer [2024-10-03T01:57:58.679Z] 720f3032cd11: Verifying Checksum [2024-10-03T01:57:58.679Z] 720f3032cd11: Download complete [2024-10-03T01:57:58.679Z] 720f3032cd11: Pull complete [2024-10-03T01:57:58.679Z] Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de [2024-10-03T01:57:58.679Z] Status: Downloaded newer image for alpine:3.18 [2024-10-03T01:57:58.679Z] ---> 3e834921e367 [2024-10-03T01:57:58.679Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-10-03T01:57:58.679Z] ---> Running in f4d311f1e8a5 [2024-10-03T01:57:58.679Z] Removing intermediate container f4d311f1e8a5 [2024-10-03T01:57:58.679Z] ---> 81a1dc2fccac [2024-10-03T01:57:58.679Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-03T01:57:58.679Z] ---> Running in 18a54c749bbd [2024-10-03T01:57:58.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-03T01:57:58.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-03T01:57:58.679Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-10-03T01:57:58.679Z] Executing busybox-1.36.1-r7.trigger [2024-10-03T01:57:58.679Z] OK: 8 MiB in 16 packages [2024-10-03T01:57:59.667Z] Removing intermediate container 18a54c749bbd [2024-10-03T01:57:59.667Z] ---> ff8757b5a04c [2024-10-03T01:57:59.667Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-03T01:57:59.937Z] ---> Running in 4e3c78a4dbca [2024-10-03T01:58:01.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-10-03T01:58:01.367Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-10-03T01:58:02.327Z] OK: 8 MiB in 16 packages [2024-10-03T01:58:03.295Z] Removing intermediate container 4e3c78a4dbca [2024-10-03T01:58:03.295Z] ---> a645d4bc5acc [2024-10-03T01:58:03.295Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-03T01:58:05.888Z] ---> fcecedcf0523 [2024-10-03T01:58:05.888Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-03T01:58:06.170Z] ---> a1c3f6804e31 [2024-10-03T01:58:06.170Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-03T01:58:06.810Z] ---> cafa6c9a13ef [2024-10-03T01:58:06.810Z] Step 20/25 : EXPOSE 59982 [2024-10-03T01:58:06.810Z] ---> Running in dc8facfb3747 [2024-10-03T01:58:07.089Z] Removing intermediate container dc8facfb3747 [2024-10-03T01:58:07.089Z] ---> 6550dd44c5eb [2024-10-03T01:58:07.089Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-03T01:58:07.089Z] ---> Running in b329029a51e3 [2024-10-03T01:58:07.365Z] Removing intermediate container b329029a51e3 [2024-10-03T01:58:07.365Z] ---> bfa5a864cbe4 [2024-10-03T01:58:07.365Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-03T01:58:07.631Z] ---> Running in e3535c927263 [2024-10-03T01:58:08.147Z] Removing intermediate container e3535c927263 [2024-10-03T01:58:08.147Z] ---> 3f6c9165a17e [2024-10-03T01:58:08.147Z] Step 23/25 : LABEL arch=arm64 [2024-10-03T01:58:08.147Z] ---> Running in c5d7d697ef30 [2024-10-03T01:58:08.147Z] Removing intermediate container c5d7d697ef30 [2024-10-03T01:58:08.147Z] ---> 9f8e56b3cc8e [2024-10-03T01:58:08.147Z] Step 24/25 : LABEL git_sha=37575170a0923cb9d0ee57faf1b6d191fd764e42 [2024-10-03T01:58:08.417Z] ---> Running in 61bd07f9d8a6 [2024-10-03T01:58:08.684Z] Removing intermediate container 61bd07f9d8a6 [2024-10-03T01:58:08.684Z] ---> 14194ad57e2c [2024-10-03T01:58:08.684Z] Step 25/25 : LABEL version=0.0.0 [2024-10-03T01:58:08.684Z] ---> Running in 80ce02fb6cb3 [2024-10-03T01:58:08.951Z] Removing intermediate container 80ce02fb6cb3 [2024-10-03T01:58:08.951Z] ---> 9dc83011c78b [2024-10-03T01:58:08.951Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-03T01:58:08.951Z] Successfully built 9dc83011c78b [2024-10-03T01:58:09.218Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:58:10.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T01:58:10.138Z] [2024-10-03T01:58:10.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:58:10.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T01:58:10.824Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-03T01:58:10.824Z] 8998bd30e6a1: Pulling fs layer [2024-10-03T01:58:10.824Z] 04944245beec: Pulling fs layer [2024-10-03T01:58:10.824Z] 699f458cf7ca: Pulling fs layer [2024-10-03T01:58:10.824Z] 765212b225bb: Pulling fs layer [2024-10-03T01:58:10.824Z] f23df028b6ca: Pulling fs layer [2024-10-03T01:58:10.824Z] d65c8cfc05b1: Pulling fs layer [2024-10-03T01:58:10.824Z] 2437ff75d9bd: Pulling fs layer [2024-10-03T01:58:10.824Z] 765212b225bb: Waiting [2024-10-03T01:58:10.824Z] f23df028b6ca: Waiting [2024-10-03T01:58:10.824Z] d65c8cfc05b1: Waiting [2024-10-03T01:58:10.824Z] 2437ff75d9bd: Waiting [2024-10-03T01:58:10.824Z] 04944245beec: Verifying Checksum [2024-10-03T01:58:10.824Z] 04944245beec: Download complete [2024-10-03T01:58:10.824Z] 765212b225bb: Download complete [2024-10-03T01:58:10.824Z] f23df028b6ca: Verifying Checksum [2024-10-03T01:58:10.824Z] f23df028b6ca: Download complete [2024-10-03T01:58:10.824Z] d65c8cfc05b1: Verifying Checksum [2024-10-03T01:58:10.824Z] d65c8cfc05b1: Download complete [2024-10-03T01:58:11.091Z] 699f458cf7ca: Verifying Checksum [2024-10-03T01:58:11.091Z] 699f458cf7ca: Download complete [2024-10-03T01:58:11.359Z] 8998bd30e6a1: Verifying Checksum [2024-10-03T01:58:11.359Z] 8998bd30e6a1: Download complete [2024-10-03T01:58:13.935Z] 2437ff75d9bd: Verifying Checksum [2024-10-03T01:58:13.935Z] 2437ff75d9bd: Download complete [2024-10-03T01:58:16.513Z] 8998bd30e6a1: Pull complete [2024-10-03T01:58:16.513Z] 04944245beec: Pull complete [2024-10-03T01:58:18.445Z] 699f458cf7ca: Pull complete [2024-10-03T01:58:18.445Z] 765212b225bb: Pull complete [2024-10-03T01:58:19.026Z] f23df028b6ca: Pull complete [2024-10-03T01:58:19.293Z] d65c8cfc05b1: Pull complete [2024-10-03T01:58:35.480Z] 2437ff75d9bd: Pull complete [2024-10-03T01:58:35.480Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-03T01:58:35.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T01:58:35.480Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:58:35.870Z] prd-ubuntu20.04-docker-arm64-4c-16g-13067 does not seem to be running inside a container [2024-10-03T01:58:35.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-03T01:58:38.856Z] $ docker top 6b4ccf635e4747e787afb9ca19e5101452cc0e690ae5b9d93604f9be77246f0f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:58:39.846Z] ---> job-cost.sh [2024-10-03T01:58:39.846Z] lf-activate-venv: SKIPPING [2024-10-03T01:58:39.846Z] INFO: No Stack... [2024-10-03T01:58:40.444Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-03T01:58:41.416Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T01:58:42.103Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-10-03T01:58:42.103Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T01:58:42.172Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-695-1-stack-cost] [2024-10-03T01:58:42.179Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-695-1-stack-cost] did not exist. Created. [2024-10-03T01:58:42.186Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-695-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T01:58:42.948Z] /w/workspace/device-mqtt-go/1@tmp/durable-be541e35/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-03T01:58:43.646Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-03T01:58:43.691Z] Warning: overwriting stash ‘stack-cost’ [2024-10-03T01:58:43.744Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T01:58:43.765Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-695-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T01:58:43.862Z] $ docker stop --time=1 6b4ccf635e4747e787afb9ca19e5101452cc0e690ae5b9d93604f9be77246f0f [2024-10-03T01:58:45.413Z] $ docker rm -f --volumes 6b4ccf635e4747e787afb9ca19e5101452cc0e690ae5b9d93604f9be77246f0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-03T01:58:46.599Z] provisioning config files... [2024-10-03T01:58:46.607Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp/config16211854898116216643tmp [Pipeline] { [Pipeline] sh [2024-10-03T01:58:46.972Z] + set +x [2024-10-03T01:58:46.972Z] + bash -s -- [2024-10-03T01:58:46.972Z] + curl -s https://codecov.io/bash [2024-10-03T01:58:46.972Z] [2024-10-03T01:58:46.972Z] _____ _ [2024-10-03T01:58:46.972Z] / ____| | | [2024-10-03T01:58:46.972Z] | | ___ __| | ___ ___ _____ __ [2024-10-03T01:58:46.972Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-03T01:58:46.972Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-03T01:58:46.972Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-03T01:58:46.972Z] Bash-1.0.6 [2024-10-03T01:58:46.972Z] [2024-10-03T01:58:46.972Z] [2024-10-03T01:58:46.972Z] ==> git version 2.25.1 found [2024-10-03T01:58:46.972Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-03T01:58:46.972Z] Release-Date: 2020-01-08 [2024-10-03T01:58:46.972Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-03T01:58:46.972Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-03T01:58:46.972Z] ==> Jenkins CI detected. [2024-10-03T01:58:46.972Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-695 [2024-10-03T01:58:46.972Z] project root: . [2024-10-03T01:58:46.972Z] --> token set from env [2024-10-03T01:58:46.972Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-03T01:58:46.972Z] ==> Running gcov in . (disable via -X gcov) [2024-10-03T01:58:46.972Z] ==> Python coveragepy not found [2024-10-03T01:58:46.972Z] ==> Searching for coverage reports in: [2024-10-03T01:58:46.972Z] + . [2024-10-03T01:58:47.232Z] -> Found 1 reports [2024-10-03T01:58:47.232Z] ==> Detecting git/mercurial file structure [2024-10-03T01:58:47.232Z] ==> Reading reports [2024-10-03T01:58:47.232Z] + ./coverage.out bytes=18506 [2024-10-03T01:58:47.232Z] ==> Appending adjustments [2024-10-03T01:58:47.232Z] https://docs.codecov.io/docs/fixing-reports [2024-10-03T01:58:47.232Z] + Found adjustments [2024-10-03T01:58:47.232Z] ==> Gzipping contents [2024-10-03T01:58:47.232Z] 4.0K /tmp/codecov.BxTbAM.gz [2024-10-03T01:58:47.232Z] ==> Uploading reports [2024-10-03T01:58:47.232Z] url: https://codecov.io [2024-10-03T01:58:47.232Z] query: branch=PR-695&commit=37575170a0923cb9d0ee57faf1b6d191fd764e42&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-695%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=695&job=&cmd_args= [2024-10-03T01:58:47.232Z] -> Pinging Codecov [2024-10-03T01:58:47.232Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-695&commit=37575170a0923cb9d0ee57faf1b6d191fd764e42&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-695%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=695&job=&cmd_args= [2024-10-03T01:58:47.493Z] -> Uploading to [2024-10-03T01:58:47.493Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/37575170a0923cb9d0ee57faf1b6d191fd764e42/28542795-9718-4985-bf89-c7c43bb463ff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241003%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241003T015847Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=660c8d9b1a4724d1cdf46bc657a5f91edd1a26a06b33e271124d955009c5e955 [2024-10-03T01:58:47.493Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-03T01:58:47.493Z] Dload Upload Total Spent Left Speed [2024-10-03T01:58:47.753Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12974 --:--:-- --:--:-- --:--:-- 12919 100 3049 0 0 100 3049 0 12974 --:--:-- --:--:-- --:--:-- 12919 [2024-10-03T01:58:47.753Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/37575170a0923cb9d0ee57faf1b6d191fd764e42 [Pipeline] } [2024-10-03T01:58:47.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-03T01:58:50.012Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-695/archives ] [2024-10-03T01:58:50.012Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-695/archives [2024-10-03T01:58:50.012Z] total 16 [2024-10-03T01:58:50.012Z] drwxr-xr-x 3 root root 4096 Oct 3 01:45 . [2024-10-03T01:58:50.012Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 01:45 .. [2024-10-03T01:58:50.012Z] drwxr-xr-x 2 root root 4096 Oct 3 01:45 cost [2024-10-03T01:58:50.012Z] -rw-r--r-- 1 root root 86 Oct 3 01:45 cost.csv [2024-10-03T01:58:50.012Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-695/archives [2024-10-03T01:58:50.012Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-695/archives [2024-10-03T01:58:50.012Z] total 16 [2024-10-03T01:58:50.012Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 01:45 . [2024-10-03T01:58:50.012Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 3 01:45 .. [2024-10-03T01:58:50.012Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 01:45 cost [2024-10-03T01:58:50.012Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 3 01:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:58:50.350Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:58:51.263Z] ---> package-listing.sh [2024-10-03T01:58:51.263Z] ++ facter osfamily [2024-10-03T01:58:51.263Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-03T01:58:51.525Z] + OS_FAMILY=debian [2024-10-03T01:58:51.525Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-695 [2024-10-03T01:58:51.525Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-03T01:58:51.525Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-03T01:58:51.525Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-03T01:58:51.525Z] + PACKAGES=/tmp/packages_start.txt [2024-10-03T01:58:51.525Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-695 ']' [2024-10-03T01:58:51.525Z] + PACKAGES=/tmp/packages_end.txt [2024-10-03T01:58:51.525Z] + case "${OS_FAMILY}" in [2024-10-03T01:58:51.525Z] + dpkg -l [2024-10-03T01:58:51.525Z] + grep '^ii' [2024-10-03T01:58:51.525Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-03T01:58:51.525Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-03T01:58:51.525Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-03T01:58:51.525Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-695 ']' [2024-10-03T01:58:51.525Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-695/archives/ [2024-10-03T01:58:51.525Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-695/archives/ [Pipeline] echo [2024-10-03T01:58:51.580Z] 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-695/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-03T01:58:51.878Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T01:58:52.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T01:58:52.540Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T01:58:52.807Z] prd-ubuntu20.04-docker-8c-8g-13063 does not seem to be running inside a container [2024-10-03T01:58:52.883Z] $ 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-695/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-695 -v /w/workspace/gexfoundry_device-mqtt-go_PR-695:/w/workspace/gexfoundry_device-mqtt-go_PR-695:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T01:58:53.095Z] $ docker top e41eafd825722962be8d719068ee5d91aee8fd9f1eedbc7e8a641a8f797fde75 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T01:58:53.540Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-03T01:58:53.850Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-03T01:58:54.164Z] + ls /var/log/sa-host [2024-10-03T01:58:54.164Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T01:58:54.338Z] provisioning config files... [2024-10-03T01:58:54.348Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-695@tmp/config12227190805967919091tmp [Pipeline] { [Pipeline] echo [2024-10-03T01:58:54.426Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:58:54.762Z] ---> create-netrc.sh [Pipeline] } [2024-10-03T01:58:54.788Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:58:55.234Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-03T01:58:55.277Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:58:55.603Z] ---> sudo-logs.sh [2024-10-03T01:58:55.603Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-03T01:58:55.716Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:58:56.034Z] ---> job-cost.sh [2024-10-03T01:58:56.034Z] lf-activate-venv: SKIPPING [2024-10-03T01:58:56.034Z] DEBUG: total: 0.2199999988079071 [2024-10-03T01:58:56.034Z] INFO: Retrieving Stack Cost... [2024-10-03T01:58:56.293Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T01:58:56.860Z] INFO: Archiving Costs [Pipeline] echo [2024-10-03T01:58:56.909Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T01:58:57.234Z] ---> logs-deploy.sh [2024-10-03T01:58:57.234Z] lf-activate-venv: SKIPPING [2024-10-03T01:58:57.234Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-695/1 [2024-10-03T01:58:57.234Z] INFO: archiving workspace using pattern(s): [2024-10-03T01:58:58.169Z] Archives upload complete. [2024-10-03T01:58:58.169Z] INFO: archiving logs to Nexus