Pull request #688 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fc22351108fedf7a1ada5dc2a9613889cfc6f97b+cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb (b648146cfaea2b85cb064eeabebdffc9ae98e9da) 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-ssh14668414747070156049.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh2449296666298248430.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 590556114a56c6d90cc8043840e039c2f74196dc 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-688/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-688/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8572576838806058118.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-688/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17458929317600917982.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh4703330406443313301.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-688/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-688/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13496113196576355452.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 590556114a56c6d90cc8043840e039c2f74196dc Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7335 in /w/workspace/gexfoundry_device-mqtt-go_PR-688 [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-688 # 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 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit fc22351108fedf7a1ada5dc2a9613889cfc6f97b Merge succeeded, producing fc22351108fedf7a1ada5dc2a9613889cfc6f97b Checking out Revision fc22351108fedf7a1ada5dc2a9613889cfc6f97b (PR-688) > 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/688/head:refs/remotes/origin/PR-688 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc22351108fedf7a1ada5dc2a9613889cfc6f97b # 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 cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc22351108fedf7a1ada5dc2a9613889cfc6f97b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-08T01:39:29.814Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-08T01:39:30.039Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-08T01:39:30.173Z] ========================================================= [2024-08-08T01:39:30.173Z] EdgeX Global Pipelines Version Info [2024-08-08T01:39:30.173Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:39:31.303Z] ------------------- [2024-08-08T01:39:31.303Z] stable info: [2024-08-08T01:39:31.303Z] ------------------- [2024-08-08T01:39:31.303Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-08T01:39:31.303Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-08T01:39:31.303Z] Message: update stable to v1.0.260 [2024-08-08T01:39:31.879Z] ------------------- [2024-08-08T01:39:31.879Z] experimental info: [2024-08-08T01:39:31.879Z] ------------------- [2024-08-08T01:39:31.879Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-08T01:39:31.879Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-08T01:39:31.879Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-08T01:39:32.111Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-08-08T01:39:32.169Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-08-08T01:39:32.235Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-08T01:39:32.294Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-08T01:39:32.360Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-08T01:39:32.417Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-08T01:39:32.477Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-08T01:39:32.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-08T01:39:32.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-08T01:39:32.662Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-08T01:39:32.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-08T01:39:32.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-08-08T01:39:32.855Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-08T01:39:32.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-08T01:39:32.960Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-08T01:39:33.018Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-08T01:39:33.075Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-08T01:39:33.131Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-08T01:39:33.189Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-08T01:39:33.249Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-08T01:39:33.312Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-08T01:39:33.372Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-08T01:39:33.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-08T01:39:33.503Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-08T01:39:33.563Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-08T01:39:33.626Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-08T01:39:33.689Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-08T01:39:33.751Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-688 [Pipeline] echo [2024-08-08T01:39:33.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-688 [Pipeline] echo [2024-08-08T01:39:33.878Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-688 [Pipeline] echo [2024-08-08T01:39:33.940Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] echo [2024-08-08T01:39:34.008Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc22351 [Pipeline] echo [2024-08-08T01:39:34.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-08T01:39:34.215Z] provisioning config files... [2024-08-08T01:39:34.229Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/config1024610315907212340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:39:34.624Z] ---> ****-login.sh [2024-08-08T01:39:34.624Z] nexus3.edgexfoundry.org:10001 [2024-08-08T01:39:34.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:39:34.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:39:34.887Z] Configure a credential helper to remove this warning. See [2024-08-08T01:39:34.887Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:39:34.887Z] [2024-08-08T01:39:34.887Z] Login Succeeded [2024-08-08T01:39:34.887Z] nexus3.edgexfoundry.org:10002 [2024-08-08T01:39:35.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:39:35.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:39:35.146Z] Configure a credential helper to remove this warning. See [2024-08-08T01:39:35.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:39:35.146Z] [2024-08-08T01:39:35.146Z] Login Succeeded [2024-08-08T01:39:35.146Z] nexus3.edgexfoundry.org:10003 [2024-08-08T01:39:35.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:39:35.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:39:35.146Z] Configure a credential helper to remove this warning. See [2024-08-08T01:39:35.146Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:39:35.146Z] [2024-08-08T01:39:35.146Z] Login Succeeded [2024-08-08T01:39:35.146Z] nexus3.edgexfoundry.org:10004 [2024-08-08T01:39:35.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:39:35.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:39:35.406Z] Configure a credential helper to remove this warning. See [2024-08-08T01:39:35.406Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:39:35.406Z] [2024-08-08T01:39:35.406Z] Login Succeeded [2024-08-08T01:39:35.406Z] ****.io [2024-08-08T01:39:35.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:39:35.667Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:39:35.667Z] Configure a credential helper to remove this warning. See [2024-08-08T01:39:35.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:39:35.668Z] [2024-08-08T01:39:35.668Z] Login Succeeded [2024-08-08T01:39:35.668Z] ---> ****-login.sh ends [Pipeline] } [2024-08-08T01:39:35.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-08T01:39:36.406Z] + git rev-list -1 --merges fc22351108fedf7a1ada5dc2a9613889cfc6f97b~1..fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] echo [2024-08-08T01:39:36.455Z] -----------> git rev-list -1 --merges fc22351108fedf7a1ada5dc2a9613889cfc6f97b~1..fc22351108fedf7a1ada5dc2a9613889cfc6f97b fc22351108fedf7a1ada5dc2a9613889cfc6f97b [false] [Pipeline] sh [2024-08-08T01:39:36.775Z] + git log --format=format:%s -1 fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] echo [2024-08-08T01:39:36.822Z] ========================================================= [2024-08-08T01:39:36.822Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-08T01:39:36.822Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-08T01:39:37.294Z] + git log --format=format:%s -1 fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] echo [2024-08-08T01:39:37.335Z] [semverPrep] GIT_COMMIT: fc22351108fedf7a1ada5dc2a9613889cfc6f97b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-08T01:39:37.376Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-08T01:39:37.789Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-08T01:39:37.789Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-08T01:39:37.789Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-08T01:39:37.789Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-08T01:39:37.789Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-08T01:39:37.789Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-08T01:39:37.789Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:39:38.336Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-08T01:39:38.336Z] [2024-08-08T01:39:38.336Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:39:38.731Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-08T01:39:38.731Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-08T01:39:38.731Z] b85a868b505f: Pulling fs layer [2024-08-08T01:39:38.731Z] e2be974225ed: Pulling fs layer [2024-08-08T01:39:38.731Z] 339a4e72a1f5: Pulling fs layer [2024-08-08T01:39:38.731Z] 988bab9f4d93: Pulling fs layer [2024-08-08T01:39:38.731Z] 1469e6f7b9e6: Pulling fs layer [2024-08-08T01:39:38.731Z] 988bab9f4d93: Waiting [2024-08-08T01:39:38.731Z] 1469e6f7b9e6: Waiting [2024-08-08T01:39:38.731Z] eaf3925da568: Pulling fs layer [2024-08-08T01:39:38.731Z] bab4dde63d76: Pulling fs layer [2024-08-08T01:39:38.731Z] bde34c3a00c8: Pulling fs layer [2024-08-08T01:39:38.731Z] b352a97aabf1: Pulling fs layer [2024-08-08T01:39:38.731Z] bab4dde63d76: Waiting [2024-08-08T01:39:38.731Z] eaf3925da568: Waiting [2024-08-08T01:39:38.731Z] 4872d77fe225: Pulling fs layer [2024-08-08T01:39:38.731Z] 5851b861e8e6: Pulling fs layer [2024-08-08T01:39:38.731Z] b352a97aabf1: Waiting [2024-08-08T01:39:38.731Z] e2be974225ed: Verifying Checksum [2024-08-08T01:39:38.731Z] e2be974225ed: Download complete [2024-08-08T01:39:38.731Z] 988bab9f4d93: Verifying Checksum [2024-08-08T01:39:38.731Z] 988bab9f4d93: Download complete [2024-08-08T01:39:38.992Z] 1469e6f7b9e6: Verifying Checksum [2024-08-08T01:39:38.992Z] 1469e6f7b9e6: Download complete [2024-08-08T01:39:38.992Z] eaf3925da568: Verifying Checksum [2024-08-08T01:39:38.992Z] eaf3925da568: Download complete [2024-08-08T01:39:38.992Z] 339a4e72a1f5: Verifying Checksum [2024-08-08T01:39:38.992Z] 339a4e72a1f5: Download complete [2024-08-08T01:39:38.992Z] bde34c3a00c8: Verifying Checksum [2024-08-08T01:39:38.992Z] bde34c3a00c8: Download complete [2024-08-08T01:39:38.992Z] b352a97aabf1: Verifying Checksum [2024-08-08T01:39:38.992Z] b352a97aabf1: Download complete [2024-08-08T01:39:38.992Z] 4872d77fe225: Verifying Checksum [2024-08-08T01:39:38.992Z] 4872d77fe225: Download complete [2024-08-08T01:39:38.992Z] 5851b861e8e6: Verifying Checksum [2024-08-08T01:39:38.992Z] 5851b861e8e6: Download complete [2024-08-08T01:39:38.992Z] b85a868b505f: Verifying Checksum [2024-08-08T01:39:38.992Z] b85a868b505f: Download complete [2024-08-08T01:39:40.334Z] b85a868b505f: Pull complete [2024-08-08T01:39:40.334Z] bab4dde63d76: Verifying Checksum [2024-08-08T01:39:40.334Z] bab4dde63d76: Download complete [2024-08-08T01:39:40.334Z] e2be974225ed: Pull complete [2024-08-08T01:39:40.904Z] 339a4e72a1f5: Pull complete [2024-08-08T01:39:40.904Z] 988bab9f4d93: Pull complete [2024-08-08T01:39:41.163Z] 1469e6f7b9e6: Pull complete [2024-08-08T01:39:41.163Z] eaf3925da568: Pull complete [2024-08-08T01:39:43.068Z] bab4dde63d76: Pull complete [2024-08-08T01:39:43.068Z] bde34c3a00c8: Pull complete [2024-08-08T01:39:43.068Z] b352a97aabf1: Pull complete [2024-08-08T01:39:43.068Z] 4872d77fe225: Pull complete [2024-08-08T01:39:43.327Z] 5851b861e8e6: Pull complete [2024-08-08T01:39:43.327Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-08T01:39:43.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-08T01:39:43.327Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T01:39:43.634Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2024-08-08T01:39:43.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-08T01:39:46.068Z] $ docker top b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca -eo pid,comm [2024-08-08T01:39:46.126Z] 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-08-08T01:39:46.126Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-08T01:39:46.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-08T01:39:46.294Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-08T01:39:46.419Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-08T01:39:46.420Z] $ docker exec b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca ssh-agent [2024-08-08T01:39:46.544Z] SSH_AUTH_SOCK=/tmp/ssh-sBrW1JU3pMjK/agent.31 [2024-08-08T01:39:46.544Z] SSH_AGENT_PID=38 [2024-08-08T01:39:46.550Z] Running ssh-add (command line suppressed) [2024-08-08T01:39:46.660Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/private_key_10792869733237964185.key (/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/private_key_10792869733237964185.key) [2024-08-08T01:39:46.675Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-08T01:39:47.048Z] + git tag --points-at HEAD [Pipeline] } [2024-08-08T01:39:47.074Z] $ docker exec --env ******** --env ******** b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca ssh-agent -k [2024-08-08T01:39:47.163Z] unset SSH_AUTH_SOCK; [2024-08-08T01:39:47.164Z] unset SSH_AGENT_PID; [2024-08-08T01:39:47.164Z] echo Agent pid 38 killed; [2024-08-08T01:39:47.176Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-08T01:39:47.296Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-08T01:39:47.296Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-08T01:39:47.417Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-08T01:39:47.418Z] $ docker exec b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca ssh-agent [2024-08-08T01:39:47.533Z] SSH_AUTH_SOCK=/tmp/ssh-4pqpUy7VjBBH/agent.72 [2024-08-08T01:39:47.533Z] SSH_AGENT_PID=78 [2024-08-08T01:39:47.538Z] Running ssh-add (command line suppressed) [2024-08-08T01:39:47.649Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/private_key_16635530530978182272.key (/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/private_key_16635530530978182272.key) [2024-08-08T01:39:47.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-08T01:39:48.031Z] + git semver init [2024-08-08T01:39:48.292Z] 2024-08-08 01:39:48,206 [run_init] DEBUG init version:0.0.0 force:False [2024-08-08T01:39:48.292Z] 2024-08-08 01:39:48,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver [2024-08-08T01:39:48.292Z] 2024-08-08 01:39:48,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver [2024-08-08T01:39:48.292Z] 2024-08-08 01:39:48,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-688, universal_newlines=False, shell=None, istream=None) [2024-08-08T01:39:50.195Z] 2024-08-08 01:39:49,857 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688/.git/info/exclude [2024-08-08T01:39:50.195Z] 2024-08-08 01:39:49,858 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver/PR-688 with force:False [2024-08-08T01:39:50.195Z] 2024-08-08 01:39:49,858 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver/PR-688 [2024-08-08T01:39:50.195Z] 2024-08-08 01:39:49,863 [execute] INFO git cat-file --batch-check [2024-08-08T01:39:50.195Z] 2024-08-08 01:39:49,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver, universal_newlines=False, shell=None, istream=) [2024-08-08T01:39:50.195Z] 2024-08-08 01:39:49,868 [execute] INFO git cat-file --batch [2024-08-08T01:39:50.195Z] 2024-08-08 01:39:49,869 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver, universal_newlines=False, shell=None, istream=) [2024-08-08T01:39:50.195Z] 2024-08-08 01:39:49,875 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-688/.semver/PR-688 [2024-08-08T01:39:50.195Z] 0.0.0 [Pipeline] } [2024-08-08T01:39:50.222Z] $ docker exec --env ******** --env ******** b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca ssh-agent -k [2024-08-08T01:39:50.334Z] unset SSH_AUTH_SOCK; [2024-08-08T01:39:50.335Z] unset SSH_AGENT_PID; [2024-08-08T01:39:50.335Z] echo Agent pid 78 killed; [2024-08-08T01:39:50.344Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-08T01:39:50.805Z] + git semver [Pipeline] } [2024-08-08T01:39:51.110Z] $ docker stop --time=1 b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca [2024-08-08T01:39:52.392Z] $ docker rm -f --volumes b4288f6b5d2834247331357b93c6e3db93ff280885c4d06d4231c6bb8e30c5ca [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-08T01:39:52.819Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-08T01:39:53.177Z] Stashed 1 file(s) [Pipeline] echo [2024-08-08T01:39:53.203Z] [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-08-08T01:39:53.942Z] provisioning config files... [2024-08-08T01:39:53.955Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/config16876789449619740931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:40:03.557Z] ---> ****-login.sh [2024-08-08T01:40:03.557Z] nexus3.edgexfoundry.org:10001 [2024-08-08T01:40:03.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:40:03.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:40:03.557Z] Configure a credential helper to remove this warning. See [2024-08-08T01:40:03.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:40:03.558Z] [2024-08-08T01:40:03.558Z] Login Succeeded [2024-08-08T01:40:03.558Z] nexus3.edgexfoundry.org:10002 [2024-08-08T01:40:03.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:40:03.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:40:03.558Z] Configure a credential helper to remove this warning. See [2024-08-08T01:40:03.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:40:03.558Z] [2024-08-08T01:40:03.558Z] Login Succeeded [2024-08-08T01:40:03.558Z] nexus3.edgexfoundry.org:10003 [2024-08-08T01:40:03.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:40:03.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:40:03.817Z] Configure a credential helper to remove this warning. See [2024-08-08T01:40:03.817Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:40:03.817Z] [2024-08-08T01:40:03.817Z] Login Succeeded [2024-08-08T01:40:03.817Z] nexus3.edgexfoundry.org:10004 [2024-08-08T01:40:03.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:40:03.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:40:03.817Z] Configure a credential helper to remove this warning. See [2024-08-08T01:40:03.817Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:40:03.817Z] [2024-08-08T01:40:03.817Z] Login Succeeded [2024-08-08T01:40:03.817Z] ****.io [2024-08-08T01:40:04.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:40:04.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:40:04.080Z] Configure a credential helper to remove this warning. See [2024-08-08T01:40:04.080Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:40:04.080Z] [2024-08-08T01:40:04.080Z] Login Succeeded [2024-08-08T01:40:04.080Z] ---> ****-login.sh ends [Pipeline] } [2024-08-08T01:40:04.118Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-08T01:40:04.359Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-08T01:40:04.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-08T01:40:04.448Z] ========================================================= [2024-08-08T01:40:04.448Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-08T01:40:04.448Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:40:04.973Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-08T01:40:04.973Z] Sending build context to Docker daemon 20.84MB [2024-08-08T01:40:04.973Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-08T01:40:04.973Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-08T01:40:05.234Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-08T01:40:05.234Z] 619be1103602: Pulling fs layer [2024-08-08T01:40:05.234Z] 7862e08f4a3e: Pulling fs layer [2024-08-08T01:40:05.234Z] 5df492c9dc93: Pulling fs layer [2024-08-08T01:40:05.234Z] 7629e6793208: Pulling fs layer [2024-08-08T01:40:05.234Z] 4f4fb700ef54: Pulling fs layer [2024-08-08T01:40:05.234Z] fb5054dd5b73: Pulling fs layer [2024-08-08T01:40:05.234Z] 7629e6793208: Waiting [2024-08-08T01:40:05.234Z] 4f4fb700ef54: Waiting [2024-08-08T01:40:05.234Z] eeca6798cff9: Pulling fs layer [2024-08-08T01:40:05.234Z] aa269ceb94a6: Pulling fs layer [2024-08-08T01:40:05.234Z] ada007ff1a6a: Pulling fs layer [2024-08-08T01:40:05.234Z] fb5054dd5b73: Waiting [2024-08-08T01:40:05.234Z] aa269ceb94a6: Waiting [2024-08-08T01:40:05.234Z] eeca6798cff9: Waiting [2024-08-08T01:40:05.234Z] 7862e08f4a3e: Download complete [2024-08-08T01:40:05.234Z] 7629e6793208: Verifying Checksum [2024-08-08T01:40:05.234Z] 7629e6793208: Download complete [2024-08-08T01:40:05.234Z] 4f4fb700ef54: Verifying Checksum [2024-08-08T01:40:05.234Z] 4f4fb700ef54: Download complete [2024-08-08T01:40:05.234Z] fb5054dd5b73: Download complete [2024-08-08T01:40:05.234Z] 619be1103602: Verifying Checksum [2024-08-08T01:40:05.234Z] 619be1103602: Download complete [2024-08-08T01:40:05.234Z] eeca6798cff9: Download complete [2024-08-08T01:40:05.234Z] 619be1103602: Pull complete [2024-08-08T01:40:05.498Z] 7862e08f4a3e: Pull complete [2024-08-08T01:40:05.498Z] ada007ff1a6a: Verifying Checksum [2024-08-08T01:40:05.498Z] ada007ff1a6a: Download complete [2024-08-08T01:40:05.760Z] 5df492c9dc93: Download complete [2024-08-08T01:40:06.019Z] aa269ceb94a6: Verifying Checksum [2024-08-08T01:40:06.019Z] aa269ceb94a6: Download complete [2024-08-08T01:40:08.720Z] Still waiting to schedule task [2024-08-08T01:40:08.721Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7333’ [2024-08-08T01:40:09.312Z] 5df492c9dc93: Pull complete [2024-08-08T01:40:09.312Z] 7629e6793208: Pull complete [2024-08-08T01:40:09.312Z] 4f4fb700ef54: Pull complete [2024-08-08T01:40:09.312Z] fb5054dd5b73: Pull complete [2024-08-08T01:40:09.312Z] eeca6798cff9: Pull complete [2024-08-08T01:40:11.213Z] aa269ceb94a6: Pull complete [2024-08-08T01:40:11.787Z] ada007ff1a6a: Pull complete [2024-08-08T01:40:11.787Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-08T01:40:11.787Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-08T01:40:11.787Z] ---> f489d0715acc [2024-08-08T01:40:11.787Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-08T01:40:13.710Z] ---> Running in 74e1df4f41e5 [2024-08-08T01:40:13.710Z] Removing intermediate container 74e1df4f41e5 [2024-08-08T01:40:13.710Z] ---> 498efd078866 [2024-08-08T01:40:13.710Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-08T01:40:13.710Z] ---> Running in 79e83984701c [2024-08-08T01:40:13.710Z] Removing intermediate container 79e83984701c [2024-08-08T01:40:13.710Z] ---> 95770329ace0 [2024-08-08T01:40:13.710Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-08T01:40:13.968Z] ---> Running in bd29c25f1d5f [2024-08-08T01:40:13.968Z] Removing intermediate container bd29c25f1d5f [2024-08-08T01:40:13.968Z] ---> 310149f01307 [2024-08-08T01:40:13.968Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-08T01:40:13.968Z] ---> Running in e3f3cdcce7e2 [2024-08-08T01:40:13.968Z] Removing intermediate container e3f3cdcce7e2 [2024-08-08T01:40:13.968Z] ---> f430ed4f9e43 [2024-08-08T01:40:13.968Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-08T01:40:13.968Z] ---> Running in df384d0c65d3 [2024-08-08T01:40:14.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-08T01:40:14.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-08T01:40:14.758Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-08T01:40:14.758Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-08T01:40:14.758Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-08T01:40:14.758Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-08T01:40:14.758Z] Executing busybox-1.36.1-r5.trigger [2024-08-08T01:40:14.758Z] OK: 268 MiB in 56 packages [2024-08-08T01:40:15.327Z] Removing intermediate container df384d0c65d3 [2024-08-08T01:40:15.327Z] ---> da1fe278283f [2024-08-08T01:40:15.327Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-08-08T01:40:15.327Z] ---> Running in 5bdd4ffe737e [2024-08-08T01:40:15.327Z] Removing intermediate container 5bdd4ffe737e [2024-08-08T01:40:15.327Z] ---> 030457be7d60 [2024-08-08T01:40:15.327Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-08T01:40:15.327Z] ---> 98170030c347 [2024-08-08T01:40:15.327Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-08T01:40:15.327Z] ---> Running in 4c509736b638 [2024-08-08T01:41:23.037Z] Removing intermediate container 4c509736b638 [2024-08-08T01:41:23.037Z] ---> e88ac93bcedf [2024-08-08T01:41:23.037Z] Step 11/12 : COPY . . [2024-08-08T01:41:23.037Z] ---> fa97640e5544 [2024-08-08T01:41:23.037Z] Step 12/12 : RUN $MAKE [2024-08-08T01:41:23.037Z] ---> Running in 44bd48a16750 [2024-08-08T01:41:23.037Z] noop [2024-08-08T01:41:23.037Z] Removing intermediate container 44bd48a16750 [2024-08-08T01:41:23.037Z] ---> 172c62f8f998 [2024-08-08T01:41:23.037Z] Successfully built 172c62f8f998 [2024-08-08T01:41:23.037Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:41:23.535Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-08T01:41:23.535Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T01:41:23.709Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2024-08-08T01:41:23.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-08T01:41:24.105Z] $ docker top c2bd17b7499aa8dff3458c233171e603cda458a7ca8ada4074bbb22ad05d48ca -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T01:41:24.518Z] + go version [2024-08-08T01:41:24.518Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-08T01:41:24.556Z] $ docker stop --time=1 c2bd17b7499aa8dff3458c233171e603cda458a7ca8ada4074bbb22ad05d48ca [2024-08-08T01:41:25.861Z] $ docker rm -f --volumes c2bd17b7499aa8dff3458c233171e603cda458a7ca8ada4074bbb22ad05d48ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:41:26.652Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-08T01:41:26.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T01:41:26.821Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2024-08-08T01:41:26.849Z] $ 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-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-08T01:41:27.187Z] $ docker top 85541f8608262457a49d0d880a6596c1c52b0fd695f0d092eb3ae20593552cac -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T01:41:27.600Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-688 [Pipeline] fileExists [Pipeline] sh [2024-08-08T01:41:27.992Z] + make test [2024-08-08T01:41:27.992Z] go test ./... -coverprofile=coverage.out ./... [2024-08-08T01:41:29.369Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-08-08T01:41:47.429Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-08-08T01:41:47.429Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-08-08T01:41:47.429Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements [2024-08-08T01:41:57.385Z] go vet ./... [2024-08-08T01:42:01.563Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-08T01:42:01.563Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-08T01:42:01.563Z] ./bin/test-attribution-txt.sh [2024-08-08T01:42:01.563Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-08T01:42:01.563Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-08T01:42:01.822Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-08T01:42:01.823Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-08T01:42:01.823Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-08T01:42:01.823Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-08T01:42:01.823Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-08T01:42:01.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-08T01:42:01.919Z] $ docker stop --time=1 85541f8608262457a49d0d880a6596c1c52b0fd695f0d092eb3ae20593552cac [2024-08-08T01:42:03.473Z] $ docker rm -f --volumes 85541f8608262457a49d0d880a6596c1c52b0fd695f0d092eb3ae20593552cac [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-08T01:42:04.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-08T01:42:04.182Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-08T01:42:04.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-08T01:42:05.315Z] + ls -al . [2024-08-08T01:42:05.315Z] total 252 [2024-08-08T01:42:05.315Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 8 01:41 . [2024-08-08T01:42:05.315Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 01:39 .. [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 01:39 .dockerignore [2024-08-08T01:42:05.315Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 01:41 .git [2024-08-08T01:42:05.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:39 .github [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 8 01:39 .gitignore [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 01:39 .golangci.yml [2024-08-08T01:42:05.315Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 01:39 .semver [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 8 01:39 Attribution.txt [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 18574 Aug 8 01:39 CHANGELOG.md [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 1798 Aug 8 01:39 Dockerfile [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 01:39 GOVERNANCE.md [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 8 01:39 Jenkinsfile [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 01:39 LICENSE [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 8 01:39 Makefile [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 8 01:39 OWNERS.md [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 3599 Aug 8 01:39 README.md [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 01:39 VERSION [2024-08-08T01:42:05.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 01:39 bin [2024-08-08T01:42:05.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:39 cmd [2024-08-08T01:42:05.315Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 8 01:41 coverage.out [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 7065 Aug 8 01:39 go.mod [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 8 01:39 go.sum [2024-08-08T01:42:05.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:39 internal [2024-08-08T01:42:05.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 01:39 mock [2024-08-08T01:42:05.315Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 8 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:42:05.739Z] + 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=fc22351108fedf7a1ada5dc2a9613889cfc6f97b --label arch=amd64 --label version=0.0.0 . [2024-08-08T01:42:05.739Z] Sending build context to Docker daemon 20.86MB [2024-08-08T01:42:05.739Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-08-08T01:42:05.739Z] Step 2/25 : FROM ${BASE} AS builder [2024-08-08T01:42:05.739Z] ---> 172c62f8f998 [2024-08-08T01:42:05.739Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-08-08T01:42:06.306Z] ---> Running in df1c48aabf23 [2024-08-08T01:42:06.306Z] Removing intermediate container df1c48aabf23 [2024-08-08T01:42:06.306Z] ---> d3f42a55c0ce [2024-08-08T01:42:06.306Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-08T01:42:06.306Z] ---> Running in 2005e2df5b75 [2024-08-08T01:42:06.306Z] Removing intermediate container 2005e2df5b75 [2024-08-08T01:42:06.306Z] ---> dd14ab1484fe [2024-08-08T01:42:06.306Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-08T01:42:06.306Z] ---> Running in 464832fc6ff8 [2024-08-08T01:42:06.565Z] Removing intermediate container 464832fc6ff8 [2024-08-08T01:42:06.565Z] ---> b77c8b377fc0 [2024-08-08T01:42:06.565Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-08-08T01:42:06.565Z] ---> Running in 75a0d71bc26c [2024-08-08T01:42:06.565Z] Removing intermediate container 75a0d71bc26c [2024-08-08T01:42:06.565Z] ---> 01224740f805 [2024-08-08T01:42:06.565Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-08T01:42:06.565Z] ---> Running in 8ae01858bfc2 [2024-08-08T01:42:06.824Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-08T01:42:07.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-08T01:42:07.341Z] OK: 268 MiB in 56 packages [2024-08-08T01:42:07.599Z] Removing intermediate container 8ae01858bfc2 [2024-08-08T01:42:07.599Z] ---> 681131341d3c [2024-08-08T01:42:07.599Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-08-08T01:42:07.599Z] ---> Running in 804b723db70c [2024-08-08T01:42:07.859Z] Removing intermediate container 804b723db70c [2024-08-08T01:42:07.859Z] ---> 9e3e35caa1cc [2024-08-08T01:42:07.859Z] Step 9/25 : COPY go.mod vendor* ./ [2024-08-08T01:42:07.859Z] ---> 85cc3f93dc34 [2024-08-08T01:42:07.859Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-08T01:42:07.859Z] ---> Running in 1a7a69934a54 [2024-08-08T01:42:08.797Z] Removing intermediate container 1a7a69934a54 [2024-08-08T01:42:08.797Z] ---> ec41f0a61221 [2024-08-08T01:42:08.797Z] Step 11/25 : COPY . . [2024-08-08T01:42:09.365Z] ---> e78679be0545 [2024-08-08T01:42:09.365Z] Step 12/25 : RUN $MAKE [2024-08-08T01:42:09.365Z] ---> Running in 21a93ad85a48 [2024-08-08T01:42:09.624Z] 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.30" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-08-08T01:42:50.003Z] Removing intermediate container 21a93ad85a48 [2024-08-08T01:42:50.003Z] ---> f4d780daa711 [2024-08-08T01:42:50.003Z] Step 13/25 : FROM alpine:3.18 [2024-08-08T01:42:50.003Z] 3.18: Pulling from library/alpine [2024-08-08T01:42:50.003Z] 930bdd4d222e: Pulling fs layer [2024-08-08T01:42:50.003Z] 930bdd4d222e: Verifying Checksum [2024-08-08T01:42:50.003Z] 930bdd4d222e: Download complete [2024-08-08T01:42:50.003Z] 930bdd4d222e: Pull complete [2024-08-08T01:42:50.003Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-08T01:42:50.003Z] Status: Downloaded newer image for alpine:3.18 [2024-08-08T01:42:50.003Z] ---> 18f865063206 [2024-08-08T01:42:50.003Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-08-08T01:42:50.003Z] ---> Running in 1b8edf422c5f [2024-08-08T01:42:50.003Z] Removing intermediate container 1b8edf422c5f [2024-08-08T01:42:50.003Z] ---> d80660e1f0c3 [2024-08-08T01:42:50.003Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-08-08T01:42:50.003Z] ---> Running in 1c3c7c4b3dec [2024-08-08T01:42:50.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-08T01:42:50.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-08T01:42:50.003Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-08T01:42:50.003Z] Executing busybox-1.36.1-r7.trigger [2024-08-08T01:42:50.003Z] OK: 7 MiB in 16 packages [2024-08-08T01:42:50.003Z] Removing intermediate container 1c3c7c4b3dec [2024-08-08T01:42:50.003Z] ---> e9d348ee7b81 [2024-08-08T01:42:50.003Z] Step 16/25 : RUN apk --no-cache upgrade [2024-08-08T01:42:50.003Z] ---> Running in 90fade7630ed [2024-08-08T01:42:50.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-08T01:42:50.003Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-08T01:42:50.003Z] OK: 7 MiB in 16 packages [2024-08-08T01:42:50.003Z] Removing intermediate container 90fade7630ed [2024-08-08T01:42:50.003Z] ---> a4d2e1ea1b69 [2024-08-08T01:42:50.003Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-08-08T01:42:50.003Z] ---> f4c30ba904c8 [2024-08-08T01:42:50.003Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-08-08T01:42:50.003Z] ---> 5744c2922011 [2024-08-08T01:42:50.003Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-08-08T01:42:50.003Z] ---> ca91429d512e [2024-08-08T01:42:50.003Z] Step 20/25 : EXPOSE 59982 [2024-08-08T01:42:50.003Z] ---> Running in 7e7e2fdec121 [2024-08-08T01:42:50.003Z] Removing intermediate container 7e7e2fdec121 [2024-08-08T01:42:50.003Z] ---> 8f604236d074 [2024-08-08T01:42:50.003Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-08-08T01:42:50.003Z] ---> Running in 3182c57362d6 [2024-08-08T01:42:50.003Z] Removing intermediate container 3182c57362d6 [2024-08-08T01:42:50.003Z] ---> 8ff79b98b76b [2024-08-08T01:42:50.003Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-08T01:42:50.003Z] ---> Running in 58b7ac5b19f2 [2024-08-08T01:42:50.003Z] Removing intermediate container 58b7ac5b19f2 [2024-08-08T01:42:50.003Z] ---> 72f21e465b6b [2024-08-08T01:42:50.003Z] Step 23/25 : LABEL arch=amd64 [2024-08-08T01:42:50.003Z] ---> Running in ba9aa0dfe78c [2024-08-08T01:42:50.003Z] Removing intermediate container ba9aa0dfe78c [2024-08-08T01:42:50.003Z] ---> b538d162b5d9 [2024-08-08T01:42:50.003Z] Step 24/25 : LABEL git_sha=fc22351108fedf7a1ada5dc2a9613889cfc6f97b [2024-08-08T01:42:50.003Z] ---> Running in 3e4d03b08193 [2024-08-08T01:42:50.003Z] Removing intermediate container 3e4d03b08193 [2024-08-08T01:42:50.003Z] ---> 8956a723e949 [2024-08-08T01:42:50.003Z] Step 25/25 : LABEL version=0.0.0 [2024-08-08T01:42:50.003Z] ---> Running in 62327b678610 [2024-08-08T01:42:50.263Z] Removing intermediate container 62327b678610 [2024-08-08T01:42:50.263Z] ---> 273139b7fc9d [2024-08-08T01:42:50.263Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-08T01:42:50.263Z] Successfully built 273139b7fc9d [2024-08-08T01:42:50.263Z] 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-08-08T01:42:51.320Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-08T01:42:51.320Z] [2024-08-08T01:42:51.320Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:42:51.738Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-08T01:42:51.738Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-08T01:42:51.738Z] 5eb5b503b376: Pulling fs layer [2024-08-08T01:42:51.738Z] 5c69ac0246d0: Pulling fs layer [2024-08-08T01:42:51.738Z] ec43610c2a17: Pulling fs layer [2024-08-08T01:42:51.738Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-08T01:42:51.738Z] 33b1e0a273af: Pulling fs layer [2024-08-08T01:42:51.738Z] 5d3b04190fa2: Pulling fs layer [2024-08-08T01:42:51.738Z] 2f39f015ded8: Pulling fs layer [2024-08-08T01:42:51.738Z] 3a2ae6a8a46f: Waiting [2024-08-08T01:42:51.738Z] 5d3b04190fa2: Waiting [2024-08-08T01:42:51.738Z] 2f39f015ded8: Waiting [2024-08-08T01:42:51.738Z] 33b1e0a273af: Waiting [2024-08-08T01:42:51.738Z] 5c69ac0246d0: Verifying Checksum [2024-08-08T01:42:51.738Z] 5c69ac0246d0: Download complete [2024-08-08T01:42:51.738Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-08T01:42:51.738Z] 3a2ae6a8a46f: Download complete [2024-08-08T01:42:51.996Z] 33b1e0a273af: Verifying Checksum [2024-08-08T01:42:51.996Z] 33b1e0a273af: Download complete [2024-08-08T01:42:51.996Z] 5d3b04190fa2: Verifying Checksum [2024-08-08T01:42:51.996Z] 5d3b04190fa2: Download complete [2024-08-08T01:42:51.996Z] ec43610c2a17: Verifying Checksum [2024-08-08T01:42:51.996Z] ec43610c2a17: Download complete [2024-08-08T01:42:51.996Z] 5eb5b503b376: Download complete [2024-08-08T01:42:52.563Z] 2f39f015ded8: Download complete [2024-08-08T01:42:53.132Z] 5eb5b503b376: Pull complete [2024-08-08T01:42:53.132Z] 5c69ac0246d0: Pull complete [2024-08-08T01:42:53.700Z] ec43610c2a17: Pull complete [2024-08-08T01:42:53.701Z] 3a2ae6a8a46f: Pull complete [2024-08-08T01:42:53.960Z] 33b1e0a273af: Pull complete [2024-08-08T01:42:53.960Z] 5d3b04190fa2: Pull complete [2024-08-08T01:42:58.142Z] 2f39f015ded8: Pull complete [2024-08-08T01:42:58.142Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-08T01:42:58.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-08T01:42:58.142Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T01:42:58.425Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2024-08-08T01:42:58.454Z] $ 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-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-08T01:43:04.065Z] $ docker top 45e983acae64026be54a7f19df341a9ef2cf11dce70bd331f8cd2da2a137b4bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:43:04.566Z] ---> job-cost.sh [2024-08-08T01:43:04.566Z] lf-activate-venv: SKIPPING [2024-08-08T01:43:04.566Z] INFO: No Stack... [2024-08-08T01:43:04.825Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-08T01:43:05.392Z] INFO: Archiving Costs [Pipeline] sh [2024-08-08T01:43:05.719Z] + + cat /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives/cost.csv [2024-08-08T01:43:05.719Z] cut -d, -f6 [Pipeline] lock [2024-08-08T01:43:05.768Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [2024-08-08T01:43:05.774Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] did not exist. Created. [2024-08-08T01:43:05.782Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-08T01:43:06.198Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-08T01:43:06.258Z] Stashed 1 file(s) [Pipeline] } [2024-08-08T01:43:06.292Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-08T01:43:06.388Z] $ docker stop --time=1 45e983acae64026be54a7f19df341a9ef2cf11dce70bd331f8cd2da2a137b4bc [2024-08-08T01:43:07.534Z] $ docker rm -f --volumes 45e983acae64026be54a7f19df341a9ef2cf11dce70bd331f8cd2da2a137b4bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-08T01:43:43.557Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7336 in /w/workspace/gexfoundry_device-mqtt-go_PR-688 [Pipeline] { [Pipeline] ws [2024-08-08T01:43:43.640Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2024-08-08T01:43:43.734Z] The recommended git tool is: git [2024-08-08T01:43:52.586Z] using credential edgex-jenkins-ssh [2024-08-08T01:43:52.619Z] Cloning the remote Git repository [2024-08-08T01:43:52.736Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-08-08T01:43:52.860Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2024-08-08T01:43:53.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-08-08T01:43:53.089Z] > git --version # timeout=10 [2024-08-08T01:43:53.127Z] > git --version # 'git version 2.25.1' [2024-08-08T01:43:53.130Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-08T01:43:53.381Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-08T01:43:56.364Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-08-08T01:43:56.390Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-08T01:43:58.135Z] Merging remotes/origin/main commit cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb into PR head commit fc22351108fedf7a1ada5dc2a9613889cfc6f97b [2024-08-08T01:43:58.530Z] Merge succeeded, producing fc22351108fedf7a1ada5dc2a9613889cfc6f97b [2024-08-08T01:43:58.531Z] Checking out Revision fc22351108fedf7a1ada5dc2a9613889cfc6f97b (PR-688) [2024-08-08T01:43:57.540Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-08-08T01:43:57.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-08-08T01:43:57.595Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-08T01:43:57.643Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/688/head:refs/remotes/origin/PR-688 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-08T01:43:58.167Z] > git config core.sparsecheckout # timeout=10 [2024-08-08T01:43:58.274Z] > git checkout -f fc22351108fedf7a1ada5dc2a9613889cfc6f97b # timeout=10 [2024-08-08T01:43:58.392Z] > git remote # timeout=10 [2024-08-08T01:43:58.431Z] > git config --get remote.origin.url # timeout=10 [2024-08-08T01:43:58.464Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-08T01:43:58.485Z] > git merge cf4a1ca9ccb49d71782b9d8c0bc8727caf3d94bb # timeout=10 [2024-08-08T01:43:58.514Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-08T01:43:58.540Z] > git config core.sparsecheckout # timeout=10 [2024-08-08T01:43:58.554Z] > git checkout -f fc22351108fedf7a1ada5dc2a9613889cfc6f97b # timeout=10 [2024-08-08T01:43:59.278Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-08T01:43:59.350Z] > git --version # timeout=10 [2024-08-08T01:43:59.372Z] > git --version # 'git version 2.25.1' [2024-08-08T01:43:59.401Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-08T01:44:04.567Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-08T01:44:04.567Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-08T01:44:04.567Z] Dload Upload Total Spent Left Speed [2024-08-08T01:44:04.567Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [2024-08-08T01:44:04.924Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-08T01:44:05.278Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-08T01:44:05.278Z] + sudo tee /etc/docker/daemon.new [2024-08-08T01:44:05.278Z] { [2024-08-08T01:44:05.278Z] "registry-mirrors": [ [2024-08-08T01:44:05.278Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-08T01:44:05.278Z] ], [2024-08-08T01:44:05.278Z] "bip": "10.250.0.254/24", [2024-08-08T01:44:05.278Z] "hosts": [ [2024-08-08T01:44:05.278Z] "tcp://0.0.0.0:5555", [2024-08-08T01:44:05.278Z] "unix:///var/run/docker.sock" [2024-08-08T01:44:05.278Z] ], [2024-08-08T01:44:05.278Z] "mtu": 1458, [2024-08-08T01:44:05.278Z] "selinux-enabled": true, [2024-08-08T01:44:05.278Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-08T01:44:05.278Z] } [Pipeline] sh [2024-08-08T01:44:05.625Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-08T01:44:05.974Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-08T01:44:24.349Z] provisioning config files... [2024-08-08T01:44:24.393Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15776367953699203064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:44:24.923Z] ---> ****-login.sh [2024-08-08T01:44:24.923Z] nexus3.edgexfoundry.org:10001 [2024-08-08T01:44:25.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:44:25.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:44:25.519Z] Configure a credential helper to remove this warning. See [2024-08-08T01:44:25.519Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:44:25.519Z] [2024-08-08T01:44:25.519Z] Login Succeeded [2024-08-08T01:44:25.519Z] nexus3.edgexfoundry.org:10002 [2024-08-08T01:44:25.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:44:26.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:44:26.119Z] Configure a credential helper to remove this warning. See [2024-08-08T01:44:26.119Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:44:26.119Z] [2024-08-08T01:44:26.119Z] Login Succeeded [2024-08-08T01:44:26.119Z] nexus3.edgexfoundry.org:10003 [2024-08-08T01:44:26.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:44:26.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:44:26.392Z] Configure a credential helper to remove this warning. See [2024-08-08T01:44:26.392Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:44:26.392Z] [2024-08-08T01:44:26.392Z] Login Succeeded [2024-08-08T01:44:26.392Z] nexus3.edgexfoundry.org:10004 [2024-08-08T01:44:26.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:44:26.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:44:26.935Z] Configure a credential helper to remove this warning. See [2024-08-08T01:44:26.935Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:44:26.935Z] [2024-08-08T01:44:26.935Z] Login Succeeded [2024-08-08T01:44:26.935Z] ****.io [2024-08-08T01:44:27.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-08T01:44:27.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-08T01:44:27.480Z] Configure a credential helper to remove this warning. See [2024-08-08T01:44:27.480Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-08T01:44:27.480Z] [2024-08-08T01:44:27.480Z] Login Succeeded [2024-08-08T01:44:27.480Z] ---> ****-login.sh ends [Pipeline] } [2024-08-08T01:44:27.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-08T01:44:28.073Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-08T01:44:28.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-08T01:44:28.170Z] ========================================================= [2024-08-08T01:44:28.170Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-08T01:44:28.170Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:44:28.722Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-08T01:44:29.310Z] Sending build context to Docker daemon 10.53MB [2024-08-08T01:44:29.310Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-08T01:44:29.310Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-08T01:44:29.310Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-08T01:44:29.310Z] c6b39de5b339: Pulling fs layer [2024-08-08T01:44:29.310Z] a69c41024577: Pulling fs layer [2024-08-08T01:44:29.310Z] d6de4b400683: Pulling fs layer [2024-08-08T01:44:29.310Z] 35cb2a7552d0: Pulling fs layer [2024-08-08T01:44:29.310Z] 4f4fb700ef54: Pulling fs layer [2024-08-08T01:44:29.310Z] 464afbd9ba4c: Pulling fs layer [2024-08-08T01:44:29.310Z] 00f215d4a9da: Pulling fs layer [2024-08-08T01:44:29.310Z] d496ad576159: Pulling fs layer [2024-08-08T01:44:29.310Z] 4f4fb700ef54: Waiting [2024-08-08T01:44:29.310Z] 464afbd9ba4c: Waiting [2024-08-08T01:44:29.310Z] 00f215d4a9da: Waiting [2024-08-08T01:44:29.310Z] d496ad576159: Waiting [2024-08-08T01:44:29.310Z] 35cb2a7552d0: Waiting [2024-08-08T01:44:29.587Z] a69c41024577: Verifying Checksum [2024-08-08T01:44:29.587Z] a69c41024577: Download complete [2024-08-08T01:44:29.587Z] 35cb2a7552d0: Verifying Checksum [2024-08-08T01:44:29.587Z] 35cb2a7552d0: Download complete [2024-08-08T01:44:29.587Z] 4f4fb700ef54: Verifying Checksum [2024-08-08T01:44:29.587Z] 4f4fb700ef54: Download complete [2024-08-08T01:44:29.587Z] 464afbd9ba4c: Verifying Checksum [2024-08-08T01:44:29.587Z] 464afbd9ba4c: Download complete [2024-08-08T01:44:30.176Z] d496ad576159: Verifying Checksum [2024-08-08T01:44:30.176Z] d496ad576159: Download complete [2024-08-08T01:44:30.448Z] c6b39de5b339: Pull complete [2024-08-08T01:44:31.038Z] a69c41024577: Pull complete [2024-08-08T01:44:31.624Z] d6de4b400683: Verifying Checksum [2024-08-08T01:44:31.624Z] d6de4b400683: Download complete [2024-08-08T01:44:32.598Z] 00f215d4a9da: Verifying Checksum [2024-08-08T01:44:32.598Z] 00f215d4a9da: Download complete [2024-08-08T01:44:44.937Z] d6de4b400683: Pull complete [2024-08-08T01:44:44.937Z] 35cb2a7552d0: Pull complete [2024-08-08T01:44:44.937Z] 4f4fb700ef54: Pull complete [2024-08-08T01:44:45.206Z] 464afbd9ba4c: Pull complete [2024-08-08T01:44:53.445Z] 00f215d4a9da: Pull complete [2024-08-08T01:44:55.388Z] d496ad576159: Pull complete [2024-08-08T01:44:55.388Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-08T01:44:55.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-08T01:44:55.388Z] ---> f246e2811388 [2024-08-08T01:44:55.388Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-08-08T01:44:56.352Z] ---> Running in 30602010a765 [2024-08-08T01:44:56.623Z] Removing intermediate container 30602010a765 [2024-08-08T01:44:56.623Z] ---> 30725c65cbb3 [2024-08-08T01:44:56.623Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-08T01:44:56.623Z] ---> Running in 99e80d8e18ba [2024-08-08T01:44:56.891Z] Removing intermediate container 99e80d8e18ba [2024-08-08T01:44:56.891Z] ---> fe86bdc1dcad [2024-08-08T01:44:56.891Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-08T01:44:57.161Z] ---> Running in e431b58678f1 [2024-08-08T01:44:57.442Z] Removing intermediate container e431b58678f1 [2024-08-08T01:44:57.442Z] ---> c9008e3119ad [2024-08-08T01:44:57.442Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-08T01:44:57.442Z] ---> Running in c03281c37b14 [2024-08-08T01:44:57.709Z] Removing intermediate container c03281c37b14 [2024-08-08T01:44:57.709Z] ---> df7b287b18ac [2024-08-08T01:44:57.709Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-08T01:44:57.709Z] ---> Running in 651f755a7c46 [2024-08-08T01:44:59.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-08T01:44:59.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-08T01:45:00.352Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-08T01:45:00.352Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-08T01:45:00.352Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-08T01:45:00.352Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-08T01:45:00.352Z] Executing busybox-1.36.1-r5.trigger [2024-08-08T01:45:00.352Z] OK: 271 MiB in 56 packages [2024-08-08T01:45:02.303Z] Removing intermediate container 651f755a7c46 [2024-08-08T01:45:02.303Z] ---> a9a2eaedbecf [2024-08-08T01:45:02.303Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-08-08T01:45:02.303Z] ---> Running in 4d1facbe98ee [2024-08-08T01:45:02.569Z] Removing intermediate container 4d1facbe98ee [2024-08-08T01:45:02.569Z] ---> e5c37d921cc6 [2024-08-08T01:45:02.569Z] Step 9/12 : COPY go.mod vendor* ./ [2024-08-08T01:45:03.164Z] ---> 6c5de0d1f12f [2024-08-08T01:45:03.164Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-08T01:45:03.164Z] ---> Running in 20e808c5b5c8 [2024-08-08T01:46:54.830Z] Removing intermediate container 20e808c5b5c8 [2024-08-08T01:46:54.830Z] ---> 52c7886b8f5d [2024-08-08T01:46:54.830Z] Step 11/12 : COPY . . [2024-08-08T01:46:54.830Z] ---> 8f932ecc642f [2024-08-08T01:46:54.830Z] Step 12/12 : RUN $MAKE [2024-08-08T01:46:54.830Z] ---> Running in 6d21588aed64 [2024-08-08T01:46:54.830Z] noop [2024-08-08T01:46:54.830Z] Removing intermediate container 6d21588aed64 [2024-08-08T01:46:54.830Z] ---> 1dc4ed1dee18 [2024-08-08T01:46:54.830Z] Successfully built 1dc4ed1dee18 [2024-08-08T01:46:54.830Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:46:55.348Z] + docker inspect -f . ci-base-image-arm64 [2024-08-08T01:46:55.348Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T01:46:55.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container [2024-08-08T01:46:55.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-08T01:46:56.875Z] $ docker top 913e307d5c8e16fe91ce8800211cddedcfa29f1b1a49b2f93334b9e5228f9de5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T01:46:57.751Z] + go version [2024-08-08T01:46:57.751Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-08T01:46:57.797Z] $ docker stop --time=1 913e307d5c8e16fe91ce8800211cddedcfa29f1b1a49b2f93334b9e5228f9de5 [2024-08-08T01:46:59.410Z] $ docker rm -f --volumes 913e307d5c8e16fe91ce8800211cddedcfa29f1b1a49b2f93334b9e5228f9de5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:47:00.316Z] + docker inspect -f . ci-base-image-arm64 [2024-08-08T01:47:00.316Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T01:47:00.616Z] prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container [2024-08-08T01:47:00.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-08T01:47:02.434Z] $ docker top 06e369b2932971196e56952ba3539b892c6b1c87e873833ce985434779f388a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T01:47:03.349Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-08T01:47:03.766Z] + make test [2024-08-08T01:47:04.033Z] go test ./... -coverprofile=coverage.out ./... [2024-08-08T01:47:09.380Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-08-08T01:50:31.270Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-08-08T01:50:31.270Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-08-08T01:50:31.270Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.048s coverage: 22.8% of statements [2024-08-08T01:50:31.270Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-08T01:50:31.270Z] go vet ./... [2024-08-08T01:51:10.152Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-08T01:51:10.152Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-08T01:51:10.152Z] ./bin/test-attribution-txt.sh [2024-08-08T01:51:10.152Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-08T01:51:10.152Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-08T01:51:10.195Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-08T01:51:10.242Z] $ docker stop --time=1 06e369b2932971196e56952ba3539b892c6b1c87e873833ce985434779f388a9 [2024-08-08T01:51:12.144Z] $ docker rm -f --volumes 06e369b2932971196e56952ba3539b892c6b1c87e873833ce985434779f388a9 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-08T01:51:13.857Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-08T01:51:13.940Z] Warning: overwriting stash ‘coverage-report’ [2024-08-08T01:51:14.409Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-08T01:51:15.110Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-08T01:51:15.452Z] + ls -al . [2024-08-08T01:51:15.452Z] total 248 [2024-08-08T01:51:15.452Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 01:47 . [2024-08-08T01:51:15.452Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 8 01:43 .. [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 8 01:43 .dockerignore [2024-08-08T01:51:15.452Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 8 01:44 .git [2024-08-08T01:51:15.452Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:43 .github [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 264 Aug 8 01:43 .gitignore [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 8 01:43 .golangci.yml [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 10386 Aug 8 01:43 Attribution.txt [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 18574 Aug 8 01:43 CHANGELOG.md [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 1798 Aug 8 01:43 Dockerfile [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 8 01:43 GOVERNANCE.md [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 657 Aug 8 01:43 Jenkinsfile [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 8 01:43 LICENSE [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 1963 Aug 8 01:43 Makefile [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 8 01:43 OWNERS.md [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 3599 Aug 8 01:43 README.md [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 8 01:39 VERSION [2024-08-08T01:51:15.452Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 01:43 bin [2024-08-08T01:51:15.452Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:43 cmd [2024-08-08T01:51:15.452Z] -rw-r--r-- 1 jenkins jenkins 18506 Aug 8 01:50 coverage.out [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 7065 Aug 8 01:43 go.mod [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 8 01:43 go.sum [2024-08-08T01:51:15.452Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 8 01:43 internal [2024-08-08T01:51:15.452Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 8 01:43 mock [2024-08-08T01:51:15.452Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 8 01:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:51:15.915Z] + 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=fc22351108fedf7a1ada5dc2a9613889cfc6f97b --label arch=arm64 --label version=0.0.0 . [2024-08-08T01:51:16.185Z] Sending build context to Docker daemon 10.55MB [2024-08-08T01:51:16.452Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-08-08T01:51:16.452Z] Step 2/25 : FROM ${BASE} AS builder [2024-08-08T01:51:16.452Z] ---> 1dc4ed1dee18 [2024-08-08T01:51:16.452Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-08-08T01:51:16.452Z] ---> Running in b9fbd99009a5 [2024-08-08T01:51:16.731Z] Removing intermediate container b9fbd99009a5 [2024-08-08T01:51:16.731Z] ---> 88042083d441 [2024-08-08T01:51:16.731Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-08T01:51:17.000Z] ---> Running in 209b5a0ff4ee [2024-08-08T01:51:17.274Z] Removing intermediate container 209b5a0ff4ee [2024-08-08T01:51:17.274Z] ---> a0b4793e920f [2024-08-08T01:51:17.274Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-08T01:51:17.274Z] ---> Running in c0d63cf83bb8 [2024-08-08T01:51:17.542Z] Removing intermediate container c0d63cf83bb8 [2024-08-08T01:51:17.542Z] ---> db274ba2603f [2024-08-08T01:51:17.542Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-08-08T01:51:17.812Z] ---> Running in 760c6ffcca44 [2024-08-08T01:51:18.087Z] Removing intermediate container 760c6ffcca44 [2024-08-08T01:51:18.087Z] ---> adc16488ebb3 [2024-08-08T01:51:18.087Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-08T01:51:18.087Z] ---> Running in 11ed1e598986 [2024-08-08T01:51:19.051Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-08T01:51:19.319Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-08T01:51:20.275Z] OK: 271 MiB in 56 packages [2024-08-08T01:51:21.240Z] Removing intermediate container 11ed1e598986 [2024-08-08T01:51:21.240Z] ---> 24ccbbbc8fcb [2024-08-08T01:51:21.240Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-08-08T01:51:21.240Z] ---> Running in b95a549e8dcb [2024-08-08T01:51:21.826Z] Removing intermediate container b95a549e8dcb [2024-08-08T01:51:21.826Z] ---> 3a9e64fa856a [2024-08-08T01:51:21.826Z] Step 9/25 : COPY go.mod vendor* ./ [2024-08-08T01:51:22.411Z] ---> 0c767d503a52 [2024-08-08T01:51:22.411Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-08T01:51:22.411Z] ---> Running in f1e770440ea7 [2024-08-08T01:51:24.991Z] Removing intermediate container f1e770440ea7 [2024-08-08T01:51:24.991Z] ---> da7adc20ea5b [2024-08-08T01:51:24.991Z] Step 11/25 : COPY . . [2024-08-08T01:51:25.953Z] ---> 5a19478ee828 [2024-08-08T01:51:25.953Z] Step 12/25 : RUN $MAKE [2024-08-08T01:51:25.953Z] ---> Running in 5024df48e2ef [2024-08-08T01:51:26.923Z] 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.30" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-08-08T01:54:48.667Z] Removing intermediate container 5024df48e2ef [2024-08-08T01:54:48.667Z] ---> 410e5fa4ba1e [2024-08-08T01:54:48.667Z] Step 13/25 : FROM alpine:3.18 [2024-08-08T01:54:48.934Z] 3.18: Pulling from library/alpine [2024-08-08T01:54:48.934Z] 4983c3fe2029: Pulling fs layer [2024-08-08T01:54:49.198Z] 4983c3fe2029: Verifying Checksum [2024-08-08T01:54:49.198Z] 4983c3fe2029: Download complete [2024-08-08T01:54:49.781Z] 4983c3fe2029: Pull complete [2024-08-08T01:54:49.781Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-08T01:54:49.781Z] Status: Downloaded newer image for alpine:3.18 [2024-08-08T01:54:49.781Z] ---> a0237000ae83 [2024-08-08T01:54:49.781Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-08-08T01:54:49.781Z] ---> Running in bf4ed8ee0a0e [2024-08-08T01:54:50.046Z] Removing intermediate container bf4ed8ee0a0e [2024-08-08T01:54:50.046Z] ---> ba7ec1563b1f [2024-08-08T01:54:50.046Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-08-08T01:54:50.311Z] ---> Running in 7e5baf97cc0e [2024-08-08T01:54:51.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-08T01:54:51.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-08T01:54:52.792Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-08T01:54:52.792Z] Executing busybox-1.36.1-r7.trigger [2024-08-08T01:54:52.792Z] OK: 8 MiB in 16 packages [2024-08-08T01:54:53.384Z] Removing intermediate container 7e5baf97cc0e [2024-08-08T01:54:53.384Z] ---> ac2c7532b28e [2024-08-08T01:54:53.384Z] Step 16/25 : RUN apk --no-cache upgrade [2024-08-08T01:54:53.384Z] ---> Running in fb8c0abe13eb [2024-08-08T01:54:54.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-08T01:54:54.605Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-08T01:54:55.556Z] OK: 8 MiB in 16 packages [2024-08-08T01:54:56.511Z] Removing intermediate container fb8c0abe13eb [2024-08-08T01:54:56.511Z] ---> 96f19ab966ba [2024-08-08T01:54:56.511Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-08-08T01:54:58.442Z] ---> 8b8a01102cbb [2024-08-08T01:54:58.442Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-08-08T01:54:58.708Z] ---> b52a172fa129 [2024-08-08T01:54:58.708Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-08-08T01:54:58.973Z] ---> 7b20e3e08d96 [2024-08-08T01:54:58.973Z] Step 20/25 : EXPOSE 59982 [2024-08-08T01:54:58.973Z] ---> Running in 574a6de9c7df [2024-08-08T01:54:59.241Z] Removing intermediate container 574a6de9c7df [2024-08-08T01:54:59.241Z] ---> a4955fc16a1b [2024-08-08T01:54:59.241Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-08-08T01:54:59.508Z] ---> Running in 5bb826a46ddc [2024-08-08T01:54:59.773Z] Removing intermediate container 5bb826a46ddc [2024-08-08T01:54:59.773Z] ---> e008a2fb1b89 [2024-08-08T01:54:59.773Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-08-08T01:54:59.773Z] ---> Running in ea56daf98d32 [2024-08-08T01:55:00.040Z] Removing intermediate container ea56daf98d32 [2024-08-08T01:55:00.040Z] ---> 3de469d9b893 [2024-08-08T01:55:00.040Z] Step 23/25 : LABEL arch=arm64 [2024-08-08T01:55:00.040Z] ---> Running in 8f40d0ab910d [2024-08-08T01:55:00.305Z] Removing intermediate container 8f40d0ab910d [2024-08-08T01:55:00.305Z] ---> 6875415d3466 [2024-08-08T01:55:00.305Z] Step 24/25 : LABEL git_sha=fc22351108fedf7a1ada5dc2a9613889cfc6f97b [2024-08-08T01:55:00.569Z] ---> Running in 9a56f65ac5f2 [2024-08-08T01:55:00.569Z] Removing intermediate container 9a56f65ac5f2 [2024-08-08T01:55:00.569Z] ---> 8a0e098dd58b [2024-08-08T01:55:00.569Z] Step 25/25 : LABEL version=0.0.0 [2024-08-08T01:55:00.833Z] ---> Running in 4c834a6a979b [2024-08-08T01:55:01.098Z] Removing intermediate container 4c834a6a979b [2024-08-08T01:55:01.098Z] ---> 4c4c24ce49fc [2024-08-08T01:55:01.098Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-08T01:55:01.098Z] Successfully built 4c4c24ce49fc [2024-08-08T01:55:01.098Z] 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-08-08T01:55:02.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-08T01:55:02.024Z] [2024-08-08T01:55:02.024Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:55:02.446Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-08T01:55:02.446Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-08T01:55:02.446Z] 8998bd30e6a1: Pulling fs layer [2024-08-08T01:55:02.446Z] 04944245beec: Pulling fs layer [2024-08-08T01:55:02.446Z] 699f458cf7ca: Pulling fs layer [2024-08-08T01:55:02.446Z] 765212b225bb: Pulling fs layer [2024-08-08T01:55:02.446Z] f23df028b6ca: Pulling fs layer [2024-08-08T01:55:02.446Z] d65c8cfc05b1: Pulling fs layer [2024-08-08T01:55:02.446Z] 2437ff75d9bd: Pulling fs layer [2024-08-08T01:55:02.446Z] f23df028b6ca: Waiting [2024-08-08T01:55:02.446Z] 765212b225bb: Waiting [2024-08-08T01:55:02.446Z] d65c8cfc05b1: Waiting [2024-08-08T01:55:02.446Z] 2437ff75d9bd: Waiting [2024-08-08T01:55:02.713Z] 04944245beec: Verifying Checksum [2024-08-08T01:55:02.713Z] 04944245beec: Download complete [2024-08-08T01:55:02.713Z] 765212b225bb: Verifying Checksum [2024-08-08T01:55:02.713Z] 765212b225bb: Download complete [2024-08-08T01:55:02.713Z] f23df028b6ca: Verifying Checksum [2024-08-08T01:55:02.713Z] f23df028b6ca: Download complete [2024-08-08T01:55:02.713Z] d65c8cfc05b1: Verifying Checksum [2024-08-08T01:55:02.713Z] d65c8cfc05b1: Download complete [2024-08-08T01:55:02.713Z] 699f458cf7ca: Verifying Checksum [2024-08-08T01:55:02.713Z] 699f458cf7ca: Download complete [2024-08-08T01:55:03.294Z] 8998bd30e6a1: Verifying Checksum [2024-08-08T01:55:03.294Z] 8998bd30e6a1: Download complete [2024-08-08T01:55:05.915Z] 2437ff75d9bd: Verifying Checksum [2024-08-08T01:55:05.915Z] 2437ff75d9bd: Download complete [2024-08-08T01:55:07.866Z] 8998bd30e6a1: Pull complete [2024-08-08T01:55:08.131Z] 04944245beec: Pull complete [2024-08-08T01:55:10.066Z] 699f458cf7ca: Pull complete [2024-08-08T01:55:10.066Z] 765212b225bb: Pull complete [2024-08-08T01:55:10.647Z] f23df028b6ca: Pull complete [2024-08-08T01:55:10.915Z] d65c8cfc05b1: Pull complete [2024-08-08T01:55:29.109Z] 2437ff75d9bd: Pull complete [2024-08-08T01:55:29.109Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-08T01:55:29.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-08T01:55:29.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T01:55:29.494Z] prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container [2024-08-08T01:55:29.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-08T01:55:32.255Z] $ docker top 2c849d474919c072841d37ec622109526533d82a598042c06babe2dc268f7b79 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:55:33.162Z] ---> job-cost.sh [2024-08-08T01:55:33.162Z] lf-activate-venv: SKIPPING [2024-08-08T01:55:33.162Z] INFO: No Stack... [2024-08-08T01:55:33.744Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-08T01:55:34.333Z] INFO: Archiving Costs [Pipeline] sh [2024-08-08T01:55:34.990Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2024-08-08T01:55:34.990Z] + cut -d, -f6 [Pipeline] lock [2024-08-08T01:55:35.070Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [2024-08-08T01:55:35.075Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] did not exist. Created. [2024-08-08T01:55:35.082Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-08T01:55:35.819Z] /w/workspace/device-mqtt-go/1@tmp/durable-dd2a1438/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-08T01:55:36.483Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-08T01:55:36.526Z] Warning: overwriting stash ‘stack-cost’ [2024-08-08T01:55:36.568Z] Stashed 1 file(s) [Pipeline] } [2024-08-08T01:55:36.595Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-688-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-08T01:55:36.712Z] $ docker stop --time=1 2c849d474919c072841d37ec622109526533d82a598042c06babe2dc268f7b79 [2024-08-08T01:55:38.225Z] $ docker rm -f --volumes 2c849d474919c072841d37ec622109526533d82a598042c06babe2dc268f7b79 [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-08-08T01:55:39.403Z] provisioning config files... [2024-08-08T01:55:39.409Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/config2972412348311213171tmp [Pipeline] { [Pipeline] sh [2024-08-08T01:55:39.783Z] + set +x [2024-08-08T01:55:39.783Z] + + bash -s --curl [2024-08-08T01:55:39.783Z] -s https://codecov.io/bash [2024-08-08T01:55:39.783Z] [2024-08-08T01:55:39.783Z] _____ _ [2024-08-08T01:55:39.783Z] / ____| | | [2024-08-08T01:55:39.783Z] | | ___ __| | ___ ___ _____ __ [2024-08-08T01:55:39.783Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-08T01:55:39.783Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-08T01:55:39.783Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-08T01:55:39.783Z] Bash-1.0.6 [2024-08-08T01:55:39.783Z] [2024-08-08T01:55:39.783Z] [2024-08-08T01:55:39.783Z] ==> git version 2.25.1 found [2024-08-08T01:55:39.783Z] ==> 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-08-08T01:55:39.783Z] Release-Date: 2020-01-08 [2024-08-08T01:55:39.783Z] 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-08-08T01:55:39.783Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-08T01:55:39.783Z] ==> Jenkins CI detected. [2024-08-08T01:55:39.783Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-688 [2024-08-08T01:55:39.783Z] project root: . [2024-08-08T01:55:39.783Z] --> token set from env [2024-08-08T01:55:39.783Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-08T01:55:39.783Z] ==> Running gcov in . (disable via -X gcov) [2024-08-08T01:55:39.783Z] ==> Python coveragepy not found [2024-08-08T01:55:39.783Z] ==> Searching for coverage reports in: [2024-08-08T01:55:39.783Z] + . [2024-08-08T01:55:39.783Z] -> Found 1 reports [2024-08-08T01:55:39.783Z] ==> Detecting git/mercurial file structure [2024-08-08T01:55:39.783Z] ==> Reading reports [2024-08-08T01:55:40.042Z] + ./coverage.out bytes=18506 [2024-08-08T01:55:40.042Z] ==> Appending adjustments [2024-08-08T01:55:40.042Z] https://docs.codecov.io/docs/fixing-reports [2024-08-08T01:55:40.042Z] + Found adjustments [2024-08-08T01:55:40.042Z] ==> Gzipping contents [2024-08-08T01:55:40.042Z] 4.0K /tmp/codecov.4JgHkG.gz [2024-08-08T01:55:40.042Z] ==> Uploading reports [2024-08-08T01:55:40.042Z] url: https://codecov.io [2024-08-08T01:55:40.042Z] query: branch=PR-688&commit=fc22351108fedf7a1ada5dc2a9613889cfc6f97b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-688%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=688&job=&cmd_args= [2024-08-08T01:55:40.042Z] -> Pinging Codecov [2024-08-08T01:55:40.042Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-688&commit=fc22351108fedf7a1ada5dc2a9613889cfc6f97b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-688%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=688&job=&cmd_args= [2024-08-08T01:55:40.303Z] -> Uploading to [2024-08-08T01:55:40.303Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-08/7D719EC7BBE17E464838252E33014C33/fc22351108fedf7a1ada5dc2a9613889cfc6f97b/4e6dd679-bb34-435c-bfad-0d2e55b78af2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240808%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240808T015540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=07d08c3542cce717dfc98d156f30297d7d9831bf659beeb07f566e62647642fc [2024-08-08T01:55:40.303Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-08T01:55:40.303Z] Dload Upload Total Spent Left Speed [2024-08-08T01:55:40.303Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14800 --:--:-- --:--:-- --:--:-- 14729 100 3049 0 0 100 3049 0 12651 --:--:-- --:--:-- --:--:-- 12599 [2024-08-08T01:55:40.564Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/fc22351108fedf7a1ada5dc2a9613889cfc6f97b [Pipeline] } [2024-08-08T01:55:40.596Z] 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-08-08T01:55:42.999Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives ] [2024-08-08T01:55:42.999Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives [2024-08-08T01:55:42.999Z] total 16 [2024-08-08T01:55:42.999Z] drwxr-xr-x 3 root root 4096 Aug 8 01:43 . [2024-08-08T01:55:42.999Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 01:43 .. [2024-08-08T01:55:42.999Z] drwxr-xr-x 2 root root 4096 Aug 8 01:43 cost [2024-08-08T01:55:42.999Z] -rw-r--r-- 1 root root 86 Aug 8 01:43 cost.csv [2024-08-08T01:55:42.999Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives [2024-08-08T01:55:42.999Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives [2024-08-08T01:55:42.999Z] total 16 [2024-08-08T01:55:42.999Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 8 01:43 . [2024-08-08T01:55:42.999Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 8 01:43 .. [2024-08-08T01:55:42.999Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 8 01:43 cost [2024-08-08T01:55:42.999Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 8 01:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:55:43.343Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:55:44.256Z] ---> package-listing.sh [2024-08-08T01:55:44.256Z] ++ facter osfamily [2024-08-08T01:55:44.256Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-08T01:55:44.516Z] + OS_FAMILY=debian [2024-08-08T01:55:44.516Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-688 [2024-08-08T01:55:44.516Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-08T01:55:44.516Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-08T01:55:44.516Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-08T01:55:44.516Z] + PACKAGES=/tmp/packages_start.txt [2024-08-08T01:55:44.516Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-688 ']' [2024-08-08T01:55:44.516Z] + PACKAGES=/tmp/packages_end.txt [2024-08-08T01:55:44.516Z] + case "${OS_FAMILY}" in [2024-08-08T01:55:44.516Z] + grep '^ii' [2024-08-08T01:55:44.516Z] + dpkg -l [2024-08-08T01:55:44.516Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-08T01:55:44.516Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-08T01:55:44.516Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-08T01:55:44.516Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-688 ']' [2024-08-08T01:55:44.516Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives/ [2024-08-08T01:55:44.516Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-688/archives/ [Pipeline] echo [2024-08-08T01:55:44.559Z] 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-688/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-08T01:55:44.861Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-08T01:55:45.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-08T01:55:45.523Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-08T01:55:45.706Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2024-08-08T01:55:45.734Z] $ 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-688/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-688 -v /w/workspace/gexfoundry_device-mqtt-go_PR-688:/w/workspace/gexfoundry_device-mqtt-go_PR-688:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-08T01:55:45.964Z] $ docker top 09eb6466ae72238ef2db7bef833d92bd7a25f044369b39041671d4853ec78a64 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-08T01:55:46.397Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-08T01:55:46.711Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-08T01:55:47.100Z] + ls /var/log/sa-host [2024-08-08T01:55:47.100Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-08T01:55:47.341Z] provisioning config files... [2024-08-08T01:55:47.364Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-688@tmp/config15621665389866505361tmp [Pipeline] { [Pipeline] echo [2024-08-08T01:55:47.427Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:55:47.832Z] ---> create-netrc.sh [Pipeline] } [2024-08-08T01:55:47.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:55:48.313Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-08T01:55:48.354Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:55:48.685Z] ---> sudo-logs.sh [2024-08-08T01:55:48.685Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-08T01:55:48.791Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:55:49.119Z] ---> job-cost.sh [2024-08-08T01:55:49.119Z] lf-activate-venv: SKIPPING [2024-08-08T01:55:49.119Z] DEBUG: total: 0.2199999988079071 [2024-08-08T01:55:49.119Z] INFO: Retrieving Stack Cost... [2024-08-08T01:55:49.689Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-08T01:55:50.262Z] INFO: Archiving Costs [Pipeline] echo [2024-08-08T01:55:50.307Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-08T01:55:50.637Z] ---> logs-deploy.sh [2024-08-08T01:55:50.637Z] lf-activate-venv: SKIPPING [2024-08-08T01:55:50.637Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-688/1 [2024-08-08T01:55:50.637Z] INFO: archiving workspace using pattern(s): [2024-08-08T01:55:51.578Z] Archives upload complete. [2024-08-08T01:55:51.838Z] INFO: archiving logs to Nexus