Started by upstream project "edgexfoundry/cd-management/release-lts" build number 68 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dabaf310096f55ca97d0e997aba8433d12ae90b5 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-ssh9628192668615549379.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-ssh7743654767597185192.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6143422663942315990.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 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-ssh17738865754538754967.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1528479287854998673.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [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-2004 in /w/workspace/edgexfoundry_device-mqtt-go_napa [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/edgexfoundry_device-mqtt-go_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision dabaf310096f55ca97d0e997aba8433d12ae90b5 (napa) Commit message: "ci(lts-release): LTS release v3.1.1 @7a6fdf0" > git config core.sparsecheckout # timeout=10 > git checkout -f dabaf310096f55ca97d0e997aba8433d12ae90b5 # timeout=10 > git rev-list --no-walk dabaf310096f55ca97d0e997aba8433d12ae90b5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-31T09:40:47.908Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-31T09:40:47.989Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-31T09:40:48.012Z] ========================================================= [2024-05-31T09:40:48.012Z] EdgeX Global Pipelines Version Info [2024-05-31T09:40:48.012Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:40:48.734Z] ------------------- [2024-05-31T09:40:48.734Z] stable info: [2024-05-31T09:40:48.734Z] ------------------- [2024-05-31T09:40:48.734Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-31T09:40:48.734Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-05-31T09:40:48.734Z] Message: update stable to v1.0.260 [2024-05-31T09:40:49.306Z] ------------------- [2024-05-31T09:40:49.306Z] experimental info: [2024-05-31T09:40:49.306Z] ------------------- [2024-05-31T09:40:49.306Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-05-31T09:40:49.306Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-31T09:40:49.306Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-31T09:40:49.387Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-05-31T09:40:49.412Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-05-31T09:40:49.431Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-31T09:40:49.448Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-31T09:40:49.466Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-31T09:40:49.491Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-31T09:40:49.511Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-31T09:40:49.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-31T09:40:49.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-31T09:40:49.583Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-31T09:40:49.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-31T09:40:49.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-05-31T09:40:49.649Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-31T09:40:49.669Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-31T09:40:49.690Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-31T09:40:49.716Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-31T09:40:49.736Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-31T09:40:49.762Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-31T09:40:49.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-31T09:40:49.803Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-31T09:40:49.821Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-31T09:40:49.840Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-31T09:40:49.864Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-31T09:40:49.885Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-31T09:40:49.912Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-31T09:40:49.938Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-31T09:40:49.963Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-31T09:40:49.986Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2024-05-31T09:40:50.010Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2024-05-31T09:40:50.035Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2024-05-31T09:40:50.059Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] echo [2024-05-31T09:40:50.079Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dabaf31 [Pipeline] echo [2024-05-31T09:40:50.106Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:40:50.172Z] provisioning config files... [2024-05-31T09:40:50.183Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config17398735266882523288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:40:50.516Z] ---> ****-login.sh [2024-05-31T09:40:50.516Z] nexus3.edgexfoundry.org:10001 [2024-05-31T09:40:50.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:40:50.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:40:50.777Z] Configure a credential helper to remove this warning. See [2024-05-31T09:40:50.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:40:50.777Z] [2024-05-31T09:40:50.777Z] Login Succeeded [2024-05-31T09:40:50.777Z] nexus3.edgexfoundry.org:10002 [2024-05-31T09:40:50.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:40:50.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:40:50.777Z] Configure a credential helper to remove this warning. See [2024-05-31T09:40:50.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:40:50.777Z] [2024-05-31T09:40:50.777Z] Login Succeeded [2024-05-31T09:40:50.777Z] nexus3.edgexfoundry.org:10003 [2024-05-31T09:40:51.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:40:51.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:40:51.036Z] Configure a credential helper to remove this warning. See [2024-05-31T09:40:51.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:40:51.036Z] [2024-05-31T09:40:51.036Z] Login Succeeded [2024-05-31T09:40:51.036Z] nexus3.edgexfoundry.org:10004 [2024-05-31T09:40:51.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:40:51.036Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:40:51.036Z] Configure a credential helper to remove this warning. See [2024-05-31T09:40:51.036Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:40:51.036Z] [2024-05-31T09:40:51.036Z] Login Succeeded [2024-05-31T09:40:51.036Z] ****.io [2024-05-31T09:40:51.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:40:51.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:40:51.296Z] Configure a credential helper to remove this warning. See [2024-05-31T09:40:51.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:40:51.296Z] [2024-05-31T09:40:51.296Z] Login Succeeded [2024-05-31T09:40:51.296Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T09:40:51.303Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-31T09:40:51.695Z] + git rev-list -1 --merges dabaf310096f55ca97d0e997aba8433d12ae90b5~1..dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] echo [2024-05-31T09:40:51.726Z] -----------> git rev-list -1 --merges dabaf310096f55ca97d0e997aba8433d12ae90b5~1..dabaf310096f55ca97d0e997aba8433d12ae90b5 dabaf310096f55ca97d0e997aba8433d12ae90b5 [false] [Pipeline] sh [2024-05-31T09:40:52.023Z] + git log --format=format:%s -1 dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] echo [2024-05-31T09:40:52.036Z] ========================================================= [2024-05-31T09:40:52.036Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2024-05-31T09:40:52.036Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-31T09:40:52.373Z] + git log --format=format:%s -1 dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] echo [2024-05-31T09:40:52.381Z] [semverPrep] GIT_COMMIT: dabaf310096f55ca97d0e997aba8433d12ae90b5, Commit Message: ci(lts-release): LTS release v3.1.1 @7a6fdf0 [Pipeline] echo [2024-05-31T09:40:52.397Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-31T09:40:52.767Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-31T09:40:52.767Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-31T09:40:52.767Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-31T09:40:52.767Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-31T09:40:52.767Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-31T09:40:52.767Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-31T09:40:52.767Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:40:53.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T09:40:53.227Z] [2024-05-31T09:40:53.227Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:40:53.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T09:40:53.545Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-31T09:40:53.545Z] b85a868b505f: Pulling fs layer [2024-05-31T09:40:53.545Z] e2be974225ed: Pulling fs layer [2024-05-31T09:40:53.545Z] 339a4e72a1f5: Pulling fs layer [2024-05-31T09:40:53.545Z] 988bab9f4d93: Pulling fs layer [2024-05-31T09:40:53.545Z] 1469e6f7b9e6: Pulling fs layer [2024-05-31T09:40:53.545Z] eaf3925da568: Pulling fs layer [2024-05-31T09:40:53.545Z] bab4dde63d76: Pulling fs layer [2024-05-31T09:40:53.545Z] bde34c3a00c8: Pulling fs layer [2024-05-31T09:40:53.545Z] b352a97aabf1: Pulling fs layer [2024-05-31T09:40:53.545Z] 4872d77fe225: Pulling fs layer [2024-05-31T09:40:53.545Z] 5851b861e8e6: Pulling fs layer [2024-05-31T09:40:53.545Z] bab4dde63d76: Waiting [2024-05-31T09:40:53.545Z] 4872d77fe225: Waiting [2024-05-31T09:40:53.545Z] 5851b861e8e6: Waiting [2024-05-31T09:40:53.545Z] 1469e6f7b9e6: Waiting [2024-05-31T09:40:53.545Z] 988bab9f4d93: Waiting [2024-05-31T09:40:53.545Z] eaf3925da568: Waiting [2024-05-31T09:40:53.545Z] b352a97aabf1: Waiting [2024-05-31T09:40:53.545Z] bde34c3a00c8: Waiting [2024-05-31T09:40:53.545Z] e2be974225ed: Download complete [2024-05-31T09:40:53.545Z] 988bab9f4d93: Verifying Checksum [2024-05-31T09:40:53.545Z] 988bab9f4d93: Download complete [2024-05-31T09:40:53.545Z] 1469e6f7b9e6: Verifying Checksum [2024-05-31T09:40:53.545Z] 1469e6f7b9e6: Download complete [2024-05-31T09:40:53.545Z] eaf3925da568: Verifying Checksum [2024-05-31T09:40:53.545Z] eaf3925da568: Download complete [2024-05-31T09:40:53.805Z] 339a4e72a1f5: Verifying Checksum [2024-05-31T09:40:53.805Z] 339a4e72a1f5: Download complete [2024-05-31T09:40:53.805Z] bde34c3a00c8: Download complete [2024-05-31T09:40:53.805Z] b352a97aabf1: Verifying Checksum [2024-05-31T09:40:53.805Z] b352a97aabf1: Download complete [2024-05-31T09:40:53.805Z] 4872d77fe225: Download complete [2024-05-31T09:40:53.805Z] b85a868b505f: Verifying Checksum [2024-05-31T09:40:53.805Z] b85a868b505f: Download complete [2024-05-31T09:40:53.805Z] 5851b861e8e6: Verifying Checksum [2024-05-31T09:40:53.805Z] 5851b861e8e6: Download complete [2024-05-31T09:40:54.063Z] bab4dde63d76: Verifying Checksum [2024-05-31T09:40:54.063Z] bab4dde63d76: Download complete [2024-05-31T09:40:55.438Z] b85a868b505f: Pull complete [2024-05-31T09:40:55.438Z] e2be974225ed: Pull complete [2024-05-31T09:40:55.697Z] 339a4e72a1f5: Pull complete [2024-05-31T09:40:56.047Z] 988bab9f4d93: Pull complete [2024-05-31T09:40:56.310Z] 1469e6f7b9e6: Pull complete [2024-05-31T09:40:56.310Z] eaf3925da568: Pull complete [2024-05-31T09:40:58.218Z] bab4dde63d76: Pull complete [2024-05-31T09:40:58.478Z] bde34c3a00c8: Pull complete [2024-05-31T09:40:58.738Z] b352a97aabf1: Pull complete [2024-05-31T09:40:59.006Z] 4872d77fe225: Pull complete [2024-05-31T09:40:59.266Z] 5851b861e8e6: Pull complete [2024-05-31T09:40:59.525Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-31T09:40:59.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T09:40:59.525Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:40:59.729Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:40:59.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-31T09:41:05.654Z] $ docker top 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 -eo pid,comm [2024-05-31T09:41:05.711Z] 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-05-31T09:41:05.711Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-31T09:41:05.778Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-31T09:41:05.778Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-31T09:41:05.894Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-31T09:41:05.899Z] $ docker exec 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 ssh-agent [2024-05-31T09:41:06.005Z] SSH_AUTH_SOCK=/tmp/ssh-hVK7fFINwpHf/agent.32 [2024-05-31T09:41:06.005Z] SSH_AGENT_PID=38 [2024-05-31T09:41:06.013Z] Running ssh-add (command line suppressed) [2024-05-31T09:41:06.118Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_1924725801580903352.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_1924725801580903352.key) [2024-05-31T09:41:06.129Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-31T09:41:06.425Z] + git tag --points-at dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] } [2024-05-31T09:41:06.439Z] $ docker exec --env ******** --env ******** 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 ssh-agent -k [2024-05-31T09:41:06.535Z] unset SSH_AUTH_SOCK; [2024-05-31T09:41:06.536Z] unset SSH_AGENT_PID; [2024-05-31T09:41:06.536Z] echo Agent pid 38 killed; [2024-05-31T09:41:06.542Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2024-05-31T09:41:06.574Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v3.1.1' [Pipeline] sshagent [2024-05-31T09:41:06.598Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-31T09:41:06.598Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-31T09:41:06.706Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-31T09:41:06.711Z] $ docker exec 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 ssh-agent [2024-05-31T09:41:06.821Z] SSH_AUTH_SOCK=/tmp/ssh-Ppc8HBDiIAW1/agent.72 [2024-05-31T09:41:06.821Z] SSH_AGENT_PID=78 [2024-05-31T09:41:06.826Z] Running ssh-add (command line suppressed) [2024-05-31T09:41:06.957Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_686973089903022136.key (/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/private_key_686973089903022136.key) [2024-05-31T09:41:07.000Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-31T09:41:07.298Z] + git semver init [2024-05-31T09:41:07.557Z] 2024-05-31 09:41:07,529 [run_init] DEBUG init version:0.0.0 force:False [2024-05-31T09:41:07.557Z] 2024-05-31 09:41:07,529 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver [2024-05-31T09:41:07.557Z] 2024-05-31 09:41:07,530 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver [2024-05-31T09:41:07.557Z] 2024-05-31 09:41:07,530 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_napa, universal_newlines=False, shell=None, istream=None) [2024-05-31T09:41:08.939Z] 2024-05-31 09:41:08,845 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_napa/.git/info/exclude [2024-05-31T09:41:08.939Z] 2024-05-31 09:41:08,845 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa with force:False [2024-05-31T09:41:08.939Z] 2024-05-31 09:41:08,845 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa [2024-05-31T09:41:08.939Z] 2024-05-31 09:41:08,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_napa/.semver/napa [2024-05-31T09:41:08.939Z] 3.1.1 [Pipeline] } [2024-05-31T09:41:08.952Z] $ docker exec --env ******** --env ******** 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 ssh-agent -k [2024-05-31T09:41:09.052Z] unset SSH_AUTH_SOCK; [2024-05-31T09:41:09.053Z] unset SSH_AGENT_PID; [2024-05-31T09:41:09.053Z] echo Agent pid 78 killed; [2024-05-31T09:41:09.061Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-31T09:41:09.388Z] + git semver [Pipeline] } [2024-05-31T09:41:09.662Z] $ docker stop --time=1 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 [2024-05-31T09:41:11.029Z] $ docker rm -f --volumes 8741662bf8ce9c1e67bfb3a8377a239f1835accde0d738b5bdb44613d5365b57 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-31T09:41:11.375Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-31T09:41:11.586Z] Stashed 1 file(s) [Pipeline] echo [2024-05-31T09:41:11.591Z] [edgeXSemver]: initialized semver on version 3.1.1 [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] sh [2024-05-31T09:41:12.041Z] + git checkout dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:41:12.041Z] HEAD is now at dabaf31 ci(lts-release): LTS release v3.1.1 @7a6fdf0 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:41:12.070Z] provisioning config files... [2024-05-31T09:41:12.193Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config4969773628987567247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:41:12.527Z] ---> ****-login.sh [2024-05-31T09:41:12.527Z] nexus3.edgexfoundry.org:10001 [2024-05-31T09:41:12.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:12.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:12.527Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:12.527Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:12.527Z] [2024-05-31T09:41:12.527Z] Login Succeeded [2024-05-31T09:41:12.527Z] nexus3.edgexfoundry.org:10002 [2024-05-31T09:41:12.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:12.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:12.528Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:12.528Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:12.528Z] [2024-05-31T09:41:12.528Z] Login Succeeded [2024-05-31T09:41:12.528Z] nexus3.edgexfoundry.org:10003 [2024-05-31T09:41:12.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:12.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:12.787Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:12.787Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:12.787Z] [2024-05-31T09:41:12.787Z] Login Succeeded [2024-05-31T09:41:12.788Z] nexus3.edgexfoundry.org:10004 [2024-05-31T09:41:12.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:12.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:12.788Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:12.788Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:12.788Z] [2024-05-31T09:41:12.788Z] Login Succeeded [2024-05-31T09:41:12.788Z] ****.io [2024-05-31T09:41:12.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:41:13.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:41:13.048Z] Configure a credential helper to remove this warning. See [2024-05-31T09:41:13.048Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:41:13.048Z] [2024-05-31T09:41:13.048Z] Login Succeeded [2024-05-31T09:41:13.048Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T09:41:13.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-31T09:41:13.124Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-31T09:41:13.426Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-31T09:41:13.426Z] + cut -d -f 2 [Pipeline] echo [2024-05-31T09:41:13.439Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-31T09:41:13.452Z] ========================================================= [2024-05-31T09:41:13.452Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-31T09:41:13.452Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:41:13.784Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-31T09:41:14.043Z] Sending build context to Docker daemon 48.69MB [2024-05-31T09:41:14.043Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-31T09:41:14.043Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-31T09:41:14.342Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-31T09:41:14.343Z] 619be1103602: Pulling fs layer [2024-05-31T09:41:14.343Z] 7862e08f4a3e: Pulling fs layer [2024-05-31T09:41:14.343Z] 5df492c9dc93: Pulling fs layer [2024-05-31T09:41:14.343Z] 7629e6793208: Pulling fs layer [2024-05-31T09:41:14.343Z] 4f4fb700ef54: Pulling fs layer [2024-05-31T09:41:14.343Z] 8de7f028bff5: Pulling fs layer [2024-05-31T09:41:14.343Z] 7629e6793208: Waiting [2024-05-31T09:41:14.343Z] 4f4fb700ef54: Waiting [2024-05-31T09:41:14.343Z] 44042ff1420b: Pulling fs layer [2024-05-31T09:41:14.343Z] 5cdaf54b7214: Pulling fs layer [2024-05-31T09:41:14.343Z] 38f3e5a9071a: Pulling fs layer [2024-05-31T09:41:14.343Z] 44042ff1420b: Waiting [2024-05-31T09:41:14.343Z] 38f3e5a9071a: Waiting [2024-05-31T09:41:14.343Z] 5cdaf54b7214: Waiting [2024-05-31T09:41:14.343Z] 7862e08f4a3e: Download complete [2024-05-31T09:41:14.343Z] 7629e6793208: Verifying Checksum [2024-05-31T09:41:14.343Z] 7629e6793208: Download complete [2024-05-31T09:41:14.343Z] 4f4fb700ef54: Download complete [2024-05-31T09:41:14.343Z] 8de7f028bff5: Verifying Checksum [2024-05-31T09:41:14.343Z] 8de7f028bff5: Download complete [2024-05-31T09:41:14.343Z] 619be1103602: Verifying Checksum [2024-05-31T09:41:14.343Z] 619be1103602: Download complete [2024-05-31T09:41:14.343Z] 44042ff1420b: Verifying Checksum [2024-05-31T09:41:14.343Z] 44042ff1420b: Download complete [2024-05-31T09:41:14.601Z] 619be1103602: Pull complete [2024-05-31T09:41:14.601Z] 38f3e5a9071a: Verifying Checksum [2024-05-31T09:41:14.601Z] 38f3e5a9071a: Download complete [2024-05-31T09:41:14.601Z] 7862e08f4a3e: Pull complete [2024-05-31T09:41:14.860Z] 5df492c9dc93: Verifying Checksum [2024-05-31T09:41:14.860Z] 5df492c9dc93: Download complete [2024-05-31T09:41:15.118Z] 5cdaf54b7214: Verifying Checksum [2024-05-31T09:41:18.397Z] 5df492c9dc93: Pull complete [2024-05-31T09:41:18.397Z] 7629e6793208: Pull complete [2024-05-31T09:41:18.397Z] 4f4fb700ef54: Pull complete [2024-05-31T09:41:18.397Z] 8de7f028bff5: Pull complete [2024-05-31T09:41:18.397Z] 44042ff1420b: Pull complete [2024-05-31T09:41:20.943Z] 5cdaf54b7214: Pull complete [2024-05-31T09:41:21.511Z] 38f3e5a9071a: Pull complete [2024-05-31T09:41:21.511Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-31T09:41:21.770Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-31T09:41:21.770Z] ---> 60b93f829570 [2024-05-31T09:41:21.770Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-31T09:41:26.727Z] Still waiting to schedule task [2024-05-31T09:41:26.727Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2003’ [2024-05-31T09:41:34.021Z] ---> Running in 6f758e9147db [2024-05-31T09:41:34.021Z] Removing intermediate container 6f758e9147db [2024-05-31T09:41:34.021Z] ---> ebefdd4e0096 [2024-05-31T09:41:34.021Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-31T09:41:34.021Z] ---> Running in 3f7f5fe89038 [2024-05-31T09:41:34.021Z] Removing intermediate container 3f7f5fe89038 [2024-05-31T09:41:34.021Z] ---> 49e005470f69 [2024-05-31T09:41:34.021Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-31T09:41:34.021Z] ---> Running in d6c844d81e08 [2024-05-31T09:41:34.021Z] Removing intermediate container d6c844d81e08 [2024-05-31T09:41:34.021Z] ---> e0ee0802853b [2024-05-31T09:41:34.021Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-31T09:41:34.021Z] ---> Running in 6629a9504afe [2024-05-31T09:41:34.021Z] Removing intermediate container 6629a9504afe [2024-05-31T09:41:34.021Z] ---> 01067fd5271e [2024-05-31T09:41:34.021Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-31T09:41:34.021Z] ---> Running in 62244b4f6021 [2024-05-31T09:41:34.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:41:34.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:41:34.021Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-31T09:41:34.021Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-31T09:41:34.021Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-31T09:41:34.021Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-31T09:41:34.021Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T09:41:34.021Z] OK: 268 MiB in 56 packages [2024-05-31T09:41:34.588Z] Removing intermediate container 62244b4f6021 [2024-05-31T09:41:34.588Z] ---> aac413e63a31 [2024-05-31T09:41:34.588Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-05-31T09:41:34.588Z] ---> Running in 7ddc166a0c30 [2024-05-31T09:41:34.588Z] Removing intermediate container 7ddc166a0c30 [2024-05-31T09:41:34.588Z] ---> 405f63958713 [2024-05-31T09:41:34.588Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-31T09:41:37.926Z] ---> 15a2c9c95efe [2024-05-31T09:41:37.926Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-31T09:41:37.926Z] ---> Running in 08b19d62fcde [2024-05-31T09:42:24.614Z] Removing intermediate container 08b19d62fcde [2024-05-31T09:42:24.614Z] ---> 001cd8701d9d [2024-05-31T09:42:24.614Z] Step 11/12 : COPY . . [2024-05-31T09:42:24.614Z] ---> 9c0aa4bbe08e [2024-05-31T09:42:24.614Z] Step 12/12 : RUN $MAKE [2024-05-31T09:42:24.614Z] ---> Running in 2c6f518f3a44 [2024-05-31T09:42:24.614Z] noop [2024-05-31T09:42:24.614Z] Removing intermediate container 2c6f518f3a44 [2024-05-31T09:42:24.614Z] ---> f1e0af35c816 [2024-05-31T09:42:24.614Z] Successfully built f1e0af35c816 [2024-05-31T09:42:24.614Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:42:24.942Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-31T09:42:24.942Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:42:25.019Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:42:25.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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 ******** ci-base-image-x86_64 cat [2024-05-31T09:42:25.412Z] $ docker top 90f9bbcbf495fdbf073b1220f78e6c8e1b21dcf97dc7326c1609eb19d2fdd669 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T09:42:25.769Z] + go version [2024-05-31T09:42:25.769Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-31T09:42:25.782Z] $ docker stop --time=1 90f9bbcbf495fdbf073b1220f78e6c8e1b21dcf97dc7326c1609eb19d2fdd669 [2024-05-31T09:42:27.041Z] $ docker rm -f --volumes 90f9bbcbf495fdbf073b1220f78e6c8e1b21dcf97dc7326c1609eb19d2fdd669 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:42:27.485Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-31T09:42:27.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:42:27.568Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:42:27.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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 ******** ci-base-image-x86_64 cat [2024-05-31T09:42:27.905Z] $ docker top 6e230c797b52b9a3d3700b15723558c2e69a52096da25a3b6b0aa69493b572d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T09:42:28.268Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] fileExists [Pipeline] sh [2024-05-31T09:42:28.572Z] + make test [2024-05-31T09:42:28.572Z] go test ./... -coverprofile=coverage.out ./... [2024-05-31T09:42:30.500Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-05-31T09:42:40.492Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-05-31T09:42:40.493Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-05-31T09:42:40.493Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 22.8% of statements [2024-05-31T09:42:47.055Z] go vet ./... [2024-05-31T09:42:49.580Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-31T09:42:49.580Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-31T09:42:49.580Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-31T09:42:49.851Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-31T09:42:50.159Z] + go mod tidy [Pipeline] } [2024-05-31T09:42:50.430Z] $ docker stop --time=1 6e230c797b52b9a3d3700b15723558c2e69a52096da25a3b6b0aa69493b572d6 [2024-05-31T09:42:54.384Z] $ docker rm -f --volumes 6e230c797b52b9a3d3700b15723558c2e69a52096da25a3b6b0aa69493b572d6 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-31T09:42:54.854Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-31T09:42:54.941Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-31T09:42:55.376Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-31T09:42:55.659Z] + ls -al . [2024-05-31T09:42:55.660Z] total 188 [2024-05-31T09:42:55.660Z] drwxrwxr-x 10 jenkins jenkins 4096 May 31 09:42 . [2024-05-31T09:42:55.660Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:40 .. [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 09:40 .dockerignore [2024-05-31T09:42:55.660Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:42 .git [2024-05-31T09:42:55.660Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 .github [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 256 May 31 09:40 .gitignore [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 09:40 .golangci.yml [2024-05-31T09:42:55.660Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:41 .semver [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 10405 May 31 09:40 Attribution.txt [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 18574 May 31 09:40 CHANGELOG.md [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 1798 May 31 09:40 Dockerfile [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:40 GOVERNANCE.md [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 657 May 31 09:40 Jenkinsfile [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 09:40 LICENSE [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 1963 May 31 09:40 Makefile [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 09:40 OWNERS.md [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 3599 May 31 09:40 README.md [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION [2024-05-31T09:42:55.660Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:40 bin [2024-05-31T09:42:55.660Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 cmd [2024-05-31T09:42:55.660Z] -rw-r--r-- 1 jenkins jenkins 18506 May 31 09:42 coverage.out [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 3745 May 31 09:40 go.mod [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 31 09:40 go.sum [2024-05-31T09:42:55.660Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:40 internal [2024-05-31T09:42:55.660Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:40 mock [2024-05-31T09:42:55.660Z] drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:40 vendor [2024-05-31T09:42:55.660Z] -rw-rw-r-- 1 jenkins jenkins 227 May 31 09:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:42:55.982Z] + 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=dabaf310096f55ca97d0e997aba8433d12ae90b5 --label arch=amd64 --label version=3.1.1 . [2024-05-31T09:42:56.239Z] Sending build context to Docker daemon 48.71MB [2024-05-31T09:42:56.239Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-31T09:42:56.239Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-31T09:42:56.239Z] ---> f1e0af35c816 [2024-05-31T09:42:56.239Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-31T09:42:57.174Z] ---> Running in e4e2ddb3f9f2 [2024-05-31T09:42:57.174Z] Removing intermediate container e4e2ddb3f9f2 [2024-05-31T09:42:57.174Z] ---> e02dcd2bd92b [2024-05-31T09:42:57.174Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-31T09:42:57.174Z] ---> Running in 700f944c9567 [2024-05-31T09:42:57.436Z] Removing intermediate container 700f944c9567 [2024-05-31T09:42:57.436Z] ---> 0219b60aca7d [2024-05-31T09:42:57.436Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-31T09:42:57.696Z] ---> Running in 4ce93236fd64 [2024-05-31T09:42:58.274Z] Removing intermediate container 4ce93236fd64 [2024-05-31T09:42:58.274Z] ---> d1b02c654721 [2024-05-31T09:42:58.274Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-31T09:42:58.274Z] ---> Running in cc6643054433 [2024-05-31T09:42:58.841Z] Removing intermediate container cc6643054433 [2024-05-31T09:42:58.841Z] ---> dbe777d88398 [2024-05-31T09:42:58.841Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-31T09:42:58.841Z] ---> Running in ef519edc052f [2024-05-31T09:42:59.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:42:59.418Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:42:59.677Z] OK: 268 MiB in 56 packages [2024-05-31T09:43:00.253Z] Removing intermediate container ef519edc052f [2024-05-31T09:43:00.253Z] ---> 3020dc5cdc04 [2024-05-31T09:43:00.253Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-05-31T09:43:00.253Z] ---> Running in c1c31af3b4af [2024-05-31T09:43:00.253Z] Removing intermediate container c1c31af3b4af [2024-05-31T09:43:00.253Z] ---> 4333b0cb14c0 [2024-05-31T09:43:00.253Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-31T09:43:02.919Z] ---> c90844b9f5c1 [2024-05-31T09:43:02.919Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-31T09:43:03.855Z] ---> Running in 50f8855954d9 [2024-05-31T09:43:04.423Z] skipping... [2024-05-31T09:43:04.682Z] Removing intermediate container 50f8855954d9 [2024-05-31T09:43:04.682Z] ---> f0c60d9b5b90 [2024-05-31T09:43:04.682Z] Step 11/25 : COPY . . [2024-05-31T09:43:07.345Z] ---> 6c3fda2fa9f9 [2024-05-31T09:43:07.346Z] Step 12/25 : RUN $MAKE [2024-05-31T09:43:08.933Z] ---> Running in c22826b4b59b [2024-05-31T09:43:09.500Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-05-31T09:43:34.406Z] Removing intermediate container c22826b4b59b [2024-05-31T09:43:34.406Z] ---> 9105b8ee4299 [2024-05-31T09:43:34.406Z] Step 13/25 : FROM alpine:3.18 [2024-05-31T09:43:34.971Z] 3.18: Pulling from library/alpine [2024-05-31T09:43:35.227Z] 619be1103602: Already exists [2024-05-31T09:43:35.484Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-31T09:43:35.741Z] Status: Downloaded newer image for alpine:3.18 [2024-05-31T09:43:35.741Z] ---> d3782b16ccc9 [2024-05-31T09:43:35.741Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-05-31T09:43:35.741Z] ---> Running in 4690a665727d [2024-05-31T09:43:35.741Z] Removing intermediate container 4690a665727d [2024-05-31T09:43:35.741Z] ---> 514b3dff55e1 [2024-05-31T09:43:35.741Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-05-31T09:43:35.741Z] ---> Running in 4efa4c2073e8 [2024-05-31T09:43:35.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:36.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:36.255Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-31T09:43:36.515Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T09:43:36.515Z] OK: 7 MiB in 16 packages [2024-05-31T09:43:36.773Z] Removing intermediate container 4efa4c2073e8 [2024-05-31T09:43:36.773Z] ---> f09791fbf9cf [2024-05-31T09:43:36.773Z] Step 16/25 : RUN apk --no-cache upgrade [2024-05-31T09:43:36.773Z] ---> Running in 8f785f708d74 [2024-05-31T09:43:37.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:37.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:37.292Z] Upgrading critical system libraries and apk-tools: [2024-05-31T09:43:37.292Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-31T09:43:37.292Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T09:43:37.292Z] Continuing the upgrade transaction with new apk-tools: [2024-05-31T09:43:37.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:37.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-31T09:43:37.550Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T09:43:37.550Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-31T09:43:37.550Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T09:43:37.550Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-31T09:43:37.550Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-31T09:43:37.809Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-31T09:43:37.809Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T09:43:37.809Z] Executing busybox-1.36.1-r6.trigger [2024-05-31T09:43:37.809Z] OK: 7 MiB in 16 packages [2024-05-31T09:43:38.749Z] Removing intermediate container 8f785f708d74 [2024-05-31T09:43:38.749Z] ---> ab8ad4729c9b [2024-05-31T09:43:38.749Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-05-31T09:43:40.126Z] ---> 5eda399de675 [2024-05-31T09:43:40.126Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-05-31T09:43:40.126Z] ---> 915a4bd7c1df [2024-05-31T09:43:40.126Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-05-31T09:43:40.384Z] ---> 819303cd0a92 [2024-05-31T09:43:40.384Z] Step 20/25 : EXPOSE 59982 [2024-05-31T09:43:40.384Z] ---> Running in ba7ae7182e6c [2024-05-31T09:43:40.644Z] Removing intermediate container ba7ae7182e6c [2024-05-31T09:43:40.644Z] ---> fe9e5d629b40 [2024-05-31T09:43:40.644Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-05-31T09:43:40.902Z] ---> Running in b5584e1df849 [2024-05-31T09:43:41.160Z] Removing intermediate container b5584e1df849 [2024-05-31T09:43:41.160Z] ---> 7afd1eb22296 [2024-05-31T09:43:41.160Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-31T09:43:41.419Z] ---> Running in c601bd8f7158 [2024-05-31T09:43:41.419Z] Removing intermediate container c601bd8f7158 [2024-05-31T09:43:41.419Z] ---> a529a0094ac6 [2024-05-31T09:43:41.419Z] Step 23/25 : LABEL arch=amd64 [2024-05-31T09:43:41.419Z] ---> Running in 1e584cfb5368 [2024-05-31T09:43:41.678Z] Removing intermediate container 1e584cfb5368 [2024-05-31T09:43:41.678Z] ---> 1944021d7ee0 [2024-05-31T09:43:41.678Z] Step 24/25 : LABEL git_sha=dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:43:41.678Z] ---> Running in 0bd56f9a3821 [2024-05-31T09:43:41.937Z] Removing intermediate container 0bd56f9a3821 [2024-05-31T09:43:41.937Z] ---> 48b9fd35b24a [2024-05-31T09:43:41.937Z] Step 25/25 : LABEL version=3.1.1 [2024-05-31T09:43:41.937Z] ---> Running in 8ecd62741ace [2024-05-31T09:43:42.195Z] Removing intermediate container 8ecd62741ace [2024-05-31T09:43:42.195Z] ---> 85eb533e301b [2024-05-31T09:43:42.195Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-31T09:43:42.195Z] Successfully built 85eb533e301b [2024-05-31T09:43:42.195Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:43:42.327Z] provisioning config files... [2024-05-31T09:43:42.335Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config8384180635437641835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:43:42.639Z] ---> ****-login.sh [2024-05-31T09:43:42.639Z] nexus3.edgexfoundry.org:10001 [2024-05-31T09:43:42.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:42.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:42.639Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:42.640Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:42.640Z] [2024-05-31T09:43:42.640Z] Login Succeeded [2024-05-31T09:43:42.640Z] nexus3.edgexfoundry.org:10002 [2024-05-31T09:43:42.640Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:42.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:42.640Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:42.640Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:42.640Z] [2024-05-31T09:43:42.640Z] Login Succeeded [2024-05-31T09:43:42.640Z] nexus3.edgexfoundry.org:10003 [2024-05-31T09:43:42.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:42.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:42.900Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:42.900Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:42.900Z] [2024-05-31T09:43:42.900Z] Login Succeeded [2024-05-31T09:43:42.900Z] nexus3.edgexfoundry.org:10004 [2024-05-31T09:43:42.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:42.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:42.900Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:42.900Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:42.900Z] [2024-05-31T09:43:42.900Z] Login Succeeded [2024-05-31T09:43:42.900Z] ****.io [2024-05-31T09:43:43.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:43:43.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:43:43.159Z] Configure a credential helper to remove this warning. See [2024-05-31T09:43:43.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:43:43.159Z] [2024-05-31T09:43:43.159Z] Login Succeeded [2024-05-31T09:43:43.159Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T09:43:43.165Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-31T09:43:43.222Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-31T09:43:43.248Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2024-05-31T09:43:43.248Z] dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:43:43.248Z] 3.1.1 [2024-05-31T09:43:43.248Z] dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [2024-05-31T09:43:43.248Z] napa [2024-05-31T09:43:43.248Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:43.591Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:43.911Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:43:43.911Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-31T09:43:43.911Z] a2362383f93b: Preparing [2024-05-31T09:43:43.911Z] 960f93543135: Preparing [2024-05-31T09:43:43.911Z] c3718893224b: Preparing [2024-05-31T09:43:43.911Z] 23d06601e331: Preparing [2024-05-31T09:43:43.911Z] 7de1851af60e: Preparing [2024-05-31T09:43:43.911Z] aedc3bda2944: Preparing [2024-05-31T09:43:43.911Z] aedc3bda2944: Waiting [2024-05-31T09:43:43.911Z] 7de1851af60e: Pushed [2024-05-31T09:43:43.911Z] a2362383f93b: Pushed [2024-05-31T09:43:43.911Z] 960f93543135: Pushed [2024-05-31T09:43:43.911Z] aedc3bda2944: Layer already exists [2024-05-31T09:43:44.478Z] 23d06601e331: Pushed [2024-05-31T09:43:47.079Z] c3718893224b: Pushed [2024-05-31T09:43:47.079Z] dabaf310096f55ca97d0e997aba8433d12ae90b5: digest: sha256:f631c83ddf4ffbc32345a1feb72282d5e41d7b94c76721f46cc1c659fd6632a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:47.411Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:47.741Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1 [2024-05-31T09:43:47.741Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-31T09:43:47.741Z] a2362383f93b: Preparing [2024-05-31T09:43:47.741Z] 960f93543135: Preparing [2024-05-31T09:43:47.741Z] c3718893224b: Preparing [2024-05-31T09:43:47.741Z] 23d06601e331: Preparing [2024-05-31T09:43:47.741Z] 7de1851af60e: Preparing [2024-05-31T09:43:47.741Z] aedc3bda2944: Preparing [2024-05-31T09:43:47.741Z] aedc3bda2944: Waiting [2024-05-31T09:43:47.741Z] 7de1851af60e: Layer already exists [2024-05-31T09:43:47.741Z] c3718893224b: Layer already exists [2024-05-31T09:43:47.741Z] a2362383f93b: Layer already exists [2024-05-31T09:43:47.741Z] 960f93543135: Layer already exists [2024-05-31T09:43:47.741Z] 23d06601e331: Layer already exists [2024-05-31T09:43:47.741Z] aedc3bda2944: Layer already exists [2024-05-31T09:43:47.741Z] 3.1.1: digest: sha256:f631c83ddf4ffbc32345a1feb72282d5e41d7b94c76721f46cc1c659fd6632a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:48.071Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:48.405Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [2024-05-31T09:43:48.405Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-31T09:43:48.405Z] a2362383f93b: Preparing [2024-05-31T09:43:48.405Z] 960f93543135: Preparing [2024-05-31T09:43:48.405Z] c3718893224b: Preparing [2024-05-31T09:43:48.405Z] 23d06601e331: Preparing [2024-05-31T09:43:48.405Z] 7de1851af60e: Preparing [2024-05-31T09:43:48.405Z] aedc3bda2944: Preparing [2024-05-31T09:43:48.405Z] aedc3bda2944: Waiting [2024-05-31T09:43:48.405Z] 960f93543135: Layer already exists [2024-05-31T09:43:48.405Z] c3718893224b: Layer already exists [2024-05-31T09:43:48.405Z] a2362383f93b: Layer already exists [2024-05-31T09:43:48.405Z] 23d06601e331: Layer already exists [2024-05-31T09:43:48.405Z] 7de1851af60e: Layer already exists [2024-05-31T09:43:48.405Z] aedc3bda2944: Layer already exists [2024-05-31T09:43:48.405Z] dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1: digest: sha256:f631c83ddf4ffbc32345a1feb72282d5e41d7b94c76721f46cc1c659fd6632a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:48.732Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:49.057Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:napa [2024-05-31T09:43:49.057Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-05-31T09:43:49.057Z] a2362383f93b: Preparing [2024-05-31T09:43:49.057Z] 960f93543135: Preparing [2024-05-31T09:43:49.057Z] c3718893224b: Preparing [2024-05-31T09:43:49.057Z] 23d06601e331: Preparing [2024-05-31T09:43:49.057Z] 7de1851af60e: Preparing [2024-05-31T09:43:49.057Z] aedc3bda2944: Preparing [2024-05-31T09:43:49.057Z] aedc3bda2944: Waiting [2024-05-31T09:43:49.057Z] a2362383f93b: Layer already exists [2024-05-31T09:43:49.057Z] 960f93543135: Layer already exists [2024-05-31T09:43:49.057Z] c3718893224b: Layer already exists [2024-05-31T09:43:49.057Z] 23d06601e331: Layer already exists [2024-05-31T09:43:49.057Z] 7de1851af60e: Layer already exists [2024-05-31T09:43:49.057Z] aedc3bda2944: Layer already exists [2024-05-31T09:43:49.057Z] napa: digest: sha256:f631c83ddf4ffbc32345a1feb72282d5e41d7b94c76721f46cc1c659fd6632a6 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-31T09:43:49.135Z] ===================================================== [Pipeline] echo [2024-05-31T09:43:49.148Z] taggedImages: [2024-05-31T09:43:49.148Z] - nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:43:49.148Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.1.1 [2024-05-31T09:43:49.148Z] - nexus3.edgexfoundry.org:10004/device-mqtt:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [2024-05-31T09:43:49.148Z] - nexus3.edgexfoundry.org:10004/device-mqtt:napa [Pipeline] } [Pipeline] // script [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-05-31T09:43:49.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-31T09:43:49.542Z] [2024-05-31T09:43:49.542Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:43:49.847Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-31T09:43:50.106Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-31T09:43:50.106Z] 5eb5b503b376: Pulling fs layer [2024-05-31T09:43:50.106Z] 5c69ac0246d0: Pulling fs layer [2024-05-31T09:43:50.106Z] ec43610c2a17: Pulling fs layer [2024-05-31T09:43:50.106Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-31T09:43:50.106Z] 33b1e0a273af: Pulling fs layer [2024-05-31T09:43:50.106Z] 5d3b04190fa2: Pulling fs layer [2024-05-31T09:43:50.106Z] 2f39f015ded8: Pulling fs layer [2024-05-31T09:43:50.106Z] 33b1e0a273af: Waiting [2024-05-31T09:43:50.106Z] 5d3b04190fa2: Waiting [2024-05-31T09:43:50.106Z] 5c69ac0246d0: Download complete [2024-05-31T09:43:50.106Z] 3a2ae6a8a46f: Verifying Checksum [2024-05-31T09:43:50.106Z] 3a2ae6a8a46f: Download complete [2024-05-31T09:43:50.106Z] 33b1e0a273af: Verifying Checksum [2024-05-31T09:43:50.106Z] 33b1e0a273af: Download complete [2024-05-31T09:43:50.106Z] 5d3b04190fa2: Verifying Checksum [2024-05-31T09:43:50.106Z] 5d3b04190fa2: Download complete [2024-05-31T09:43:50.368Z] ec43610c2a17: Verifying Checksum [2024-05-31T09:43:50.368Z] 5eb5b503b376: Verifying Checksum [2024-05-31T09:43:50.368Z] 5eb5b503b376: Download complete [2024-05-31T09:43:50.937Z] 2f39f015ded8: Verifying Checksum [2024-05-31T09:43:50.937Z] 2f39f015ded8: Download complete [2024-05-31T09:43:51.506Z] 5eb5b503b376: Pull complete [2024-05-31T09:43:52.087Z] 5c69ac0246d0: Pull complete [2024-05-31T09:43:52.345Z] ec43610c2a17: Pull complete [2024-05-31T09:43:52.603Z] 3a2ae6a8a46f: Pull complete [2024-05-31T09:43:52.860Z] 33b1e0a273af: Pull complete [2024-05-31T09:43:52.860Z] 5d3b04190fa2: Pull complete [2024-05-31T09:43:57.046Z] 2f39f015ded8: Pull complete [2024-05-31T09:43:57.046Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-31T09:43:57.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-31T09:43:57.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:43:57.155Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:43:57.192Z] $ 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/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-31T09:43:57.235Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2016 in /w/workspace/edgexfoundry_device-mqtt-go_napa [2024-05-31T09:44:04.279Z] $ docker top e22ec0eabdbeab7210c4a157a072f032e018e193b04332418f33b8ec47298b00 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2024-05-31T09:44:04.413Z] Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout [2024-05-31T09:44:04.454Z] The recommended git tool is: git [2024-05-31T09:44:04.667Z] ---> job-cost.sh [2024-05-31T09:44:04.667Z] lf-activate-venv: SKIPPING [2024-05-31T09:44:04.667Z] INFO: No Stack... [2024-05-31T09:44:05.233Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-31T09:44:05.491Z] INFO: Archiving Costs [Pipeline] sh [2024-05-31T09:44:05.776Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/cost.csv [2024-05-31T09:44:05.776Z] + cut -d, -f6 [Pipeline] lock [2024-05-31T09:44:05.789Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [2024-05-31T09:44:05.803Z] Resource [jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] did not exist. Created. [2024-05-31T09:44:05.814Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-31T09:44:06.125Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-31T09:44:06.282Z] Stashed 1 file(s) [Pipeline] } [2024-05-31T09:44:06.294Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-31T09:44:06.320Z] $ docker stop --time=1 e22ec0eabdbeab7210c4a157a072f032e018e193b04332418f33b8ec47298b00 [2024-05-31T09:44:07.509Z] $ docker rm -f --volumes e22ec0eabdbeab7210c4a157a072f032e018e193b04332418f33b8ec47298b00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-31T09:44:10.278Z] using credential edgex-jenkins-ssh [2024-05-31T09:44:10.307Z] Cloning the remote Git repository [2024-05-31T09:44:10.360Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-05-31T09:44:10.480Z] > git init /w/workspace/device-mqtt-go/8 # timeout=10 [2024-05-31T09:44:10.645Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-05-31T09:44:10.647Z] > git --version # timeout=10 [2024-05-31T09:44:10.667Z] > git --version # 'git version 2.25.1' [2024-05-31T09:44:10.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-31T09:44:10.818Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-31T09:44:13.275Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-05-31T09:44:13.295Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-31T09:44:14.290Z] Avoid second fetch [2024-05-31T09:44:14.290Z] Checking out Revision dabaf310096f55ca97d0e997aba8433d12ae90b5 (napa) [2024-05-31T09:44:14.314Z] > git config core.sparsecheckout # timeout=10 [2024-05-31T09:44:14.389Z] > git checkout -f dabaf310096f55ca97d0e997aba8433d12ae90b5 # timeout=10 [2024-05-31T09:44:15.766Z] Commit message: "ci(lts-release): LTS release v3.1.1 @7a6fdf0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-31T09:44:20.481Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-31T09:44:20.481Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-31T09:44:20.481Z] Dload Upload Total Spent Left Speed [2024-05-31T09:44:20.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 236k 0 --:--:-- --:--:-- --:--:-- 236k [Pipeline] sh [2024-05-31T09:44:20.833Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-31T09:44:21.165Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-05-31T09:44:21.165Z] /etc/docker/daemon.json [2024-05-31T09:44:21.165Z] { [2024-05-31T09:44:21.165Z] "registry-mirrors": [ [2024-05-31T09:44:21.165Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-31T09:44:21.165Z] ], [2024-05-31T09:44:21.165Z] "bip": "10.250.0.254/24", [2024-05-31T09:44:21.165Z] "hosts": [ [2024-05-31T09:44:21.165Z] "tcp://0.0.0.0:5555", [2024-05-31T09:44:21.165Z] "unix:///var/run/docker.sock" [2024-05-31T09:44:21.165Z] ], [2024-05-31T09:44:21.165Z] "mtu": 1458, [2024-05-31T09:44:21.165Z] "selinux-enabled": true, [2024-05-31T09:44:21.165Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-31T09:44:21.165Z] } [Pipeline] sh [2024-05-31T09:44:21.494Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-31T09:44:21.824Z] + sudo service docker restart [Pipeline] sh [2024-05-31T09:44:40.420Z] + git checkout dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:44:40.420Z] HEAD is now at dabaf31 ci(lts-release): LTS release v3.1.1 @7a6fdf0 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:44:40.455Z] provisioning config files... [2024-05-31T09:44:40.480Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config13041000429951776769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:44:41.012Z] ---> ****-login.sh [2024-05-31T09:44:41.013Z] nexus3.edgexfoundry.org:10001 [2024-05-31T09:44:41.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:44:41.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:44:41.604Z] Configure a credential helper to remove this warning. See [2024-05-31T09:44:41.604Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:44:41.604Z] [2024-05-31T09:44:41.604Z] Login Succeeded [2024-05-31T09:44:41.604Z] nexus3.edgexfoundry.org:10002 [2024-05-31T09:44:41.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:44:42.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:44:42.150Z] Configure a credential helper to remove this warning. See [2024-05-31T09:44:42.150Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:44:42.150Z] [2024-05-31T09:44:42.150Z] Login Succeeded [2024-05-31T09:44:42.150Z] nexus3.edgexfoundry.org:10003 [2024-05-31T09:44:42.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:44:42.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:44:42.425Z] Configure a credential helper to remove this warning. See [2024-05-31T09:44:42.425Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:44:42.425Z] [2024-05-31T09:44:42.425Z] Login Succeeded [2024-05-31T09:44:42.425Z] nexus3.edgexfoundry.org:10004 [2024-05-31T09:44:42.705Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:44:42.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:44:42.705Z] Configure a credential helper to remove this warning. See [2024-05-31T09:44:42.705Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:44:42.705Z] [2024-05-31T09:44:42.705Z] Login Succeeded [2024-05-31T09:44:42.705Z] ****.io [2024-05-31T09:44:42.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:44:43.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:44:43.245Z] Configure a credential helper to remove this warning. See [2024-05-31T09:44:43.245Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:44:43.245Z] [2024-05-31T09:44:43.245Z] Login Succeeded [2024-05-31T09:44:43.245Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T09:44:43.259Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-31T09:44:43.602Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-31T09:44:43.930Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-31T09:44:43.930Z] + cut -d -f 2 [Pipeline] echo [2024-05-31T09:44:43.998Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-31T09:44:44.016Z] ========================================================= [2024-05-31T09:44:44.016Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-31T09:44:44.016Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:44:44.385Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-31T09:44:46.984Z] Sending build context to Docker daemon 38.31MB [2024-05-31T09:44:46.984Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-31T09:44:46.984Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-31T09:44:46.984Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-31T09:44:46.984Z] c6b39de5b339: Pulling fs layer [2024-05-31T09:44:46.984Z] a69c41024577: Pulling fs layer [2024-05-31T09:44:46.984Z] d6de4b400683: Pulling fs layer [2024-05-31T09:44:46.984Z] 35cb2a7552d0: Pulling fs layer [2024-05-31T09:44:46.984Z] 4f4fb700ef54: Pulling fs layer [2024-05-31T09:44:46.984Z] 9e011611b7f5: Pulling fs layer [2024-05-31T09:44:46.984Z] 3bd174042beb: Pulling fs layer [2024-05-31T09:44:46.984Z] 4476f39b5e91: Pulling fs layer [2024-05-31T09:44:46.984Z] 9e011611b7f5: Waiting [2024-05-31T09:44:46.984Z] 3bd174042beb: Waiting [2024-05-31T09:44:46.984Z] 4476f39b5e91: Waiting [2024-05-31T09:44:46.984Z] 35cb2a7552d0: Waiting [2024-05-31T09:44:46.984Z] 4f4fb700ef54: Waiting [2024-05-31T09:44:46.984Z] a69c41024577: Verifying Checksum [2024-05-31T09:44:46.984Z] a69c41024577: Download complete [2024-05-31T09:44:46.984Z] 35cb2a7552d0: Verifying Checksum [2024-05-31T09:44:46.984Z] 35cb2a7552d0: Download complete [2024-05-31T09:44:46.984Z] 4f4fb700ef54: Verifying Checksum [2024-05-31T09:44:46.984Z] 4f4fb700ef54: Download complete [2024-05-31T09:44:46.984Z] 9e011611b7f5: Verifying Checksum [2024-05-31T09:44:46.984Z] 9e011611b7f5: Download complete [2024-05-31T09:44:46.984Z] c6b39de5b339: Verifying Checksum [2024-05-31T09:44:46.984Z] c6b39de5b339: Download complete [2024-05-31T09:44:47.571Z] 4476f39b5e91: Verifying Checksum [2024-05-31T09:44:47.571Z] 4476f39b5e91: Download complete [2024-05-31T09:44:47.838Z] c6b39de5b339: Pull complete [2024-05-31T09:44:48.424Z] a69c41024577: Pull complete [2024-05-31T09:44:49.010Z] d6de4b400683: Download complete [2024-05-31T09:44:49.974Z] 3bd174042beb: Verifying Checksum [2024-05-31T09:44:49.974Z] 3bd174042beb: Download complete [2024-05-31T09:45:02.294Z] d6de4b400683: Pull complete [2024-05-31T09:45:02.294Z] 35cb2a7552d0: Pull complete [2024-05-31T09:45:02.294Z] 4f4fb700ef54: Pull complete [2024-05-31T09:45:02.562Z] 9e011611b7f5: Pull complete [2024-05-31T09:45:12.674Z] 3bd174042beb: Pull complete [2024-05-31T09:45:14.082Z] 4476f39b5e91: Pull complete [2024-05-31T09:45:14.082Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-31T09:45:14.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-31T09:45:14.082Z] ---> 981a0608b64a [2024-05-31T09:45:14.082Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-31T09:45:16.022Z] ---> Running in fb531a65d2b2 [2024-05-31T09:45:16.302Z] Removing intermediate container fb531a65d2b2 [2024-05-31T09:45:16.303Z] ---> bf69ba8d43b5 [2024-05-31T09:45:16.303Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-31T09:45:16.584Z] ---> Running in ea3ae4ad011f [2024-05-31T09:45:16.853Z] Removing intermediate container ea3ae4ad011f [2024-05-31T09:45:16.853Z] ---> 2662ad40662a [2024-05-31T09:45:16.853Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-31T09:45:16.853Z] ---> Running in ebb1a6e219e1 [2024-05-31T09:45:17.125Z] Removing intermediate container ebb1a6e219e1 [2024-05-31T09:45:17.125Z] ---> bb44c27187a6 [2024-05-31T09:45:17.125Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-31T09:45:17.395Z] ---> Running in cc08e104e856 [2024-05-31T09:45:17.664Z] Removing intermediate container cc08e104e856 [2024-05-31T09:45:17.664Z] ---> 432a1e05a3d1 [2024-05-31T09:45:17.664Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-31T09:45:17.664Z] ---> Running in b0708995213c [2024-05-31T09:45:19.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T09:45:19.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T09:45:20.775Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-31T09:45:20.775Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-31T09:45:20.775Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-31T09:45:20.775Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-31T09:45:20.775Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T09:45:20.775Z] OK: 271 MiB in 56 packages [2024-05-31T09:45:22.205Z] Removing intermediate container b0708995213c [2024-05-31T09:45:22.205Z] ---> b2f01fcd3145 [2024-05-31T09:45:22.205Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-05-31T09:45:22.205Z] ---> Running in 37bf9846e3ef [2024-05-31T09:45:22.475Z] Removing intermediate container 37bf9846e3ef [2024-05-31T09:45:22.475Z] ---> 6276589460e9 [2024-05-31T09:45:22.475Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-31T09:45:29.156Z] ---> 9320b9735da9 [2024-05-31T09:45:29.156Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-31T09:45:29.424Z] ---> Running in 869b99d2b18c [2024-05-31T09:46:37.373Z] Removing intermediate container 869b99d2b18c [2024-05-31T09:46:37.373Z] ---> 2a1d66de46a3 [2024-05-31T09:46:37.373Z] Step 11/12 : COPY . . [2024-05-31T09:46:37.373Z] ---> 69886e2b2467 [2024-05-31T09:46:37.373Z] Step 12/12 : RUN $MAKE [2024-05-31T09:46:37.373Z] ---> Running in 97f227adf783 [2024-05-31T09:46:37.373Z] noop [2024-05-31T09:46:37.373Z] Removing intermediate container 97f227adf783 [2024-05-31T09:46:37.373Z] ---> 5206804daade [2024-05-31T09:46:37.373Z] Successfully built 5206804daade [2024-05-31T09:46:37.373Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:46:37.748Z] + docker inspect -f . ci-base-image-arm64 [2024-05-31T09:46:37.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:46:38.002Z] prd-ubuntu20.04-docker-arm64-4c-16g-2016 does not seem to be running inside a container [2024-05-31T09:46:38.078Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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 ******** ci-base-image-arm64 cat [2024-05-31T09:46:39.419Z] $ docker top d3b8ac69f482168db00c840f26481089ea59a61fa75150e9c069612bc3c8c147 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T09:46:40.287Z] + go version [2024-05-31T09:46:40.287Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-31T09:46:40.306Z] $ docker stop --time=1 d3b8ac69f482168db00c840f26481089ea59a61fa75150e9c069612bc3c8c147 [2024-05-31T09:46:41.977Z] $ docker rm -f --volumes d3b8ac69f482168db00c840f26481089ea59a61fa75150e9c069612bc3c8c147 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:46:42.599Z] + docker inspect -f . ci-base-image-arm64 [2024-05-31T09:46:42.599Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:46:42.789Z] prd-ubuntu20.04-docker-arm64-4c-16g-2016 does not seem to be running inside a container [2024-05-31T09:46:42.870Z] $ 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/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@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 ******** ci-base-image-arm64 cat [2024-05-31T09:46:44.086Z] $ docker top 885915b4e212d8db6b9b794e457f6d119f85d8aee54b12478fb7a61021c05f1a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T09:46:44.919Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/8 [Pipeline] fileExists [Pipeline] sh [2024-05-31T09:46:45.576Z] + make test [2024-05-31T09:46:45.576Z] go test ./... -coverprofile=coverage.out ./... [2024-05-31T09:46:48.934Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-05-31T09:49:10.680Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-05-31T09:49:10.680Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-05-31T09:49:10.680Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 22.8% of statements [2024-05-31T09:49:10.680Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-31T09:49:10.680Z] go vet ./... [2024-05-31T09:49:32.786Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-31T09:49:32.786Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-31T09:49:32.786Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-31T09:49:33.385Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-31T09:49:34.047Z] + go mod tidy [Pipeline] } [2024-05-31T09:49:37.425Z] $ docker stop --time=1 885915b4e212d8db6b9b794e457f6d119f85d8aee54b12478fb7a61021c05f1a [2024-05-31T09:49:39.311Z] $ docker rm -f --volumes 885915b4e212d8db6b9b794e457f6d119f85d8aee54b12478fb7a61021c05f1a [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-31T09:49:40.834Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-31T09:49:40.862Z] Warning: overwriting stash ‘coverage-report’ [2024-05-31T09:49:42.099Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-31T09:49:42.511Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-31T09:49:42.833Z] + ls -al . [2024-05-31T09:49:42.833Z] total 184 [2024-05-31T09:49:42.833Z] drwxrwxr-x 9 jenkins jenkins 4096 May 31 09:46 . [2024-05-31T09:49:42.833Z] drwxrwxr-x 4 jenkins jenkins 4096 May 31 09:44 .. [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 140 May 31 09:44 .dockerignore [2024-05-31T09:49:42.833Z] drwxrwxr-x 8 jenkins jenkins 4096 May 31 09:44 .git [2024-05-31T09:49:42.833Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:44 .github [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 256 May 31 09:44 .gitignore [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 41 May 31 09:44 .golangci.yml [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 10405 May 31 09:44 Attribution.txt [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 18574 May 31 09:44 CHANGELOG.md [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 1798 May 31 09:44 Dockerfile [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 677 May 31 09:44 GOVERNANCE.md [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 657 May 31 09:44 Jenkinsfile [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 31 09:44 LICENSE [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 1963 May 31 09:44 Makefile [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 620 May 31 09:44 OWNERS.md [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 3599 May 31 09:44 README.md [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 5 May 31 09:41 VERSION [2024-05-31T09:49:42.833Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:44 bin [2024-05-31T09:49:42.833Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:44 cmd [2024-05-31T09:49:42.833Z] -rw-r--r-- 1 jenkins jenkins 18506 May 31 09:49 coverage.out [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 3745 May 31 09:44 go.mod [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 31 09:44 go.sum [2024-05-31T09:49:42.833Z] drwxrwxr-x 3 jenkins jenkins 4096 May 31 09:44 internal [2024-05-31T09:49:42.833Z] drwxrwxr-x 2 jenkins jenkins 4096 May 31 09:44 mock [2024-05-31T09:49:42.833Z] drwxrwxr-x 6 jenkins jenkins 4096 May 31 09:44 vendor [2024-05-31T09:49:42.833Z] -rw-rw-r-- 1 jenkins jenkins 227 May 31 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:49:43.203Z] + 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=dabaf310096f55ca97d0e997aba8433d12ae90b5 --label arch=arm64 --label version=3.1.1 . [2024-05-31T09:49:45.315Z] Sending build context to Docker daemon 38.33MB [2024-05-31T09:49:45.315Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-05-31T09:49:45.315Z] Step 2/25 : FROM ${BASE} AS builder [2024-05-31T09:49:45.315Z] ---> 5206804daade [2024-05-31T09:49:45.315Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-05-31T09:49:45.902Z] ---> Running in f24ca3652a09 [2024-05-31T09:49:45.902Z] Removing intermediate container f24ca3652a09 [2024-05-31T09:49:45.902Z] ---> a77130907df7 [2024-05-31T09:49:45.902Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-31T09:49:46.167Z] ---> Running in abd76863ca86 [2024-05-31T09:49:46.431Z] Removing intermediate container abd76863ca86 [2024-05-31T09:49:46.431Z] ---> 6af4fc5576f3 [2024-05-31T09:49:46.431Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-31T09:49:46.431Z] ---> Running in 06855f8c34ee [2024-05-31T09:49:46.696Z] Removing intermediate container 06855f8c34ee [2024-05-31T09:49:46.696Z] ---> 0890725eb6ff [2024-05-31T09:49:46.696Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-05-31T09:49:46.696Z] ---> Running in f4a0cf11cff5 [2024-05-31T09:49:46.963Z] Removing intermediate container f4a0cf11cff5 [2024-05-31T09:49:46.964Z] ---> 1823dde33379 [2024-05-31T09:49:46.964Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-31T09:49:47.228Z] ---> Running in 0a8feecf9bca [2024-05-31T09:49:48.186Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T09:49:48.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T09:49:49.809Z] OK: 271 MiB in 56 packages [2024-05-31T09:49:50.769Z] Removing intermediate container 0a8feecf9bca [2024-05-31T09:49:50.769Z] ---> f5e3b65cebbe [2024-05-31T09:49:50.769Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-05-31T09:49:50.769Z] ---> Running in f17aa20175ed [2024-05-31T09:49:51.035Z] Removing intermediate container f17aa20175ed [2024-05-31T09:49:51.035Z] ---> 168ef12a4035 [2024-05-31T09:49:51.035Z] Step 9/25 : COPY go.mod vendor* ./ [2024-05-31T09:49:59.238Z] ---> c7d2baf89759 [2024-05-31T09:49:59.238Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-31T09:49:59.238Z] ---> Running in b8f18e612d1c [2024-05-31T09:49:59.238Z] skipping... [2024-05-31T09:49:59.503Z] Removing intermediate container b8f18e612d1c [2024-05-31T09:49:59.503Z] ---> c052397b94f7 [2024-05-31T09:49:59.503Z] Step 11/25 : COPY . . [2024-05-31T09:50:07.085Z] ---> fa37abe605df [2024-05-31T09:50:07.085Z] Step 12/25 : RUN $MAKE [2024-05-31T09:50:07.085Z] ---> Running in f55cd9c4736d [2024-05-31T09:50:08.053Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.1.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-05-31T09:52:29.768Z] Removing intermediate container f55cd9c4736d [2024-05-31T09:52:29.768Z] ---> aac4f6236354 [2024-05-31T09:52:29.768Z] Step 13/25 : FROM alpine:3.18 [2024-05-31T09:52:29.768Z] 3.18: Pulling from library/alpine [2024-05-31T09:52:29.768Z] c6b39de5b339: Already exists [2024-05-31T09:52:29.768Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-31T09:52:29.768Z] Status: Downloaded newer image for alpine:3.18 [2024-05-31T09:52:29.768Z] ---> 33abbf032149 [2024-05-31T09:52:29.768Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-05-31T09:52:29.768Z] ---> Running in 618f0bcf5161 [2024-05-31T09:52:29.768Z] Removing intermediate container 618f0bcf5161 [2024-05-31T09:52:29.768Z] ---> 6d2935141f56 [2024-05-31T09:52:29.768Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-05-31T09:52:29.768Z] ---> Running in 52fd1c59efba [2024-05-31T09:52:29.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T09:52:29.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T09:52:29.768Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-31T09:52:29.768Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T09:52:29.768Z] OK: 8 MiB in 16 packages [2024-05-31T09:52:29.768Z] Removing intermediate container 52fd1c59efba [2024-05-31T09:52:29.768Z] ---> 87c2082ebbd6 [2024-05-31T09:52:29.768Z] Step 16/25 : RUN apk --no-cache upgrade [2024-05-31T09:52:29.768Z] ---> Running in f894f7f40037 [2024-05-31T09:52:30.726Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T09:52:30.992Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T09:52:31.950Z] Upgrading critical system libraries and apk-tools: [2024-05-31T09:52:31.950Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-31T09:52:31.950Z] Executing busybox-1.36.1-r5.trigger [2024-05-31T09:52:32.215Z] Continuing the upgrade transaction with new apk-tools: [2024-05-31T09:52:32.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-31T09:52:32.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-31T09:52:33.445Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T09:52:33.711Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-31T09:52:33.711Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T09:52:33.711Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-31T09:52:33.711Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-31T09:52:33.711Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-31T09:52:33.711Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-31T09:52:33.711Z] Executing busybox-1.36.1-r6.trigger [2024-05-31T09:52:33.711Z] OK: 8 MiB in 16 packages [2024-05-31T09:52:35.136Z] Removing intermediate container f894f7f40037 [2024-05-31T09:52:35.136Z] ---> 4edfd7dd8a30 [2024-05-31T09:52:35.136Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-05-31T09:52:36.713Z] ---> de12e2312dba [2024-05-31T09:52:36.713Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-05-31T09:52:36.981Z] ---> dc35961bf4bb [2024-05-31T09:52:36.981Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-05-31T09:52:37.562Z] ---> 4fb85f748c18 [2024-05-31T09:52:37.562Z] Step 20/25 : EXPOSE 59982 [2024-05-31T09:52:37.562Z] ---> Running in 17020b7ed841 [2024-05-31T09:52:38.145Z] Removing intermediate container 17020b7ed841 [2024-05-31T09:52:38.145Z] ---> 8603a5285c90 [2024-05-31T09:52:38.145Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-05-31T09:52:38.145Z] ---> Running in 8432982a097c [2024-05-31T09:52:38.416Z] Removing intermediate container 8432982a097c [2024-05-31T09:52:38.416Z] ---> 94a4acfee191 [2024-05-31T09:52:38.416Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-31T09:52:38.416Z] ---> Running in a35e9e7507b9 [2024-05-31T09:52:38.684Z] Removing intermediate container a35e9e7507b9 [2024-05-31T09:52:38.684Z] ---> 8d12b72e4fd9 [2024-05-31T09:52:38.684Z] Step 23/25 : LABEL arch=arm64 [2024-05-31T09:52:38.953Z] ---> Running in 469a70faab39 [2024-05-31T09:52:39.220Z] Removing intermediate container 469a70faab39 [2024-05-31T09:52:39.220Z] ---> 4048b22acbee [2024-05-31T09:52:39.220Z] Step 24/25 : LABEL git_sha=dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:52:39.220Z] ---> Running in 5b4c96c47416 [2024-05-31T09:52:39.490Z] Removing intermediate container 5b4c96c47416 [2024-05-31T09:52:39.490Z] ---> 8712aa387253 [2024-05-31T09:52:39.490Z] Step 25/25 : LABEL version=3.1.1 [2024-05-31T09:52:39.758Z] ---> Running in 87e9bdc2f017 [2024-05-31T09:52:40.025Z] Removing intermediate container 87e9bdc2f017 [2024-05-31T09:52:40.025Z] ---> 6e48a1f7dd43 [2024-05-31T09:52:40.025Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-31T09:52:40.292Z] Successfully built 6e48a1f7dd43 [2024-05-31T09:52:40.292Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:52:40.443Z] provisioning config files... [2024-05-31T09:52:40.461Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config16659932925337745362tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:52:40.820Z] ---> ****-login.sh [2024-05-31T09:52:40.820Z] nexus3.edgexfoundry.org:10001 [2024-05-31T09:52:41.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:52:41.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:52:41.091Z] Configure a credential helper to remove this warning. See [2024-05-31T09:52:41.091Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:52:41.091Z] [2024-05-31T09:52:41.091Z] Login Succeeded [2024-05-31T09:52:41.091Z] nexus3.edgexfoundry.org:10002 [2024-05-31T09:52:41.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:52:41.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:52:41.359Z] Configure a credential helper to remove this warning. See [2024-05-31T09:52:41.360Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:52:41.360Z] [2024-05-31T09:52:41.360Z] Login Succeeded [2024-05-31T09:52:41.626Z] nexus3.edgexfoundry.org:10003 [2024-05-31T09:52:41.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:52:41.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:52:41.894Z] Configure a credential helper to remove this warning. See [2024-05-31T09:52:41.894Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:52:41.894Z] [2024-05-31T09:52:41.894Z] Login Succeeded [2024-05-31T09:52:41.894Z] nexus3.edgexfoundry.org:10004 [2024-05-31T09:52:42.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:52:42.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:52:42.429Z] Configure a credential helper to remove this warning. See [2024-05-31T09:52:42.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:52:42.429Z] [2024-05-31T09:52:42.429Z] Login Succeeded [2024-05-31T09:52:42.429Z] ****.io [2024-05-31T09:52:42.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-31T09:52:42.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-31T09:52:42.964Z] Configure a credential helper to remove this warning. See [2024-05-31T09:52:42.964Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-31T09:52:42.964Z] [2024-05-31T09:52:42.964Z] Login Succeeded [2024-05-31T09:52:42.964Z] ---> ****-login.sh ends [Pipeline] } [2024-05-31T09:52:42.975Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-31T09:52:43.027Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-31T09:52:43.058Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2024-05-31T09:52:43.059Z] dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:52:43.059Z] 3.1.1 [2024-05-31T09:52:43.059Z] dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [2024-05-31T09:52:43.059Z] napa [2024-05-31T09:52:43.059Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:43.425Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:43.795Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:52:43.795Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-31T09:52:43.795Z] c4950e85f502: Preparing [2024-05-31T09:52:43.795Z] bdd8fb2c07f9: Preparing [2024-05-31T09:52:43.795Z] 472c7e5103d0: Preparing [2024-05-31T09:52:43.795Z] 5f4c64a00f1e: Preparing [2024-05-31T09:52:43.795Z] ee23e6b0eaee: Preparing [2024-05-31T09:52:43.795Z] 7c504f21be85: Preparing [2024-05-31T09:52:43.795Z] 7c504f21be85: Waiting [2024-05-31T09:52:44.064Z] bdd8fb2c07f9: Pushed [2024-05-31T09:52:44.064Z] c4950e85f502: Pushed [2024-05-31T09:52:44.064Z] ee23e6b0eaee: Pushed [2024-05-31T09:52:44.064Z] 7c504f21be85: Layer already exists [2024-05-31T09:52:45.469Z] 5f4c64a00f1e: Pushed [2024-05-31T09:52:49.720Z] 472c7e5103d0: Pushed [2024-05-31T09:52:49.720Z] dabaf310096f55ca97d0e997aba8433d12ae90b5: digest: sha256:72e38dc77bc3b5552be380980b48f110bafb6f0b19ba2f38db4b508a9e2944bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:50.086Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:50.453Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1 [2024-05-31T09:52:50.453Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-31T09:52:50.453Z] c4950e85f502: Preparing [2024-05-31T09:52:50.453Z] bdd8fb2c07f9: Preparing [2024-05-31T09:52:50.453Z] 472c7e5103d0: Preparing [2024-05-31T09:52:50.453Z] 5f4c64a00f1e: Preparing [2024-05-31T09:52:50.453Z] ee23e6b0eaee: Preparing [2024-05-31T09:52:50.453Z] 7c504f21be85: Preparing [2024-05-31T09:52:50.453Z] bdd8fb2c07f9: Layer already exists [2024-05-31T09:52:50.453Z] 5f4c64a00f1e: Layer already exists [2024-05-31T09:52:50.453Z] 472c7e5103d0: Layer already exists [2024-05-31T09:52:50.453Z] ee23e6b0eaee: Layer already exists [2024-05-31T09:52:50.453Z] c4950e85f502: Layer already exists [2024-05-31T09:52:50.453Z] 7c504f21be85: Layer already exists [2024-05-31T09:52:50.720Z] 3.1.1: digest: sha256:72e38dc77bc3b5552be380980b48f110bafb6f0b19ba2f38db4b508a9e2944bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:51.114Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:51.492Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [2024-05-31T09:52:51.492Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-31T09:52:51.492Z] c4950e85f502: Preparing [2024-05-31T09:52:51.492Z] bdd8fb2c07f9: Preparing [2024-05-31T09:52:51.492Z] 472c7e5103d0: Preparing [2024-05-31T09:52:51.492Z] 5f4c64a00f1e: Preparing [2024-05-31T09:52:51.492Z] ee23e6b0eaee: Preparing [2024-05-31T09:52:51.492Z] 7c504f21be85: Preparing [2024-05-31T09:52:51.492Z] 7c504f21be85: Waiting [2024-05-31T09:52:51.492Z] c4950e85f502: Layer already exists [2024-05-31T09:52:51.492Z] ee23e6b0eaee: Layer already exists [2024-05-31T09:52:51.492Z] 472c7e5103d0: Layer already exists [2024-05-31T09:52:51.492Z] 5f4c64a00f1e: Layer already exists [2024-05-31T09:52:51.492Z] bdd8fb2c07f9: Layer already exists [2024-05-31T09:52:51.492Z] 7c504f21be85: Layer already exists [2024-05-31T09:52:51.762Z] dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1: digest: sha256:72e38dc77bc3b5552be380980b48f110bafb6f0b19ba2f38db4b508a9e2944bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:52.148Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:52.643Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [2024-05-31T09:52:52.643Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-05-31T09:52:52.643Z] c4950e85f502: Preparing [2024-05-31T09:52:52.643Z] bdd8fb2c07f9: Preparing [2024-05-31T09:52:52.643Z] 472c7e5103d0: Preparing [2024-05-31T09:52:52.643Z] 5f4c64a00f1e: Preparing [2024-05-31T09:52:52.643Z] ee23e6b0eaee: Preparing [2024-05-31T09:52:52.643Z] 7c504f21be85: Preparing [2024-05-31T09:52:52.643Z] 7c504f21be85: Waiting [2024-05-31T09:52:52.643Z] 472c7e5103d0: Layer already exists [2024-05-31T09:52:52.643Z] ee23e6b0eaee: Layer already exists [2024-05-31T09:52:52.643Z] c4950e85f502: Layer already exists [2024-05-31T09:52:52.643Z] 5f4c64a00f1e: Layer already exists [2024-05-31T09:52:52.643Z] bdd8fb2c07f9: Layer already exists [2024-05-31T09:52:52.917Z] 7c504f21be85: Layer already exists [2024-05-31T09:52:52.917Z] napa: digest: sha256:72e38dc77bc3b5552be380980b48f110bafb6f0b19ba2f38db4b508a9e2944bb size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-31T09:52:53.002Z] ===================================================== [Pipeline] echo [2024-05-31T09:52:53.016Z] taggedImages: [2024-05-31T09:52:53.016Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5 [2024-05-31T09:52:53.016Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.1.1 [2024-05-31T09:52:53.016Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:dabaf310096f55ca97d0e997aba8433d12ae90b5-3.1.1 [2024-05-31T09:52:53.016Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:53.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-31T09:52:53.449Z] [2024-05-31T09:52:53.449Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:52:53.849Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-31T09:52:54.134Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-31T09:52:54.134Z] 8998bd30e6a1: Pulling fs layer [2024-05-31T09:52:54.134Z] 04944245beec: Pulling fs layer [2024-05-31T09:52:54.134Z] 699f458cf7ca: Pulling fs layer [2024-05-31T09:52:54.134Z] 765212b225bb: Pulling fs layer [2024-05-31T09:52:54.134Z] f23df028b6ca: Pulling fs layer [2024-05-31T09:52:54.134Z] d65c8cfc05b1: Pulling fs layer [2024-05-31T09:52:54.134Z] 2437ff75d9bd: Pulling fs layer [2024-05-31T09:52:54.134Z] f23df028b6ca: Waiting [2024-05-31T09:52:54.134Z] 765212b225bb: Waiting [2024-05-31T09:52:54.134Z] d65c8cfc05b1: Waiting [2024-05-31T09:52:54.134Z] 2437ff75d9bd: Waiting [2024-05-31T09:52:54.134Z] 04944245beec: Verifying Checksum [2024-05-31T09:52:54.134Z] 04944245beec: Download complete [2024-05-31T09:52:54.134Z] 765212b225bb: Verifying Checksum [2024-05-31T09:52:54.134Z] 765212b225bb: Download complete [2024-05-31T09:52:54.134Z] f23df028b6ca: Verifying Checksum [2024-05-31T09:52:54.134Z] f23df028b6ca: Download complete [2024-05-31T09:52:54.134Z] d65c8cfc05b1: Verifying Checksum [2024-05-31T09:52:54.134Z] d65c8cfc05b1: Download complete [2024-05-31T09:52:54.409Z] 699f458cf7ca: Verifying Checksum [2024-05-31T09:52:54.409Z] 699f458cf7ca: Download complete [2024-05-31T09:52:54.996Z] 8998bd30e6a1: Verifying Checksum [2024-05-31T09:52:54.996Z] 8998bd30e6a1: Download complete [2024-05-31T09:52:57.584Z] 2437ff75d9bd: Verifying Checksum [2024-05-31T09:52:57.584Z] 2437ff75d9bd: Download complete [2024-05-31T09:52:59.528Z] 8998bd30e6a1: Pull complete [2024-05-31T09:53:00.113Z] 04944245beec: Pull complete [2024-05-31T09:53:01.523Z] 699f458cf7ca: Pull complete [2024-05-31T09:53:01.791Z] 765212b225bb: Pull complete [2024-05-31T09:53:02.755Z] f23df028b6ca: Pull complete [2024-05-31T09:53:02.755Z] d65c8cfc05b1: Pull complete [2024-05-31T09:53:21.018Z] 2437ff75d9bd: Pull complete [2024-05-31T09:53:21.018Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-31T09:53:21.018Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-31T09:53:21.018Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:53:21.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-2016 does not seem to be running inside a container [2024-05-31T09:53:21.334Z] $ 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/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-31T09:53:24.342Z] $ docker top 14ddb03aaf4d76a0a536b6fcbd0b8b248d238d086eff757d3768d5b60d2e9117 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:53:25.183Z] ---> job-cost.sh [2024-05-31T09:53:25.183Z] lf-activate-venv: SKIPPING [2024-05-31T09:53:25.183Z] INFO: No Stack... [2024-05-31T09:53:25.764Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-31T09:53:26.346Z] INFO: Archiving Costs [Pipeline] sh [2024-05-31T09:53:26.984Z] + cat /w/workspace/device-mqtt-go/8/archives/cost.csv [2024-05-31T09:53:26.984Z] + cut -d, -f6 [Pipeline] lock [2024-05-31T09:53:27.005Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [2024-05-31T09:53:27.015Z] Resource [jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] did not exist. Created. [2024-05-31T09:53:27.020Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-31T09:53:27.683Z] /w/workspace/device-mqtt-go/8@tmp/durable-554ad13b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-31T09:53:28.325Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-31T09:53:28.354Z] Warning: overwriting stash ‘stack-cost’ [2024-05-31T09:53:28.797Z] Stashed 1 file(s) [Pipeline] } [2024-05-31T09:53:28.810Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-napa-8-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-31T09:53:28.842Z] $ docker stop --time=1 14ddb03aaf4d76a0a536b6fcbd0b8b248d238d086eff757d3768d5b60d2e9117 [2024-05-31T09:53:30.407Z] $ docker rm -f --volumes 14ddb03aaf4d76a0a536b6fcbd0b8b248d238d086eff757d3768d5b60d2e9117 [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-05-31T09:53:30.881Z] provisioning config files... [2024-05-31T09:53:30.888Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config11970254112145949812tmp [Pipeline] { [Pipeline] sh [2024-05-31T09:53:31.188Z] + set +x [2024-05-31T09:53:31.188Z] + bash -s -- [2024-05-31T09:53:31.188Z] + curl -s https://codecov.io/bash [2024-05-31T09:53:31.188Z] [2024-05-31T09:53:31.188Z] _____ _ [2024-05-31T09:53:31.188Z] / ____| | | [2024-05-31T09:53:31.188Z] | | ___ __| | ___ ___ _____ __ [2024-05-31T09:53:31.188Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-31T09:53:31.188Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-31T09:53:31.188Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-31T09:53:31.188Z] Bash-1.0.6 [2024-05-31T09:53:31.188Z] [2024-05-31T09:53:31.188Z] [2024-05-31T09:53:31.188Z] ==> git version 2.25.1 found [2024-05-31T09:53:31.188Z] ==> 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-05-31T09:53:31.188Z] Release-Date: 2020-01-08 [2024-05-31T09:53:31.188Z] 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-05-31T09:53:31.188Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-31T09:53:31.188Z] ==> Jenkins CI detected. [2024-05-31T09:53:31.188Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_napa [2024-05-31T09:53:31.188Z] project root: . [2024-05-31T09:53:31.188Z] --> token set from env [2024-05-31T09:53:31.188Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-31T09:53:31.188Z] ==> Running gcov in . (disable via -X gcov) [2024-05-31T09:53:31.188Z] ==> Python coveragepy not found [2024-05-31T09:53:31.188Z] ==> Searching for coverage reports in: [2024-05-31T09:53:31.188Z] + . [2024-05-31T09:53:31.188Z] -> Found 1 reports [2024-05-31T09:53:31.188Z] ==> Detecting git/mercurial file structure [2024-05-31T09:53:31.188Z] ==> Reading reports [2024-05-31T09:53:31.188Z] + ./coverage.out bytes=18506 [2024-05-31T09:53:31.188Z] ==> Appending adjustments [2024-05-31T09:53:31.188Z] https://docs.codecov.io/docs/fixing-reports [2024-05-31T09:53:31.447Z] + Found adjustments [2024-05-31T09:53:31.447Z] ==> Gzipping contents [2024-05-31T09:53:31.447Z] 16K /tmp/codecov.fCOqwW.gz [2024-05-31T09:53:31.447Z] ==> Uploading reports [2024-05-31T09:53:31.447Z] url: https://codecov.io [2024-05-31T09:53:31.447Z] query: branch=napa&commit=dabaf310096f55ca97d0e997aba8433d12ae90b5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-31T09:53:31.447Z] -> Pinging Codecov [2024-05-31T09:53:31.448Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=dabaf310096f55ca97d0e997aba8433d12ae90b5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fnapa%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-31T09:53:31.448Z] -> Uploading to [2024-05-31T09:53:31.448Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-31/7D719EC7BBE17E464838252E33014C33/dabaf310096f55ca97d0e997aba8433d12ae90b5/a2bd7fd2-ac86-4b8b-9f2c-1ad0ddff8656.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240531%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240531T095331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c763b2f32fef1b5ae5e844ce41d6de5f9fd977d62acc800e0cc74a263d224e8 [2024-05-31T09:53:31.448Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-31T09:53:31.448Z] Dload Upload Total Spent Left Speed [2024-05-31T09:53:31.707Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14845 0 0 100 14845 0 59143 --:--:-- --:--:-- --:--:-- 59380 [2024-05-31T09:53:31.707Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] } [2024-05-31T09:53:31.714Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-31T09:53:31.847Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-31T09:53:31.863Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:53:32.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-31T09:53:32.173Z] [2024-05-31T09:53:32.173Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:53:32.478Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-31T09:53:32.478Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-31T09:53:32.478Z] 619be1103602: Already exists [2024-05-31T09:53:32.478Z] f8ea3408117e: Pulling fs layer [2024-05-31T09:53:32.478Z] 91320369b822: Pulling fs layer [2024-05-31T09:53:32.478Z] 0406650e8295: Pulling fs layer [2024-05-31T09:53:32.478Z] 4f4fb700ef54: Pulling fs layer [2024-05-31T09:53:32.478Z] 96d80e3f36e1: Pulling fs layer [2024-05-31T09:53:32.478Z] 4f4fb700ef54: Waiting [2024-05-31T09:53:32.478Z] bcf3aedb951c: Pulling fs layer [2024-05-31T09:53:32.478Z] 96d80e3f36e1: Waiting [2024-05-31T09:53:32.478Z] bcf3aedb951c: Waiting [2024-05-31T09:53:32.478Z] 0406650e8295: Download complete [2024-05-31T09:53:32.478Z] f8ea3408117e: Download complete [2024-05-31T09:53:32.478Z] 4f4fb700ef54: Verifying Checksum [2024-05-31T09:53:32.478Z] 4f4fb700ef54: Download complete [2024-05-31T09:53:32.478Z] f8ea3408117e: Pull complete [2024-05-31T09:53:32.737Z] 96d80e3f36e1: Verifying Checksum [2024-05-31T09:53:32.737Z] 96d80e3f36e1: Download complete [2024-05-31T09:53:32.996Z] 91320369b822: Verifying Checksum [2024-05-31T09:53:32.996Z] 91320369b822: Download complete [2024-05-31T09:53:33.560Z] bcf3aedb951c: Verifying Checksum [2024-05-31T09:53:33.560Z] bcf3aedb951c: Download complete [2024-05-31T09:53:36.847Z] 91320369b822: Pull complete [2024-05-31T09:53:36.847Z] 0406650e8295: Pull complete [2024-05-31T09:53:36.847Z] 4f4fb700ef54: Pull complete [2024-05-31T09:53:36.847Z] 96d80e3f36e1: Pull complete [2024-05-31T09:53:40.126Z] bcf3aedb951c: Pull complete [2024-05-31T09:53:40.126Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-31T09:53:40.126Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-31T09:53:40.126Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:53:40.228Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:53:40.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-05-31T09:53:44.452Z] $ docker top 0f6e5b0f2c13fa2b2655d79bc0a93bc39806fc3cf4e75476291d9c32fbbff2c9 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T09:53:44.801Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_napa [Pipeline] echo [2024-05-31T09:53:44.811Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:napa' [Pipeline] sh [2024-05-31T09:53:45.088Z] + set -o pipefail [2024-05-31T09:53:45.088Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:napa' [2024-05-31T09:53:47.630Z] [2024-05-31T09:53:47.630Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_napa (github.com/edgexfoundry/device-mqtt-go)... [2024-05-31T09:53:47.630Z] [2024-05-31T09:53:47.630Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d340511-a444-4c02-947c-30fc9298d6ce/history/7964dd80-df6c-45de-94ad-791632bbb0d3 [2024-05-31T09:53:47.630Z] [2024-05-31T09:53:47.630Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-05-31T09:53:47.630Z] [2024-05-31T09:53:48.199Z] [2024-05-31T09:53:48.199Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-05-31T09:53:48.199Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-05-31T09:53:48.213Z] $ docker stop --time=1 0f6e5b0f2c13fa2b2655d79bc0a93bc39806fc3cf4e75476291d9c32fbbff2c9 [2024-05-31T09:53:49.944Z] $ docker rm -f --volumes 0f6e5b0f2c13fa2b2655d79bc0a93bc39806fc3cf4e75476291d9c32fbbff2c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-31T09:53:50.584Z] + git log --format=format:%s -1 dabaf310096f55ca97d0e997aba8433d12ae90b5 [Pipeline] sh [2024-05-31T09:53:50.874Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-31T09:53:50.874Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:53:51.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T09:53:51.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:53:51.255Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:53:51.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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-05-31T09:53:51.654Z] $ docker top 56c5a0f4791f5cc41c94f15f4f9b56aa002dca3fc5a47cf3083ebfa40fac1fb0 -eo pid,comm [2024-05-31T09:53:51.697Z] 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-05-31T09:53:51.697Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-31T09:53:51.737Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-31T09:53:52.034Z] + git semver [Pipeline] } [2024-05-31T09:53:52.310Z] $ docker stop --time=1 56c5a0f4791f5cc41c94f15f4f9b56aa002dca3fc5a47cf3083ebfa40fac1fb0 [2024-05-31T09:53:53.563Z] $ docker rm -f --volumes 56c5a0f4791f5cc41c94f15f4f9b56aa002dca3fc5a47cf3083ebfa40fac1fb0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:53:53.970Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-31T09:53:53.970Z] [2024-05-31T09:53:53.970Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:53:54.278Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-31T09:53:54.278Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-05-31T09:53:54.278Z] ab5ef0e58194: Pulling fs layer [2024-05-31T09:53:54.278Z] 9712f1f96733: Pulling fs layer [2024-05-31T09:53:54.278Z] 63f879dbbcfc: Pulling fs layer [2024-05-31T09:53:54.278Z] 0d9ebad4ef96: Pulling fs layer [2024-05-31T09:53:54.278Z] e9a5061849ea: Pulling fs layer [2024-05-31T09:53:54.278Z] d747dcd14b5f: Pulling fs layer [2024-05-31T09:53:54.278Z] 2de7ff778b66: Pulling fs layer [2024-05-31T09:53:54.278Z] d747dcd14b5f: Waiting [2024-05-31T09:53:54.278Z] 0d9ebad4ef96: Waiting [2024-05-31T09:53:54.278Z] e9a5061849ea: Waiting [2024-05-31T09:53:54.278Z] 2de7ff778b66: Waiting [2024-05-31T09:53:54.278Z] 9712f1f96733: Download complete [2024-05-31T09:53:54.537Z] 63f879dbbcfc: Verifying Checksum [2024-05-31T09:53:54.537Z] 63f879dbbcfc: Download complete [2024-05-31T09:53:54.796Z] e9a5061849ea: Verifying Checksum [2024-05-31T09:53:54.796Z] e9a5061849ea: Download complete [2024-05-31T09:53:54.796Z] d747dcd14b5f: Download complete [2024-05-31T09:53:54.796Z] 0d9ebad4ef96: Download complete [2024-05-31T09:53:54.796Z] ab5ef0e58194: Verifying Checksum [2024-05-31T09:53:54.796Z] ab5ef0e58194: Download complete [2024-05-31T09:53:54.796Z] 2de7ff778b66: Verifying Checksum [2024-05-31T09:53:57.322Z] ab5ef0e58194: Pull complete [2024-05-31T09:53:57.322Z] 9712f1f96733: Pull complete [2024-05-31T09:53:57.886Z] 63f879dbbcfc: Pull complete [2024-05-31T09:54:01.168Z] 0d9ebad4ef96: Pull complete [2024-05-31T09:54:01.736Z] e9a5061849ea: Pull complete [2024-05-31T09:54:01.736Z] d747dcd14b5f: Pull complete [2024-05-31T09:54:02.671Z] 2de7ff778b66: Pull complete [2024-05-31T09:54:02.671Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-05-31T09:54:02.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-05-31T09:54:02.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:54:02.783Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:54:02.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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-lftools:0.23.1-centos7 cat [2024-05-31T09:54:08.624Z] $ docker top 148bd4f1a83d2b3f339d67c01c899c7ca15f76f1ffe11666639d48aa1d335da7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:54:08.700Z] provisioning config files... [2024-05-31T09:54:08.708Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config5898032510539832338tmp [2024-05-31T09:54:08.718Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config6951937577485200469tmp [2024-05-31T09:54:08.727Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config4904806845897718181tmp [Pipeline] { [Pipeline] echo [2024-05-31T09:54:08.757Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:09.051Z] ---> sigul-configuration.sh [2024-05-31T09:54:09.052Z] gpg: directory `/root/.gnupg' created [2024-05-31T09:54:09.052Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-05-31T09:54:09.052Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-05-31T09:54:09.052Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-05-31T09:54:09.052Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-05-31T09:54:09.052Z] gpg: CAST5 encrypted data [2024-05-31T09:54:09.052Z] gpg: encrypted with 1 passphrase [2024-05-31T09:54:09.052Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-05-31T09:54:09.346Z] + mkdir /home/jenkins [2024-05-31T09:54:09.346Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-05-31T09:54:09.643Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-05-31T09:54:09.659Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:09.955Z] ---> sigul-install.sh [2024-05-31T09:54:09.956Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-05-31T09:54:10.254Z] + git tag --list [2024-05-31T09:54:10.254Z] 0.7.1 [2024-05-31T09:54:10.254Z] v1.0.0 [2024-05-31T09:54:10.254Z] v1.1.0 [2024-05-31T09:54:10.254Z] v1.1.1 [2024-05-31T09:54:10.254Z] v1.2.2 [2024-05-31T09:54:10.254Z] v1.3.0 [2024-05-31T09:54:10.254Z] v1.3.1 [2024-05-31T09:54:10.254Z] v2.0.0 [2024-05-31T09:54:10.254Z] v2.1.0 [2024-05-31T09:54:10.254Z] v2.1.1 [2024-05-31T09:54:10.254Z] v2.2.0 [2024-05-31T09:54:10.254Z] v2.3.0 [2024-05-31T09:54:10.254Z] v3.0 [2024-05-31T09:54:10.254Z] v3.0.0 [2024-05-31T09:54:10.254Z] v3.1 [2024-05-31T09:54:10.255Z] v3.1.0 [2024-05-31T09:54:10.255Z] v3.1.0-dev.1 [2024-05-31T09:54:10.255Z] v3.1.0-dev.10 [2024-05-31T09:54:10.255Z] v3.1.0-dev.11 [2024-05-31T09:54:10.255Z] v3.1.0-dev.12 [2024-05-31T09:54:10.255Z] v3.1.0-dev.13 [2024-05-31T09:54:10.255Z] v3.1.0-dev.14 [2024-05-31T09:54:10.255Z] v3.1.0-dev.15 [2024-05-31T09:54:10.255Z] v3.1.0-dev.16 [2024-05-31T09:54:10.255Z] v3.1.0-dev.17 [2024-05-31T09:54:10.255Z] v3.1.0-dev.18 [2024-05-31T09:54:10.255Z] v3.1.0-dev.19 [2024-05-31T09:54:10.255Z] v3.1.0-dev.2 [2024-05-31T09:54:10.255Z] v3.1.0-dev.20 [2024-05-31T09:54:10.255Z] v3.1.0-dev.21 [2024-05-31T09:54:10.255Z] v3.1.0-dev.22 [2024-05-31T09:54:10.255Z] v3.1.0-dev.23 [2024-05-31T09:54:10.255Z] v3.1.0-dev.24 [2024-05-31T09:54:10.255Z] v3.1.0-dev.25 [2024-05-31T09:54:10.255Z] v3.1.0-dev.3 [2024-05-31T09:54:10.255Z] v3.1.0-dev.4 [2024-05-31T09:54:10.255Z] v3.1.0-dev.5 [2024-05-31T09:54:10.255Z] v3.1.0-dev.6 [2024-05-31T09:54:10.255Z] v3.1.0-dev.7 [2024-05-31T09:54:10.255Z] v3.1.0-dev.8 [2024-05-31T09:54:10.255Z] v3.1.0-dev.9 [2024-05-31T09:54:10.255Z] v3.1.1 [2024-05-31T09:54:10.255Z] v3.2.0-dev.1 [2024-05-31T09:54:10.255Z] v3.2.0-dev.10 [2024-05-31T09:54:10.255Z] v3.2.0-dev.11 [2024-05-31T09:54:10.255Z] v3.2.0-dev.12 [2024-05-31T09:54:10.255Z] v3.2.0-dev.2 [2024-05-31T09:54:10.255Z] v3.2.0-dev.3 [2024-05-31T09:54:10.255Z] v3.2.0-dev.4 [2024-05-31T09:54:10.255Z] v3.2.0-dev.5 [2024-05-31T09:54:10.255Z] v3.2.0-dev.6 [2024-05-31T09:54:10.255Z] v3.2.0-dev.7 [2024-05-31T09:54:10.255Z] v3.2.0-dev.8 [2024-05-31T09:54:10.255Z] v3.2.0-dev.9 [Pipeline] sh [2024-05-31T09:54:10.554Z] + lftools sign git-tag v3.1.1 [2024-05-31T09:54:11.121Z] Signing Git tag with Sigul... [2024-05-31T09:54:11.121Z] Signing v3.1.1 [Pipeline] echo [2024-05-31T09:54:11.393Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:11.686Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-05-31T09:54:11.695Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-05-31T09:54:11.725Z] $ docker stop --time=1 148bd4f1a83d2b3f339d67c01c899c7ca15f76f1ffe11666639d48aa1d335da7 [2024-05-31T09:54:13.021Z] $ docker rm -f --volumes 148bd4f1a83d2b3f339d67c01c899c7ca15f76f1ffe11666639d48aa1d335da7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-05-31T09:54:13.459Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-31T09:54:13.459Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:54:13.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T09:54:13.759Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:54:13.903Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:54:13.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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-05-31T09:54:14.289Z] $ docker top fe0c0aed4b7f6f06af7029fcf745c2a147563ef2e97a9bb81c5351b959ed1836 -eo pid,comm [2024-05-31T09:54:14.333Z] 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-05-31T09:54:14.333Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-31T09:54:14.374Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-31T09:54:14.669Z] + git semver [Pipeline] } [2024-05-31T09:54:14.944Z] $ docker stop --time=1 fe0c0aed4b7f6f06af7029fcf745c2a147563ef2e97a9bb81c5351b959ed1836 [2024-05-31T09:54:16.204Z] $ docker rm -f --volumes fe0c0aed4b7f6f06af7029fcf745c2a147563ef2e97a9bb81c5351b959ed1836 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-31T09:54:16.556Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-31T09:54:16.556Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:54:16.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-31T09:54:16.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:54:16.947Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:54:16.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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-05-31T09:54:17.304Z] $ docker top 0e7bd31ab455229eb885d596ff6ee9461af37ce60a4fc0a40f982468dfea7498 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-31T09:54:17.386Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v3.1.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-31T09:54:17.680Z] + git semver [Pipeline] } [2024-05-31T09:54:17.953Z] $ docker stop --time=1 0e7bd31ab455229eb885d596ff6ee9461af37ce60a4fc0a40f982468dfea7498 [2024-05-31T09:54:19.213Z] $ docker rm -f --volumes 0e7bd31ab455229eb885d596ff6ee9461af37ce60a4fc0a40f982468dfea7498 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-05-31T09:54:19.812Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_napa/archives ] [2024-05-31T09:54:19.812Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2024-05-31T09:54:19.812Z] total 16 [2024-05-31T09:54:19.812Z] drwxr-xr-x 3 root root 4096 May 31 09:44 . [2024-05-31T09:54:19.812Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 09:54 .. [2024-05-31T09:54:19.812Z] drwxr-xr-x 2 root root 4096 May 31 09:44 cost [2024-05-31T09:54:19.812Z] -rw-r--r-- 1 root root 84 May 31 09:44 cost.csv [2024-05-31T09:54:19.812Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2024-05-31T09:54:19.812Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_napa/archives [2024-05-31T09:54:19.812Z] total 16 [2024-05-31T09:54:19.812Z] drwxr-xr-x 3 jenkins jenkins 4096 May 31 09:44 . [2024-05-31T09:54:19.812Z] drwxrwxr-x 11 jenkins jenkins 4096 May 31 09:54 .. [2024-05-31T09:54:19.812Z] drwxr-xr-x 2 jenkins jenkins 4096 May 31 09:44 cost [2024-05-31T09:54:19.812Z] -rw-r--r-- 1 jenkins jenkins 84 May 31 09:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:20.101Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:20.953Z] ---> package-listing.sh [2024-05-31T09:54:20.953Z] ++ facter osfamily [2024-05-31T09:54:20.953Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-31T09:54:21.211Z] + OS_FAMILY=debian [2024-05-31T09:54:21.211Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_napa [2024-05-31T09:54:21.211Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-31T09:54:21.211Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-31T09:54:21.211Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-31T09:54:21.212Z] + PACKAGES=/tmp/packages_start.txt [2024-05-31T09:54:21.212Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' [2024-05-31T09:54:21.212Z] + PACKAGES=/tmp/packages_end.txt [2024-05-31T09:54:21.212Z] + case "${OS_FAMILY}" in [2024-05-31T09:54:21.212Z] + dpkg -l [2024-05-31T09:54:21.212Z] + grep '^ii' [2024-05-31T09:54:21.212Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-31T09:54:21.212Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-31T09:54:21.212Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-31T09:54:21.212Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_napa ']' [2024-05-31T09:54:21.212Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [2024-05-31T09:54:21.212Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_napa/archives/ [Pipeline] echo [2024-05-31T09:54:21.222Z] 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/edgexfoundry_device-mqtt-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-31T09:54:21.498Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-31T09:54:22.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-31T09:54:22.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-31T09:54:22.149Z] prd-ubuntu20.04-docker-8c-8g-2004 does not seem to be running inside a container [2024-05-31T09:54:22.184Z] $ 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/edgexfoundry_device-mqtt-go_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_napa -v /w/workspace/edgexfoundry_device-mqtt-go_napa:/w/workspace/edgexfoundry_device-mqtt-go_napa:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_napa@tmp:/w/workspace/edgexfoundry_device-mqtt-go_napa@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-lftools-log-publisher:latest cat [2024-05-31T09:54:22.369Z] $ docker top 0a028f95570c4d28a7fba3780f6b304d3c0504fb14de3a88529eddbc11812745 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-31T09:54:22.718Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-31T09:54:23.001Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-31T09:54:23.286Z] + ls /var/log/sa-host [2024-05-31T09:54:23.286Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-31T09:54:23.358Z] provisioning config files... [2024-05-31T09:54:23.366Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_napa@tmp/config14971576694381930720tmp [Pipeline] { [Pipeline] echo [2024-05-31T09:54:23.388Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:23.668Z] ---> create-netrc.sh [Pipeline] } [2024-05-31T09:54:23.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:24.003Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-31T09:54:24.014Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:24.293Z] ---> sudo-logs.sh [2024-05-31T09:54:24.293Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-31T09:54:24.320Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:24.601Z] ---> job-cost.sh [2024-05-31T09:54:24.601Z] lf-activate-venv: SKIPPING [2024-05-31T09:54:24.601Z] DEBUG: total: 0.2199999988079071 [2024-05-31T09:54:24.601Z] INFO: Retrieving Stack Cost... [2024-05-31T09:54:24.859Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-31T09:54:25.118Z] INFO: Archiving Costs [Pipeline] echo [2024-05-31T09:54:25.133Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-31T09:54:25.414Z] ---> logs-deploy.sh [2024-05-31T09:54:25.414Z] lf-activate-venv: SKIPPING [2024-05-31T09:54:25.414Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/napa/8 [2024-05-31T09:54:25.414Z] INFO: archiving workspace using pattern(s): [2024-05-31T09:54:26.349Z] Archives upload complete. [2024-05-31T09:54:26.349Z] INFO: archiving logs to Nexus