Pull request #711 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b4832f4e9d95d92746850820f529c5eb86c0ad69+84743cd4846c2a040d455589816366e8bf795dd2 (4cfe089a6c2c1d1226abf8dcfa3e88e3a4bdd253) 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-ssh12951475792780087282.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11288693113802063823.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-711/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-711/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14636058891251505272.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-711/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10295570776507848824.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11175756770279618083.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-711/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-711/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12670986954207314165.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26408 in /w/workspace/gexfoundry_device-mqtt-go_PR-711 [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-711 # 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 84743cd4846c2a040d455589816366e8bf795dd2 into PR head commit b4832f4e9d95d92746850820f529c5eb86c0ad69 > 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/711/head:refs/remotes/origin/PR-711 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4832f4e9d95d92746850820f529c5eb86c0ad69 # timeout=10 > git remote # timeout=10 Merge succeeded, producing b4832f4e9d95d92746850820f529c5eb86c0ad69 Checking out Revision b4832f4e9d95d92746850820f529c5eb86c0ad69 (PR-711) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 84743cd4846c2a040d455589816366e8bf795dd2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b4832f4e9d95d92746850820f529c5eb86c0ad69 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-14T01:41:13.127Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-14T01:41:13.368Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-14T01:41:13.488Z] ========================================================= [2024-11-14T01:41:13.488Z] EdgeX Global Pipelines Version Info [2024-11-14T01:41:13.488Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:41:14.638Z] ------------------- [2024-11-14T01:41:14.639Z] stable info: [2024-11-14T01:41:14.639Z] ------------------- [2024-11-14T01:41:14.639Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-14T01:41:14.639Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-14T01:41:14.639Z] Message: update stable to v1.0.265 [2024-11-14T01:41:14.899Z] ------------------- [2024-11-14T01:41:14.899Z] experimental info: [2024-11-14T01:41:14.899Z] ------------------- [2024-11-14T01:41:14.899Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-14T01:41:14.899Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-14T01:41:14.899Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-14T01:41:15.171Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-11-14T01:41:15.232Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-11-14T01:41:15.289Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-14T01:41:15.343Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-14T01:41:15.395Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-14T01:41:15.454Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-14T01:41:15.508Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-14T01:41:15.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-14T01:41:15.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-14T01:41:15.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-14T01:41:15.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-14T01:41:15.801Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-11-14T01:41:15.859Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-14T01:41:15.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-14T01:41:15.977Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-14T01:41:16.034Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-14T01:41:16.089Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-14T01:41:16.148Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-14T01:41:16.201Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-14T01:41:16.260Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-14T01:41:16.323Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-14T01:41:16.381Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-14T01:41:16.431Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-14T01:41:16.483Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-14T01:41:16.541Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-14T01:41:16.599Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-14T01:41:16.659Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-14T01:41:16.719Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-711 [Pipeline] echo [2024-11-14T01:41:16.778Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-711 [Pipeline] echo [2024-11-14T01:41:16.838Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-711 [Pipeline] echo [2024-11-14T01:41:16.898Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b4832f4e9d95d92746850820f529c5eb86c0ad69 [Pipeline] echo [2024-11-14T01:41:16.960Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b4832f4 [Pipeline] echo [2024-11-14T01:41:17.018Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-14T01:41:17.178Z] provisioning config files... [2024-11-14T01:41:17.195Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp/config18314260495220089802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:41:17.593Z] ---> ****-login.sh [2024-11-14T01:41:17.593Z] nexus3.edgexfoundry.org:10001 [2024-11-14T01:41:17.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:17.853Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:17.853Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:17.853Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:17.853Z] [2024-11-14T01:41:17.853Z] Login Succeeded [2024-11-14T01:41:17.853Z] nexus3.edgexfoundry.org:10002 [2024-11-14T01:41:18.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:18.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:18.113Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:18.113Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:18.113Z] [2024-11-14T01:41:18.113Z] Login Succeeded [2024-11-14T01:41:18.113Z] nexus3.edgexfoundry.org:10003 [2024-11-14T01:41:18.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:18.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:18.114Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:18.114Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:18.114Z] [2024-11-14T01:41:18.114Z] Login Succeeded [2024-11-14T01:41:18.114Z] nexus3.edgexfoundry.org:10004 [2024-11-14T01:41:18.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:18.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:18.373Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:18.373Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:18.373Z] [2024-11-14T01:41:18.373Z] Login Succeeded [2024-11-14T01:41:18.373Z] ****.io [2024-11-14T01:41:18.373Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:18.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:18.634Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:18.634Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:18.634Z] [2024-11-14T01:41:18.634Z] Login Succeeded [2024-11-14T01:41:18.634Z] ---> ****-login.sh ends [Pipeline] } [2024-11-14T01:41:18.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-14T01:41:19.352Z] + git rev-list -1 --merges b4832f4e9d95d92746850820f529c5eb86c0ad69~1..b4832f4e9d95d92746850820f529c5eb86c0ad69 [Pipeline] echo [2024-11-14T01:41:19.405Z] -----------> git rev-list -1 --merges b4832f4e9d95d92746850820f529c5eb86c0ad69~1..b4832f4e9d95d92746850820f529c5eb86c0ad69 b4832f4e9d95d92746850820f529c5eb86c0ad69 [false] [Pipeline] sh [2024-11-14T01:41:19.735Z] + git log --format=format:%s -1 b4832f4e9d95d92746850820f529c5eb86c0ad69 [Pipeline] echo [2024-11-14T01:41:19.768Z] ========================================================= [2024-11-14T01:41:19.768Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-14T01:41:19.768Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-14T01:41:20.204Z] + git log --format=format:%s -1 b4832f4e9d95d92746850820f529c5eb86c0ad69 [Pipeline] echo [2024-11-14T01:41:20.243Z] [semverPrep] GIT_COMMIT: b4832f4e9d95d92746850820f529c5eb86c0ad69, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo [2024-11-14T01:41:20.282Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-14T01:41:20.717Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-14T01:41:20.717Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-14T01:41:20.717Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-14T01:41:20.717Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-14T01:41:20.717Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-14T01:41:20.717Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-14T01:41:20.717Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:41:21.233Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-14T01:41:21.233Z] [2024-11-14T01:41:21.233Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:41:21.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-14T01:41:21.634Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-14T01:41:21.634Z] b85a868b505f: Pulling fs layer [2024-11-14T01:41:21.634Z] e2be974225ed: Pulling fs layer [2024-11-14T01:41:21.634Z] 339a4e72a1f5: Pulling fs layer [2024-11-14T01:41:21.634Z] 988bab9f4d93: Pulling fs layer [2024-11-14T01:41:21.634Z] 1469e6f7b9e6: Pulling fs layer [2024-11-14T01:41:21.634Z] eaf3925da568: Pulling fs layer [2024-11-14T01:41:21.634Z] bab4dde63d76: Pulling fs layer [2024-11-14T01:41:21.634Z] bde34c3a00c8: Pulling fs layer [2024-11-14T01:41:21.634Z] b352a97aabf1: Pulling fs layer [2024-11-14T01:41:21.634Z] 4872d77fe225: Pulling fs layer [2024-11-14T01:41:21.634Z] 5851b861e8e6: Pulling fs layer [2024-11-14T01:41:21.634Z] bab4dde63d76: Waiting [2024-11-14T01:41:21.634Z] bde34c3a00c8: Waiting [2024-11-14T01:41:21.634Z] b352a97aabf1: Waiting [2024-11-14T01:41:21.634Z] 4872d77fe225: Waiting [2024-11-14T01:41:21.634Z] 5851b861e8e6: Waiting [2024-11-14T01:41:21.634Z] 988bab9f4d93: Waiting [2024-11-14T01:41:21.634Z] 1469e6f7b9e6: Waiting [2024-11-14T01:41:21.634Z] eaf3925da568: Waiting [2024-11-14T01:41:21.634Z] e2be974225ed: Download complete [2024-11-14T01:41:21.634Z] 988bab9f4d93: Verifying Checksum [2024-11-14T01:41:21.634Z] 988bab9f4d93: Download complete [2024-11-14T01:41:21.634Z] 339a4e72a1f5: Verifying Checksum [2024-11-14T01:41:21.634Z] 339a4e72a1f5: Download complete [2024-11-14T01:41:21.634Z] eaf3925da568: Download complete [2024-11-14T01:41:21.893Z] 1469e6f7b9e6: Verifying Checksum [2024-11-14T01:41:21.893Z] 1469e6f7b9e6: Download complete [2024-11-14T01:41:21.893Z] b352a97aabf1: Download complete [2024-11-14T01:41:21.893Z] 4872d77fe225: Verifying Checksum [2024-11-14T01:41:21.893Z] 4872d77fe225: Download complete [2024-11-14T01:41:21.893Z] 5851b861e8e6: Verifying Checksum [2024-11-14T01:41:21.893Z] 5851b861e8e6: Download complete [2024-11-14T01:41:21.893Z] b85a868b505f: Verifying Checksum [2024-11-14T01:41:21.893Z] b85a868b505f: Download complete [2024-11-14T01:41:22.151Z] bab4dde63d76: Verifying Checksum [2024-11-14T01:41:23.085Z] b85a868b505f: Pull complete [2024-11-14T01:41:23.085Z] e2be974225ed: Pull complete [2024-11-14T01:41:23.652Z] 339a4e72a1f5: Pull complete [2024-11-14T01:41:23.652Z] 988bab9f4d93: Pull complete [2024-11-14T01:41:23.911Z] 1469e6f7b9e6: Pull complete [2024-11-14T01:41:23.911Z] eaf3925da568: Pull complete [2024-11-14T01:41:25.286Z] bab4dde63d76: Pull complete [2024-11-14T01:41:25.545Z] bde34c3a00c8: Pull complete [2024-11-14T01:41:25.545Z] b352a97aabf1: Pull complete [2024-11-14T01:41:25.545Z] 4872d77fe225: Pull complete [2024-11-14T01:41:25.806Z] 5851b861e8e6: Pull complete [2024-11-14T01:41:25.806Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-14T01:41:25.806Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-14T01:41:25.806Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-14T01:41:26.095Z] prd-ubuntu20.04-docker-8c-8g-26408 does not seem to be running inside a container [2024-11-14T01:41:26.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-711 -v /w/workspace/gexfoundry_device-mqtt-go_PR-711:/w/workspace/gexfoundry_device-mqtt-go_PR-711:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-711@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-11-14T01:41:29.159Z] $ docker top cfed286bfd4e007ba98d0819e43a414e9f4faee6f9f58afd7d9e4ce1bb18b869 -eo pid,comm [2024-11-14T01:41:29.213Z] 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-11-14T01:41:29.213Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-14T01:41:29.375Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-14T01:41:29.375Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-14T01:41:29.490Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-14T01:41:29.489Z] $ docker exec cfed286bfd4e007ba98d0819e43a414e9f4faee6f9f58afd7d9e4ce1bb18b869 ssh-agent [2024-11-14T01:41:29.597Z] SSH_AUTH_SOCK=/tmp/ssh-drWfUC0C8JfC/agent.33 [2024-11-14T01:41:29.597Z] SSH_AGENT_PID=39 [2024-11-14T01:41:29.603Z] Running ssh-add (command line suppressed) [2024-11-14T01:41:29.700Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp/private_key_12589782382776136547.key (/w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp/private_key_12589782382776136547.key) [2024-11-14T01:41:29.720Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-14T01:41:30.079Z] + git tag --points-at HEAD [Pipeline] } [2024-11-14T01:41:30.104Z] $ docker exec --env ******** --env ******** cfed286bfd4e007ba98d0819e43a414e9f4faee6f9f58afd7d9e4ce1bb18b869 ssh-agent -k [2024-11-14T01:41:30.204Z] unset SSH_AUTH_SOCK; [2024-11-14T01:41:30.205Z] unset SSH_AGENT_PID; [2024-11-14T01:41:30.205Z] echo Agent pid 39 killed; [2024-11-14T01:41:30.221Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-14T01:41:30.339Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-14T01:41:30.339Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-14T01:41:30.448Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-14T01:41:30.446Z] $ docker exec cfed286bfd4e007ba98d0819e43a414e9f4faee6f9f58afd7d9e4ce1bb18b869 ssh-agent [2024-11-14T01:41:30.551Z] SSH_AUTH_SOCK=/tmp/ssh-SocsvvNSkhsm/agent.72 [2024-11-14T01:41:30.551Z] SSH_AGENT_PID=78 [2024-11-14T01:41:30.555Z] Running ssh-add (command line suppressed) [2024-11-14T01:41:30.642Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp/private_key_4748014622605791156.key (/w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp/private_key_4748014622605791156.key) [2024-11-14T01:41:30.659Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-14T01:41:31.005Z] + git semver init [2024-11-14T01:41:31.263Z] 2024-11-14 01:41:31,166 [run_init] DEBUG init version:0.0.0 force:False [2024-11-14T01:41:31.263Z] 2024-11-14 01:41:31,167 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-711/.semver [2024-11-14T01:41:31.263Z] 2024-11-14 01:41:31,167 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-711/.semver [2024-11-14T01:41:31.263Z] 2024-11-14 01:41:31,167 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-711/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-711, universal_newlines=False, shell=None, istream=None) [2024-11-14T01:41:33.169Z] 2024-11-14 01:41:32,743 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-711/.git/info/exclude [2024-11-14T01:41:33.169Z] 2024-11-14 01:41:32,743 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-711/.semver/PR-711 with force:False [2024-11-14T01:41:33.169Z] 2024-11-14 01:41:32,743 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-711/.semver/PR-711 [2024-11-14T01:41:33.169Z] 2024-11-14 01:41:32,745 [execute] INFO git cat-file --batch-check [2024-11-14T01:41:33.169Z] 2024-11-14 01:41:32,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-711/.semver, universal_newlines=False, shell=None, istream=) [2024-11-14T01:41:33.169Z] 2024-11-14 01:41:32,749 [execute] INFO git cat-file --batch [2024-11-14T01:41:33.169Z] 2024-11-14 01:41:32,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-711/.semver, universal_newlines=False, shell=None, istream=) [2024-11-14T01:41:33.169Z] 2024-11-14 01:41:32,753 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-711/.semver/PR-711 [2024-11-14T01:41:33.169Z] 0.0.0 [Pipeline] } [2024-11-14T01:41:33.194Z] $ docker exec --env ******** --env ******** cfed286bfd4e007ba98d0819e43a414e9f4faee6f9f58afd7d9e4ce1bb18b869 ssh-agent -k [2024-11-14T01:41:33.288Z] unset SSH_AUTH_SOCK; [2024-11-14T01:41:33.288Z] unset SSH_AGENT_PID; [2024-11-14T01:41:33.288Z] echo Agent pid 78 killed; [2024-11-14T01:41:33.301Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-14T01:41:33.760Z] + git semver [Pipeline] } [2024-11-14T01:41:34.043Z] $ docker stop --time=1 cfed286bfd4e007ba98d0819e43a414e9f4faee6f9f58afd7d9e4ce1bb18b869 [2024-11-14T01:41:35.308Z] $ docker rm -f --volumes cfed286bfd4e007ba98d0819e43a414e9f4faee6f9f58afd7d9e4ce1bb18b869 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-14T01:41:35.723Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-14T01:41:36.011Z] Stashed 1 file(s) [Pipeline] echo [2024-11-14T01:41:36.035Z] [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-11-14T01:41:36.759Z] provisioning config files... [2024-11-14T01:41:36.772Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp/config13692527598178581532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:41:37.138Z] ---> ****-login.sh [2024-11-14T01:41:37.138Z] nexus3.edgexfoundry.org:10001 [2024-11-14T01:41:37.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:37.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:37.138Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:37.139Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:37.139Z] [2024-11-14T01:41:37.139Z] Login Succeeded [2024-11-14T01:41:37.139Z] nexus3.edgexfoundry.org:10002 [2024-11-14T01:41:37.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:37.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:37.139Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:37.139Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:37.139Z] [2024-11-14T01:41:37.139Z] Login Succeeded [2024-11-14T01:41:37.139Z] nexus3.edgexfoundry.org:10003 [2024-11-14T01:41:37.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:37.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:37.402Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:37.402Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:37.402Z] [2024-11-14T01:41:37.402Z] Login Succeeded [2024-11-14T01:41:37.402Z] nexus3.edgexfoundry.org:10004 [2024-11-14T01:41:37.402Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:37.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:37.402Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:37.403Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:37.403Z] [2024-11-14T01:41:37.403Z] Login Succeeded [2024-11-14T01:41:37.403Z] ****.io [2024-11-14T01:41:37.403Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:41:37.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:41:37.662Z] Configure a credential helper to remove this warning. See [2024-11-14T01:41:37.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:41:37.662Z] [2024-11-14T01:41:37.662Z] Login Succeeded [2024-11-14T01:41:37.662Z] ---> ****-login.sh ends [Pipeline] } [2024-11-14T01:41:37.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-14T01:41:37.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-14T01:41:37.974Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-14T01:41:38.021Z] ========================================================= [2024-11-14T01:41:38.021Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-14T01:41:38.021Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:41:38.540Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-14T01:41:38.540Z] Sending build context to Docker daemon 20.92MB [2024-11-14T01:41:38.540Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-14T01:41:38.540Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-14T01:41:38.799Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-14T01:41:38.799Z] 43c4264eed91: Pulling fs layer [2024-11-14T01:41:38.799Z] 4cc291be95ef: Pulling fs layer [2024-11-14T01:41:38.799Z] 2ac1f1163629: Pulling fs layer [2024-11-14T01:41:38.799Z] 5c3c966382ef: Pulling fs layer [2024-11-14T01:41:38.799Z] 4f4fb700ef54: Pulling fs layer [2024-11-14T01:41:38.799Z] 5d5c8e513c77: Pulling fs layer [2024-11-14T01:41:38.799Z] 9f66e0745190: Pulling fs layer [2024-11-14T01:41:38.799Z] f49a43e4bbc0: Pulling fs layer [2024-11-14T01:41:38.799Z] 561ebcabdf7f: Pulling fs layer [2024-11-14T01:41:38.799Z] 4f4fb700ef54: Waiting [2024-11-14T01:41:38.799Z] 5d5c8e513c77: Waiting [2024-11-14T01:41:38.799Z] 9f66e0745190: Waiting [2024-11-14T01:41:38.799Z] f49a43e4bbc0: Waiting [2024-11-14T01:41:38.799Z] 561ebcabdf7f: Waiting [2024-11-14T01:41:38.799Z] 5c3c966382ef: Waiting [2024-11-14T01:41:38.799Z] 4cc291be95ef: Verifying Checksum [2024-11-14T01:41:38.799Z] 4cc291be95ef: Download complete [2024-11-14T01:41:38.799Z] 5c3c966382ef: Verifying Checksum [2024-11-14T01:41:38.799Z] 5c3c966382ef: Download complete [2024-11-14T01:41:38.799Z] 4f4fb700ef54: Verifying Checksum [2024-11-14T01:41:38.799Z] 4f4fb700ef54: Download complete [2024-11-14T01:41:38.799Z] 5d5c8e513c77: Verifying Checksum [2024-11-14T01:41:38.799Z] 5d5c8e513c77: Download complete [2024-11-14T01:41:38.799Z] 43c4264eed91: Download complete [2024-11-14T01:41:38.799Z] 9f66e0745190: Verifying Checksum [2024-11-14T01:41:38.799Z] 9f66e0745190: Download complete [2024-11-14T01:41:38.799Z] 43c4264eed91: Pull complete [2024-11-14T01:41:39.059Z] 561ebcabdf7f: Verifying Checksum [2024-11-14T01:41:39.059Z] 561ebcabdf7f: Download complete [2024-11-14T01:41:39.059Z] 4cc291be95ef: Pull complete [2024-11-14T01:41:39.318Z] 2ac1f1163629: Download complete [2024-11-14T01:41:39.575Z] f49a43e4bbc0: Verifying Checksum [2024-11-14T01:41:39.575Z] f49a43e4bbc0: Download complete [2024-11-14T01:41:42.855Z] 2ac1f1163629: Pull complete [2024-11-14T01:41:42.855Z] 5c3c966382ef: Pull complete [2024-11-14T01:41:42.855Z] 4f4fb700ef54: Pull complete [2024-11-14T01:41:42.855Z] 5d5c8e513c77: Pull complete [2024-11-14T01:41:43.119Z] 9f66e0745190: Pull complete [2024-11-14T01:41:45.661Z] f49a43e4bbc0: Pull complete [2024-11-14T01:41:45.661Z] 561ebcabdf7f: Pull complete [2024-11-14T01:41:45.661Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-14T01:41:45.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-14T01:41:45.661Z] ---> 3a752c3f9dda [2024-11-14T01:41:45.661Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-14T01:41:51.538Z] Still waiting to schedule task [2024-11-14T01:41:51.538Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26406’ [2024-11-14T01:41:52.233Z] ---> Running in cd078eb529fb [2024-11-14T01:41:52.233Z] Removing intermediate container cd078eb529fb [2024-11-14T01:41:52.233Z] ---> a73a3b3c9a0f [2024-11-14T01:41:52.233Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-14T01:41:52.233Z] ---> Running in 9138b15af71b [2024-11-14T01:41:52.233Z] Removing intermediate container 9138b15af71b [2024-11-14T01:41:52.233Z] ---> ebf1c9c22acf [2024-11-14T01:41:52.233Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-14T01:41:52.233Z] ---> Running in 987be27d0d7c [2024-11-14T01:41:52.233Z] Removing intermediate container 987be27d0d7c [2024-11-14T01:41:52.233Z] ---> e58f5e5d1a5d [2024-11-14T01:41:52.233Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-14T01:41:52.233Z] ---> Running in 15271f5a85ca [2024-11-14T01:41:52.233Z] Removing intermediate container 15271f5a85ca [2024-11-14T01:41:52.233Z] ---> cb1fdf71c45f [2024-11-14T01:41:52.233Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-14T01:41:52.233Z] ---> Running in 9f40a4c47d66 [2024-11-14T01:41:52.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-14T01:41:52.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-14T01:41:52.233Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-14T01:41:52.233Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-14T01:41:52.233Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-14T01:41:52.233Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-14T01:41:52.233Z] Executing busybox-1.36.1-r29.trigger [2024-11-14T01:41:52.233Z] OK: 250 MiB in 58 packages [2024-11-14T01:41:52.802Z] Removing intermediate container 9f40a4c47d66 [2024-11-14T01:41:52.802Z] ---> 2302937f8e24 [2024-11-14T01:41:52.802Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-14T01:41:52.802Z] ---> Running in e47948ad95d3 [2024-11-14T01:41:52.802Z] Removing intermediate container e47948ad95d3 [2024-11-14T01:41:52.802Z] ---> e29b02b38bdd [2024-11-14T01:41:52.802Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-14T01:41:53.061Z] ---> fe8db1a27002 [2024-11-14T01:41:53.061Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-14T01:41:53.061Z] ---> Running in a543765fb2d1 [2024-11-14T01:43:00.813Z] Removing intermediate container a543765fb2d1 [2024-11-14T01:43:00.813Z] ---> a11bc5026990 [2024-11-14T01:43:00.813Z] Step 11/12 : COPY . . [2024-11-14T01:43:00.813Z] ---> b5194c464c6a [2024-11-14T01:43:00.813Z] Step 12/12 : RUN $MAKE [2024-11-14T01:43:00.813Z] ---> Running in 36500e793678 [2024-11-14T01:43:00.813Z] noop [2024-11-14T01:43:00.813Z] Removing intermediate container 36500e793678 [2024-11-14T01:43:00.813Z] ---> 5ec639917468 [2024-11-14T01:43:00.813Z] Successfully built 5ec639917468 [2024-11-14T01:43:00.813Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:43:01.282Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-14T01:43:01.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-14T01:43:01.458Z] prd-ubuntu20.04-docker-8c-8g-26408 does not seem to be running inside a container [2024-11-14T01:43:01.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-711 -v /w/workspace/gexfoundry_device-mqtt-go_PR-711:/w/workspace/gexfoundry_device-mqtt-go_PR-711:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-711@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-11-14T01:43:01.806Z] $ docker top 9018c2c1b569e0c07edd57220cecfa18f0c68aee14b8c8934f4e98c5fe7c2e62 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-14T01:43:02.274Z] + go version [2024-11-14T01:43:02.275Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-14T01:43:02.304Z] $ docker stop --time=1 9018c2c1b569e0c07edd57220cecfa18f0c68aee14b8c8934f4e98c5fe7c2e62 [2024-11-14T01:43:03.536Z] $ docker rm -f --volumes 9018c2c1b569e0c07edd57220cecfa18f0c68aee14b8c8934f4e98c5fe7c2e62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:43:04.323Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-14T01:43:04.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-14T01:43:04.486Z] prd-ubuntu20.04-docker-8c-8g-26408 does not seem to be running inside a container [2024-11-14T01:43:04.514Z] $ 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-711 -v /w/workspace/gexfoundry_device-mqtt-go_PR-711:/w/workspace/gexfoundry_device-mqtt-go_PR-711:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-711@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-11-14T01:43:04.834Z] $ docker top 086053260f234aa7c71c0272a50ddeccbcbceffbeae92919b4f5f8c884171451 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-14T01:43:05.249Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-711 [Pipeline] fileExists [Pipeline] sh [2024-11-14T01:43:05.628Z] + make test [2024-11-14T01:43:05.628Z] go test ./... -coverprofile=coverage.out ./... [2024-11-14T01:43:07.006Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-14T01:43:25.115Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-14T01:43:25.115Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-14T01:43:25.115Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.007s coverage: 22.8% of statements [2024-11-14T01:43:35.078Z] go vet ./... [2024-11-14T01:43:40.339Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-14T01:43:40.339Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-14T01:43:40.339Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-14T01:43:40.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-14T01:43:40.674Z] $ docker stop --time=1 086053260f234aa7c71c0272a50ddeccbcbceffbeae92919b4f5f8c884171451 [2024-11-14T01:43:44.182Z] $ docker rm -f --volumes 086053260f234aa7c71c0272a50ddeccbcbceffbeae92919b4f5f8c884171451 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-14T01:43:44.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-14T01:43:44.887Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-14T01:43:45.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-14T01:43:45.968Z] + ls -al . [2024-11-14T01:43:45.968Z] total 252 [2024-11-14T01:43:45.968Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 14 01:43 . [2024-11-14T01:43:45.968Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 01:41 .. [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 01:41 .dockerignore [2024-11-14T01:43:45.968Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 01:43 .git [2024-11-14T01:43:45.968Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 01:41 .github [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 01:41 .gitignore [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 01:41 .golangci.yml [2024-11-14T01:43:45.968Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 01:41 .semver [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 14 01:41 Attribution.txt [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 01:41 CHANGELOG.md [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 14 01:41 Dockerfile [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 01:41 GOVERNANCE.md [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 01:41 Jenkinsfile [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 01:41 LICENSE [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 14 01:41 Makefile [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 01:41 OWNERS.md [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 01:41 README.md [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 01:41 VERSION [2024-11-14T01:43:45.968Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 01:41 bin [2024-11-14T01:43:45.968Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 01:41 cmd [2024-11-14T01:43:45.968Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 14 01:43 coverage.out [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 6321 Nov 14 01:41 go.mod [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 87337 Nov 14 01:41 go.sum [2024-11-14T01:43:45.968Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 01:41 internal [2024-11-14T01:43:45.968Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 01:41 mock [2024-11-14T01:43:45.968Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 01:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:43:46.387Z] + 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=b4832f4e9d95d92746850820f529c5eb86c0ad69 --label arch=amd64 --label version=0.0.0 . [2024-11-14T01:43:46.388Z] Sending build context to Docker daemon 20.94MB [2024-11-14T01:43:46.388Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-14T01:43:46.388Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-14T01:43:46.388Z] ---> 5ec639917468 [2024-11-14T01:43:46.388Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-14T01:43:46.647Z] ---> Running in fed9e7440384 [2024-11-14T01:43:46.647Z] Removing intermediate container fed9e7440384 [2024-11-14T01:43:46.647Z] ---> aa7a588cef4e [2024-11-14T01:43:46.647Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-14T01:43:46.647Z] ---> Running in abb683ed29b5 [2024-11-14T01:43:46.906Z] Removing intermediate container abb683ed29b5 [2024-11-14T01:43:46.906Z] ---> f52bd24b3f2c [2024-11-14T01:43:46.906Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-14T01:43:46.906Z] ---> Running in 2b36ee367569 [2024-11-14T01:43:46.906Z] Removing intermediate container 2b36ee367569 [2024-11-14T01:43:46.906Z] ---> 5747c1988b59 [2024-11-14T01:43:46.906Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-14T01:43:46.906Z] ---> Running in c612057a33af [2024-11-14T01:43:46.906Z] Removing intermediate container c612057a33af [2024-11-14T01:43:46.906Z] ---> 523390dd80bc [2024-11-14T01:43:46.906Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-14T01:43:46.906Z] ---> Running in 9ae79120e761 [2024-11-14T01:43:47.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-14T01:43:47.423Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-14T01:43:47.682Z] OK: 250 MiB in 58 packages [2024-11-14T01:43:47.941Z] Removing intermediate container 9ae79120e761 [2024-11-14T01:43:47.941Z] ---> 2be9414aaba7 [2024-11-14T01:43:47.941Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-14T01:43:47.941Z] ---> Running in 90c4a81513de [2024-11-14T01:43:47.941Z] Removing intermediate container 90c4a81513de [2024-11-14T01:43:47.941Z] ---> 522d5d30dc1b [2024-11-14T01:43:47.941Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-14T01:43:48.205Z] ---> 0a132f85acfb [2024-11-14T01:43:48.205Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-14T01:43:48.205Z] ---> Running in a04cd14168aa [2024-11-14T01:43:48.771Z] Removing intermediate container a04cd14168aa [2024-11-14T01:43:48.771Z] ---> 076287f64cb1 [2024-11-14T01:43:48.771Z] Step 11/25 : COPY . . [2024-11-14T01:43:49.706Z] ---> cbf6052a2cc7 [2024-11-14T01:43:49.706Z] Step 12/25 : RUN $MAKE [2024-11-14T01:43:49.706Z] ---> Running in 10d8fc893409 [2024-11-14T01:43:49.965Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-14T01:44:22.048Z] Removing intermediate container 10d8fc893409 [2024-11-14T01:44:22.048Z] ---> aece412afd8b [2024-11-14T01:44:22.048Z] Step 13/25 : FROM alpine:3.20 [2024-11-14T01:44:22.048Z] 3.20: Pulling from library/alpine [2024-11-14T01:44:22.048Z] da9db072f522: Pulling fs layer [2024-11-14T01:44:22.048Z] da9db072f522: Download complete [2024-11-14T01:44:22.048Z] da9db072f522: Pull complete [2024-11-14T01:44:22.048Z] Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a [2024-11-14T01:44:22.048Z] Status: Downloaded newer image for alpine:3.20 [2024-11-14T01:44:22.048Z] ---> 63b790fccc90 [2024-11-14T01:44:22.048Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-14T01:44:22.048Z] ---> Running in fc2c270df211 [2024-11-14T01:44:22.048Z] Removing intermediate container fc2c270df211 [2024-11-14T01:44:22.048Z] ---> fa79918ab8b4 [2024-11-14T01:44:22.048Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-14T01:44:22.048Z] ---> Running in cb3bf4af7e17 [2024-11-14T01:44:22.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-14T01:44:22.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-14T01:44:22.048Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-14T01:44:22.048Z] Executing busybox-1.36.1-r29.trigger [2024-11-14T01:44:22.048Z] OK: 8 MiB in 15 packages [2024-11-14T01:44:22.048Z] Removing intermediate container cb3bf4af7e17 [2024-11-14T01:44:22.048Z] ---> 40322f571e51 [2024-11-14T01:44:22.048Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-14T01:44:22.048Z] ---> Running in 12f74e64c997 [2024-11-14T01:44:22.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-14T01:44:22.048Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-14T01:44:22.048Z] Upgrading critical system libraries and apk-tools: [2024-11-14T01:44:22.048Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-14T01:44:22.048Z] Executing busybox-1.36.1-r29.trigger [2024-11-14T01:44:22.049Z] Continuing the upgrade transaction with new apk-tools: [2024-11-14T01:44:22.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-14T01:44:22.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-14T01:44:22.308Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-14T01:44:22.308Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-14T01:44:22.308Z] OK: 8 MiB in 15 packages [2024-11-14T01:44:22.876Z] Removing intermediate container 12f74e64c997 [2024-11-14T01:44:22.876Z] ---> aa14d3ae092a [2024-11-14T01:44:22.876Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-14T01:44:24.253Z] ---> 7a4d6738fdcb [2024-11-14T01:44:24.253Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-14T01:44:24.253Z] ---> 8b4d9f5500e9 [2024-11-14T01:44:24.253Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-14T01:44:24.253Z] ---> 6f42650d6f15 [2024-11-14T01:44:24.253Z] Step 20/25 : EXPOSE 59982 [2024-11-14T01:44:24.253Z] ---> Running in 658923631d91 [2024-11-14T01:44:24.513Z] Removing intermediate container 658923631d91 [2024-11-14T01:44:24.513Z] ---> 2aa7a3423283 [2024-11-14T01:44:24.513Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-14T01:44:24.513Z] ---> Running in 6c1b083a64b6 [2024-11-14T01:44:24.513Z] Removing intermediate container 6c1b083a64b6 [2024-11-14T01:44:24.513Z] ---> b6689d9c5a6e [2024-11-14T01:44:24.513Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-14T01:44:24.513Z] ---> Running in 7f86870f6b79 [2024-11-14T01:44:24.513Z] Removing intermediate container 7f86870f6b79 [2024-11-14T01:44:24.513Z] ---> 0bcbdfe2c551 [2024-11-14T01:44:24.513Z] Step 23/25 : LABEL arch=amd64 [2024-11-14T01:44:24.513Z] ---> Running in 22c8c2841fe3 [2024-11-14T01:44:24.513Z] Removing intermediate container 22c8c2841fe3 [2024-11-14T01:44:24.513Z] ---> dd54b9121be8 [2024-11-14T01:44:24.513Z] Step 24/25 : LABEL git_sha=b4832f4e9d95d92746850820f529c5eb86c0ad69 [2024-11-14T01:44:24.773Z] ---> Running in 0ebfca010222 [2024-11-14T01:44:24.773Z] Removing intermediate container 0ebfca010222 [2024-11-14T01:44:24.773Z] ---> add97a498a17 [2024-11-14T01:44:24.773Z] Step 25/25 : LABEL version=0.0.0 [2024-11-14T01:44:24.773Z] ---> Running in a095da0b023c [2024-11-14T01:44:24.773Z] Removing intermediate container a095da0b023c [2024-11-14T01:44:24.773Z] ---> e4e654fda057 [2024-11-14T01:44:24.773Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-14T01:44:24.773Z] Successfully built e4e654fda057 [2024-11-14T01:44:24.773Z] 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-11-14T01:44:25.817Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-14T01:44:25.817Z] [2024-11-14T01:44:25.817Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:44:26.220Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-14T01:44:26.220Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-14T01:44:26.220Z] 5eb5b503b376: Pulling fs layer [2024-11-14T01:44:26.220Z] 5c69ac0246d0: Pulling fs layer [2024-11-14T01:44:26.220Z] ec43610c2a17: Pulling fs layer [2024-11-14T01:44:26.220Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-14T01:44:26.220Z] 33b1e0a273af: Pulling fs layer [2024-11-14T01:44:26.220Z] 5d3b04190fa2: Pulling fs layer [2024-11-14T01:44:26.220Z] 2f39f015ded8: Pulling fs layer [2024-11-14T01:44:26.220Z] 33b1e0a273af: Waiting [2024-11-14T01:44:26.220Z] 5d3b04190fa2: Waiting [2024-11-14T01:44:26.220Z] 2f39f015ded8: Waiting [2024-11-14T01:44:26.220Z] 3a2ae6a8a46f: Waiting [2024-11-14T01:44:26.220Z] 5c69ac0246d0: Verifying Checksum [2024-11-14T01:44:26.220Z] 5c69ac0246d0: Download complete [2024-11-14T01:44:26.220Z] 3a2ae6a8a46f: Download complete [2024-11-14T01:44:26.220Z] 33b1e0a273af: Verifying Checksum [2024-11-14T01:44:26.220Z] 33b1e0a273af: Download complete [2024-11-14T01:44:26.220Z] 5d3b04190fa2: Verifying Checksum [2024-11-14T01:44:26.220Z] 5d3b04190fa2: Download complete [2024-11-14T01:44:26.220Z] ec43610c2a17: Verifying Checksum [2024-11-14T01:44:26.220Z] ec43610c2a17: Download complete [2024-11-14T01:44:26.479Z] 5eb5b503b376: Verifying Checksum [2024-11-14T01:44:26.479Z] 5eb5b503b376: Download complete [2024-11-14T01:44:27.045Z] 2f39f015ded8: Download complete [2024-11-14T01:44:27.612Z] 5eb5b503b376: Pull complete [2024-11-14T01:44:27.612Z] 5c69ac0246d0: Pull complete [2024-11-14T01:44:28.177Z] ec43610c2a17: Pull complete [2024-11-14T01:44:28.177Z] 3a2ae6a8a46f: Pull complete [2024-11-14T01:44:28.435Z] 33b1e0a273af: Pull complete [2024-11-14T01:44:28.435Z] 5d3b04190fa2: Pull complete [2024-11-14T01:44:32.613Z] 2f39f015ded8: Pull complete [2024-11-14T01:44:32.613Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-14T01:44:32.613Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-14T01:44:32.613Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-14T01:44:32.890Z] prd-ubuntu20.04-docker-8c-8g-26408 does not seem to be running inside a container [2024-11-14T01:44:32.909Z] $ 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-711 -v /w/workspace/gexfoundry_device-mqtt-go_PR-711:/w/workspace/gexfoundry_device-mqtt-go_PR-711:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-711@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-11-14T01:44:36.518Z] $ docker top 745c88124c089db693430facd8d86d63cbdaf4e522fccf421916bd22d9c3e67a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:44:36.994Z] ---> job-cost.sh [2024-11-14T01:44:36.994Z] lf-activate-venv: SKIPPING [2024-11-14T01:44:36.994Z] INFO: No Stack... [2024-11-14T01:44:37.253Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-14T01:44:37.818Z] INFO: Archiving Costs [Pipeline] sh [2024-11-14T01:44:38.137Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-711/archives/cost.csv [2024-11-14T01:44:38.137Z] + cut -d, -f6 [Pipeline] lock [2024-11-14T01:44:38.183Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-711-1-stack-cost] [2024-11-14T01:44:38.189Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-711-1-stack-cost] did not exist. Created. [2024-11-14T01:44:38.196Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-711-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-14T01:44:38.614Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-14T01:44:38.677Z] Stashed 1 file(s) [Pipeline] } [2024-11-14T01:44:38.712Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-711-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-14T01:44:38.793Z] $ docker stop --time=1 745c88124c089db693430facd8d86d63cbdaf4e522fccf421916bd22d9c3e67a [2024-11-14T01:44:39.941Z] $ docker rm -f --volumes 745c88124c089db693430facd8d86d63cbdaf4e522fccf421916bd22d9c3e67a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-14T01:45:42.067Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26410 in /w/workspace/gexfoundry_device-mqtt-go_PR-711 [Pipeline] { [Pipeline] ws [2024-11-14T01:45:42.144Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-11-14T01:45:42.339Z] The recommended git tool is: git [2024-11-14T01:45:51.825Z] using credential edgex-jenkins-ssh [2024-11-14T01:45:51.850Z] Cloning the remote Git repository [2024-11-14T01:45:51.919Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-14T01:45:52.101Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-11-14T01:45:52.499Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-14T01:45:52.501Z] > git --version # timeout=10 [2024-11-14T01:45:52.555Z] > git --version # 'git version 2.25.1' [2024-11-14T01:45:52.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-14T01:45:52.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-14T01:45:55.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-14T01:45:55.709Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-14T01:45:57.484Z] Merging remotes/origin/main commit 84743cd4846c2a040d455589816366e8bf795dd2 into PR head commit b4832f4e9d95d92746850820f529c5eb86c0ad69 [2024-11-14T01:45:56.871Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-11-14T01:45:56.927Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-11-14T01:45:56.928Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-14T01:45:56.955Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/711/head:refs/remotes/origin/PR-711 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-14T01:45:57.500Z] > git config core.sparsecheckout # timeout=10 [2024-11-14T01:45:57.588Z] > git checkout -f b4832f4e9d95d92746850820f529c5eb86c0ad69 # timeout=10 [2024-11-14T01:45:57.818Z] Merge succeeded, producing b4832f4e9d95d92746850820f529c5eb86c0ad69 [2024-11-14T01:45:57.819Z] Checking out Revision b4832f4e9d95d92746850820f529c5eb86c0ad69 (PR-711) [2024-11-14T01:45:58.457Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" [2024-11-14T01:45:58.507Z] > git --version # timeout=10 [2024-11-14T01:45:58.517Z] > git --version # 'git version 2.25.1' [2024-11-14T01:45:58.535Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-14T01:45:57.689Z] > git remote # timeout=10 [2024-11-14T01:45:57.708Z] > git config --get remote.origin.url # timeout=10 [2024-11-14T01:45:57.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-14T01:45:57.751Z] > git merge 84743cd4846c2a040d455589816366e8bf795dd2 # timeout=10 [2024-11-14T01:45:57.790Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-14T01:45:57.820Z] > git config core.sparsecheckout # timeout=10 [2024-11-14T01:45:57.834Z] > git checkout -f b4832f4e9d95d92746850820f529c5eb86c0ad69 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-14T01:46:03.702Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-14T01:46:03.703Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-14T01:46:03.703Z] Dload Upload Total Spent Left Speed [2024-11-14T01:46:03.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99441 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2024-11-14T01:46:04.073Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-14T01:46:04.425Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-14T01:46:04.425Z] + sudo tee /etc/docker/daemon.new [2024-11-14T01:46:04.425Z] { [2024-11-14T01:46:04.425Z] "registry-mirrors": [ [2024-11-14T01:46:04.425Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-14T01:46:04.425Z] ], [2024-11-14T01:46:04.425Z] "bip": "10.250.0.254/24", [2024-11-14T01:46:04.425Z] "hosts": [ [2024-11-14T01:46:04.425Z] "tcp://0.0.0.0:5555", [2024-11-14T01:46:04.425Z] "unix:///var/run/docker.sock" [2024-11-14T01:46:04.425Z] ], [2024-11-14T01:46:04.425Z] "mtu": 1458, [2024-11-14T01:46:04.425Z] "selinux-enabled": true, [2024-11-14T01:46:04.425Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-14T01:46:04.425Z] } [Pipeline] sh [2024-11-14T01:46:04.788Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-14T01:46:05.138Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-14T01:46:23.468Z] provisioning config files... [2024-11-14T01:46:23.496Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6212102126100019389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:46:23.981Z] ---> ****-login.sh [2024-11-14T01:46:23.981Z] nexus3.edgexfoundry.org:10001 [2024-11-14T01:46:24.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:46:24.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:46:24.841Z] Configure a credential helper to remove this warning. See [2024-11-14T01:46:24.842Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:46:24.842Z] [2024-11-14T01:46:24.842Z] Login Succeeded [2024-11-14T01:46:24.842Z] nexus3.edgexfoundry.org:10002 [2024-11-14T01:46:25.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:46:25.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:46:25.111Z] Configure a credential helper to remove this warning. See [2024-11-14T01:46:25.111Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:46:25.111Z] [2024-11-14T01:46:25.111Z] Login Succeeded [2024-11-14T01:46:25.111Z] nexus3.edgexfoundry.org:10003 [2024-11-14T01:46:25.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:46:25.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:46:25.652Z] Configure a credential helper to remove this warning. See [2024-11-14T01:46:25.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:46:25.652Z] [2024-11-14T01:46:25.652Z] Login Succeeded [2024-11-14T01:46:25.652Z] nexus3.edgexfoundry.org:10004 [2024-11-14T01:46:25.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:46:25.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:46:25.920Z] Configure a credential helper to remove this warning. See [2024-11-14T01:46:25.920Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:46:25.920Z] [2024-11-14T01:46:25.920Z] Login Succeeded [2024-11-14T01:46:25.920Z] ****.io [2024-11-14T01:46:26.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-14T01:46:26.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-14T01:46:26.460Z] Configure a credential helper to remove this warning. See [2024-11-14T01:46:26.460Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-14T01:46:26.460Z] [2024-11-14T01:46:26.460Z] Login Succeeded [2024-11-14T01:46:26.460Z] ---> ****-login.sh ends [Pipeline] } [2024-11-14T01:46:26.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-14T01:46:26.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-14T01:46:27.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-14T01:46:27.096Z] ========================================================= [2024-11-14T01:46:27.096Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-14T01:46:27.096Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:46:27.646Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-14T01:46:27.917Z] Sending build context to Docker daemon 10.58MB [2024-11-14T01:46:28.204Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-14T01:46:28.204Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-14T01:46:28.204Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-14T01:46:28.204Z] cf04c63912e1: Pulling fs layer [2024-11-14T01:46:28.204Z] 55b35a11ae5e: Pulling fs layer [2024-11-14T01:46:28.204Z] a37a00ec5f00: Pulling fs layer [2024-11-14T01:46:28.204Z] 50b3750afda1: Pulling fs layer [2024-11-14T01:46:28.204Z] 4f4fb700ef54: Pulling fs layer [2024-11-14T01:46:28.204Z] 80978eb59214: Pulling fs layer [2024-11-14T01:46:28.204Z] c9f46d7d2bd2: Pulling fs layer [2024-11-14T01:46:28.204Z] c5a475d317c9: Pulling fs layer [2024-11-14T01:46:28.204Z] 4f4fb700ef54: Waiting [2024-11-14T01:46:28.204Z] 80978eb59214: Waiting [2024-11-14T01:46:28.204Z] c9f46d7d2bd2: Waiting [2024-11-14T01:46:28.204Z] c5a475d317c9: Waiting [2024-11-14T01:46:28.204Z] 50b3750afda1: Waiting [2024-11-14T01:46:28.204Z] 55b35a11ae5e: Verifying Checksum [2024-11-14T01:46:28.204Z] 55b35a11ae5e: Download complete [2024-11-14T01:46:28.487Z] 50b3750afda1: Verifying Checksum [2024-11-14T01:46:28.487Z] 50b3750afda1: Download complete [2024-11-14T01:46:28.487Z] 4f4fb700ef54: Verifying Checksum [2024-11-14T01:46:28.487Z] 4f4fb700ef54: Download complete [2024-11-14T01:46:28.487Z] 80978eb59214: Verifying Checksum [2024-11-14T01:46:28.487Z] 80978eb59214: Download complete [2024-11-14T01:46:28.487Z] cf04c63912e1: Verifying Checksum [2024-11-14T01:46:28.487Z] cf04c63912e1: Download complete [2024-11-14T01:46:29.081Z] c5a475d317c9: Verifying Checksum [2024-11-14T01:46:29.081Z] c5a475d317c9: Download complete [2024-11-14T01:46:29.672Z] cf04c63912e1: Pull complete [2024-11-14T01:46:30.260Z] 55b35a11ae5e: Pull complete [2024-11-14T01:46:30.532Z] a37a00ec5f00: Verifying Checksum [2024-11-14T01:46:30.532Z] a37a00ec5f00: Download complete [2024-11-14T01:46:31.504Z] c9f46d7d2bd2: Verifying Checksum [2024-11-14T01:46:31.504Z] c9f46d7d2bd2: Download complete [2024-11-14T01:46:43.821Z] a37a00ec5f00: Pull complete [2024-11-14T01:46:43.821Z] 50b3750afda1: Pull complete [2024-11-14T01:46:43.821Z] 4f4fb700ef54: Pull complete [2024-11-14T01:46:43.821Z] 80978eb59214: Pull complete [2024-11-14T01:46:52.053Z] c9f46d7d2bd2: Pull complete [2024-11-14T01:46:53.015Z] c5a475d317c9: Pull complete [2024-11-14T01:46:53.015Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-14T01:46:53.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-14T01:46:53.015Z] ---> be29e6b0f0d4 [2024-11-14T01:46:53.015Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-14T01:46:53.600Z] ---> Running in 193565eef762 [2024-11-14T01:46:53.868Z] Removing intermediate container 193565eef762 [2024-11-14T01:46:53.868Z] ---> 2802ab765da4 [2024-11-14T01:46:53.868Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-14T01:46:54.137Z] ---> Running in a69b30813b39 [2024-11-14T01:46:54.406Z] Removing intermediate container a69b30813b39 [2024-11-14T01:46:54.406Z] ---> 3f8731f4e5cd [2024-11-14T01:46:54.406Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-14T01:46:54.406Z] ---> Running in 4400e7c187a5 [2024-11-14T01:46:54.673Z] Removing intermediate container 4400e7c187a5 [2024-11-14T01:46:54.673Z] ---> a7b1f91c6e5d [2024-11-14T01:46:54.673Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-14T01:46:54.673Z] ---> Running in 13286a42814e [2024-11-14T01:46:54.942Z] Removing intermediate container 13286a42814e [2024-11-14T01:46:54.942Z] ---> 672b7af8bd73 [2024-11-14T01:46:54.942Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-14T01:46:55.212Z] ---> Running in b462f8f287bc [2024-11-14T01:46:56.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-14T01:46:56.439Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-14T01:46:57.849Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-14T01:46:57.849Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-14T01:46:57.849Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-14T01:46:58.118Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-14T01:46:58.118Z] Executing busybox-1.36.1-r29.trigger [2024-11-14T01:46:58.118Z] OK: 242 MiB in 58 packages [2024-11-14T01:47:00.075Z] Removing intermediate container b462f8f287bc [2024-11-14T01:47:00.075Z] ---> 5155903ac47b [2024-11-14T01:47:00.075Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-11-14T01:47:00.075Z] ---> Running in 7b13f5f149bc [2024-11-14T01:47:00.344Z] Removing intermediate container 7b13f5f149bc [2024-11-14T01:47:00.344Z] ---> e167063f5bf7 [2024-11-14T01:47:00.344Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-14T01:47:00.936Z] ---> 9284218cf240 [2024-11-14T01:47:00.936Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-14T01:47:00.936Z] ---> Running in 4d47bb5fbf07 [2024-11-14T01:49:07.665Z] Removing intermediate container 4d47bb5fbf07 [2024-11-14T01:49:07.665Z] ---> 9361e1fa6f70 [2024-11-14T01:49:07.665Z] Step 11/12 : COPY . . [2024-11-14T01:49:07.665Z] ---> c48c5fb7abae [2024-11-14T01:49:07.665Z] Step 12/12 : RUN $MAKE [2024-11-14T01:49:07.665Z] ---> Running in 0fe2db430925 [2024-11-14T01:49:07.665Z] noop [2024-11-14T01:49:07.665Z] Removing intermediate container 0fe2db430925 [2024-11-14T01:49:07.665Z] ---> f6c7477f27ea [2024-11-14T01:49:07.665Z] Successfully built f6c7477f27ea [2024-11-14T01:49:07.665Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:49:08.181Z] + docker inspect -f . ci-base-image-arm64 [2024-11-14T01:49:08.181Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-14T01:49:08.513Z] prd-ubuntu20.04-docker-arm64-4c-16g-26410 does not seem to be running inside a container [2024-11-14T01:49:08.579Z] $ 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-11-14T01:49:09.975Z] $ docker top ac0bbafe55328485de1a3f580f428da4acea484084af1d47a11271c42764cce1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-14T01:49:10.963Z] + go version [2024-11-14T01:49:10.963Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-14T01:49:11.002Z] $ docker stop --time=1 ac0bbafe55328485de1a3f580f428da4acea484084af1d47a11271c42764cce1 [2024-11-14T01:49:12.659Z] $ docker rm -f --volumes ac0bbafe55328485de1a3f580f428da4acea484084af1d47a11271c42764cce1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:49:13.610Z] + docker inspect -f . ci-base-image-arm64 [2024-11-14T01:49:13.610Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-14T01:49:13.898Z] prd-ubuntu20.04-docker-arm64-4c-16g-26410 does not seem to be running inside a container [2024-11-14T01:49:13.949Z] $ 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-11-14T01:49:15.210Z] $ docker top c5c4f662d2d18ccccbaa5b520e85fa54989140dcbdf4e0088c2b070cf4ed3f38 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-14T01:49:16.115Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-14T01:49:16.837Z] + make test [2024-11-14T01:49:16.837Z] go test ./... -coverprofile=coverage.out ./... [2024-11-14T01:49:23.482Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-11-14T01:52:46.303Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-11-14T01:52:46.303Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-11-14T01:52:46.303Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.052s coverage: 22.8% of statements [2024-11-14T01:52:46.303Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-14T01:52:46.303Z] go vet ./... [2024-11-14T01:53:42.706Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-14T01:53:42.706Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-14T01:53:42.706Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-14T01:53:42.755Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-14T01:53:42.790Z] $ docker stop --time=1 c5c4f662d2d18ccccbaa5b520e85fa54989140dcbdf4e0088c2b070cf4ed3f38 [2024-11-14T01:53:44.730Z] $ docker rm -f --volumes c5c4f662d2d18ccccbaa5b520e85fa54989140dcbdf4e0088c2b070cf4ed3f38 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-14T01:53:46.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-14T01:53:46.523Z] Warning: overwriting stash ‘coverage-report’ [2024-11-14T01:53:47.115Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-14T01:53:47.780Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-14T01:53:48.129Z] + ls -al . [2024-11-14T01:53:48.129Z] total 248 [2024-11-14T01:53:48.129Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 01:49 . [2024-11-14T01:53:48.129Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 01:45 .. [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 01:45 .dockerignore [2024-11-14T01:53:48.129Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 01:46 .git [2024-11-14T01:53:48.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 01:45 .github [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 14 01:45 .gitignore [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 14 01:45 .golangci.yml [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 19106 Nov 14 01:45 Attribution.txt [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 18574 Nov 14 01:45 CHANGELOG.md [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 1803 Nov 14 01:45 Dockerfile [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 01:45 GOVERNANCE.md [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 657 Nov 14 01:45 Jenkinsfile [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 14 01:45 LICENSE [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 2545 Nov 14 01:45 Makefile [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 14 01:45 OWNERS.md [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 3599 Nov 14 01:45 README.md [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 01:41 VERSION [2024-11-14T01:53:48.129Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 01:45 bin [2024-11-14T01:53:48.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 01:45 cmd [2024-11-14T01:53:48.129Z] -rw-r--r-- 1 jenkins jenkins 21039 Nov 14 01:52 coverage.out [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 6321 Nov 14 01:45 go.mod [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 87337 Nov 14 01:45 go.sum [2024-11-14T01:53:48.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 01:45 internal [2024-11-14T01:53:48.129Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 01:45 mock [2024-11-14T01:53:48.129Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 14 01:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:53:48.590Z] + 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=b4832f4e9d95d92746850820f529c5eb86c0ad69 --label arch=arm64 --label version=0.0.0 . [2024-11-14T01:53:49.179Z] Sending build context to Docker daemon 10.6MB [2024-11-14T01:53:49.179Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-11-14T01:53:49.179Z] Step 2/25 : FROM ${BASE} AS builder [2024-11-14T01:53:49.179Z] ---> f6c7477f27ea [2024-11-14T01:53:49.179Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-11-14T01:53:49.457Z] ---> Running in 66645d31a1cf [2024-11-14T01:53:49.725Z] Removing intermediate container 66645d31a1cf [2024-11-14T01:53:49.725Z] ---> e50969fcec61 [2024-11-14T01:53:49.725Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-14T01:53:49.725Z] ---> Running in 8fc2320d8bf1 [2024-11-14T01:53:50.313Z] Removing intermediate container 8fc2320d8bf1 [2024-11-14T01:53:50.313Z] ---> 1d5dff294802 [2024-11-14T01:53:50.313Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-14T01:53:50.313Z] ---> Running in e74a71abc63b [2024-11-14T01:53:50.580Z] Removing intermediate container e74a71abc63b [2024-11-14T01:53:50.580Z] ---> 6a0dfa850bf3 [2024-11-14T01:53:50.580Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-11-14T01:53:50.580Z] ---> Running in 2c3611470a36 [2024-11-14T01:53:50.849Z] Removing intermediate container 2c3611470a36 [2024-11-14T01:53:50.849Z] ---> b8c6e1522c31 [2024-11-14T01:53:50.849Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-14T01:53:51.117Z] ---> Running in 111cb5219f3b [2024-11-14T01:53:52.079Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-14T01:53:52.348Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-14T01:53:54.300Z] OK: 242 MiB in 58 packages [2024-11-14T01:53:55.260Z] Removing intermediate container 111cb5219f3b [2024-11-14T01:53:55.260Z] ---> 74bd79f09fa5 [2024-11-14T01:53:55.260Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-11-14T01:53:55.260Z] ---> Running in 02ca20d2f8bb [2024-11-14T01:53:55.526Z] Removing intermediate container 02ca20d2f8bb [2024-11-14T01:53:55.526Z] ---> 6b61538539b4 [2024-11-14T01:53:55.526Z] Step 9/25 : COPY go.mod vendor* ./ [2024-11-14T01:53:56.122Z] ---> dbebd9802d9c [2024-11-14T01:53:56.122Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-14T01:53:56.122Z] ---> Running in bd8b3f807f28 [2024-11-14T01:53:58.714Z] Removing intermediate container bd8b3f807f28 [2024-11-14T01:53:58.714Z] ---> a9886d0d9a6d [2024-11-14T01:53:58.714Z] Step 11/25 : COPY . . [2024-11-14T01:54:00.129Z] ---> 1d31449e1333 [2024-11-14T01:54:00.129Z] Step 12/25 : RUN $MAKE [2024-11-14T01:54:00.129Z] ---> Running in 64bdc75690ba [2024-11-14T01:54:01.102Z] 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/v4/internal/common.SDKVersion=v4.0.0-dev.7 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2024-11-14T01:58:23.072Z] Removing intermediate container 64bdc75690ba [2024-11-14T01:58:23.073Z] ---> e8126171dfec [2024-11-14T01:58:23.073Z] Step 13/25 : FROM alpine:3.20 [2024-11-14T01:58:23.073Z] 3.20: Pulling from library/alpine [2024-11-14T01:58:23.073Z] 9986a736f7d3: Pulling fs layer [2024-11-14T01:58:23.073Z] 9986a736f7d3: Verifying Checksum [2024-11-14T01:58:23.073Z] 9986a736f7d3: Download complete [2024-11-14T01:58:23.073Z] 9986a736f7d3: Pull complete [2024-11-14T01:58:23.073Z] Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a [2024-11-14T01:58:23.073Z] Status: Downloaded newer image for alpine:3.20 [2024-11-14T01:58:23.073Z] ---> 511a44083d3a [2024-11-14T01:58:23.073Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-11-14T01:58:23.073Z] ---> Running in 951f7550a3d4 [2024-11-14T01:58:23.073Z] Removing intermediate container 951f7550a3d4 [2024-11-14T01:58:23.073Z] ---> d9765d13af47 [2024-11-14T01:58:23.073Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-11-14T01:58:23.073Z] ---> Running in e77df459a1c2 [2024-11-14T01:58:23.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-14T01:58:23.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-14T01:58:23.073Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-14T01:58:23.073Z] Executing busybox-1.36.1-r29.trigger [2024-11-14T01:58:23.073Z] OK: 9 MiB in 15 packages [2024-11-14T01:58:23.073Z] Removing intermediate container e77df459a1c2 [2024-11-14T01:58:23.073Z] ---> 8e129d4c1812 [2024-11-14T01:58:23.073Z] Step 16/25 : RUN apk --no-cache upgrade [2024-11-14T01:58:23.073Z] ---> Running in 7a4ed6b1fa39 [2024-11-14T01:58:23.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-14T01:58:23.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-14T01:58:23.073Z] Upgrading critical system libraries and apk-tools: [2024-11-14T01:58:23.073Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-14T01:58:23.073Z] Executing busybox-1.36.1-r29.trigger [2024-11-14T01:58:23.073Z] Continuing the upgrade transaction with new apk-tools: [2024-11-14T01:58:23.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-14T01:58:23.073Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-14T01:58:24.027Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-14T01:58:24.336Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-14T01:58:24.336Z] OK: 9 MiB in 15 packages [2024-11-14T01:58:25.793Z] Removing intermediate container 7a4ed6b1fa39 [2024-11-14T01:58:25.793Z] ---> cd26e2bc226c [2024-11-14T01:58:25.793Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-11-14T01:58:28.377Z] ---> 4a8fd225b9a3 [2024-11-14T01:58:28.377Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-11-14T01:58:28.377Z] ---> 6eda1d483fd3 [2024-11-14T01:58:28.377Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-11-14T01:58:28.956Z] ---> 8dc7818c6a7d [2024-11-14T01:58:28.956Z] Step 20/25 : EXPOSE 59982 [2024-11-14T01:58:28.956Z] ---> Running in 562d45351eee [2024-11-14T01:58:29.222Z] Removing intermediate container 562d45351eee [2024-11-14T01:58:29.222Z] ---> 299bc80bcf14 [2024-11-14T01:58:29.222Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-11-14T01:58:29.222Z] ---> Running in 41101ff6e5cd [2024-11-14T01:58:29.489Z] Removing intermediate container 41101ff6e5cd [2024-11-14T01:58:29.489Z] ---> 2987269c1575 [2024-11-14T01:58:29.489Z] Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-14T01:58:29.756Z] ---> Running in 893c2b7f5b2d [2024-11-14T01:58:30.023Z] Removing intermediate container 893c2b7f5b2d [2024-11-14T01:58:30.023Z] ---> 18c1c9dafb38 [2024-11-14T01:58:30.023Z] Step 23/25 : LABEL arch=arm64 [2024-11-14T01:58:30.023Z] ---> Running in 8d4c03fa640f [2024-11-14T01:58:30.294Z] Removing intermediate container 8d4c03fa640f [2024-11-14T01:58:30.294Z] ---> f0b3901720cf [2024-11-14T01:58:30.294Z] Step 24/25 : LABEL git_sha=b4832f4e9d95d92746850820f529c5eb86c0ad69 [2024-11-14T01:58:30.294Z] ---> Running in 1bd4ef210cf6 [2024-11-14T01:58:30.876Z] Removing intermediate container 1bd4ef210cf6 [2024-11-14T01:58:30.876Z] ---> 009271288ca2 [2024-11-14T01:58:30.876Z] Step 25/25 : LABEL version=0.0.0 [2024-11-14T01:58:30.876Z] ---> Running in 23440e46b459 [2024-11-14T01:58:31.141Z] Removing intermediate container 23440e46b459 [2024-11-14T01:58:31.141Z] ---> 5e9d3523f133 [2024-11-14T01:58:31.141Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-14T01:58:31.141Z] Successfully built 5e9d3523f133 [2024-11-14T01:58:31.141Z] 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-11-14T01:58:32.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-14T01:58:32.069Z] [2024-11-14T01:58:32.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:58:32.487Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-14T01:58:33.077Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-14T01:58:33.077Z] 8998bd30e6a1: Pulling fs layer [2024-11-14T01:58:33.077Z] 04944245beec: Pulling fs layer [2024-11-14T01:58:33.077Z] 699f458cf7ca: Pulling fs layer [2024-11-14T01:58:33.077Z] 765212b225bb: Pulling fs layer [2024-11-14T01:58:33.077Z] f23df028b6ca: Pulling fs layer [2024-11-14T01:58:33.077Z] d65c8cfc05b1: Pulling fs layer [2024-11-14T01:58:33.077Z] 2437ff75d9bd: Pulling fs layer [2024-11-14T01:58:33.077Z] 765212b225bb: Waiting [2024-11-14T01:58:33.077Z] f23df028b6ca: Waiting [2024-11-14T01:58:33.077Z] d65c8cfc05b1: Waiting [2024-11-14T01:58:33.077Z] 2437ff75d9bd: Waiting [2024-11-14T01:58:33.350Z] 04944245beec: Verifying Checksum [2024-11-14T01:58:33.350Z] 04944245beec: Download complete [2024-11-14T01:58:33.350Z] 765212b225bb: Verifying Checksum [2024-11-14T01:58:33.350Z] 765212b225bb: Download complete [2024-11-14T01:58:33.350Z] f23df028b6ca: Verifying Checksum [2024-11-14T01:58:33.350Z] f23df028b6ca: Download complete [2024-11-14T01:58:33.350Z] d65c8cfc05b1: Verifying Checksum [2024-11-14T01:58:33.350Z] d65c8cfc05b1: Download complete [2024-11-14T01:58:33.622Z] 699f458cf7ca: Verifying Checksum [2024-11-14T01:58:33.622Z] 699f458cf7ca: Download complete [2024-11-14T01:58:33.892Z] 8998bd30e6a1: Download complete [2024-11-14T01:58:37.261Z] 2437ff75d9bd: Verifying Checksum [2024-11-14T01:58:37.262Z] 2437ff75d9bd: Download complete [2024-11-14T01:58:39.223Z] 8998bd30e6a1: Pull complete [2024-11-14T01:58:39.491Z] 04944245beec: Pull complete [2024-11-14T01:58:40.908Z] 699f458cf7ca: Pull complete [2024-11-14T01:58:41.175Z] 765212b225bb: Pull complete [2024-11-14T01:58:42.138Z] f23df028b6ca: Pull complete [2024-11-14T01:58:42.408Z] d65c8cfc05b1: Pull complete [2024-11-14T01:59:00.611Z] 2437ff75d9bd: Pull complete [2024-11-14T01:59:00.611Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-14T01:59:00.611Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-14T01:59:00.611Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-14T01:59:00.967Z] prd-ubuntu20.04-docker-arm64-4c-16g-26410 does not seem to be running inside a container [2024-11-14T01:59:01.022Z] $ 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-11-14T01:59:03.698Z] $ docker top b9a14052c292ef7feb023a5624d7e3931567a627b94166589bc700edae94109e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:59:04.620Z] ---> job-cost.sh [2024-11-14T01:59:04.620Z] lf-activate-venv: SKIPPING [2024-11-14T01:59:04.620Z] INFO: No Stack... [2024-11-14T01:59:05.207Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-14T01:59:05.789Z] INFO: Archiving Costs [Pipeline] sh [2024-11-14T01:59:06.462Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-11-14T01:59:06.462Z] + cut -d, -f6 [Pipeline] lock [2024-11-14T01:59:06.547Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-711-1-stack-cost] [2024-11-14T01:59:06.554Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-711-1-stack-cost] did not exist. Created. [2024-11-14T01:59:06.565Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-711-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-14T01:59:07.317Z] /w/workspace/device-mqtt-go/1@tmp/durable-2cdfcd0f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-14T01:59:07.992Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-14T01:59:08.038Z] Warning: overwriting stash ‘stack-cost’ [2024-11-14T01:59:08.095Z] Stashed 1 file(s) [Pipeline] } [2024-11-14T01:59:08.119Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-711-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-14T01:59:08.201Z] $ docker stop --time=1 b9a14052c292ef7feb023a5624d7e3931567a627b94166589bc700edae94109e [2024-11-14T01:59:09.667Z] $ docker rm -f --volumes b9a14052c292ef7feb023a5624d7e3931567a627b94166589bc700edae94109e [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-11-14T01:59:10.826Z] provisioning config files... [2024-11-14T01:59:10.839Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp/config10805514568579403424tmp [Pipeline] { [Pipeline] sh [2024-11-14T01:59:11.187Z] + set +x [2024-11-14T01:59:11.187Z] + curl -s https://codecov.io/bash [2024-11-14T01:59:11.187Z] + bash -s -- [2024-11-14T01:59:11.187Z] [2024-11-14T01:59:11.187Z] _____ _ [2024-11-14T01:59:11.187Z] / ____| | | [2024-11-14T01:59:11.187Z] | | ___ __| | ___ ___ _____ __ [2024-11-14T01:59:11.187Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-14T01:59:11.187Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-14T01:59:11.187Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-14T01:59:11.187Z] Bash-1.0.6 [2024-11-14T01:59:11.187Z] [2024-11-14T01:59:11.187Z] [2024-11-14T01:59:11.187Z] ==> git version 2.25.1 found [2024-11-14T01:59:11.187Z] ==> 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-11-14T01:59:11.187Z] Release-Date: 2020-01-08 [2024-11-14T01:59:11.187Z] 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-11-14T01:59:11.187Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-14T01:59:11.187Z] ==> Jenkins CI detected. [2024-11-14T01:59:11.187Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-711 [2024-11-14T01:59:11.187Z] project root: . [2024-11-14T01:59:11.187Z] --> token set from env [2024-11-14T01:59:11.187Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-14T01:59:11.446Z] ==> Running gcov in . (disable via -X gcov) [2024-11-14T01:59:11.446Z] ==> Python coveragepy not found [2024-11-14T01:59:11.446Z] ==> Searching for coverage reports in: [2024-11-14T01:59:11.446Z] + . [2024-11-14T01:59:11.446Z] -> Found 1 reports [2024-11-14T01:59:11.446Z] ==> Detecting git/mercurial file structure [2024-11-14T01:59:11.446Z] ==> Reading reports [2024-11-14T01:59:11.446Z] + ./coverage.out bytes=21039 [2024-11-14T01:59:11.446Z] ==> Appending adjustments [2024-11-14T01:59:11.446Z] https://docs.codecov.io/docs/fixing-reports [2024-11-14T01:59:11.446Z] + Found adjustments [2024-11-14T01:59:11.446Z] ==> Gzipping contents [2024-11-14T01:59:11.446Z] 4.0K /tmp/codecov.QpniDa.gz [2024-11-14T01:59:11.446Z] ==> Uploading reports [2024-11-14T01:59:11.446Z] url: https://codecov.io [2024-11-14T01:59:11.446Z] query: branch=PR-711&commit=b4832f4e9d95d92746850820f529c5eb86c0ad69&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-711%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=711&job=&cmd_args= [2024-11-14T01:59:11.446Z] -> Pinging Codecov [2024-11-14T01:59:11.446Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-711&commit=b4832f4e9d95d92746850820f529c5eb86c0ad69&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-711%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=711&job=&cmd_args= [2024-11-14T01:59:11.706Z] -> Uploading to [2024-11-14T01:59:11.706Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/b4832f4e9d95d92746850820f529c5eb86c0ad69/22a575e9-e6f5-4ff6-9dff-133b93f0733f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241114%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241114T015911Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=7d54b4c0119cd1a8d04247fb2b237e59944e09f5010e4b76fb4cf781a64e1885 [2024-11-14T01:59:11.706Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-14T01:59:11.706Z] Dload Upload Total Spent Left Speed [2024-11-14T01:59:11.965Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 15140 --:--:-- --:--:-- --:--:-- 15140 [2024-11-14T01:59:11.966Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b4832f4e9d95d92746850820f529c5eb86c0ad69 [Pipeline] } [2024-11-14T01:59:11.997Z] 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-11-14T01:59:14.261Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-711/archives ] [2024-11-14T01:59:14.261Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-711/archives [2024-11-14T01:59:14.261Z] total 16 [2024-11-14T01:59:14.261Z] drwxr-xr-x 3 root root 4096 Nov 14 01:44 . [2024-11-14T01:59:14.261Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 01:44 .. [2024-11-14T01:59:14.261Z] drwxr-xr-x 2 root root 4096 Nov 14 01:44 cost [2024-11-14T01:59:14.261Z] -rw-r--r-- 1 root root 86 Nov 14 01:44 cost.csv [2024-11-14T01:59:14.261Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-711/archives [2024-11-14T01:59:14.261Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-711/archives [2024-11-14T01:59:14.261Z] total 16 [2024-11-14T01:59:14.261Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 01:44 . [2024-11-14T01:59:14.261Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 01:44 .. [2024-11-14T01:59:14.261Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 01:44 cost [2024-11-14T01:59:14.261Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 14 01:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:59:14.599Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:59:15.505Z] ---> package-listing.sh [2024-11-14T01:59:15.505Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-14T01:59:15.505Z] ++ facter osfamily [2024-11-14T01:59:15.764Z] + OS_FAMILY=debian [2024-11-14T01:59:15.764Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-711 [2024-11-14T01:59:15.764Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-14T01:59:15.764Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-14T01:59:15.764Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-14T01:59:15.764Z] + PACKAGES=/tmp/packages_start.txt [2024-11-14T01:59:15.764Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-711 ']' [2024-11-14T01:59:15.764Z] + PACKAGES=/tmp/packages_end.txt [2024-11-14T01:59:15.764Z] + case "${OS_FAMILY}" in [2024-11-14T01:59:15.764Z] + dpkg -l [2024-11-14T01:59:15.764Z] + grep '^ii' [2024-11-14T01:59:15.764Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-14T01:59:15.764Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-14T01:59:15.764Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-14T01:59:15.764Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-711 ']' [2024-11-14T01:59:15.764Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-711/archives/ [2024-11-14T01:59:15.764Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-711/archives/ [Pipeline] echo [2024-11-14T01:59:15.808Z] 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-711/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-14T01:59:16.114Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-14T01:59:16.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-14T01:59:16.759Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-14T01:59:16.904Z] prd-ubuntu20.04-docker-8c-8g-26408 does not seem to be running inside a container [2024-11-14T01:59:16.929Z] $ 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-711/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-711 -v /w/workspace/gexfoundry_device-mqtt-go_PR-711:/w/workspace/gexfoundry_device-mqtt-go_PR-711:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-711@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-11-14T01:59:17.142Z] $ docker top 0b95463f3130195dea4672ece60356fc0436c51fa27351dd783011c8864768f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-14T01:59:17.563Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-14T01:59:17.878Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-14T01:59:18.196Z] + ls /var/log/sa-host [2024-11-14T01:59:18.196Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-14T01:59:18.442Z] provisioning config files... [2024-11-14T01:59:18.451Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-711@tmp/config2344313643195025515tmp [Pipeline] { [Pipeline] echo [2024-11-14T01:59:18.524Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:59:18.846Z] ---> create-netrc.sh [Pipeline] } [2024-11-14T01:59:18.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:59:19.373Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-14T01:59:19.410Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:59:19.796Z] ---> sudo-logs.sh [2024-11-14T01:59:19.796Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-14T01:59:19.900Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:59:20.255Z] ---> job-cost.sh [2024-11-14T01:59:20.255Z] lf-activate-venv: SKIPPING [2024-11-14T01:59:20.255Z] DEBUG: total: 0.2199999988079071 [2024-11-14T01:59:20.255Z] INFO: Retrieving Stack Cost... [2024-11-14T01:59:20.514Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-14T01:59:20.773Z] INFO: Archiving Costs [Pipeline] echo [2024-11-14T01:59:20.821Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-14T01:59:21.150Z] ---> logs-deploy.sh [2024-11-14T01:59:21.150Z] lf-activate-venv: SKIPPING [2024-11-14T01:59:21.150Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-711/1 [2024-11-14T01:59:21.150Z] INFO: archiving workspace using pattern(s): [2024-11-14T01:59:23.089Z] Archives upload complete. [2024-11-14T01:59:23.089Z] INFO: archiving logs to Nexus