Pull request #701 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from e0a7d6305e2fc591ccde04a15c4d9c78573e62c9+9248015ec63f16b77f424838ee7cf1dbf126cff5 (9f73f92967d9ddc2264e9087d5d62f7f332bfd34) 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-ssh8143320345544046985.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-ssh16779141689618872359.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-701/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-701/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11460294067485863759.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-701/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11517492840953165011.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-ssh689825914037584428.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-701/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-701/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7376898799681028683.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 ‘prd-ubuntu20.04-docker-8c-8g-22677’ Running on prd-ubuntu20.04-docker-8c-8g-22680 in /w/workspace/gexfoundry_device-mqtt-go_PR-701 [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-701 # 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 9248015ec63f16b77f424838ee7cf1dbf126cff5 into PR head commit e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 Merge succeeded, producing e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 Checking out Revision e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 (PR-701) > 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/701/head:refs/remotes/origin/PR-701 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9248015ec63f16b77f424838ee7cf1dbf126cff5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 # timeout=10 Commit message: "feat: Enable PIE support for ASLR and full RELRO" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-14T06:44:59.844Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-14T06:45:00.061Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-14T06:45:00.193Z] ========================================================= [2024-10-14T06:45:00.193Z] EdgeX Global Pipelines Version Info [2024-10-14T06:45:00.193Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:45:00.962Z] ------------------- [2024-10-14T06:45:00.962Z] stable info: [2024-10-14T06:45:00.962Z] ------------------- [2024-10-14T06:45:00.962Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-14T06:45:00.962Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T06:45:00.962Z] Message: update stable to v1.0.265 [2024-10-14T06:45:01.528Z] ------------------- [2024-10-14T06:45:01.528Z] experimental info: [2024-10-14T06:45:01.528Z] ------------------- [2024-10-14T06:45:01.528Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-14T06:45:01.528Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-14T06:45:01.528Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-14T06:45:03.924Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-10-14T06:45:06.136Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-10-14T06:45:06.197Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-14T06:45:09.639Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-14T06:45:11.787Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-14T06:45:11.851Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-14T06:45:11.909Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-14T06:45:11.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-14T06:45:12.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-14T06:45:12.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-14T06:45:12.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-14T06:45:12.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-10-14T06:45:12.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-14T06:45:12.336Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-14T06:45:12.396Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T06:45:12.450Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T06:45:12.510Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T06:45:12.567Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T06:45:12.621Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-14T06:45:12.673Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-14T06:45:12.732Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-14T06:45:12.790Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-14T06:45:12.842Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-14T06:45:12.897Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-14T06:45:12.956Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-14T06:45:13.016Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-14T06:45:13.076Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-14T06:45:13.129Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-701 [Pipeline] echo [2024-10-14T06:45:13.180Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-701 [Pipeline] echo [2024-10-14T06:45:13.235Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-701 [Pipeline] echo [2024-10-14T06:45:13.293Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [Pipeline] echo [2024-10-14T06:45:13.352Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e0a7d63 [Pipeline] echo [2024-10-14T06:45:13.409Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T06:45:13.552Z] provisioning config files... [2024-10-14T06:45:13.568Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp/config15232856169925699560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:45:13.959Z] ---> ****-login.sh [2024-10-14T06:45:13.959Z] nexus3.edgexfoundry.org:10001 [2024-10-14T06:45:16.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:16.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:16.489Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:16.489Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:16.489Z] [2024-10-14T06:45:16.489Z] Login Succeeded [2024-10-14T06:45:16.489Z] nexus3.edgexfoundry.org:10002 [2024-10-14T06:45:16.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:16.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:16.489Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:16.489Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:16.489Z] [2024-10-14T06:45:16.489Z] Login Succeeded [2024-10-14T06:45:16.489Z] nexus3.edgexfoundry.org:10003 [2024-10-14T06:45:16.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:16.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:16.750Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:16.750Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:16.750Z] [2024-10-14T06:45:16.750Z] Login Succeeded [2024-10-14T06:45:16.750Z] nexus3.edgexfoundry.org:10004 [2024-10-14T06:45:16.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:16.750Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:16.750Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:16.750Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:16.750Z] [2024-10-14T06:45:16.750Z] Login Succeeded [2024-10-14T06:45:16.750Z] ****.io [2024-10-14T06:45:16.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:22.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:22.039Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:22.039Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:22.039Z] [2024-10-14T06:45:22.039Z] Login Succeeded [2024-10-14T06:45:22.039Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T06:45:22.075Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-14T06:45:22.775Z] + git rev-list -1 --merges e0a7d6305e2fc591ccde04a15c4d9c78573e62c9~1..e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [Pipeline] echo [2024-10-14T06:45:22.826Z] -----------> git rev-list -1 --merges e0a7d6305e2fc591ccde04a15c4d9c78573e62c9~1..e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [false] [Pipeline] sh [2024-10-14T06:45:23.149Z] + git log --format=format:%s -1 e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [Pipeline] echo [2024-10-14T06:45:23.194Z] ========================================================= [2024-10-14T06:45:23.194Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-14T06:45:23.194Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T06:45:23.651Z] + git log --format=format:%s -1 e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [Pipeline] echo [2024-10-14T06:45:23.689Z] [semverPrep] GIT_COMMIT: e0a7d6305e2fc591ccde04a15c4d9c78573e62c9, Commit Message: feat: Enable PIE support for ASLR and full RELRO [Pipeline] echo [2024-10-14T06:45:23.729Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-14T06:45:24.162Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-14T06:45:24.163Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-14T06:45:24.163Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-14T06:45:24.163Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-14T06:45:24.163Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-14T06:45:24.163Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-14T06:45:24.163Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:45:24.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T06:45:24.635Z] [2024-10-14T06:45:24.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:45:25.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T06:45:25.040Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-14T06:45:25.040Z] b85a868b505f: Pulling fs layer [2024-10-14T06:45:25.040Z] e2be974225ed: Pulling fs layer [2024-10-14T06:45:25.040Z] 339a4e72a1f5: Pulling fs layer [2024-10-14T06:45:25.040Z] 988bab9f4d93: Pulling fs layer [2024-10-14T06:45:25.040Z] 1469e6f7b9e6: Pulling fs layer [2024-10-14T06:45:25.040Z] eaf3925da568: Pulling fs layer [2024-10-14T06:45:25.040Z] bab4dde63d76: Pulling fs layer [2024-10-14T06:45:25.040Z] bde34c3a00c8: Pulling fs layer [2024-10-14T06:45:25.040Z] b352a97aabf1: Pulling fs layer [2024-10-14T06:45:25.040Z] 4872d77fe225: Pulling fs layer [2024-10-14T06:45:25.040Z] 5851b861e8e6: Pulling fs layer [2024-10-14T06:45:25.040Z] eaf3925da568: Waiting [2024-10-14T06:45:25.040Z] bab4dde63d76: Waiting [2024-10-14T06:45:25.040Z] bde34c3a00c8: Waiting [2024-10-14T06:45:25.040Z] b352a97aabf1: Waiting [2024-10-14T06:45:25.040Z] 4872d77fe225: Waiting [2024-10-14T06:45:25.040Z] 5851b861e8e6: Waiting [2024-10-14T06:45:25.040Z] 988bab9f4d93: Waiting [2024-10-14T06:45:25.040Z] 1469e6f7b9e6: Waiting [2024-10-14T06:45:25.040Z] e2be974225ed: Verifying Checksum [2024-10-14T06:45:25.040Z] e2be974225ed: Download complete [2024-10-14T06:45:25.040Z] 988bab9f4d93: Verifying Checksum [2024-10-14T06:45:25.040Z] 988bab9f4d93: Download complete [2024-10-14T06:45:25.040Z] 1469e6f7b9e6: Verifying Checksum [2024-10-14T06:45:25.040Z] 1469e6f7b9e6: Download complete [2024-10-14T06:45:25.300Z] eaf3925da568: Download complete [2024-10-14T06:45:25.300Z] 339a4e72a1f5: Verifying Checksum [2024-10-14T06:45:25.300Z] 339a4e72a1f5: Download complete [2024-10-14T06:45:25.300Z] bde34c3a00c8: Verifying Checksum [2024-10-14T06:45:25.300Z] bde34c3a00c8: Download complete [2024-10-14T06:45:25.300Z] b352a97aabf1: Verifying Checksum [2024-10-14T06:45:25.300Z] b352a97aabf1: Download complete [2024-10-14T06:45:25.300Z] 4872d77fe225: Verifying Checksum [2024-10-14T06:45:25.300Z] 4872d77fe225: Download complete [2024-10-14T06:45:25.300Z] 5851b861e8e6: Verifying Checksum [2024-10-14T06:45:25.300Z] 5851b861e8e6: Download complete [2024-10-14T06:45:25.300Z] b85a868b505f: Verifying Checksum [2024-10-14T06:45:25.300Z] b85a868b505f: Download complete [2024-10-14T06:45:25.559Z] bab4dde63d76: Verifying Checksum [2024-10-14T06:45:25.559Z] bab4dde63d76: Download complete [2024-10-14T06:45:26.495Z] b85a868b505f: Pull complete [2024-10-14T06:45:26.495Z] e2be974225ed: Pull complete [2024-10-14T06:45:27.061Z] 339a4e72a1f5: Pull complete [2024-10-14T06:45:27.061Z] 988bab9f4d93: Pull complete [2024-10-14T06:45:27.320Z] 1469e6f7b9e6: Pull complete [2024-10-14T06:45:27.578Z] eaf3925da568: Pull complete [2024-10-14T06:45:29.480Z] bab4dde63d76: Pull complete [2024-10-14T06:45:29.481Z] bde34c3a00c8: Pull complete [2024-10-14T06:45:29.481Z] b352a97aabf1: Pull complete [2024-10-14T06:45:29.481Z] 4872d77fe225: Pull complete [2024-10-14T06:45:29.481Z] 5851b861e8e6: Pull complete [2024-10-14T06:45:29.481Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-14T06:45:29.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T06:45:29.481Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:45:29.772Z] prd-ubuntu20.04-docker-8c-8g-22680 does not seem to be running inside a container [2024-10-14T06:45:29.803Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-701 -v /w/workspace/gexfoundry_device-mqtt-go_PR-701:/w/workspace/gexfoundry_device-mqtt-go_PR-701:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-701@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-devops/py-git-semver:0.1.4 cat [2024-10-14T06:45:32.200Z] $ docker top 01940e6922035ba1a2e1366651cef6f1c223c1da4a6f379701599c71615a0265 -eo pid,comm [2024-10-14T06:45:32.252Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-14T06:45:32.252Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-14T06:45:32.420Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T06:45:32.420Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T06:45:32.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T06:45:32.550Z] $ docker exec 01940e6922035ba1a2e1366651cef6f1c223c1da4a6f379701599c71615a0265 ssh-agent [2024-10-14T06:45:32.661Z] SSH_AUTH_SOCK=/tmp/ssh-mV89dnD7soSA/agent.32 [2024-10-14T06:45:32.661Z] SSH_AGENT_PID=38 [2024-10-14T06:45:32.669Z] Running ssh-add (command line suppressed) [2024-10-14T06:45:32.776Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp/private_key_17228572912800268753.key (/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp/private_key_17228572912800268753.key) [2024-10-14T06:45:32.790Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T06:45:33.140Z] + git tag --points-at HEAD [Pipeline] } [2024-10-14T06:45:33.167Z] $ docker exec --env ******** --env ******** 01940e6922035ba1a2e1366651cef6f1c223c1da4a6f379701599c71615a0265 ssh-agent -k [2024-10-14T06:45:33.260Z] unset SSH_AUTH_SOCK; [2024-10-14T06:45:33.260Z] unset SSH_AGENT_PID; [2024-10-14T06:45:33.261Z] echo Agent pid 38 killed; [2024-10-14T06:45:33.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-14T06:45:33.382Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T06:45:33.382Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T06:45:33.499Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T06:45:33.502Z] $ docker exec 01940e6922035ba1a2e1366651cef6f1c223c1da4a6f379701599c71615a0265 ssh-agent [2024-10-14T06:45:33.617Z] SSH_AUTH_SOCK=/tmp/ssh-skBiT8HhZcSl/agent.71 [2024-10-14T06:45:33.618Z] SSH_AGENT_PID=77 [2024-10-14T06:45:33.623Z] Running ssh-add (command line suppressed) [2024-10-14T06:45:33.720Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp/private_key_34432762201638664.key (/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp/private_key_34432762201638664.key) [2024-10-14T06:45:33.733Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T06:45:34.080Z] + git semver init [2024-10-14T06:45:34.337Z] 2024-10-14 06:45:34,273 [run_init] DEBUG init version:0.0.0 force:False [2024-10-14T06:45:34.337Z] 2024-10-14 06:45:34,274 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-701/.semver [2024-10-14T06:45:34.337Z] 2024-10-14 06:45:34,274 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-701/.semver [2024-10-14T06:45:34.337Z] 2024-10-14 06:45:34,275 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-701/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-701, universal_newlines=False, shell=None, istream=None) [2024-10-14T06:45:36.241Z] 2024-10-14 06:45:35,955 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-701/.git/info/exclude [2024-10-14T06:45:36.241Z] 2024-10-14 06:45:35,956 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-701/.semver/PR-701 with force:False [2024-10-14T06:45:36.241Z] 2024-10-14 06:45:35,956 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-701/.semver/PR-701 [2024-10-14T06:45:36.241Z] 2024-10-14 06:45:35,960 [execute] INFO git cat-file --batch-check [2024-10-14T06:45:36.241Z] 2024-10-14 06:45:35,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-701/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T06:45:36.241Z] 2024-10-14 06:45:35,967 [execute] INFO git cat-file --batch [2024-10-14T06:45:36.241Z] 2024-10-14 06:45:35,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-701/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T06:45:36.241Z] 2024-10-14 06:45:35,973 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-701/.semver/PR-701 [2024-10-14T06:45:36.241Z] 0.0.0 [Pipeline] } [2024-10-14T06:45:36.268Z] $ docker exec --env ******** --env ******** 01940e6922035ba1a2e1366651cef6f1c223c1da4a6f379701599c71615a0265 ssh-agent -k [2024-10-14T06:45:36.377Z] unset SSH_AUTH_SOCK; [2024-10-14T06:45:36.378Z] unset SSH_AGENT_PID; [2024-10-14T06:45:36.378Z] echo Agent pid 77 killed; [2024-10-14T06:45:36.388Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-14T06:45:36.835Z] + git semver [Pipeline] } [2024-10-14T06:45:37.139Z] $ docker stop --time=1 01940e6922035ba1a2e1366651cef6f1c223c1da4a6f379701599c71615a0265 [2024-10-14T06:45:38.466Z] $ docker rm -f --volumes 01940e6922035ba1a2e1366651cef6f1c223c1da4a6f379701599c71615a0265 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T06:45:38.883Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-14T06:45:39.207Z] Stashed 1 file(s) [Pipeline] echo [2024-10-14T06:45:39.233Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T06:45:39.938Z] provisioning config files... [2024-10-14T06:45:39.950Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp/config8397178020010916225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:45:40.328Z] ---> ****-login.sh [2024-10-14T06:45:40.328Z] nexus3.edgexfoundry.org:10001 [2024-10-14T06:45:40.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:40.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:40.328Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:40.328Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:40.328Z] [2024-10-14T06:45:40.328Z] Login Succeeded [2024-10-14T06:45:40.328Z] nexus3.edgexfoundry.org:10002 [2024-10-14T06:45:40.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:40.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:40.329Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:40.329Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:40.329Z] [2024-10-14T06:45:40.329Z] Login Succeeded [2024-10-14T06:45:40.329Z] nexus3.edgexfoundry.org:10003 [2024-10-14T06:45:40.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:40.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:40.594Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:40.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:40.594Z] [2024-10-14T06:45:40.594Z] Login Succeeded [2024-10-14T06:45:40.594Z] nexus3.edgexfoundry.org:10004 [2024-10-14T06:45:40.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:40.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:40.594Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:40.594Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:40.594Z] [2024-10-14T06:45:40.594Z] Login Succeeded [2024-10-14T06:45:40.594Z] ****.io [2024-10-14T06:45:40.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:45:40.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:45:40.854Z] Configure a credential helper to remove this warning. See [2024-10-14T06:45:40.854Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:45:40.854Z] [2024-10-14T06:45:40.854Z] Login Succeeded [2024-10-14T06:45:40.854Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T06:45:40.885Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T06:45:41.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:45:41.259Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:45:41.298Z] ========================================================= [2024-10-14T06:45:41.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-14T06:45:41.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:45:41.805Z] + 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-10-14T06:45:41.805Z] Sending build context to Docker daemon 20.9MB [2024-10-14T06:45:41.805Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T06:45:41.805Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T06:45:41.805Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-14T06:45:41.805Z] 43c4264eed91: Pulling fs layer [2024-10-14T06:45:41.805Z] 4cc291be95ef: Pulling fs layer [2024-10-14T06:45:41.805Z] 2ac1f1163629: Pulling fs layer [2024-10-14T06:45:41.805Z] 5c3c966382ef: Pulling fs layer [2024-10-14T06:45:41.805Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T06:45:41.805Z] 5d5c8e513c77: Pulling fs layer [2024-10-14T06:45:41.805Z] 9f66e0745190: Pulling fs layer [2024-10-14T06:45:41.805Z] f49a43e4bbc0: Pulling fs layer [2024-10-14T06:45:41.805Z] 561ebcabdf7f: Pulling fs layer [2024-10-14T06:45:41.805Z] 5d5c8e513c77: Waiting [2024-10-14T06:45:41.805Z] 9f66e0745190: Waiting [2024-10-14T06:45:41.805Z] 561ebcabdf7f: Waiting [2024-10-14T06:45:41.805Z] f49a43e4bbc0: Waiting [2024-10-14T06:45:41.805Z] 5c3c966382ef: Waiting [2024-10-14T06:45:41.805Z] 4f4fb700ef54: Waiting [2024-10-14T06:45:42.065Z] 4cc291be95ef: Verifying Checksum [2024-10-14T06:45:42.065Z] 4cc291be95ef: Download complete [2024-10-14T06:45:42.065Z] 5c3c966382ef: Download complete [2024-10-14T06:45:42.065Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T06:45:42.065Z] 4f4fb700ef54: Download complete [2024-10-14T06:45:42.065Z] 5d5c8e513c77: Verifying Checksum [2024-10-14T06:45:42.065Z] 5d5c8e513c77: Download complete [2024-10-14T06:45:42.065Z] 43c4264eed91: Verifying Checksum [2024-10-14T06:45:42.065Z] 43c4264eed91: Download complete [2024-10-14T06:45:42.065Z] 9f66e0745190: Verifying Checksum [2024-10-14T06:45:42.065Z] 9f66e0745190: Download complete [2024-10-14T06:45:42.065Z] 43c4264eed91: Pull complete [2024-10-14T06:45:42.325Z] 561ebcabdf7f: Verifying Checksum [2024-10-14T06:45:42.325Z] 561ebcabdf7f: Download complete [2024-10-14T06:45:42.325Z] 4cc291be95ef: Pull complete [2024-10-14T06:45:42.586Z] 2ac1f1163629: Verifying Checksum [2024-10-14T06:45:42.586Z] 2ac1f1163629: Download complete [2024-10-14T06:45:42.847Z] f49a43e4bbc0: Verifying Checksum [2024-10-14T06:45:42.847Z] f49a43e4bbc0: Download complete [2024-10-14T06:45:46.135Z] 2ac1f1163629: Pull complete [2024-10-14T06:45:46.395Z] 5c3c966382ef: Pull complete [2024-10-14T06:45:46.395Z] 4f4fb700ef54: Pull complete [2024-10-14T06:45:46.395Z] 5d5c8e513c77: Pull complete [2024-10-14T06:45:46.656Z] 9f66e0745190: Pull complete [2024-10-14T06:45:49.205Z] f49a43e4bbc0: Pull complete [2024-10-14T06:45:49.465Z] 561ebcabdf7f: Pull complete [2024-10-14T06:45:49.465Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-14T06:45:49.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-14T06:45:49.465Z] ---> 3a752c3f9dda [2024-10-14T06:45:49.465Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T06:45:53.667Z] ---> Running in 9c3c712a52b3 [2024-10-14T06:45:53.667Z] Removing intermediate container 9c3c712a52b3 [2024-10-14T06:45:53.667Z] ---> 514df79ac5f2 [2024-10-14T06:45:53.667Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T06:45:53.667Z] ---> Running in 2ab4cefda84a [2024-10-14T06:45:53.667Z] Removing intermediate container 2ab4cefda84a [2024-10-14T06:45:53.667Z] ---> 07e56f2b6c67 [2024-10-14T06:45:53.667Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T06:45:53.667Z] ---> Running in 020a0c6ddcca [2024-10-14T06:45:53.667Z] Removing intermediate container 020a0c6ddcca [2024-10-14T06:45:53.667Z] ---> 308b1af51e40 [2024-10-14T06:45:53.667Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T06:45:53.667Z] ---> Running in caf7f075e5a3 [2024-10-14T06:45:53.667Z] Removing intermediate container caf7f075e5a3 [2024-10-14T06:45:53.667Z] ---> 6059fbf860a1 [2024-10-14T06:45:53.667Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T06:45:53.667Z] ---> Running in 11aed5a9a422 [2024-10-14T06:45:53.667Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:45:53.926Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:45:54.185Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T06:45:54.185Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T06:45:54.185Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T06:45:54.185Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T06:45:54.185Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T06:45:54.185Z] OK: 250 MiB in 58 packages [2024-10-14T06:45:54.733Z] Still waiting to schedule task [2024-10-14T06:45:54.734Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22678’ [2024-10-14T06:45:54.755Z] Removing intermediate container 11aed5a9a422 [2024-10-14T06:45:54.755Z] ---> b60f724c772a [2024-10-14T06:45:54.755Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-14T06:45:54.755Z] ---> Running in 27341be63435 [2024-10-14T06:45:55.017Z] Removing intermediate container 27341be63435 [2024-10-14T06:45:55.018Z] ---> 606eebac653c [2024-10-14T06:45:55.018Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-14T06:45:55.018Z] ---> eb6cd12919a7 [2024-10-14T06:45:55.018Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T06:45:55.018Z] ---> Running in 01080f8c7bd2 [2024-10-14T06:46:42.024Z] Removing intermediate container 01080f8c7bd2 [2024-10-14T06:46:42.024Z] ---> 08193d5f1fab [2024-10-14T06:46:42.024Z] Step 11/12 : COPY . . [2024-10-14T06:46:42.024Z] ---> 4227bb8af9c2 [2024-10-14T06:46:42.024Z] Step 12/12 : RUN $MAKE [2024-10-14T06:46:42.024Z] ---> Running in 5981e331df29 [2024-10-14T06:46:42.024Z] noop [2024-10-14T06:46:42.024Z] Removing intermediate container 5981e331df29 [2024-10-14T06:46:42.024Z] ---> 2949cc78515c [2024-10-14T06:46:42.024Z] Successfully built 2949cc78515c [2024-10-14T06:46:42.024Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:46:42.508Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T06:46:42.508Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:46:42.679Z] prd-ubuntu20.04-docker-8c-8g-22680 does not seem to be running inside a container [2024-10-14T06:46:42.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-701 -v /w/workspace/gexfoundry_device-mqtt-go_PR-701:/w/workspace/gexfoundry_device-mqtt-go_PR-701:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T06:46:43.035Z] $ docker top c41452e0be6a7a1447b4b5b8b5810fb2b4a4029c7098affcb5b0d2aed5f1f7fe -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T06:46:43.432Z] + go version [2024-10-14T06:46:43.432Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-14T06:46:43.471Z] $ docker stop --time=1 c41452e0be6a7a1447b4b5b8b5810fb2b4a4029c7098affcb5b0d2aed5f1f7fe [2024-10-14T06:46:44.746Z] $ docker rm -f --volumes c41452e0be6a7a1447b4b5b8b5810fb2b4a4029c7098affcb5b0d2aed5f1f7fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:46:45.530Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T06:46:45.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:46:45.711Z] prd-ubuntu20.04-docker-8c-8g-22680 does not seem to be running inside a container [2024-10-14T06:46:45.744Z] $ 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-701 -v /w/workspace/gexfoundry_device-mqtt-go_PR-701:/w/workspace/gexfoundry_device-mqtt-go_PR-701:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-14T06:46:46.086Z] $ docker top 1c74a38e386de3a35c5b09a675e7719ca2720a7f3a8defbf7313612f48ffba10 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T06:46:46.490Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-701 [Pipeline] fileExists [Pipeline] sh [2024-10-14T06:46:46.877Z] + make test [2024-10-14T06:46:46.878Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T06:46:48.781Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-14T06:47:09.692Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-14T06:47:09.692Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-14T06:47:09.692Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.8% of statements [2024-10-14T06:47:17.987Z] go vet ./... [2024-10-14T06:47:23.248Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T06:47:23.248Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T06:47:23.248Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T06:47:23.542Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T06:47:23.582Z] $ docker stop --time=1 1c74a38e386de3a35c5b09a675e7719ca2720a7f3a8defbf7313612f48ffba10 [2024-10-14T06:47:27.531Z] $ docker rm -f --volumes 1c74a38e386de3a35c5b09a675e7719ca2720a7f3a8defbf7313612f48ffba10 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T06:47:28.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T06:47:28.244Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-14T06:47:29.077Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T06:47:29.389Z] + ls -al . [2024-10-14T06:47:29.389Z] total 264 [2024-10-14T06:47:29.389Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 06:46 . [2024-10-14T06:47:29.389Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:44 .. [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 06:44 .dockerignore [2024-10-14T06:47:29.389Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 06:47 .git [2024-10-14T06:47:29.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:44 .github [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 14 06:44 .gitignore [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 06:44 .golangci.yml [2024-10-14T06:47:29.389Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 06:45 .semver [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 14 06:44 Attribution.txt [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 14 06:44 CHANGELOG.md [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 14 06:44 Dockerfile [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 06:44 GOVERNANCE.md [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 14 06:44 Jenkinsfile [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 06:44 LICENSE [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 2500 Oct 14 06:44 Makefile [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 06:44 OWNERS.md [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 14 06:44 README.md [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 06:45 VERSION [2024-10-14T06:47:29.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:44 bin [2024-10-14T06:47:29.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:44 cmd [2024-10-14T06:47:29.389Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 14 06:47 coverage.out [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 14 06:44 go.mod [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 06:44 go.sum [2024-10-14T06:47:29.389Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:44 internal [2024-10-14T06:47:29.389Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:44 mock [2024-10-14T06:47:29.389Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 14 06:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:47:29.825Z] + 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=e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 --label arch=amd64 --label version=0.0.0 . [2024-10-14T06:47:29.826Z] Sending build context to Docker daemon 20.92MB [2024-10-14T06:47:29.826Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T06:47:29.826Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-14T06:47:29.826Z] ---> 2949cc78515c [2024-10-14T06:47:29.826Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-14T06:47:30.084Z] ---> Running in e30e8e26ec1c [2024-10-14T06:47:30.084Z] Removing intermediate container e30e8e26ec1c [2024-10-14T06:47:30.084Z] ---> 29d178082395 [2024-10-14T06:47:30.084Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T06:47:30.084Z] ---> Running in 350d24786348 [2024-10-14T06:47:30.341Z] Removing intermediate container 350d24786348 [2024-10-14T06:47:30.341Z] ---> e92f619efab9 [2024-10-14T06:47:30.341Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T06:47:30.341Z] ---> Running in 0ff0b3916704 [2024-10-14T06:47:30.341Z] Removing intermediate container 0ff0b3916704 [2024-10-14T06:47:30.341Z] ---> 7fc554e79749 [2024-10-14T06:47:30.341Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T06:47:30.341Z] ---> Running in 1c17ed6e2079 [2024-10-14T06:47:30.341Z] Removing intermediate container 1c17ed6e2079 [2024-10-14T06:47:30.341Z] ---> 920385cab2e0 [2024-10-14T06:47:30.341Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T06:47:30.341Z] ---> Running in a40183b72cad [2024-10-14T06:47:30.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:47:30.860Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:47:31.119Z] OK: 250 MiB in 58 packages [2024-10-14T06:47:31.378Z] Removing intermediate container a40183b72cad [2024-10-14T06:47:31.378Z] ---> cde2dffe2ca5 [2024-10-14T06:47:31.378Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-14T06:47:31.378Z] ---> Running in a011a1b23e0b [2024-10-14T06:47:31.378Z] Removing intermediate container a011a1b23e0b [2024-10-14T06:47:31.378Z] ---> 94bebc92ef8c [2024-10-14T06:47:31.378Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-14T06:47:31.636Z] ---> c3a3ed44982b [2024-10-14T06:47:31.636Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T06:47:31.636Z] ---> Running in 058a25b9d374 [2024-10-14T06:47:32.203Z] Removing intermediate container 058a25b9d374 [2024-10-14T06:47:32.203Z] ---> 48495981f971 [2024-10-14T06:47:32.203Z] Step 11/25 : COPY . . [2024-10-14T06:47:32.770Z] ---> 91faa3ab7052 [2024-10-14T06:47:32.770Z] Step 12/25 : RUN $MAKE [2024-10-14T06:47:32.770Z] ---> Running in e9f2283e5aa3 [2024-10-14T06:47:33.031Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [2024-10-14T06:48:05.160Z] Removing intermediate container e9f2283e5aa3 [2024-10-14T06:48:05.160Z] ---> 13b628d7d2b4 [2024-10-14T06:48:05.160Z] Step 13/25 : FROM alpine:3.20 [2024-10-14T06:48:05.160Z] 3.20: Pulling from library/alpine [2024-10-14T06:48:05.160Z] 43c4264eed91: Already exists [2024-10-14T06:48:05.160Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T06:48:05.160Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T06:48:05.160Z] ---> 91ef0af61f39 [2024-10-14T06:48:05.160Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-14T06:48:05.160Z] ---> Running in 172c74005ffb [2024-10-14T06:48:05.160Z] Removing intermediate container 172c74005ffb [2024-10-14T06:48:05.160Z] ---> 8cdf48f83d4a [2024-10-14T06:48:05.160Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-14T06:48:05.160Z] ---> Running in 6d52c0246f26 [2024-10-14T06:48:05.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:48:05.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:48:05.160Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T06:48:05.160Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T06:48:05.160Z] OK: 8 MiB in 15 packages [2024-10-14T06:48:05.420Z] Removing intermediate container 6d52c0246f26 [2024-10-14T06:48:05.420Z] ---> b6bd5f167133 [2024-10-14T06:48:05.420Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-14T06:48:05.420Z] ---> Running in 59af8c6b4965 [2024-10-14T06:48:05.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:48:05.679Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:48:05.939Z] Upgrading critical system libraries and apk-tools: [2024-10-14T06:48:05.939Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T06:48:05.939Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T06:48:06.197Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T06:48:06.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T06:48:06.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T06:48:06.456Z] OK: 8 MiB in 15 packages [2024-10-14T06:48:06.713Z] Removing intermediate container 59af8c6b4965 [2024-10-14T06:48:06.713Z] ---> 1e9d4773456b [2024-10-14T06:48:06.713Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-14T06:48:08.615Z] ---> 11355438e647 [2024-10-14T06:48:08.615Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-14T06:48:08.615Z] ---> b4a285ea1b87 [2024-10-14T06:48:08.615Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-14T06:48:08.615Z] ---> e8c9dfb20f89 [2024-10-14T06:48:08.615Z] Step 20/25 : EXPOSE 59982 [2024-10-14T06:48:08.615Z] ---> Running in 5c7a50d29197 [2024-10-14T06:48:08.615Z] Removing intermediate container 5c7a50d29197 [2024-10-14T06:48:08.615Z] ---> 2d6a8124d1eb [2024-10-14T06:48:08.615Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-14T06:48:08.615Z] ---> Running in 3d45c6f569a5 [2024-10-14T06:48:08.873Z] Removing intermediate container 3d45c6f569a5 [2024-10-14T06:48:08.873Z] ---> 4b3067100291 [2024-10-14T06:48:08.873Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-14T06:48:08.873Z] ---> Running in b476885f64bd [2024-10-14T06:48:08.873Z] Removing intermediate container b476885f64bd [2024-10-14T06:48:08.873Z] ---> fbfc844f242b [2024-10-14T06:48:08.873Z] Step 23/25 : LABEL arch=amd64 [2024-10-14T06:48:08.873Z] ---> Running in bdd9c6ec7492 [2024-10-14T06:48:08.873Z] Removing intermediate container bdd9c6ec7492 [2024-10-14T06:48:08.873Z] ---> d19a7fd0d826 [2024-10-14T06:48:08.873Z] Step 24/25 : LABEL git_sha=e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [2024-10-14T06:48:08.873Z] ---> Running in 475776b2ac20 [2024-10-14T06:48:09.132Z] Removing intermediate container 475776b2ac20 [2024-10-14T06:48:09.132Z] ---> 9c9fd7648b24 [2024-10-14T06:48:09.132Z] Step 25/25 : LABEL version=0.0.0 [2024-10-14T06:48:09.132Z] ---> Running in 5e3075990eee [2024-10-14T06:48:09.132Z] Removing intermediate container 5e3075990eee [2024-10-14T06:48:09.132Z] ---> c2186ab96c6c [2024-10-14T06:48:09.132Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T06:48:09.132Z] Successfully built c2186ab96c6c [2024-10-14T06:48:09.132Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:48:10.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T06:48:10.143Z] [2024-10-14T06:48:10.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:48:10.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T06:48:10.540Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-14T06:48:10.540Z] 5eb5b503b376: Pulling fs layer [2024-10-14T06:48:10.540Z] 5c69ac0246d0: Pulling fs layer [2024-10-14T06:48:10.540Z] ec43610c2a17: Pulling fs layer [2024-10-14T06:48:10.540Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-14T06:48:10.541Z] 33b1e0a273af: Pulling fs layer [2024-10-14T06:48:10.541Z] 5d3b04190fa2: Pulling fs layer [2024-10-14T06:48:10.541Z] 2f39f015ded8: Pulling fs layer [2024-10-14T06:48:10.541Z] 5d3b04190fa2: Waiting [2024-10-14T06:48:10.541Z] 2f39f015ded8: Waiting [2024-10-14T06:48:10.541Z] 33b1e0a273af: Waiting [2024-10-14T06:48:10.541Z] 3a2ae6a8a46f: Waiting [2024-10-14T06:48:10.541Z] 5c69ac0246d0: Verifying Checksum [2024-10-14T06:48:10.541Z] 5c69ac0246d0: Download complete [2024-10-14T06:48:10.541Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-14T06:48:10.541Z] 3a2ae6a8a46f: Download complete [2024-10-14T06:48:10.541Z] 33b1e0a273af: Verifying Checksum [2024-10-14T06:48:10.541Z] 33b1e0a273af: Download complete [2024-10-14T06:48:10.541Z] 5d3b04190fa2: Download complete [2024-10-14T06:48:10.541Z] ec43610c2a17: Verifying Checksum [2024-10-14T06:48:10.541Z] ec43610c2a17: Download complete [2024-10-14T06:48:10.799Z] 5eb5b503b376: Verifying Checksum [2024-10-14T06:48:10.799Z] 5eb5b503b376: Download complete [2024-10-14T06:48:11.364Z] 2f39f015ded8: Download complete [2024-10-14T06:48:11.932Z] 5eb5b503b376: Pull complete [2024-10-14T06:48:11.932Z] 5c69ac0246d0: Pull complete [2024-10-14T06:48:12.498Z] ec43610c2a17: Pull complete [2024-10-14T06:48:12.498Z] 3a2ae6a8a46f: Pull complete [2024-10-14T06:48:12.756Z] 33b1e0a273af: Pull complete [2024-10-14T06:48:12.756Z] 5d3b04190fa2: Pull complete [2024-10-14T06:48:16.950Z] 2f39f015ded8: Pull complete [2024-10-14T06:48:16.950Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-14T06:48:16.950Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T06:48:16.950Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:48:17.197Z] prd-ubuntu20.04-docker-8c-8g-22680 does not seem to be running inside a container [2024-10-14T06:48:17.231Z] $ 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-701 -v /w/workspace/gexfoundry_device-mqtt-go_PR-701:/w/workspace/gexfoundry_device-mqtt-go_PR-701:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T06:48:21.043Z] $ docker top 69a8624f04945c1578d1907e5b5f099432215e0a703300f1dc50a0223e167b8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:48:21.520Z] ---> job-cost.sh [2024-10-14T06:48:21.520Z] lf-activate-venv: SKIPPING [2024-10-14T06:48:21.520Z] INFO: No Stack... [2024-10-14T06:48:22.088Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T06:48:22.347Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T06:48:22.673Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-701/archives/cost.csv [2024-10-14T06:48:22.673Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T06:48:22.724Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-701-1-stack-cost] [2024-10-14T06:48:22.731Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-701-1-stack-cost] did not exist. Created. [2024-10-14T06:48:22.738Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-701-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T06:48:23.162Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-14T06:48:23.213Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T06:48:23.254Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-701-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T06:48:23.351Z] $ docker stop --time=1 69a8624f04945c1578d1907e5b5f099432215e0a703300f1dc50a0223e167b8a [2024-10-14T06:48:24.502Z] $ docker rm -f --volumes 69a8624f04945c1578d1907e5b5f099432215e0a703300f1dc50a0223e167b8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-14T06:49:33.996Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22681 in /w/workspace/gexfoundry_device-mqtt-go_PR-701 [Pipeline] { [Pipeline] ws [2024-10-14T06:49:34.065Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-10-14T06:49:37.171Z] The recommended git tool is: git [2024-10-14T06:49:42.223Z] using credential edgex-jenkins-ssh [2024-10-14T06:49:42.261Z] Cloning the remote Git repository [2024-10-14T06:49:42.312Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-14T06:49:42.421Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-10-14T06:49:42.596Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-14T06:49:42.597Z] > git --version # timeout=10 [2024-10-14T06:49:42.621Z] > git --version # 'git version 2.25.1' [2024-10-14T06:49:42.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T06:49:42.812Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T06:49:45.552Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-14T06:49:45.576Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T06:49:47.253Z] Merging remotes/origin/main commit 9248015ec63f16b77f424838ee7cf1dbf126cff5 into PR head commit e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [2024-10-14T06:49:46.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-10-14T06:49:46.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-10-14T06:49:46.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T06:49:46.663Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/701/head:refs/remotes/origin/PR-701 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-14T06:49:47.268Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T06:49:47.347Z] > git checkout -f e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 # timeout=10 [2024-10-14T06:49:47.564Z] Merge succeeded, producing e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [2024-10-14T06:49:47.564Z] Checking out Revision e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 (PR-701) [2024-10-14T06:49:47.438Z] > git remote # timeout=10 [2024-10-14T06:49:47.459Z] > git config --get remote.origin.url # timeout=10 [2024-10-14T06:49:47.481Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T06:49:47.504Z] > git merge 9248015ec63f16b77f424838ee7cf1dbf126cff5 # timeout=10 [2024-10-14T06:49:47.536Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-14T06:49:47.568Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T06:49:47.589Z] > git checkout -f e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 # timeout=10 [2024-10-14T06:49:51.339Z] Commit message: "feat: Enable PIE support for ASLR and full RELRO" [2024-10-14T06:49:51.397Z] > git --version # timeout=10 [2024-10-14T06:49:51.410Z] > git --version # 'git version 2.25.1' [2024-10-14T06:49:51.433Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T06:49:53.520Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-14T06:49:53.520Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T06:49:53.520Z] Dload Upload Total Spent Left Speed [2024-10-14T06:49:53.520Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh [2024-10-14T06:49:53.884Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-14T06:49:54.253Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-14T06:49:54.253Z] + sudo tee /etc/docker/daemon.new [2024-10-14T06:49:54.253Z] { [2024-10-14T06:49:54.253Z] "registry-mirrors": [ [2024-10-14T06:49:54.253Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-14T06:49:54.253Z] ], [2024-10-14T06:49:54.253Z] "bip": "10.250.0.254/24", [2024-10-14T06:49:54.253Z] "hosts": [ [2024-10-14T06:49:54.253Z] "tcp://0.0.0.0:5555", [2024-10-14T06:49:54.253Z] "unix:///var/run/docker.sock" [2024-10-14T06:49:54.253Z] ], [2024-10-14T06:49:54.253Z] "mtu": 1458, [2024-10-14T06:49:54.253Z] "selinux-enabled": true, [2024-10-14T06:49:54.253Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-14T06:49:54.253Z] } [Pipeline] sh [2024-10-14T06:49:54.618Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-14T06:49:54.995Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T06:50:13.365Z] provisioning config files... [2024-10-14T06:50:13.396Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config419128825834811289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T06:50:13.879Z] ---> ****-login.sh [2024-10-14T06:50:13.879Z] nexus3.edgexfoundry.org:10001 [2024-10-14T06:50:14.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:50:14.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:50:14.419Z] Configure a credential helper to remove this warning. See [2024-10-14T06:50:14.419Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:50:14.419Z] [2024-10-14T06:50:14.419Z] Login Succeeded [2024-10-14T06:50:14.419Z] nexus3.edgexfoundry.org:10002 [2024-10-14T06:50:14.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:50:14.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:50:14.958Z] Configure a credential helper to remove this warning. See [2024-10-14T06:50:14.958Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:50:14.958Z] [2024-10-14T06:50:14.958Z] Login Succeeded [2024-10-14T06:50:14.958Z] nexus3.edgexfoundry.org:10003 [2024-10-14T06:50:14.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:50:15.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:50:15.228Z] Configure a credential helper to remove this warning. See [2024-10-14T06:50:15.228Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:50:15.228Z] [2024-10-14T06:50:15.228Z] Login Succeeded [2024-10-14T06:50:15.228Z] nexus3.edgexfoundry.org:10004 [2024-10-14T06:50:15.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:50:15.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:50:15.496Z] Configure a credential helper to remove this warning. See [2024-10-14T06:50:15.496Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:50:15.496Z] [2024-10-14T06:50:15.496Z] Login Succeeded [2024-10-14T06:50:15.496Z] ****.io [2024-10-14T06:50:15.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T06:50:16.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T06:50:16.032Z] Configure a credential helper to remove this warning. See [2024-10-14T06:50:16.032Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T06:50:16.032Z] [2024-10-14T06:50:16.032Z] Login Succeeded [2024-10-14T06:50:16.032Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T06:50:16.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T06:50:16.522Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:50:16.575Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T06:50:16.625Z] ========================================================= [2024-10-14T06:50:16.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-14T06:50:16.625Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:50:17.184Z] + 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-10-14T06:50:17.452Z] Sending build context to Docker daemon 10.57MB [2024-10-14T06:50:17.728Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T06:50:17.728Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T06:50:17.728Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-14T06:50:17.728Z] cf04c63912e1: Pulling fs layer [2024-10-14T06:50:17.728Z] 55b35a11ae5e: Pulling fs layer [2024-10-14T06:50:17.728Z] a37a00ec5f00: Pulling fs layer [2024-10-14T06:50:17.728Z] 50b3750afda1: Pulling fs layer [2024-10-14T06:50:17.728Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T06:50:17.728Z] 80978eb59214: Pulling fs layer [2024-10-14T06:50:17.728Z] c9f46d7d2bd2: Pulling fs layer [2024-10-14T06:50:17.728Z] c5a475d317c9: Pulling fs layer [2024-10-14T06:50:17.728Z] 80978eb59214: Waiting [2024-10-14T06:50:17.728Z] 50b3750afda1: Waiting [2024-10-14T06:50:17.728Z] c9f46d7d2bd2: Waiting [2024-10-14T06:50:17.728Z] c5a475d317c9: Waiting [2024-10-14T06:50:17.728Z] 4f4fb700ef54: Waiting [2024-10-14T06:50:17.728Z] 55b35a11ae5e: Verifying Checksum [2024-10-14T06:50:17.728Z] 55b35a11ae5e: Download complete [2024-10-14T06:50:17.728Z] 50b3750afda1: Verifying Checksum [2024-10-14T06:50:17.728Z] 50b3750afda1: Download complete [2024-10-14T06:50:17.728Z] 4f4fb700ef54: Download complete [2024-10-14T06:50:17.996Z] 80978eb59214: Verifying Checksum [2024-10-14T06:50:17.996Z] 80978eb59214: Download complete [2024-10-14T06:50:17.996Z] cf04c63912e1: Verifying Checksum [2024-10-14T06:50:17.996Z] cf04c63912e1: Download complete [2024-10-14T06:50:18.273Z] c5a475d317c9: Verifying Checksum [2024-10-14T06:50:18.273Z] c5a475d317c9: Download complete [2024-10-14T06:50:18.861Z] cf04c63912e1: Pull complete [2024-10-14T06:50:19.448Z] 55b35a11ae5e: Pull complete [2024-10-14T06:50:20.032Z] a37a00ec5f00: Verifying Checksum [2024-10-14T06:50:20.032Z] a37a00ec5f00: Download complete [2024-10-14T06:50:20.621Z] c9f46d7d2bd2: Verifying Checksum [2024-10-14T06:50:20.621Z] c9f46d7d2bd2: Download complete [2024-10-14T06:50:35.640Z] a37a00ec5f00: Pull complete [2024-10-14T06:50:35.640Z] 50b3750afda1: Pull complete [2024-10-14T06:50:35.640Z] 4f4fb700ef54: Pull complete [2024-10-14T06:50:35.640Z] 80978eb59214: Pull complete [2024-10-14T06:50:43.873Z] c9f46d7d2bd2: Pull complete [2024-10-14T06:50:44.837Z] c5a475d317c9: Pull complete [2024-10-14T06:50:44.837Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-14T06:50:44.837Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-14T06:50:44.837Z] ---> be29e6b0f0d4 [2024-10-14T06:50:44.837Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T06:50:46.251Z] ---> Running in e42ba9ff3c24 [2024-10-14T06:50:46.251Z] Removing intermediate container e42ba9ff3c24 [2024-10-14T06:50:46.251Z] ---> ad0237224987 [2024-10-14T06:50:46.251Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T06:50:46.521Z] ---> Running in de938bf81976 [2024-10-14T06:50:46.793Z] Removing intermediate container de938bf81976 [2024-10-14T06:50:46.793Z] ---> 95a249e7ae92 [2024-10-14T06:50:46.793Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T06:50:46.793Z] ---> Running in 68be8f27ff64 [2024-10-14T06:50:47.062Z] Removing intermediate container 68be8f27ff64 [2024-10-14T06:50:47.062Z] ---> a296d6121c22 [2024-10-14T06:50:47.062Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T06:50:47.331Z] ---> Running in 47ef897c211c [2024-10-14T06:50:47.604Z] Removing intermediate container 47ef897c211c [2024-10-14T06:50:47.604Z] ---> 5407bf46dc70 [2024-10-14T06:50:47.604Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T06:50:47.604Z] ---> Running in 5a1fb19fd614 [2024-10-14T06:50:49.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T06:50:49.287Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T06:50:50.693Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T06:50:50.973Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T06:50:50.973Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T06:50:50.973Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T06:50:50.973Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T06:50:50.973Z] OK: 242 MiB in 58 packages [2024-10-14T06:50:52.388Z] Removing intermediate container 5a1fb19fd614 [2024-10-14T06:50:52.388Z] ---> 708e836abee6 [2024-10-14T06:50:52.388Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-10-14T06:50:52.388Z] ---> Running in db18828a2842 [2024-10-14T06:50:52.655Z] Removing intermediate container db18828a2842 [2024-10-14T06:50:52.655Z] ---> 7f8dcf8d021f [2024-10-14T06:50:52.655Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-14T06:50:53.247Z] ---> 4063a7863f09 [2024-10-14T06:50:53.247Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T06:50:53.247Z] ---> Running in e050831e9cac [2024-10-14T06:52:44.928Z] Removing intermediate container e050831e9cac [2024-10-14T06:52:44.928Z] ---> e5480e9df0e3 [2024-10-14T06:52:44.928Z] Step 11/12 : COPY . . [2024-10-14T06:52:44.928Z] ---> f6713c29494d [2024-10-14T06:52:44.928Z] Step 12/12 : RUN $MAKE [2024-10-14T06:52:44.928Z] ---> Running in 8d4b4efa145d [2024-10-14T06:52:44.928Z] noop [2024-10-14T06:52:45.894Z] Removing intermediate container 8d4b4efa145d [2024-10-14T06:52:45.894Z] ---> f3432a25f57f [2024-10-14T06:52:45.894Z] Successfully built f3432a25f57f [2024-10-14T06:52:45.894Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:52:46.423Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T06:52:46.423Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:52:46.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-22681 does not seem to be running inside a container [2024-10-14T06:52:47.775Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T06:52:49.173Z] $ docker top 9cf1d7aeddbc6f41c05a096a463295de8046f49658b3958cb493bf1a61519e61 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T06:52:52.697Z] + go version [2024-10-14T06:52:52.697Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-14T06:52:52.726Z] $ docker stop --time=1 9cf1d7aeddbc6f41c05a096a463295de8046f49658b3958cb493bf1a61519e61 [2024-10-14T06:52:57.619Z] $ docker rm -f --volumes 9cf1d7aeddbc6f41c05a096a463295de8046f49658b3958cb493bf1a61519e61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:53:02.197Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T06:53:02.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T06:53:02.462Z] prd-ubuntu20.04-docker-arm64-4c-16g-22681 does not seem to be running inside a container [2024-10-14T06:53:02.525Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T06:53:03.731Z] $ docker top 9b6993bb0c950846415fb70ad13edfd403f8bfc6ec41e8f3c1194a387a1b1b3b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T06:53:04.323Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-14T06:53:04.738Z] + make test [2024-10-14T06:53:05.007Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T06:53:11.654Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-10-14T06:56:48.493Z] github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements [2024-10-14T06:56:48.493Z] github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements [2024-10-14T06:56:48.493Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.055s coverage: 22.8% of statements [2024-10-14T06:56:49.930Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-14T06:56:49.930Z] go vet ./... [2024-10-14T06:57:46.595Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T06:57:46.595Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T06:57:46.595Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T06:57:46.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T06:57:46.683Z] $ docker stop --time=1 9b6993bb0c950846415fb70ad13edfd403f8bfc6ec41e8f3c1194a387a1b1b3b [2024-10-14T06:57:48.585Z] $ docker rm -f --volumes 9b6993bb0c950846415fb70ad13edfd403f8bfc6ec41e8f3c1194a387a1b1b3b [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T06:57:50.351Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T06:57:50.395Z] Warning: overwriting stash ‘coverage-report’ [2024-10-14T06:57:50.874Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T06:57:51.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T06:57:51.873Z] + ls -al . [2024-10-14T06:57:51.873Z] total 260 [2024-10-14T06:57:51.873Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 06:53 . [2024-10-14T06:57:51.873Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 06:49 .. [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 06:49 .dockerignore [2024-10-14T06:57:51.873Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 06:49 .git [2024-10-14T06:57:51.873Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:49 .github [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 14 06:49 .gitignore [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 06:49 .golangci.yml [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 19106 Oct 14 06:49 Attribution.txt [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 18574 Oct 14 06:49 CHANGELOG.md [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 1798 Oct 14 06:49 Dockerfile [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 06:49 GOVERNANCE.md [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 14 06:49 Jenkinsfile [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 06:49 LICENSE [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 2500 Oct 14 06:49 Makefile [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 06:49 OWNERS.md [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 3599 Oct 14 06:49 README.md [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 06:45 VERSION [2024-10-14T06:57:51.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:49 bin [2024-10-14T06:57:51.873Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:49 cmd [2024-10-14T06:57:51.873Z] -rw-r--r-- 1 jenkins jenkins 21039 Oct 14 06:56 coverage.out [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 7037 Oct 14 06:49 go.mod [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 06:49 go.sum [2024-10-14T06:57:51.873Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 06:49 internal [2024-10-14T06:57:51.873Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 06:49 mock [2024-10-14T06:57:51.873Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 14 06:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T06:57:52.332Z] + 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=e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 --label arch=arm64 --label version=0.0.0 . [2024-10-14T06:57:52.601Z] Sending build context to Docker daemon 10.59MB [2024-10-14T06:57:52.868Z] Step 1/25 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T06:57:52.868Z] Step 2/25 : FROM ${BASE} AS builder [2024-10-14T06:57:52.868Z] ---> f3432a25f57f [2024-10-14T06:57:52.868Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-10-14T06:57:52.868Z] ---> Running in 9deed32d54e3 [2024-10-14T06:57:53.137Z] Removing intermediate container 9deed32d54e3 [2024-10-14T06:57:53.137Z] ---> ae738102258b [2024-10-14T06:57:53.137Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T06:57:53.400Z] ---> Running in e93ece2cb4cc [2024-10-14T06:57:53.667Z] Removing intermediate container e93ece2cb4cc [2024-10-14T06:57:53.667Z] ---> 500026d01a9a [2024-10-14T06:57:53.667Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T06:57:53.667Z] ---> Running in cbdc3fdd08a5 [2024-10-14T06:57:53.933Z] Removing intermediate container cbdc3fdd08a5 [2024-10-14T06:57:53.933Z] ---> 3bb47e8b30f5 [2024-10-14T06:57:53.933Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T06:57:53.933Z] ---> Running in 972c4666c77f [2024-10-14T06:57:54.204Z] Removing intermediate container 972c4666c77f [2024-10-14T06:57:54.204Z] ---> f963938324a4 [2024-10-14T06:57:54.204Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T06:57:54.472Z] ---> Running in 4ac269901c3a [2024-10-14T06:57:55.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T06:57:55.702Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T06:57:57.109Z] OK: 242 MiB in 58 packages [2024-10-14T06:57:58.079Z] Removing intermediate container 4ac269901c3a [2024-10-14T06:57:58.079Z] ---> de914a91413f [2024-10-14T06:57:58.079Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-10-14T06:57:58.358Z] ---> Running in 68b18d99e5bf [2024-10-14T06:57:58.626Z] Removing intermediate container 68b18d99e5bf [2024-10-14T06:57:58.626Z] ---> c955c4814fcf [2024-10-14T06:57:58.626Z] Step 9/25 : COPY go.mod vendor* ./ [2024-10-14T06:57:59.212Z] ---> 1a06bee42628 [2024-10-14T06:57:59.212Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T06:57:59.212Z] ---> Running in 50584e8136b6 [2024-10-14T06:58:01.789Z] Removing intermediate container 50584e8136b6 [2024-10-14T06:58:01.789Z] ---> d8dee3688cd5 [2024-10-14T06:58:01.789Z] Step 11/25 : COPY . . [2024-10-14T06:58:02.793Z] ---> b392a0d53596 [2024-10-14T06:58:02.793Z] Step 12/25 : RUN $MAKE [2024-10-14T06:58:02.793Z] ---> Running in b0b09521f9b6 [2024-10-14T06:58:03.765Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-mqtt ./cmd [2024-10-14T07:02:12.871Z] Removing intermediate container b0b09521f9b6 [2024-10-14T07:02:12.871Z] ---> 46826879a085 [2024-10-14T07:02:12.871Z] Step 13/25 : FROM alpine:3.20 [2024-10-14T07:02:12.871Z] 3.20: Pulling from library/alpine [2024-10-14T07:02:12.871Z] cf04c63912e1: Already exists [2024-10-14T07:02:12.871Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T07:02:12.871Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T07:02:12.871Z] ---> c157a85ed455 [2024-10-14T07:02:12.871Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' [2024-10-14T07:02:12.871Z] ---> Running in f367d05db8a7 [2024-10-14T07:02:12.871Z] Removing intermediate container f367d05db8a7 [2024-10-14T07:02:12.871Z] ---> 8af4c785cc24 [2024-10-14T07:02:12.871Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-10-14T07:02:12.871Z] ---> Running in 317f80e7814d [2024-10-14T07:02:12.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:02:12.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:02:12.871Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T07:02:12.871Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:02:12.871Z] OK: 9 MiB in 15 packages [2024-10-14T07:02:14.291Z] Removing intermediate container 317f80e7814d [2024-10-14T07:02:14.291Z] ---> 10dccdb7bd6d [2024-10-14T07:02:14.291Z] Step 16/25 : RUN apk --no-cache upgrade [2024-10-14T07:02:14.291Z] ---> Running in 307591ba827e [2024-10-14T07:02:15.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:02:15.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:02:17.784Z] Upgrading critical system libraries and apk-tools: [2024-10-14T07:02:17.784Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T07:02:17.784Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:02:17.784Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T07:02:17.784Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:02:18.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:02:20.016Z] OK: 9 MiB in 15 packages [2024-10-14T07:02:20.608Z] Removing intermediate container 307591ba827e [2024-10-14T07:02:20.608Z] ---> 33f6dad69cd7 [2024-10-14T07:02:20.608Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-10-14T07:02:23.226Z] ---> 4c6127fecd44 [2024-10-14T07:02:23.226Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-10-14T07:02:23.820Z] ---> f3f5fcbf5ad9 [2024-10-14T07:02:23.820Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-10-14T07:02:24.411Z] ---> 4f63e0248ee7 [2024-10-14T07:02:24.411Z] Step 20/25 : EXPOSE 59982 [2024-10-14T07:02:24.411Z] ---> Running in f11c43370c9e [2024-10-14T07:02:25.009Z] Removing intermediate container f11c43370c9e [2024-10-14T07:02:25.009Z] ---> 82a19b7bef9c [2024-10-14T07:02:25.009Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-10-14T07:02:25.009Z] ---> Running in 00fef79f487e [2024-10-14T07:02:25.596Z] Removing intermediate container 00fef79f487e [2024-10-14T07:02:25.596Z] ---> ccc62b7b0ae4 [2024-10-14T07:02:25.596Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-14T07:02:25.596Z] ---> Running in 77ad22cd6fdc [2024-10-14T07:02:25.862Z] Removing intermediate container 77ad22cd6fdc [2024-10-14T07:02:25.862Z] ---> 17bc3e092d81 [2024-10-14T07:02:25.862Z] Step 23/25 : LABEL arch=arm64 [2024-10-14T07:02:25.862Z] ---> Running in e50d70994222 [2024-10-14T07:02:26.446Z] Removing intermediate container e50d70994222 [2024-10-14T07:02:26.446Z] ---> af9a29577707 [2024-10-14T07:02:26.446Z] Step 24/25 : LABEL git_sha=e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [2024-10-14T07:02:26.446Z] ---> Running in 77cb59466b91 [2024-10-14T07:02:26.726Z] Removing intermediate container 77cb59466b91 [2024-10-14T07:02:26.726Z] ---> 5ee6001219cc [2024-10-14T07:02:26.726Z] Step 25/25 : LABEL version=0.0.0 [2024-10-14T07:02:26.726Z] ---> Running in a6823373e12a [2024-10-14T07:02:27.311Z] Removing intermediate container a6823373e12a [2024-10-14T07:02:27.311Z] ---> 40c8af8e4bff [2024-10-14T07:02:27.311Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T07:02:27.311Z] Successfully built 40c8af8e4bff [2024-10-14T07:02:27.311Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:02:28.280Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T07:02:28.280Z] [2024-10-14T07:02:28.280Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:02:28.695Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T07:02:28.967Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-14T07:02:28.967Z] 8998bd30e6a1: Pulling fs layer [2024-10-14T07:02:28.967Z] 04944245beec: Pulling fs layer [2024-10-14T07:02:28.967Z] 699f458cf7ca: Pulling fs layer [2024-10-14T07:02:28.967Z] 765212b225bb: Pulling fs layer [2024-10-14T07:02:28.967Z] f23df028b6ca: Pulling fs layer [2024-10-14T07:02:28.967Z] d65c8cfc05b1: Pulling fs layer [2024-10-14T07:02:28.967Z] 2437ff75d9bd: Pulling fs layer [2024-10-14T07:02:28.967Z] 765212b225bb: Waiting [2024-10-14T07:02:28.967Z] f23df028b6ca: Waiting [2024-10-14T07:02:28.967Z] d65c8cfc05b1: Waiting [2024-10-14T07:02:28.967Z] 2437ff75d9bd: Waiting [2024-10-14T07:02:28.967Z] 04944245beec: Verifying Checksum [2024-10-14T07:02:28.967Z] 04944245beec: Download complete [2024-10-14T07:02:28.967Z] 765212b225bb: Verifying Checksum [2024-10-14T07:02:28.967Z] 765212b225bb: Download complete [2024-10-14T07:02:28.967Z] f23df028b6ca: Download complete [2024-10-14T07:02:29.237Z] d65c8cfc05b1: Verifying Checksum [2024-10-14T07:02:29.237Z] d65c8cfc05b1: Download complete [2024-10-14T07:02:29.237Z] 699f458cf7ca: Verifying Checksum [2024-10-14T07:02:29.237Z] 699f458cf7ca: Download complete [2024-10-14T07:02:29.820Z] 8998bd30e6a1: Verifying Checksum [2024-10-14T07:02:29.820Z] 8998bd30e6a1: Download complete [2024-10-14T07:02:32.427Z] 2437ff75d9bd: Verifying Checksum [2024-10-14T07:02:32.427Z] 2437ff75d9bd: Download complete [2024-10-14T07:02:35.040Z] 8998bd30e6a1: Pull complete [2024-10-14T07:02:35.631Z] 04944245beec: Pull complete [2024-10-14T07:02:37.045Z] 699f458cf7ca: Pull complete [2024-10-14T07:02:37.632Z] 765212b225bb: Pull complete [2024-10-14T07:02:38.599Z] f23df028b6ca: Pull complete [2024-10-14T07:02:38.599Z] d65c8cfc05b1: Pull complete [2024-10-14T07:02:56.847Z] 2437ff75d9bd: Pull complete [2024-10-14T07:02:56.847Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-14T07:02:56.847Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T07:02:56.847Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:02:57.263Z] prd-ubuntu20.04-docker-arm64-4c-16g-22681 does not seem to be running inside a container [2024-10-14T07:02:57.353Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-14T07:03:00.992Z] $ docker top 49c24131f10d8afa25b913253154c1ee9abfda820a1495e27b3c53a73cf4ecef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:03:02.028Z] ---> job-cost.sh [2024-10-14T07:03:02.028Z] lf-activate-venv: SKIPPING [2024-10-14T07:03:02.028Z] INFO: No Stack... [2024-10-14T07:03:02.618Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-14T07:03:03.590Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T07:03:04.298Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-10-14T07:03:04.298Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T07:03:04.423Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-701-1-stack-cost] [2024-10-14T07:03:04.430Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-701-1-stack-cost] did not exist. Created. [2024-10-14T07:03:04.437Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-701-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T07:03:05.198Z] /w/workspace/device-mqtt-go/1@tmp/durable-ff34c457/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-14T07:03:05.901Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-14T07:03:05.950Z] Warning: overwriting stash ‘stack-cost’ [2024-10-14T07:03:06.013Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T07:03:06.037Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-701-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T07:03:06.128Z] $ docker stop --time=1 49c24131f10d8afa25b913253154c1ee9abfda820a1495e27b3c53a73cf4ecef [2024-10-14T07:03:07.851Z] $ docker rm -f --volumes 49c24131f10d8afa25b913253154c1ee9abfda820a1495e27b3c53a73cf4ecef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-14T07:03:09.068Z] provisioning config files... [2024-10-14T07:03:09.079Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp/config13292882821497418601tmp [Pipeline] { [Pipeline] sh [2024-10-14T07:03:09.457Z] + set +x [2024-10-14T07:03:09.457Z] + curl+ -s https://codecov.io/bash [2024-10-14T07:03:09.457Z] bash -s -- [2024-10-14T07:03:09.457Z] [2024-10-14T07:03:09.457Z] _____ _ [2024-10-14T07:03:09.457Z] / ____| | | [2024-10-14T07:03:09.457Z] | | ___ __| | ___ ___ _____ __ [2024-10-14T07:03:09.457Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-14T07:03:09.457Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-14T07:03:09.457Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-14T07:03:09.457Z] Bash-1.0.6 [2024-10-14T07:03:09.457Z] [2024-10-14T07:03:09.457Z] [2024-10-14T07:03:09.457Z] ==> git version 2.25.1 found [2024-10-14T07:03:09.457Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-14T07:03:09.457Z] Release-Date: 2020-01-08 [2024-10-14T07:03:09.457Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-14T07:03:09.457Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-14T07:03:09.457Z] ==> Jenkins CI detected. [2024-10-14T07:03:09.457Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-701 [2024-10-14T07:03:09.457Z] project root: . [2024-10-14T07:03:09.457Z] --> token set from env [2024-10-14T07:03:09.457Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-14T07:03:09.457Z] ==> Running gcov in . (disable via -X gcov) [2024-10-14T07:03:09.457Z] ==> Python coveragepy not found [2024-10-14T07:03:09.457Z] ==> Searching for coverage reports in: [2024-10-14T07:03:09.457Z] + . [2024-10-14T07:03:09.457Z] -> Found 1 reports [2024-10-14T07:03:09.457Z] ==> Detecting git/mercurial file structure [2024-10-14T07:03:09.457Z] ==> Reading reports [2024-10-14T07:03:09.457Z] + ./coverage.out bytes=21039 [2024-10-14T07:03:09.716Z] ==> Appending adjustments [2024-10-14T07:03:09.717Z] https://docs.codecov.io/docs/fixing-reports [2024-10-14T07:03:09.717Z] + Found adjustments [2024-10-14T07:03:09.717Z] ==> Gzipping contents [2024-10-14T07:03:09.717Z] 4.0K /tmp/codecov.ADBde4.gz [2024-10-14T07:03:09.717Z] ==> Uploading reports [2024-10-14T07:03:09.717Z] url: https://codecov.io [2024-10-14T07:03:09.717Z] query: branch=PR-701&commit=e0a7d6305e2fc591ccde04a15c4d9c78573e62c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-701%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=701&job=&cmd_args= [2024-10-14T07:03:09.717Z] -> Pinging Codecov [2024-10-14T07:03:09.717Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-701&commit=e0a7d6305e2fc591ccde04a15c4d9c78573e62c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-701%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=701&job=&cmd_args= [2024-10-14T07:03:09.976Z] -> Uploading to [2024-10-14T07:03:09.976Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/e0a7d6305e2fc591ccde04a15c4d9c78573e62c9/5d76ef82-fa88-40df-9165-bb20b3ce1af4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T070309Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5fa11b3ac50b0bee17c55a742773d7dd017c6115fa1158c04ad9928c1e346e2d [2024-10-14T07:03:09.976Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:03:09.976Z] Dload Upload Total Spent Left Speed [2024-10-14T07:03:10.235Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 14805 --:--:-- --:--:-- --:--:-- 14805 [2024-10-14T07:03:10.235Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e0a7d6305e2fc591ccde04a15c4d9c78573e62c9 [Pipeline] } [2024-10-14T07:03:10.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-14T07:03:12.473Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-701/archives ] [2024-10-14T07:03:12.473Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-701/archives [2024-10-14T07:03:12.473Z] total 16 [2024-10-14T07:03:12.473Z] drwxr-xr-x 3 root root 4096 Oct 14 06:48 . [2024-10-14T07:03:12.473Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 06:48 .. [2024-10-14T07:03:12.473Z] drwxr-xr-x 2 root root 4096 Oct 14 06:48 cost [2024-10-14T07:03:12.473Z] -rw-r--r-- 1 root root 86 Oct 14 06:48 cost.csv [2024-10-14T07:03:12.473Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-701/archives [2024-10-14T07:03:12.473Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-701/archives [2024-10-14T07:03:12.473Z] total 16 [2024-10-14T07:03:12.473Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 06:48 . [2024-10-14T07:03:12.473Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 06:48 .. [2024-10-14T07:03:12.473Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 06:48 cost [2024-10-14T07:03:12.473Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 14 06:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:03:12.812Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:03:13.716Z] ---> package-listing.sh [2024-10-14T07:03:13.716Z] ++ facter osfamily [2024-10-14T07:03:13.716Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-14T07:03:13.975Z] + OS_FAMILY=debian [2024-10-14T07:03:13.975Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-701 [2024-10-14T07:03:13.975Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-14T07:03:13.975Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-14T07:03:13.975Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-14T07:03:13.975Z] + PACKAGES=/tmp/packages_start.txt [2024-10-14T07:03:13.975Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-701 ']' [2024-10-14T07:03:13.975Z] + PACKAGES=/tmp/packages_end.txt [2024-10-14T07:03:13.975Z] + case "${OS_FAMILY}" in [2024-10-14T07:03:13.975Z] + dpkg -l [2024-10-14T07:03:13.975Z] + grep '^ii' [2024-10-14T07:03:13.975Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-14T07:03:13.975Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-14T07:03:13.975Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-14T07:03:13.975Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-701 ']' [2024-10-14T07:03:13.975Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-701/archives/ [2024-10-14T07:03:13.975Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-701/archives/ [Pipeline] echo [2024-10-14T07:03:14.019Z] 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-701/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-14T07:03:14.320Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:03:14.965Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:03:14.965Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:03:15.129Z] prd-ubuntu20.04-docker-8c-8g-22680 does not seem to be running inside a container [2024-10-14T07:03:15.167Z] $ 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-701/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-701 -v /w/workspace/gexfoundry_device-mqtt-go_PR-701:/w/workspace/gexfoundry_device-mqtt-go_PR-701:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T07:03:15.355Z] $ docker top f5b8b779c60c8b720057f5a969f4aa4cfe58234e8a4f3fd13a5534eddab27baf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:03:15.752Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-14T07:03:16.068Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-14T07:03:16.381Z] + ls /var/log/sa-host [2024-10-14T07:03:16.381Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:03:16.622Z] provisioning config files... [2024-10-14T07:03:16.632Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-701@tmp/config17553327765254908930tmp [Pipeline] { [Pipeline] echo [2024-10-14T07:03:16.700Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:03:17.026Z] ---> create-netrc.sh [Pipeline] } [2024-10-14T07:03:17.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:03:17.482Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-14T07:03:17.524Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:03:17.955Z] ---> sudo-logs.sh [2024-10-14T07:03:17.955Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-14T07:03:18.060Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:03:18.433Z] ---> job-cost.sh [2024-10-14T07:03:18.434Z] lf-activate-venv: SKIPPING [2024-10-14T07:03:18.434Z] DEBUG: total: 0.2199999988079071 [2024-10-14T07:03:18.434Z] INFO: Retrieving Stack Cost... [2024-10-14T07:03:18.694Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T07:03:19.262Z] INFO: Archiving Costs [Pipeline] echo [2024-10-14T07:03:19.309Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:03:19.637Z] ---> logs-deploy.sh [2024-10-14T07:03:19.637Z] lf-activate-venv: SKIPPING [2024-10-14T07:03:19.637Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-701/1 [2024-10-14T07:03:19.637Z] INFO: archiving workspace using pattern(s): [2024-10-14T07:03:20.576Z] Archives upload complete. [2024-10-14T07:03:20.576Z] INFO: archiving logs to Nexus