Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db84220a98baf26f07a1d477c585bb37996b93c5 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-ssh17262742628214976828.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14604197437050620377.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14888548260232625013.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh3731691065007033114.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17649243933960100562.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-562 in /w/workspace/edgexfoundry_device-mqtt-go_main [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_main # 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 db84220a98baf26f07a1d477c585bb37996b93c5 (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#669)" > git config core.sparsecheckout # timeout=10 > git checkout -f db84220a98baf26f07a1d477c585bb37996b93c5 # timeout=10 > git rev-list --no-walk f31dc60183bea012cbe15166dadf947b4e0fce38 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-21T13:02:53.680Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-21T13:02:53.778Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-21T13:02:53.806Z] ========================================================= [2024-03-21T13:02:53.806Z] EdgeX Global Pipelines Version Info [2024-03-21T13:02:53.806Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:02:54.520Z] ------------------- [2024-03-21T13:02:54.520Z] stable info: [2024-03-21T13:02:54.520Z] ------------------- [2024-03-21T13:02:54.520Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-21T13:02:54.520Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T13:02:54.520Z] Message: update stable to v1.0.258 [2024-03-21T13:02:55.090Z] ------------------- [2024-03-21T13:02:55.090Z] experimental info: [2024-03-21T13:02:55.090Z] ------------------- [2024-03-21T13:02:55.090Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-21T13:02:55.090Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-21T13:02:55.090Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-21T13:02:55.181Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-03-21T13:02:55.203Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-03-21T13:02:55.224Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-21T13:02:55.248Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-21T13:02:55.270Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-21T13:02:55.293Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-21T13:02:55.317Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-21T13:02:55.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-21T13:02:55.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-21T13:02:55.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-21T13:02:55.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-21T13:02:55.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-03-21T13:02:55.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-21T13:02:55.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-21T13:02:55.528Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T13:02:55.554Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-21T13:02:55.578Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T13:02:55.602Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-21T13:02:55.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-21T13:02:55.652Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-21T13:02:55.677Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-03-21T13:02:55.706Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-03-21T13:02:55.721Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-21T13:02:55.736Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-21T13:02:55.754Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-21T13:02:55.778Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-21T13:02:55.803Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-21T13:02:55.824Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-03-21T13:02:55.849Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-03-21T13:02:55.869Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-03-21T13:02:55.894Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] echo [2024-03-21T13:02:55.922Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db84220 [Pipeline] echo [2024-03-21T13:02:55.949Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T13:02:56.019Z] provisioning config files... [2024-03-21T13:02:56.047Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14440330271781953247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:02:56.382Z] ---> ****-login.sh [2024-03-21T13:02:56.383Z] nexus3.edgexfoundry.org:10001 [2024-03-21T13:02:56.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:02:56.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:02:56.952Z] Configure a credential helper to remove this warning. See [2024-03-21T13:02:56.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:02:56.952Z] [2024-03-21T13:02:56.952Z] Login Succeeded [2024-03-21T13:02:56.952Z] nexus3.edgexfoundry.org:10002 [2024-03-21T13:02:56.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:02:56.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:02:56.952Z] Configure a credential helper to remove this warning. See [2024-03-21T13:02:56.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:02:56.952Z] [2024-03-21T13:02:56.952Z] Login Succeeded [2024-03-21T13:02:56.952Z] nexus3.edgexfoundry.org:10003 [2024-03-21T13:02:56.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:02:56.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:02:56.952Z] Configure a credential helper to remove this warning. See [2024-03-21T13:02:56.952Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:02:56.952Z] [2024-03-21T13:02:56.952Z] Login Succeeded [2024-03-21T13:02:56.952Z] nexus3.edgexfoundry.org:10004 [2024-03-21T13:02:57.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:02:57.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:02:57.214Z] Configure a credential helper to remove this warning. See [2024-03-21T13:02:57.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:02:57.214Z] [2024-03-21T13:02:57.214Z] Login Succeeded [2024-03-21T13:02:57.214Z] ****.io [2024-03-21T13:02:57.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:02:57.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:02:57.474Z] Configure a credential helper to remove this warning. See [2024-03-21T13:02:57.474Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:02:57.474Z] [2024-03-21T13:02:57.474Z] Login Succeeded [2024-03-21T13:02:57.474Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T13:02:57.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-21T13:02:57.903Z] + git rev-list -1 --merges db84220a98baf26f07a1d477c585bb37996b93c5~1..db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] echo [2024-03-21T13:02:57.931Z] -----------> git rev-list -1 --merges db84220a98baf26f07a1d477c585bb37996b93c5~1..db84220a98baf26f07a1d477c585bb37996b93c5 db84220a98baf26f07a1d477c585bb37996b93c5 [false] [Pipeline] sh [2024-03-21T13:02:58.219Z] + git log --format=format:%s -1 db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] echo [2024-03-21T13:02:58.233Z] ========================================================= [2024-03-21T13:02:58.233Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-21T13:02:58.233Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T13:02:58.571Z] + git log --format=format:%s -1 db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] echo [2024-03-21T13:02:58.583Z] [semverPrep] GIT_COMMIT: db84220a98baf26f07a1d477c585bb37996b93c5, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#669) [Pipeline] echo [2024-03-21T13:02:58.599Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-21T13:02:58.979Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-21T13:02:58.979Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-21T13:02:58.979Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-21T13:02:58.979Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-21T13:02:58.979Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-21T13:02:58.979Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-21T13:02:58.979Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:02:59.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T13:02:59.405Z] [2024-03-21T13:02:59.405Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:02:59.714Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T13:02:59.714Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-21T13:02:59.714Z] b85a868b505f: Pulling fs layer [2024-03-21T13:02:59.714Z] e2be974225ed: Pulling fs layer [2024-03-21T13:02:59.714Z] 339a4e72a1f5: Pulling fs layer [2024-03-21T13:02:59.714Z] 988bab9f4d93: Pulling fs layer [2024-03-21T13:02:59.714Z] 1469e6f7b9e6: Pulling fs layer [2024-03-21T13:02:59.714Z] eaf3925da568: Pulling fs layer [2024-03-21T13:02:59.714Z] bab4dde63d76: Pulling fs layer [2024-03-21T13:02:59.714Z] bde34c3a00c8: Pulling fs layer [2024-03-21T13:02:59.714Z] b352a97aabf1: Pulling fs layer [2024-03-21T13:02:59.714Z] 4872d77fe225: Pulling fs layer [2024-03-21T13:02:59.714Z] 5851b861e8e6: Pulling fs layer [2024-03-21T13:02:59.714Z] 988bab9f4d93: Waiting [2024-03-21T13:02:59.714Z] 1469e6f7b9e6: Waiting [2024-03-21T13:02:59.714Z] eaf3925da568: Waiting [2024-03-21T13:02:59.714Z] bab4dde63d76: Waiting [2024-03-21T13:02:59.714Z] bde34c3a00c8: Waiting [2024-03-21T13:02:59.714Z] b352a97aabf1: Waiting [2024-03-21T13:02:59.714Z] 4872d77fe225: Waiting [2024-03-21T13:02:59.714Z] 5851b861e8e6: Waiting [2024-03-21T13:02:59.714Z] e2be974225ed: Verifying Checksum [2024-03-21T13:02:59.714Z] e2be974225ed: Download complete [2024-03-21T13:02:59.714Z] 988bab9f4d93: Download complete [2024-03-21T13:02:59.714Z] 1469e6f7b9e6: Verifying Checksum [2024-03-21T13:02:59.714Z] 1469e6f7b9e6: Download complete [2024-03-21T13:02:59.993Z] 339a4e72a1f5: Verifying Checksum [2024-03-21T13:02:59.993Z] 339a4e72a1f5: Download complete [2024-03-21T13:02:59.993Z] eaf3925da568: Download complete [2024-03-21T13:02:59.993Z] bde34c3a00c8: Verifying Checksum [2024-03-21T13:02:59.993Z] bde34c3a00c8: Download complete [2024-03-21T13:02:59.993Z] b352a97aabf1: Verifying Checksum [2024-03-21T13:02:59.993Z] 4872d77fe225: Verifying Checksum [2024-03-21T13:02:59.993Z] 4872d77fe225: Download complete [2024-03-21T13:02:59.993Z] 5851b861e8e6: Verifying Checksum [2024-03-21T13:02:59.993Z] 5851b861e8e6: Download complete [2024-03-21T13:02:59.993Z] b85a868b505f: Verifying Checksum [2024-03-21T13:02:59.993Z] b85a868b505f: Download complete [2024-03-21T13:03:00.252Z] bab4dde63d76: Verifying Checksum [2024-03-21T13:03:00.252Z] bab4dde63d76: Download complete [2024-03-21T13:03:01.193Z] b85a868b505f: Pull complete [2024-03-21T13:03:01.453Z] e2be974225ed: Pull complete [2024-03-21T13:03:02.022Z] 339a4e72a1f5: Pull complete [2024-03-21T13:03:02.022Z] 988bab9f4d93: Pull complete [2024-03-21T13:03:02.282Z] 1469e6f7b9e6: Pull complete [2024-03-21T13:03:02.282Z] eaf3925da568: Pull complete [2024-03-21T13:03:04.187Z] bab4dde63d76: Pull complete [2024-03-21T13:03:04.187Z] bde34c3a00c8: Pull complete [2024-03-21T13:03:04.187Z] b352a97aabf1: Pull complete [2024-03-21T13:03:04.447Z] 4872d77fe225: Pull complete [2024-03-21T13:03:04.447Z] 5851b861e8e6: Pull complete [2024-03-21T13:03:04.447Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-21T13:03:04.447Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T13:03:04.447Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:03:04.592Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:03:04.645Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-21T13:03:07.679Z] $ docker top 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 -eo pid,comm [2024-03-21T13:03:07.729Z] 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-03-21T13:03:07.729Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-21T13:03:07.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T13:03:07.783Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T13:03:07.899Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T13:03:07.908Z] $ docker exec 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 ssh-agent [2024-03-21T13:03:08.002Z] SSH_AUTH_SOCK=/tmp/ssh-My95w6LN2PNQ/agent.31 [2024-03-21T13:03:08.002Z] SSH_AGENT_PID=37 [2024-03-21T13:03:08.007Z] Running ssh-add (command line suppressed) [2024-03-21T13:03:08.122Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12177509734268808875.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12177509734268808875.key) [2024-03-21T13:03:08.130Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T13:03:08.425Z] + git tag --points-at HEAD [Pipeline] } [2024-03-21T13:03:08.443Z] $ docker exec --env ******** --env ******** 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 ssh-agent -k [2024-03-21T13:03:08.546Z] unset SSH_AUTH_SOCK; [2024-03-21T13:03:08.546Z] unset SSH_AGENT_PID; [2024-03-21T13:03:08.547Z] echo Agent pid 37 killed; [2024-03-21T13:03:08.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-21T13:03:08.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T13:03:08.595Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T13:03:08.704Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T13:03:08.712Z] $ docker exec 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 ssh-agent [2024-03-21T13:03:08.816Z] SSH_AUTH_SOCK=/tmp/ssh-bVPre0IUJs0g/agent.70 [2024-03-21T13:03:08.816Z] SSH_AGENT_PID=76 [2024-03-21T13:03:08.821Z] Running ssh-add (command line suppressed) [2024-03-21T13:03:08.935Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6083654687307369898.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6083654687307369898.key) [2024-03-21T13:03:08.945Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T13:03:09.240Z] + git semver init [2024-03-21T13:03:09.500Z] 2024-03-21 13:03:09,425 [run_init] DEBUG init version:0.0.0 force:False [2024-03-21T13:03:09.500Z] 2024-03-21 13:03:09,426 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2024-03-21T13:03:09.500Z] 2024-03-21 13:03:09,426 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2024-03-21T13:03:09.500Z] 2024-03-21 13:03:09,426 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2024-03-21T13:03:10.883Z] 2024-03-21 13:03:10,494 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2024-03-21T13:03:10.883Z] 2024-03-21 13:03:10,495 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2024-03-21T13:03:10.883Z] 2024-03-21 13:03:10,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-03-21T13:03:10.883Z] 2024-03-21 13:03:10,495 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-03-21T13:03:10.883Z] 3.2.0-dev.11 [Pipeline] } [2024-03-21T13:03:10.898Z] $ docker exec --env ******** --env ******** 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 ssh-agent -k [2024-03-21T13:03:11.007Z] unset SSH_AUTH_SOCK; [2024-03-21T13:03:11.007Z] unset SSH_AGENT_PID; [2024-03-21T13:03:11.007Z] echo Agent pid 76 killed; [2024-03-21T13:03:11.011Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-21T13:03:11.347Z] + git semver [Pipeline] } [2024-03-21T13:03:11.627Z] $ docker stop --time=1 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 [2024-03-21T13:03:12.919Z] $ docker rm -f --volumes 514c56f5843db8870729d2542501fe98d23a1401a8f36b843e5db3d252a8dcd0 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T13:03:13.265Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-21T13:03:13.480Z] Stashed 1 file(s) [Pipeline] echo [2024-03-21T13:03:13.484Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T13:03:13.684Z] provisioning config files... [2024-03-21T13:03:13.693Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13529044846904861735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:03:13.993Z] ---> ****-login.sh [2024-03-21T13:03:13.993Z] nexus3.edgexfoundry.org:10001 [2024-03-21T13:03:13.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:03:13.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:03:13.994Z] Configure a credential helper to remove this warning. See [2024-03-21T13:03:13.994Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:03:13.994Z] [2024-03-21T13:03:13.994Z] Login Succeeded [2024-03-21T13:03:13.994Z] nexus3.edgexfoundry.org:10002 [2024-03-21T13:03:13.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:03:13.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:03:13.994Z] Configure a credential helper to remove this warning. See [2024-03-21T13:03:13.994Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:03:13.994Z] [2024-03-21T13:03:13.994Z] Login Succeeded [2024-03-21T13:03:13.994Z] nexus3.edgexfoundry.org:10003 [2024-03-21T13:03:14.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:03:14.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:03:14.254Z] Configure a credential helper to remove this warning. See [2024-03-21T13:03:14.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:03:14.254Z] [2024-03-21T13:03:14.254Z] Login Succeeded [2024-03-21T13:03:14.254Z] nexus3.edgexfoundry.org:10004 [2024-03-21T13:03:14.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:03:14.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:03:14.254Z] Configure a credential helper to remove this warning. See [2024-03-21T13:03:14.254Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:03:14.254Z] [2024-03-21T13:03:14.254Z] Login Succeeded [2024-03-21T13:03:14.254Z] ****.io [2024-03-21T13:03:14.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:03:14.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:03:14.514Z] Configure a credential helper to remove this warning. See [2024-03-21T13:03:14.514Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:03:14.514Z] [2024-03-21T13:03:14.514Z] Login Succeeded [2024-03-21T13:03:14.514Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T13:03:14.521Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-21T13:03:14.605Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T13:03:14.621Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T13:03:14.636Z] ========================================================= [2024-03-21T13:03:14.636Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-21T13:03:14.636Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:03:14.984Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-21T13:03:14.984Z] Sending build context to Docker daemon 14.99MB [2024-03-21T13:03:14.984Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T13:03:14.984Z] Step 2/12 : FROM ${BASE} AS builder [2024-03-21T13:03:14.984Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-21T13:03:14.984Z] 7264a8db6415: Pulling fs layer [2024-03-21T13:03:14.984Z] c4d48a809fc2: Pulling fs layer [2024-03-21T13:03:14.984Z] 4f1c88b9dad5: Pulling fs layer [2024-03-21T13:03:14.984Z] ad3a456e5733: Pulling fs layer [2024-03-21T13:03:14.984Z] 69c7f0334f64: Pulling fs layer [2024-03-21T13:03:14.984Z] 1f1c1a5573a3: Pulling fs layer [2024-03-21T13:03:14.984Z] ce7588e14bc9: Pulling fs layer [2024-03-21T13:03:14.984Z] b5e4710f87ac: Pulling fs layer [2024-03-21T13:03:14.984Z] ce7588e14bc9: Waiting [2024-03-21T13:03:14.984Z] ad3a456e5733: Waiting [2024-03-21T13:03:14.984Z] 69c7f0334f64: Waiting [2024-03-21T13:03:14.984Z] 1f1c1a5573a3: Waiting [2024-03-21T13:03:14.984Z] b5e4710f87ac: Waiting [2024-03-21T13:03:14.984Z] c4d48a809fc2: Download complete [2024-03-21T13:03:14.984Z] ad3a456e5733: Verifying Checksum [2024-03-21T13:03:14.984Z] ad3a456e5733: Download complete [2024-03-21T13:03:15.244Z] 69c7f0334f64: Verifying Checksum [2024-03-21T13:03:15.244Z] 69c7f0334f64: Download complete [2024-03-21T13:03:15.244Z] 7264a8db6415: Verifying Checksum [2024-03-21T13:03:15.244Z] 7264a8db6415: Download complete [2024-03-21T13:03:15.244Z] 1f1c1a5573a3: Verifying Checksum [2024-03-21T13:03:15.244Z] 1f1c1a5573a3: Download complete [2024-03-21T13:03:15.244Z] 7264a8db6415: Pull complete [2024-03-21T13:03:15.504Z] b5e4710f87ac: Verifying Checksum [2024-03-21T13:03:15.504Z] b5e4710f87ac: Download complete [2024-03-21T13:03:15.504Z] c4d48a809fc2: Pull complete [2024-03-21T13:03:15.504Z] 4f1c88b9dad5: Verifying Checksum [2024-03-21T13:03:15.504Z] 4f1c88b9dad5: Download complete [2024-03-21T13:03:16.070Z] ce7588e14bc9: Verifying Checksum [2024-03-21T13:03:16.070Z] ce7588e14bc9: Download complete [2024-03-21T13:03:19.376Z] 4f1c88b9dad5: Pull complete [2024-03-21T13:03:19.376Z] ad3a456e5733: Pull complete [2024-03-21T13:03:19.376Z] 69c7f0334f64: Pull complete [2024-03-21T13:03:19.376Z] 1f1c1a5573a3: Pull complete [2024-03-21T13:03:21.911Z] ce7588e14bc9: Pull complete [2024-03-21T13:03:22.168Z] b5e4710f87ac: Pull complete [2024-03-21T13:03:22.168Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-21T13:03:22.168Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-21T13:03:22.168Z] ---> 88b5674ff536 [2024-03-21T13:03:22.168Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-21T13:03:27.441Z] ---> Running in 7b5ec54cc5ae [2024-03-21T13:03:27.441Z] Removing intermediate container 7b5ec54cc5ae [2024-03-21T13:03:27.441Z] ---> c62b22bc5742 [2024-03-21T13:03:27.441Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T13:03:27.441Z] ---> Running in bd3831b3428a [2024-03-21T13:03:27.441Z] Removing intermediate container bd3831b3428a [2024-03-21T13:03:27.441Z] ---> 0a290ed28dd7 [2024-03-21T13:03:27.441Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T13:03:27.441Z] ---> Running in e0b772c6fb93 [2024-03-21T13:03:27.441Z] Removing intermediate container e0b772c6fb93 [2024-03-21T13:03:27.441Z] ---> 0b43da02b7c7 [2024-03-21T13:03:27.441Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T13:03:27.441Z] ---> Running in 08c5e8389e41 [2024-03-21T13:03:27.441Z] Removing intermediate container 08c5e8389e41 [2024-03-21T13:03:27.441Z] ---> bf6d50542295 [2024-03-21T13:03:27.441Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T13:03:27.441Z] ---> Running in 9398a16fd70f [2024-03-21T13:03:27.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T13:03:27.441Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T13:03:27.441Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T13:03:27.441Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-21T13:03:27.700Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T13:03:27.700Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T13:03:27.700Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T13:03:27.700Z] OK: 268 MiB in 56 packages [2024-03-21T13:03:28.290Z] Removing intermediate container 9398a16fd70f [2024-03-21T13:03:28.290Z] ---> 76592647d70d [2024-03-21T13:03:28.290Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-03-21T13:03:28.290Z] ---> Running in 9c770df91884 [2024-03-21T13:03:28.290Z] Removing intermediate container 9c770df91884 [2024-03-21T13:03:28.290Z] ---> aa6e9f2c1a56 [2024-03-21T13:03:28.290Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-21T13:03:28.290Z] ---> df5477e55626 [2024-03-21T13:03:28.290Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T13:03:28.549Z] ---> Running in 8eb4d3095e48 [2024-03-21T13:03:28.622Z] Still waiting to schedule task [2024-03-21T13:03:28.623Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-21T13:04:24.811Z] Removing intermediate container 8eb4d3095e48 [2024-03-21T13:04:24.811Z] ---> ac77a7ef2942 [2024-03-21T13:04:24.811Z] Step 11/12 : COPY . . [2024-03-21T13:04:24.811Z] ---> bf6d09399c47 [2024-03-21T13:04:24.811Z] Step 12/12 : RUN $MAKE [2024-03-21T13:04:24.811Z] ---> Running in f596796afa75 [2024-03-21T13:04:24.811Z] noop [2024-03-21T13:04:24.811Z] Removing intermediate container f596796afa75 [2024-03-21T13:04:24.811Z] ---> f8a918facea7 [2024-03-21T13:04:24.811Z] Successfully built f8a918facea7 [2024-03-21T13:04:24.811Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:04:25.140Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T13:04:25.140Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:04:25.225Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:04:25.262Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-03-21T13:04:25.614Z] $ docker top 8913a7a8760e560b88eb19f526b500b6ef41204f9d04a5cbce5731bd476a907b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T13:04:25.960Z] + go version [2024-03-21T13:04:25.960Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-21T13:04:25.977Z] $ docker stop --time=1 8913a7a8760e560b88eb19f526b500b6ef41204f9d04a5cbce5731bd476a907b [2024-03-21T13:04:27.244Z] $ docker rm -f --volumes 8913a7a8760e560b88eb19f526b500b6ef41204f9d04a5cbce5731bd476a907b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:04:27.749Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-21T13:04:27.749Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:04:27.828Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:04:27.862Z] $ 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_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-03-21T13:04:28.165Z] $ docker top 29dca2715975bbae0682e1572271ea0f88a36ac2825d772e68cf4d080f8228bd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T13:04:28.507Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2024-03-21T13:04:28.810Z] + make test [2024-03-21T13:04:28.810Z] go test ./... -coverprofile=coverage.out ./... [2024-03-21T13:04:30.187Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-03-21T13:04:45.058Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-03-21T13:04:45.058Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-03-21T13:04:45.321Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.8% of statements [2024-03-21T13:04:55.296Z] go vet ./... [2024-03-21T13:04:58.599Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T13:04:58.599Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T13:04:58.599Z] ./bin/test-attribution-txt.sh [2024-03-21T13:04:58.599Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T13:04:58.599Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T13:04:58.600Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T13:04:58.613Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T13:04:58.630Z] $ docker stop --time=1 29dca2715975bbae0682e1572271ea0f88a36ac2825d772e68cf4d080f8228bd [2024-03-21T13:05:02.727Z] $ docker rm -f --volumes 29dca2715975bbae0682e1572271ea0f88a36ac2825d772e68cf4d080f8228bd [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T13:05:03.149Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-564 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2024-03-21T13:05:03.168Z] Running in /w/workspace/device-mqtt-go/164 [Pipeline] { [Pipeline] checkout [2024-03-21T13:05:03.265Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T13:05:06.240Z] The recommended git tool is: git [2024-03-21T13:05:06.261Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-21T13:05:06.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T13:05:07.129Z] + ls -al . [2024-03-21T13:05:07.129Z] total 252 [2024-03-21T13:05:07.129Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 13:04 . [2024-03-21T13:05:07.129Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 13:02 .. [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 13:02 .dockerignore [2024-03-21T13:05:07.129Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:04 .git [2024-03-21T13:05:07.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:02 .github [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 21 13:02 .gitignore [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 13:02 .golangci.yml [2024-03-21T13:05:07.129Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 13:03 .semver [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 10386 Mar 21 13:02 Attribution.txt [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 18574 Mar 21 13:02 CHANGELOG.md [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 1798 Mar 21 13:02 Dockerfile [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 13:02 GOVERNANCE.md [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 21 13:02 Jenkinsfile [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 13:02 LICENSE [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 1963 Mar 21 13:02 Makefile [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 13:02 OWNERS.md [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 3599 Mar 21 13:02 README.md [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 13:03 VERSION [2024-03-21T13:05:07.129Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:02 bin [2024-03-21T13:05:07.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:02 cmd [2024-03-21T13:05:07.129Z] -rw-r--r-- 1 jenkins jenkins 18506 Mar 21 13:04 coverage.out [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 7169 Mar 21 13:02 go.mod [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 101517 Mar 21 13:02 go.sum [2024-03-21T13:05:07.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:02 internal [2024-03-21T13:05:07.129Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:02 mock [2024-03-21T13:05:07.129Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 13:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:07.453Z] + 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=db84220a98baf26f07a1d477c585bb37996b93c5 --label arch=amd64 --label version=3.2.0-dev.11 . [2024-03-21T13:05:07.453Z] Sending build context to Docker daemon 15.01MB [2024-03-21T13:05:07.453Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T13:05:07.453Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-21T13:05:07.453Z] ---> f8a918facea7 [2024-03-21T13:05:07.453Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-21T13:05:07.711Z] ---> Running in 1f5964e2d9a8 [2024-03-21T13:05:07.711Z] Removing intermediate container 1f5964e2d9a8 [2024-03-21T13:05:07.711Z] ---> a3e90e6f5d68 [2024-03-21T13:05:07.711Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T13:05:07.970Z] ---> Running in 5065bbffe4da [2024-03-21T13:05:07.970Z] Removing intermediate container 5065bbffe4da [2024-03-21T13:05:07.970Z] ---> b63cf4ffb1e3 [2024-03-21T13:05:07.970Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T13:05:07.970Z] ---> Running in 0bec60fbb728 [2024-03-21T13:05:07.970Z] Removing intermediate container 0bec60fbb728 [2024-03-21T13:05:07.970Z] ---> d1bfb65e4361 [2024-03-21T13:05:07.970Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T13:05:07.970Z] ---> Running in 9a93d42944e1 [2024-03-21T13:05:07.970Z] Removing intermediate container 9a93d42944e1 [2024-03-21T13:05:07.970Z] ---> df8d20542b66 [2024-03-21T13:05:07.970Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T13:05:07.970Z] ---> Running in e1490d6b46be [2024-03-21T13:05:08.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T13:05:08.490Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T13:05:08.749Z] OK: 268 MiB in 56 packages [2024-03-21T13:05:09.009Z] Removing intermediate container e1490d6b46be [2024-03-21T13:05:09.009Z] ---> a651d09bda7a [2024-03-21T13:05:09.009Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-03-21T13:05:09.268Z] ---> Running in fa606cf1aec1 [2024-03-21T13:05:09.268Z] Removing intermediate container fa606cf1aec1 [2024-03-21T13:05:09.268Z] ---> 09290fb13c2f [2024-03-21T13:05:09.268Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-21T13:05:09.268Z] ---> 9f6e488df0e3 [2024-03-21T13:05:09.268Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T13:05:09.268Z] ---> Running in 02bcc4a26a28 [2024-03-21T13:05:10.206Z] Removing intermediate container 02bcc4a26a28 [2024-03-21T13:05:10.206Z] ---> fb14cfb60285 [2024-03-21T13:05:10.206Z] Step 11/25 : COPY . . [2024-03-21T13:05:10.464Z] ---> 1c481917572a [2024-03-21T13:05:10.464Z] Step 12/25 : RUN $MAKE [2024-03-21T13:05:10.464Z] ---> Running in 8c5cf139e58b [2024-03-21T13:05:10.723Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-03-21T13:05:11.052Z] using credential edgex-jenkins-ssh [2024-03-21T13:05:11.075Z] Cloning the remote Git repository [2024-03-21T13:05:11.115Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-21T13:05:11.199Z] > git init /w/workspace/device-mqtt-go/164 # timeout=10 [2024-03-21T13:05:11.335Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-03-21T13:05:11.336Z] > git --version # timeout=10 [2024-03-21T13:05:11.364Z] > git --version # 'git version 2.25.1' [2024-03-21T13:05:11.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-21T13:05:11.544Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T13:05:13.241Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-03-21T13:05:13.270Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-21T13:05:14.102Z] Avoid second fetch [2024-03-21T13:05:14.103Z] Checking out Revision db84220a98baf26f07a1d477c585bb37996b93c5 (main) [2024-03-21T13:05:14.667Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#669)" [2024-03-21T13:05:14.120Z] > git config core.sparsecheckout # timeout=10 [2024-03-21T13:05:14.188Z] > git checkout -f db84220a98baf26f07a1d477c585bb37996b93c5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T13:05:19.152Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-21T13:05:19.152Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T13:05:19.152Z] Dload Upload Total Spent Left Speed [2024-03-21T13:05:19.152Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 94323 0 --:--:-- --:--:-- --:--:-- 93635 100 12828 100 12828 0 0 92956 0 --:--:-- --:--:-- --:--:-- 92956 [Pipeline] sh [2024-03-21T13:05:19.482Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-21T13:05:19.813Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-21T13:05:19.813Z] + sudo tee /etc/docker/daemon.new [2024-03-21T13:05:19.813Z] { [2024-03-21T13:05:19.813Z] "registry-mirrors": [ [2024-03-21T13:05:19.813Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-21T13:05:19.813Z] ], [2024-03-21T13:05:19.813Z] "bip": "10.250.0.254/24", [2024-03-21T13:05:19.813Z] "hosts": [ [2024-03-21T13:05:19.813Z] "tcp://0.0.0.0:5555", [2024-03-21T13:05:19.813Z] "unix:///var/run/docker.sock" [2024-03-21T13:05:19.813Z] ], [2024-03-21T13:05:19.813Z] "mtu": 1458, [2024-03-21T13:05:19.813Z] "selinux-enabled": true, [2024-03-21T13:05:19.813Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-21T13:05:19.813Z] } [Pipeline] sh [2024-03-21T13:05:20.142Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-21T13:05:20.468Z] + sudo service docker restart [2024-03-21T13:05:37.260Z] Removing intermediate container 8c5cf139e58b [2024-03-21T13:05:37.260Z] ---> ef1ddf0c478b [2024-03-21T13:05:37.260Z] Step 13/25 : FROM alpine:3.18 [2024-03-21T13:05:37.260Z] 3.18: Pulling from library/alpine [2024-03-21T13:05:37.520Z] 619be1103602: Pulling fs layer [2024-03-21T13:05:38.087Z] 619be1103602: Download complete [2024-03-21T13:05:38.347Z] 619be1103602: Pull complete [2024-03-21T13:05:38.347Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T13:05:38.347Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T13:05:38.347Z] ---> d3782b16ccc9 [2024-03-21T13:05:38.347Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-03-21T13:05:38.347Z] ---> Running in 0248d6eebb8b [2024-03-21T13:05:38.606Z] Removing intermediate container 0248d6eebb8b [2024-03-21T13:05:38.606Z] ---> 20abd05a4ab3 [2024-03-21T13:05:38.606Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-03-21T13:05:38.606Z] ---> Running in 520df2f06c16 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T13:05:38.733Z] provisioning config files... [2024-03-21T13:05:38.758Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/164@tmp/config13319646434874747519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:05:38.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T13:05:38.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T13:05:39.123Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T13:05:39.123Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T13:05:39.123Z] OK: 7 MiB in 16 packages [2024-03-21T13:05:39.226Z] ---> ****-login.sh [2024-03-21T13:05:39.227Z] nexus3.edgexfoundry.org:10001 [2024-03-21T13:05:39.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:39.690Z] Removing intermediate container 520df2f06c16 [2024-03-21T13:05:39.690Z] ---> c0e9eb5bca63 [2024-03-21T13:05:39.690Z] Step 16/25 : RUN apk --no-cache upgrade [2024-03-21T13:05:39.690Z] ---> Running in 00a433a46e6f [2024-03-21T13:05:39.690Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-21T13:05:39.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:39.769Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:39.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:39.769Z] [2024-03-21T13:05:39.769Z] Login Succeeded [2024-03-21T13:05:39.769Z] nexus3.edgexfoundry.org:10002 [2024-03-21T13:05:39.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-21T13:05:39.949Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T13:05:39.949Z] OK: 7 MiB in 16 packages [2024-03-21T13:05:40.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:40.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:40.038Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:40.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:40.038Z] [2024-03-21T13:05:40.038Z] Login Succeeded [2024-03-21T13:05:40.307Z] nexus3.edgexfoundry.org:10003 [2024-03-21T13:05:40.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:40.515Z] Removing intermediate container 00a433a46e6f [2024-03-21T13:05:40.515Z] ---> 5ee202362491 [2024-03-21T13:05:40.515Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-03-21T13:05:40.577Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:40.577Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:40.577Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:40.577Z] [2024-03-21T13:05:40.577Z] Login Succeeded [2024-03-21T13:05:40.577Z] nexus3.edgexfoundry.org:10004 [2024-03-21T13:05:40.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:40.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:40.846Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:40.846Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:40.846Z] [2024-03-21T13:05:40.846Z] Login Succeeded [2024-03-21T13:05:40.846Z] ****.io [2024-03-21T13:05:41.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:41.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:41.383Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:41.384Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:41.384Z] [2024-03-21T13:05:41.384Z] Login Succeeded [2024-03-21T13:05:41.384Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T13:05:41.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2024-03-21T13:05:41.454Z] ---> 28af73835462 [2024-03-21T13:05:41.454Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-03-21T13:05:41.454Z] ---> afa709999c09 [2024-03-21T13:05:41.454Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [Pipeline] echo [2024-03-21T13:05:41.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T13:05:41.710Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2024-03-21T13:05:41.712Z] ---> 1510b6a50461 [2024-03-21T13:05:41.713Z] Step 20/25 : EXPOSE 59982 [2024-03-21T13:05:41.713Z] ---> Running in 355dfcc6e9c7 [2024-03-21T13:05:41.713Z] Removing intermediate container 355dfcc6e9c7 [2024-03-21T13:05:41.713Z] ---> 070c41dea17b [2024-03-21T13:05:41.713Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-03-21T13:05:41.713Z] ---> Running in 30304c730489 [2024-03-21T13:05:41.713Z] Removing intermediate container 30304c730489 [2024-03-21T13:05:41.713Z] ---> df676ad4ed16 [2024-03-21T13:05:41.713Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-21T13:05:41.713Z] ---> Running in 89df49aae38e [Pipeline] echo [2024-03-21T13:05:41.730Z] ========================================================= [2024-03-21T13:05:41.730Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-21T13:05:41.730Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:41.971Z] Removing intermediate container 89df49aae38e [2024-03-21T13:05:41.971Z] ---> bce5ceab874a [2024-03-21T13:05:41.971Z] Step 23/25 : LABEL arch=amd64 [2024-03-21T13:05:41.971Z] ---> Running in efa4a93bff31 [2024-03-21T13:05:41.971Z] Removing intermediate container efa4a93bff31 [2024-03-21T13:05:41.971Z] ---> 99bc0ae65857 [2024-03-21T13:05:41.971Z] Step 24/25 : LABEL git_sha=db84220a98baf26f07a1d477c585bb37996b93c5 [2024-03-21T13:05:41.971Z] ---> Running in e835bd543f0e [2024-03-21T13:05:41.971Z] Removing intermediate container e835bd543f0e [2024-03-21T13:05:41.971Z] ---> be043f418493 [2024-03-21T13:05:41.971Z] Step 25/25 : LABEL version=3.2.0-dev.11 [2024-03-21T13:05:41.971Z] ---> Running in 96cb07c9a430 [2024-03-21T13:05:42.107Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-21T13:05:42.230Z] Removing intermediate container 96cb07c9a430 [2024-03-21T13:05:42.230Z] ---> 80cbe27a0bea [2024-03-21T13:05:42.230Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T13:05:42.230Z] Successfully built 80cbe27a0bea [2024-03-21T13:05:42.230Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-03-21T13:05:42.377Z] Sending build context to Docker daemon 7.601MB [2024-03-21T13:05:42.377Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T13:05:42.377Z] Step 2/12 : FROM ${BASE} AS builder [Pipeline] configFileProvider [2024-03-21T13:05:42.388Z] provisioning config files... [2024-03-21T13:05:42.397Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12778229661023681567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:05:42.646Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-21T13:05:42.647Z] 9fda8d8052c6: Pulling fs layer [2024-03-21T13:05:42.647Z] 5d54e960e981: Pulling fs layer [2024-03-21T13:05:42.647Z] c4a7e357bf2a: Pulling fs layer [2024-03-21T13:05:42.647Z] f0e02332f6b5: Pulling fs layer [2024-03-21T13:05:42.647Z] 872ee5b61b7b: Pulling fs layer [2024-03-21T13:05:42.647Z] 0c6a40ed1a82: Pulling fs layer [2024-03-21T13:05:42.647Z] 94ae7d8d031c: Pulling fs layer [2024-03-21T13:05:42.647Z] 872ee5b61b7b: Waiting [2024-03-21T13:05:42.647Z] 0c6a40ed1a82: Waiting [2024-03-21T13:05:42.647Z] 94ae7d8d031c: Waiting [2024-03-21T13:05:42.647Z] f0e02332f6b5: Waiting [2024-03-21T13:05:42.647Z] 5d54e960e981: Verifying Checksum [2024-03-21T13:05:42.647Z] 5d54e960e981: Download complete [2024-03-21T13:05:42.647Z] f0e02332f6b5: Verifying Checksum [2024-03-21T13:05:42.647Z] f0e02332f6b5: Download complete [2024-03-21T13:05:42.647Z] 872ee5b61b7b: Download complete [2024-03-21T13:05:42.647Z] 9fda8d8052c6: Download complete [2024-03-21T13:05:42.699Z] ---> ****-login.sh [2024-03-21T13:05:42.699Z] nexus3.edgexfoundry.org:10001 [2024-03-21T13:05:42.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:42.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:42.699Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:42.699Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:42.699Z] [2024-03-21T13:05:42.699Z] Login Succeeded [2024-03-21T13:05:42.699Z] nexus3.edgexfoundry.org:10002 [2024-03-21T13:05:42.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:42.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:42.699Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:42.699Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:42.699Z] [2024-03-21T13:05:42.699Z] Login Succeeded [2024-03-21T13:05:42.699Z] nexus3.edgexfoundry.org:10003 [2024-03-21T13:05:42.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:42.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:42.958Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:42.958Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:42.958Z] [2024-03-21T13:05:42.958Z] Login Succeeded [2024-03-21T13:05:42.958Z] nexus3.edgexfoundry.org:10004 [2024-03-21T13:05:42.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:42.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:42.958Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:42.958Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:42.958Z] [2024-03-21T13:05:42.958Z] Login Succeeded [2024-03-21T13:05:42.958Z] ****.io [2024-03-21T13:05:42.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:05:43.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:05:43.217Z] Configure a credential helper to remove this warning. See [2024-03-21T13:05:43.217Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:05:43.217Z] [2024-03-21T13:05:43.217Z] Login Succeeded [2024-03-21T13:05:43.217Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T13:05:43.224Z] Deleting 1 temporary files [2024-03-21T13:05:43.237Z] 94ae7d8d031c: Verifying Checksum [2024-03-21T13:05:43.237Z] 94ae7d8d031c: Download complete [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-21T13:05:43.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T13:05:43.324Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2024-03-21T13:05:43.324Z] db84220a98baf26f07a1d477c585bb37996b93c5 [2024-03-21T13:05:43.324Z] latest [2024-03-21T13:05:43.324Z] 3.2.0-dev.11 [2024-03-21T13:05:43.324Z] db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [2024-03-21T13:05:43.324Z] main [2024-03-21T13:05:43.324Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:43.684Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:43.826Z] 9fda8d8052c6: Pull complete [2024-03-21T13:05:44.010Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5 [2024-03-21T13:05:44.010Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-03-21T13:05:44.010Z] a505027db305: Preparing [2024-03-21T13:05:44.010Z] ee774c87e1aa: Preparing [2024-03-21T13:05:44.010Z] 3974f62d05ac: Preparing [2024-03-21T13:05:44.010Z] 0d282c03b1a3: Preparing [2024-03-21T13:05:44.010Z] 08ff36bc31cd: Preparing [2024-03-21T13:05:44.011Z] aedc3bda2944: Preparing [2024-03-21T13:05:44.011Z] aedc3bda2944: Waiting [2024-03-21T13:05:44.011Z] 08ff36bc31cd: Pushed [2024-03-21T13:05:44.011Z] a505027db305: Pushed [2024-03-21T13:05:44.011Z] 0d282c03b1a3: Pushed [2024-03-21T13:05:44.011Z] ee774c87e1aa: Pushed [2024-03-21T13:05:44.011Z] aedc3bda2944: Layer already exists [2024-03-21T13:05:44.417Z] 5d54e960e981: Pull complete [2024-03-21T13:05:44.686Z] c4a7e357bf2a: Verifying Checksum [2024-03-21T13:05:44.686Z] c4a7e357bf2a: Download complete [2024-03-21T13:05:45.648Z] 0c6a40ed1a82: Verifying Checksum [2024-03-21T13:05:45.648Z] 0c6a40ed1a82: Download complete [2024-03-21T13:05:48.195Z] 3974f62d05ac: Pushed [2024-03-21T13:05:48.195Z] db84220a98baf26f07a1d477c585bb37996b93c5: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:48.785Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:49.111Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2024-03-21T13:05:49.111Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-03-21T13:05:49.111Z] a505027db305: Preparing [2024-03-21T13:05:49.111Z] ee774c87e1aa: Preparing [2024-03-21T13:05:49.111Z] 3974f62d05ac: Preparing [2024-03-21T13:05:49.111Z] 0d282c03b1a3: Preparing [2024-03-21T13:05:49.111Z] 08ff36bc31cd: Preparing [2024-03-21T13:05:49.111Z] aedc3bda2944: Preparing [2024-03-21T13:05:49.111Z] aedc3bda2944: Waiting [2024-03-21T13:05:49.111Z] 08ff36bc31cd: Layer already exists [2024-03-21T13:05:49.111Z] a505027db305: Layer already exists [2024-03-21T13:05:49.111Z] 0d282c03b1a3: Layer already exists [2024-03-21T13:05:49.111Z] ee774c87e1aa: Layer already exists [2024-03-21T13:05:49.111Z] 3974f62d05ac: Layer already exists [2024-03-21T13:05:49.111Z] aedc3bda2944: Layer already exists [2024-03-21T13:05:49.111Z] latest: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:49.447Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:49.764Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.11 [2024-03-21T13:05:49.764Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-03-21T13:05:49.764Z] a505027db305: Preparing [2024-03-21T13:05:49.764Z] ee774c87e1aa: Preparing [2024-03-21T13:05:49.764Z] 3974f62d05ac: Preparing [2024-03-21T13:05:49.764Z] 0d282c03b1a3: Preparing [2024-03-21T13:05:49.764Z] 08ff36bc31cd: Preparing [2024-03-21T13:05:49.764Z] aedc3bda2944: Preparing [2024-03-21T13:05:49.764Z] aedc3bda2944: Waiting [2024-03-21T13:05:49.764Z] 08ff36bc31cd: Layer already exists [2024-03-21T13:05:49.764Z] 3974f62d05ac: Layer already exists [2024-03-21T13:05:49.764Z] 0d282c03b1a3: Layer already exists [2024-03-21T13:05:49.764Z] a505027db305: Layer already exists [2024-03-21T13:05:49.764Z] ee774c87e1aa: Layer already exists [2024-03-21T13:05:49.764Z] aedc3bda2944: Layer already exists [2024-03-21T13:05:49.764Z] 3.2.0-dev.11: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:50.101Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:50.439Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [2024-03-21T13:05:50.439Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-03-21T13:05:50.439Z] a505027db305: Preparing [2024-03-21T13:05:50.439Z] ee774c87e1aa: Preparing [2024-03-21T13:05:50.439Z] 3974f62d05ac: Preparing [2024-03-21T13:05:50.439Z] 0d282c03b1a3: Preparing [2024-03-21T13:05:50.439Z] 08ff36bc31cd: Preparing [2024-03-21T13:05:50.439Z] aedc3bda2944: Preparing [2024-03-21T13:05:50.439Z] aedc3bda2944: Waiting [2024-03-21T13:05:50.439Z] 08ff36bc31cd: Layer already exists [2024-03-21T13:05:50.439Z] 0d282c03b1a3: Layer already exists [2024-03-21T13:05:50.439Z] a505027db305: Layer already exists [2024-03-21T13:05:50.439Z] 3974f62d05ac: Layer already exists [2024-03-21T13:05:50.439Z] ee774c87e1aa: Layer already exists [2024-03-21T13:05:50.439Z] aedc3bda2944: Layer already exists [2024-03-21T13:05:50.439Z] db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:50.781Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:51.105Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2024-03-21T13:05:51.105Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-03-21T13:05:51.105Z] a505027db305: Preparing [2024-03-21T13:05:51.105Z] ee774c87e1aa: Preparing [2024-03-21T13:05:51.105Z] 3974f62d05ac: Preparing [2024-03-21T13:05:51.105Z] 0d282c03b1a3: Preparing [2024-03-21T13:05:51.105Z] 08ff36bc31cd: Preparing [2024-03-21T13:05:51.105Z] aedc3bda2944: Preparing [2024-03-21T13:05:51.105Z] aedc3bda2944: Waiting [2024-03-21T13:05:51.105Z] ee774c87e1aa: Layer already exists [2024-03-21T13:05:51.105Z] 08ff36bc31cd: Layer already exists [2024-03-21T13:05:51.105Z] 3974f62d05ac: Layer already exists [2024-03-21T13:05:51.105Z] a505027db305: Layer already exists [2024-03-21T13:05:51.105Z] 0d282c03b1a3: Layer already exists [2024-03-21T13:05:51.105Z] aedc3bda2944: Layer already exists [2024-03-21T13:05:51.105Z] main: digest: sha256:08926496c6f61d9f27097b4bc7b01c574e6908e95db291955a494efa9d8504bc size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-21T13:05:51.189Z] ===================================================== [Pipeline] echo [2024-03-21T13:05:51.209Z] taggedImages: [2024-03-21T13:05:51.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5 [2024-03-21T13:05:51.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2024-03-21T13:05:51.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.11 [2024-03-21T13:05:51.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [2024-03-21T13:05:51.209Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:53.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T13:05:53.411Z] [2024-03-21T13:05:53.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:05:53.716Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T13:05:53.716Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-21T13:05:53.716Z] 5eb5b503b376: Pulling fs layer [2024-03-21T13:05:53.716Z] 5c69ac0246d0: Pulling fs layer [2024-03-21T13:05:53.716Z] ec43610c2a17: Pulling fs layer [2024-03-21T13:05:53.716Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-21T13:05:53.716Z] 33b1e0a273af: Pulling fs layer [2024-03-21T13:05:53.716Z] 5d3b04190fa2: Pulling fs layer [2024-03-21T13:05:53.716Z] 2f39f015ded8: Pulling fs layer [2024-03-21T13:05:53.716Z] 3a2ae6a8a46f: Waiting [2024-03-21T13:05:53.716Z] 33b1e0a273af: Waiting [2024-03-21T13:05:53.716Z] 5d3b04190fa2: Waiting [2024-03-21T13:05:53.716Z] 5c69ac0246d0: Verifying Checksum [2024-03-21T13:05:53.716Z] 5c69ac0246d0: Download complete [2024-03-21T13:05:53.716Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-21T13:05:53.716Z] 3a2ae6a8a46f: Download complete [2024-03-21T13:05:53.716Z] 33b1e0a273af: Verifying Checksum [2024-03-21T13:05:53.716Z] 33b1e0a273af: Download complete [2024-03-21T13:05:53.716Z] ec43610c2a17: Verifying Checksum [2024-03-21T13:05:53.716Z] ec43610c2a17: Download complete [2024-03-21T13:05:53.716Z] 5d3b04190fa2: Verifying Checksum [2024-03-21T13:05:53.716Z] 5d3b04190fa2: Download complete [2024-03-21T13:05:53.975Z] 5eb5b503b376: Verifying Checksum [2024-03-21T13:05:53.975Z] 5eb5b503b376: Download complete [2024-03-21T13:05:54.540Z] 2f39f015ded8: Download complete [2024-03-21T13:05:55.107Z] 5eb5b503b376: Pull complete [2024-03-21T13:05:55.107Z] 5c69ac0246d0: Pull complete [2024-03-21T13:05:55.676Z] ec43610c2a17: Pull complete [2024-03-21T13:05:55.676Z] 3a2ae6a8a46f: Pull complete [2024-03-21T13:05:55.935Z] 33b1e0a273af: Pull complete [2024-03-21T13:05:55.935Z] 5d3b04190fa2: Pull complete [2024-03-21T13:05:57.969Z] c4a7e357bf2a: Pull complete [2024-03-21T13:05:57.969Z] f0e02332f6b5: Pull complete [2024-03-21T13:05:57.969Z] 872ee5b61b7b: Pull complete [2024-03-21T13:06:00.116Z] 2f39f015ded8: Pull complete [2024-03-21T13:06:00.116Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-21T13:06:00.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T13:06:00.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:06:00.213Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:06:00.245Z] $ 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_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-03-21T13:06:03.420Z] $ docker top 5364e46e8e17be22925a613709b06b623c187fff8a140bd1b1bd691698389eb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:06:03.828Z] ---> job-cost.sh [2024-03-21T13:06:03.828Z] lf-activate-venv: SKIPPING [2024-03-21T13:06:03.828Z] INFO: No Stack... [2024-03-21T13:06:04.086Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T13:06:04.345Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T13:06:04.647Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2024-03-21T13:06:04.647Z] + cut -d, -f6 [Pipeline] lock [2024-03-21T13:06:04.659Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [2024-03-21T13:06:04.665Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] did not exist. Created. [2024-03-21T13:06:04.673Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T13:06:04.987Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-21T13:06:05.022Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T13:06:05.030Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T13:06:05.062Z] $ docker stop --time=1 5364e46e8e17be22925a613709b06b623c187fff8a140bd1b1bd691698389eb4 [2024-03-21T13:06:06.189Z] 0c6a40ed1a82: Pull complete [2024-03-21T13:06:06.202Z] $ docker rm -f --volumes 5364e46e8e17be22925a613709b06b623c187fff8a140bd1b1bd691698389eb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-21T13:06:08.140Z] 94ae7d8d031c: Pull complete [2024-03-21T13:06:08.140Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-21T13:06:08.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-21T13:06:08.140Z] ---> 86de565de09d [2024-03-21T13:06:08.140Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-03-21T13:06:09.553Z] ---> Running in 221d00b6515a [2024-03-21T13:06:09.821Z] Removing intermediate container 221d00b6515a [2024-03-21T13:06:09.821Z] ---> a64983431ccf [2024-03-21T13:06:09.821Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T13:06:10.090Z] ---> Running in ab622beb162d [2024-03-21T13:06:10.359Z] Removing intermediate container ab622beb162d [2024-03-21T13:06:10.359Z] ---> 3b7cbfd5ec78 [2024-03-21T13:06:10.359Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T13:06:10.359Z] ---> Running in a597aefa37b8 [2024-03-21T13:06:10.629Z] Removing intermediate container a597aefa37b8 [2024-03-21T13:06:10.629Z] ---> bd534e025ebf [2024-03-21T13:06:10.629Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T13:06:10.896Z] ---> Running in d88a53aba5b3 [2024-03-21T13:06:11.174Z] Removing intermediate container d88a53aba5b3 [2024-03-21T13:06:11.174Z] ---> f918a7714012 [2024-03-21T13:06:11.174Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T13:06:11.174Z] ---> Running in 1cafd8a51f8c [2024-03-21T13:06:12.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T13:06:12.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T13:06:13.689Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-03-21T13:06:13.689Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-03-21T13:06:13.689Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-03-21T13:06:13.689Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-03-21T13:06:13.689Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T13:06:13.689Z] OK: 271 MiB in 56 packages [2024-03-21T13:06:14.649Z] Removing intermediate container 1cafd8a51f8c [2024-03-21T13:06:14.649Z] ---> 9b2da2ed2b37 [2024-03-21T13:06:14.649Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-03-21T13:06:14.649Z] ---> Running in 1f4d0c47652a [2024-03-21T13:06:14.914Z] Removing intermediate container 1f4d0c47652a [2024-03-21T13:06:14.914Z] ---> acecf4e5330f [2024-03-21T13:06:14.914Z] Step 9/12 : COPY go.mod vendor* ./ [2024-03-21T13:06:15.502Z] ---> 7a96a03e1198 [2024-03-21T13:06:15.502Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T13:06:15.502Z] ---> Running in 64837dcc0e61 [2024-03-21T13:08:22.156Z] Removing intermediate container 64837dcc0e61 [2024-03-21T13:08:22.156Z] ---> b0af963b3edb [2024-03-21T13:08:22.156Z] Step 11/12 : COPY . . [2024-03-21T13:08:22.156Z] ---> 995e2cac8e35 [2024-03-21T13:08:22.156Z] Step 12/12 : RUN $MAKE [2024-03-21T13:08:22.156Z] ---> Running in cc8ba47897df [2024-03-21T13:08:22.156Z] noop [2024-03-21T13:08:22.156Z] Removing intermediate container cc8ba47897df [2024-03-21T13:08:22.156Z] ---> 55f040f1d913 [2024-03-21T13:08:22.156Z] Successfully built 55f040f1d913 [2024-03-21T13:08:22.156Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:08:22.536Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T13:08:22.536Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:08:22.738Z] prd-ubuntu20.04-docker-arm64-4c-16g-564 does not seem to be running inside a container [2024-03-21T13:08:22.799Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/164 -v /w/workspace/device-mqtt-go/164:/w/workspace/device-mqtt-go/164:rw,z -v /w/workspace/device-mqtt-go/164@tmp:/w/workspace/device-mqtt-go/164@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-03-21T13:08:23.979Z] $ docker top 635e69372d0418a04986539f119bbfe4168a64f14b606f1073845b920124fc44 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T13:08:24.797Z] + go version [2024-03-21T13:08:24.797Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-21T13:08:24.815Z] $ docker stop --time=1 635e69372d0418a04986539f119bbfe4168a64f14b606f1073845b920124fc44 [2024-03-21T13:08:26.444Z] $ docker rm -f --volumes 635e69372d0418a04986539f119bbfe4168a64f14b606f1073845b920124fc44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:08:27.055Z] + docker inspect -f . ci-base-image-arm64 [2024-03-21T13:08:27.055Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:08:27.252Z] prd-ubuntu20.04-docker-arm64-4c-16g-564 does not seem to be running inside a container [2024-03-21T13:08:27.315Z] $ 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/164 -v /w/workspace/device-mqtt-go/164:/w/workspace/device-mqtt-go/164:rw,z -v /w/workspace/device-mqtt-go/164@tmp:/w/workspace/device-mqtt-go/164@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-03-21T13:08:28.495Z] $ docker top f0c4d29cb63ef8a5e40fb3a2a1f520862266b8a6629b37643fd11b8738c94570 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T13:08:29.336Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/164 [Pipeline] fileExists [Pipeline] sh [2024-03-21T13:08:29.673Z] + make test [2024-03-21T13:08:29.944Z] go test ./... -coverprofile=coverage.out ./... [2024-03-21T13:08:35.297Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-03-21T13:11:12.025Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-03-21T13:11:12.293Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-03-21T13:11:12.293Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.8% of statements [2024-03-21T13:11:13.708Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-21T13:11:13.708Z] go vet ./... [2024-03-21T13:11:52.603Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-21T13:11:52.603Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-21T13:11:52.603Z] ./bin/test-attribution-txt.sh [2024-03-21T13:11:52.603Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-03-21T13:11:52.603Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-03-21T13:11:52.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-21T13:11:52.645Z] $ docker stop --time=1 f0c4d29cb63ef8a5e40fb3a2a1f520862266b8a6629b37643fd11b8738c94570 [2024-03-21T13:11:54.594Z] $ docker rm -f --volumes f0c4d29cb63ef8a5e40fb3a2a1f520862266b8a6629b37643fd11b8738c94570 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T13:11:56.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-21T13:11:56.149Z] Warning: overwriting stash ‘coverage-report’ [2024-03-21T13:11:56.595Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-21T13:11:57.016Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-21T13:11:57.335Z] + ls -al . [2024-03-21T13:11:57.335Z] total 248 [2024-03-21T13:11:57.335Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:08 . [2024-03-21T13:11:57.335Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 13:05 .. [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 13:05 .dockerignore [2024-03-21T13:11:57.335Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 13:05 .git [2024-03-21T13:11:57.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:05 .github [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 264 Mar 21 13:05 .gitignore [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 21 13:05 .golangci.yml [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 10386 Mar 21 13:05 Attribution.txt [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 18574 Mar 21 13:05 CHANGELOG.md [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 1798 Mar 21 13:05 Dockerfile [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 13:05 GOVERNANCE.md [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 657 Mar 21 13:05 Jenkinsfile [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 13:05 LICENSE [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 1963 Mar 21 13:05 Makefile [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 13:05 OWNERS.md [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 3599 Mar 21 13:05 README.md [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 13:03 VERSION [2024-03-21T13:11:57.335Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:05 bin [2024-03-21T13:11:57.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:05 cmd [2024-03-21T13:11:57.335Z] -rw-r--r-- 1 jenkins jenkins 18506 Mar 21 13:11 coverage.out [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 7169 Mar 21 13:05 go.mod [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 101517 Mar 21 13:05 go.sum [2024-03-21T13:11:57.335Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 13:05 internal [2024-03-21T13:11:57.335Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 13:05 mock [2024-03-21T13:11:57.335Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 13:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:11:57.683Z] + 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=db84220a98baf26f07a1d477c585bb37996b93c5 --label arch=arm64 --label version=3.2.0-dev.11 . [2024-03-21T13:11:57.949Z] Sending build context to Docker daemon 7.62MB [2024-03-21T13:11:58.217Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-03-21T13:11:58.217Z] Step 2/25 : FROM ${BASE} AS builder [2024-03-21T13:11:58.217Z] ---> 55f040f1d913 [2024-03-21T13:11:58.217Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-03-21T13:11:58.217Z] ---> Running in 71c39651aa2a [2024-03-21T13:11:58.484Z] Removing intermediate container 71c39651aa2a [2024-03-21T13:11:58.484Z] ---> ea7203a7a315 [2024-03-21T13:11:58.484Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-21T13:11:58.751Z] ---> Running in 887d0738bce1 [2024-03-21T13:11:59.016Z] Removing intermediate container 887d0738bce1 [2024-03-21T13:11:59.016Z] ---> c45187f1740b [2024-03-21T13:11:59.016Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-03-21T13:11:59.016Z] ---> Running in de4769a45a92 [2024-03-21T13:11:59.282Z] Removing intermediate container de4769a45a92 [2024-03-21T13:11:59.282Z] ---> 6402ca683d9c [2024-03-21T13:11:59.282Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-03-21T13:11:59.282Z] ---> Running in 756518a8ffb1 [2024-03-21T13:11:59.550Z] Removing intermediate container 756518a8ffb1 [2024-03-21T13:11:59.550Z] ---> 260f4d83aa64 [2024-03-21T13:11:59.550Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-21T13:11:59.823Z] ---> Running in f9bb53bee51a [2024-03-21T13:12:00.779Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T13:12:01.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T13:12:02.456Z] OK: 271 MiB in 56 packages [2024-03-21T13:12:03.036Z] Removing intermediate container f9bb53bee51a [2024-03-21T13:12:03.036Z] ---> 61499b962075 [2024-03-21T13:12:03.036Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-03-21T13:12:03.036Z] ---> Running in 1b6f8374925e [2024-03-21T13:12:03.304Z] Removing intermediate container 1b6f8374925e [2024-03-21T13:12:03.304Z] ---> a342f3555925 [2024-03-21T13:12:03.304Z] Step 9/25 : COPY go.mod vendor* ./ [2024-03-21T13:12:03.886Z] ---> f7bc1a7c0b9c [2024-03-21T13:12:03.886Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-21T13:12:03.886Z] ---> Running in bb816ea5dd33 [2024-03-21T13:12:05.821Z] Removing intermediate container bb816ea5dd33 [2024-03-21T13:12:05.821Z] ---> 812a0889f418 [2024-03-21T13:12:05.821Z] Step 11/25 : COPY . . [2024-03-21T13:12:06.779Z] ---> 3a96dfd4a965 [2024-03-21T13:12:06.779Z] Step 12/25 : RUN $MAKE [2024-03-21T13:12:07.046Z] ---> Running in bffb7b0daa65 [2024-03-21T13:12:08.010Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.11 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-03-21T13:14:59.723Z] Removing intermediate container bffb7b0daa65 [2024-03-21T13:14:59.723Z] ---> 8ba632256a9f [2024-03-21T13:14:59.723Z] Step 13/25 : FROM alpine:3.18 [2024-03-21T13:14:59.723Z] 3.18: Pulling from library/alpine [2024-03-21T13:14:59.723Z] c6b39de5b339: Pulling fs layer [2024-03-21T13:14:59.723Z] c6b39de5b339: Verifying Checksum [2024-03-21T13:14:59.723Z] c6b39de5b339: Download complete [2024-03-21T13:14:59.723Z] c6b39de5b339: Pull complete [2024-03-21T13:14:59.723Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-21T13:14:59.723Z] Status: Downloaded newer image for alpine:3.18 [2024-03-21T13:14:59.723Z] ---> 33abbf032149 [2024-03-21T13:14:59.723Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-03-21T13:14:59.723Z] ---> Running in d7884fa36f37 [2024-03-21T13:14:59.723Z] Removing intermediate container d7884fa36f37 [2024-03-21T13:14:59.723Z] ---> 2406f689d674 [2024-03-21T13:14:59.723Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-03-21T13:14:59.723Z] ---> Running in bc6656354fe5 [2024-03-21T13:14:59.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T13:14:59.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T13:14:59.723Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-21T13:14:59.723Z] Executing busybox-1.36.1-r5.trigger [2024-03-21T13:14:59.723Z] OK: 8 MiB in 16 packages [2024-03-21T13:14:59.723Z] Removing intermediate container bc6656354fe5 [2024-03-21T13:14:59.723Z] ---> 19c37f1927cd [2024-03-21T13:14:59.723Z] Step 16/25 : RUN apk --no-cache upgrade [2024-03-21T13:14:59.723Z] ---> Running in 6c9a79f26127 [2024-03-21T13:14:59.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-21T13:14:59.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-21T13:15:00.690Z] (1/1) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-03-21T13:15:00.690Z] OK: 8 MiB in 16 packages [2024-03-21T13:15:01.665Z] Removing intermediate container 6c9a79f26127 [2024-03-21T13:15:01.665Z] ---> 9acb735edd77 [2024-03-21T13:15:01.665Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-03-21T13:15:03.608Z] ---> c48a1d59b263 [2024-03-21T13:15:03.608Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-03-21T13:15:04.207Z] ---> 1a7990530990 [2024-03-21T13:15:04.207Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-03-21T13:15:04.476Z] ---> 35cbaa816cdb [2024-03-21T13:15:04.476Z] Step 20/25 : EXPOSE 59982 [2024-03-21T13:15:04.744Z] ---> Running in 6ea05fefb093 [2024-03-21T13:15:05.012Z] Removing intermediate container 6ea05fefb093 [2024-03-21T13:15:05.012Z] ---> 9b87ce938d6a [2024-03-21T13:15:05.012Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-03-21T13:15:05.012Z] ---> Running in 3c3904423823 [2024-03-21T13:15:05.279Z] Removing intermediate container 3c3904423823 [2024-03-21T13:15:05.279Z] ---> b859fe0ee76e [2024-03-21T13:15:05.279Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-03-21T13:15:05.546Z] ---> Running in e3f26a48b4ff [2024-03-21T13:15:05.812Z] Removing intermediate container e3f26a48b4ff [2024-03-21T13:15:05.812Z] ---> f25f18111833 [2024-03-21T13:15:05.812Z] Step 23/25 : LABEL arch=arm64 [2024-03-21T13:15:05.812Z] ---> Running in 425c2c04c784 [2024-03-21T13:15:06.079Z] Removing intermediate container 425c2c04c784 [2024-03-21T13:15:06.079Z] ---> a1d383e640e8 [2024-03-21T13:15:06.079Z] Step 24/25 : LABEL git_sha=db84220a98baf26f07a1d477c585bb37996b93c5 [2024-03-21T13:15:06.079Z] ---> Running in 65af365c266b [2024-03-21T13:15:06.350Z] Removing intermediate container 65af365c266b [2024-03-21T13:15:06.350Z] ---> 943fc72bbc13 [2024-03-21T13:15:06.350Z] Step 25/25 : LABEL version=3.2.0-dev.11 [2024-03-21T13:15:06.616Z] ---> Running in 93cb5229a046 [2024-03-21T13:15:06.880Z] Removing intermediate container 93cb5229a046 [2024-03-21T13:15:06.880Z] ---> d918ccf3f7bc [2024-03-21T13:15:06.880Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-21T13:15:06.880Z] Successfully built d918ccf3f7bc [2024-03-21T13:15:06.880Z] 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-03-21T13:15:07.054Z] provisioning config files... [2024-03-21T13:15:07.068Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/164@tmp/config830961893903278109tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:15:07.409Z] ---> ****-login.sh [2024-03-21T13:15:07.409Z] nexus3.edgexfoundry.org:10001 [2024-03-21T13:15:07.409Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:15:07.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:15:07.674Z] Configure a credential helper to remove this warning. See [2024-03-21T13:15:07.674Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:15:07.674Z] [2024-03-21T13:15:07.674Z] Login Succeeded [2024-03-21T13:15:07.674Z] nexus3.edgexfoundry.org:10002 [2024-03-21T13:15:07.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:15:07.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:15:07.938Z] Configure a credential helper to remove this warning. See [2024-03-21T13:15:07.938Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:15:07.938Z] [2024-03-21T13:15:07.938Z] Login Succeeded [2024-03-21T13:15:07.938Z] nexus3.edgexfoundry.org:10003 [2024-03-21T13:15:08.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:15:08.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:15:08.203Z] Configure a credential helper to remove this warning. See [2024-03-21T13:15:08.203Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:15:08.203Z] [2024-03-21T13:15:08.203Z] Login Succeeded [2024-03-21T13:15:08.203Z] nexus3.edgexfoundry.org:10004 [2024-03-21T13:15:08.467Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:15:08.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:15:08.734Z] Configure a credential helper to remove this warning. See [2024-03-21T13:15:08.734Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:15:08.734Z] [2024-03-21T13:15:08.734Z] Login Succeeded [2024-03-21T13:15:08.734Z] ****.io [2024-03-21T13:15:08.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-21T13:15:09.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-21T13:15:09.000Z] Configure a credential helper to remove this warning. See [2024-03-21T13:15:09.000Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-21T13:15:09.000Z] [2024-03-21T13:15:09.000Z] Login Succeeded [2024-03-21T13:15:09.000Z] ---> ****-login.sh ends [Pipeline] } [2024-03-21T13:15:09.025Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-21T13:15:09.078Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-21T13:15:09.107Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2024-03-21T13:15:09.107Z] db84220a98baf26f07a1d477c585bb37996b93c5 [2024-03-21T13:15:09.107Z] latest [2024-03-21T13:15:09.107Z] 3.2.0-dev.11 [2024-03-21T13:15:09.107Z] db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [2024-03-21T13:15:09.107Z] main [2024-03-21T13:15:09.107Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:09.561Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:09.909Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5 [2024-03-21T13:15:09.909Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-03-21T13:15:09.909Z] d09a4d71a830: Preparing [2024-03-21T13:15:09.909Z] c27beb22a1c5: Preparing [2024-03-21T13:15:09.909Z] 1594b1fab759: Preparing [2024-03-21T13:15:09.909Z] f70cfd2c4897: Preparing [2024-03-21T13:15:09.909Z] a545ec0bf020: Preparing [2024-03-21T13:15:09.909Z] 7c504f21be85: Preparing [2024-03-21T13:15:09.909Z] 7c504f21be85: Waiting [2024-03-21T13:15:10.174Z] d09a4d71a830: Pushed [2024-03-21T13:15:10.174Z] f70cfd2c4897: Pushed [2024-03-21T13:15:10.174Z] c27beb22a1c5: Pushed [2024-03-21T13:15:10.174Z] a545ec0bf020: Pushed [2024-03-21T13:15:10.174Z] 7c504f21be85: Layer already exists [2024-03-21T13:15:18.357Z] 1594b1fab759: Pushed [2024-03-21T13:15:18.357Z] db84220a98baf26f07a1d477c585bb37996b93c5: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:18.723Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:19.069Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2024-03-21T13:15:19.069Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-03-21T13:15:19.069Z] d09a4d71a830: Preparing [2024-03-21T13:15:19.069Z] c27beb22a1c5: Preparing [2024-03-21T13:15:19.069Z] 1594b1fab759: Preparing [2024-03-21T13:15:19.069Z] f70cfd2c4897: Preparing [2024-03-21T13:15:19.069Z] a545ec0bf020: Preparing [2024-03-21T13:15:19.069Z] 7c504f21be85: Preparing [2024-03-21T13:15:19.069Z] 7c504f21be85: Waiting [2024-03-21T13:15:19.069Z] 1594b1fab759: Layer already exists [2024-03-21T13:15:19.069Z] c27beb22a1c5: Layer already exists [2024-03-21T13:15:19.069Z] f70cfd2c4897: Layer already exists [2024-03-21T13:15:19.069Z] d09a4d71a830: Layer already exists [2024-03-21T13:15:19.069Z] a545ec0bf020: Layer already exists [2024-03-21T13:15:19.069Z] 7c504f21be85: Layer already exists [2024-03-21T13:15:19.333Z] latest: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:19.688Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:20.040Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.11 [2024-03-21T13:15:20.040Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-03-21T13:15:20.040Z] d09a4d71a830: Preparing [2024-03-21T13:15:20.040Z] c27beb22a1c5: Preparing [2024-03-21T13:15:20.040Z] 1594b1fab759: Preparing [2024-03-21T13:15:20.040Z] f70cfd2c4897: Preparing [2024-03-21T13:15:20.040Z] a545ec0bf020: Preparing [2024-03-21T13:15:20.040Z] 7c504f21be85: Preparing [2024-03-21T13:15:20.040Z] 7c504f21be85: Waiting [2024-03-21T13:15:20.040Z] f70cfd2c4897: Layer already exists [2024-03-21T13:15:20.040Z] d09a4d71a830: Layer already exists [2024-03-21T13:15:20.040Z] c27beb22a1c5: Layer already exists [2024-03-21T13:15:20.040Z] 1594b1fab759: Layer already exists [2024-03-21T13:15:20.040Z] a545ec0bf020: Layer already exists [2024-03-21T13:15:20.040Z] 7c504f21be85: Layer already exists [2024-03-21T13:15:20.040Z] 3.2.0-dev.11: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:20.396Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:20.749Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [2024-03-21T13:15:20.749Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-03-21T13:15:20.749Z] d09a4d71a830: Preparing [2024-03-21T13:15:20.749Z] c27beb22a1c5: Preparing [2024-03-21T13:15:20.749Z] 1594b1fab759: Preparing [2024-03-21T13:15:20.749Z] f70cfd2c4897: Preparing [2024-03-21T13:15:20.749Z] a545ec0bf020: Preparing [2024-03-21T13:15:20.749Z] 7c504f21be85: Preparing [2024-03-21T13:15:20.749Z] 7c504f21be85: Waiting [2024-03-21T13:15:20.749Z] c27beb22a1c5: Layer already exists [2024-03-21T13:15:20.749Z] a545ec0bf020: Layer already exists [2024-03-21T13:15:20.749Z] d09a4d71a830: Layer already exists [2024-03-21T13:15:20.749Z] f70cfd2c4897: Layer already exists [2024-03-21T13:15:20.749Z] 1594b1fab759: Layer already exists [2024-03-21T13:15:20.749Z] 7c504f21be85: Layer already exists [2024-03-21T13:15:20.749Z] db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:21.108Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:21.461Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2024-03-21T13:15:21.462Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-03-21T13:15:21.462Z] d09a4d71a830: Preparing [2024-03-21T13:15:21.462Z] c27beb22a1c5: Preparing [2024-03-21T13:15:21.462Z] 1594b1fab759: Preparing [2024-03-21T13:15:21.462Z] f70cfd2c4897: Preparing [2024-03-21T13:15:21.462Z] a545ec0bf020: Preparing [2024-03-21T13:15:21.462Z] 7c504f21be85: Preparing [2024-03-21T13:15:21.462Z] 7c504f21be85: Waiting [2024-03-21T13:15:21.462Z] f70cfd2c4897: Layer already exists [2024-03-21T13:15:21.462Z] d09a4d71a830: Layer already exists [2024-03-21T13:15:21.462Z] a545ec0bf020: Layer already exists [2024-03-21T13:15:21.462Z] 1594b1fab759: Layer already exists [2024-03-21T13:15:21.462Z] c27beb22a1c5: Layer already exists [2024-03-21T13:15:21.462Z] 7c504f21be85: Layer already exists [2024-03-21T13:15:21.462Z] main: digest: sha256:260da660b2d7257527d6168e6ef1e19ab317fc861e50dbc694641dcfaeb12ecb size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-03-21T13:15:21.820Z] ===================================================== [Pipeline] echo [2024-03-21T13:15:21.833Z] taggedImages: [2024-03-21T13:15:21.833Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5 [2024-03-21T13:15:21.833Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2024-03-21T13:15:21.833Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.11 [2024-03-21T13:15:21.833Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:db84220a98baf26f07a1d477c585bb37996b93c5-3.2.0-dev.11 [2024-03-21T13:15:21.833Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:22.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T13:15:22.236Z] [2024-03-21T13:15:22.236Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:15:22.569Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T13:15:22.569Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-21T13:15:22.569Z] 8998bd30e6a1: Pulling fs layer [2024-03-21T13:15:22.569Z] 04944245beec: Pulling fs layer [2024-03-21T13:15:22.569Z] 699f458cf7ca: Pulling fs layer [2024-03-21T13:15:22.569Z] 765212b225bb: Pulling fs layer [2024-03-21T13:15:22.569Z] f23df028b6ca: Pulling fs layer [2024-03-21T13:15:22.569Z] d65c8cfc05b1: Pulling fs layer [2024-03-21T13:15:22.569Z] 2437ff75d9bd: Pulling fs layer [2024-03-21T13:15:22.569Z] f23df028b6ca: Waiting [2024-03-21T13:15:22.569Z] 765212b225bb: Waiting [2024-03-21T13:15:22.569Z] d65c8cfc05b1: Waiting [2024-03-21T13:15:22.569Z] 2437ff75d9bd: Waiting [2024-03-21T13:15:22.840Z] 04944245beec: Verifying Checksum [2024-03-21T13:15:22.840Z] 04944245beec: Download complete [2024-03-21T13:15:22.840Z] 765212b225bb: Verifying Checksum [2024-03-21T13:15:22.840Z] 765212b225bb: Download complete [2024-03-21T13:15:22.840Z] f23df028b6ca: Download complete [2024-03-21T13:15:22.840Z] d65c8cfc05b1: Verifying Checksum [2024-03-21T13:15:22.840Z] d65c8cfc05b1: Download complete [2024-03-21T13:15:23.106Z] 699f458cf7ca: Verifying Checksum [2024-03-21T13:15:23.107Z] 699f458cf7ca: Download complete [2024-03-21T13:15:23.372Z] 8998bd30e6a1: Verifying Checksum [2024-03-21T13:15:23.372Z] 8998bd30e6a1: Download complete [2024-03-21T13:15:25.949Z] 2437ff75d9bd: Verifying Checksum [2024-03-21T13:15:25.949Z] 2437ff75d9bd: Download complete [2024-03-21T13:15:27.882Z] 8998bd30e6a1: Pull complete [2024-03-21T13:15:28.463Z] 04944245beec: Pull complete [2024-03-21T13:15:30.406Z] 699f458cf7ca: Pull complete [2024-03-21T13:15:30.406Z] 765212b225bb: Pull complete [2024-03-21T13:15:31.361Z] f23df028b6ca: Pull complete [2024-03-21T13:15:31.361Z] d65c8cfc05b1: Pull complete [2024-03-21T13:15:49.536Z] 2437ff75d9bd: Pull complete [2024-03-21T13:15:49.536Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-21T13:15:49.536Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-21T13:15:49.536Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:15:49.738Z] prd-ubuntu20.04-docker-arm64-4c-16g-564 does not seem to be running inside a container [2024-03-21T13:15:49.801Z] $ 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/164 -v /w/workspace/device-mqtt-go/164:/w/workspace/device-mqtt-go/164:rw,z -v /w/workspace/device-mqtt-go/164@tmp:/w/workspace/device-mqtt-go/164@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-03-21T13:15:52.549Z] $ docker top f6d6037c881e677a46d87e3d940188a6fa6d47304ef29987bc0171b927acf9fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:15:53.378Z] ---> job-cost.sh [2024-03-21T13:15:53.378Z] lf-activate-venv: SKIPPING [2024-03-21T13:15:53.378Z] INFO: No Stack... [2024-03-21T13:15:53.956Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-21T13:15:54.912Z] INFO: Archiving Costs [Pipeline] sh [2024-03-21T13:15:55.224Z] + cat /w/workspace/device-mqtt-go/164/archives/cost.csv [2024-03-21T13:15:55.224Z] + cut -d, -f6 [Pipeline] lock [2024-03-21T13:15:55.548Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [2024-03-21T13:15:55.561Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] did not exist. Created. [2024-03-21T13:15:55.566Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T13:15:55.906Z] /w/workspace/device-mqtt-go/164@tmp/durable-9b24e95d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-21T13:15:56.812Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-21T13:15:56.827Z] Warning: overwriting stash ‘stack-cost’ [2024-03-21T13:15:56.871Z] Stashed 1 file(s) [Pipeline] } [2024-03-21T13:15:56.881Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-164-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-21T13:15:56.909Z] $ docker stop --time=1 f6d6037c881e677a46d87e3d940188a6fa6d47304ef29987bc0171b927acf9fb [2024-03-21T13:15:58.394Z] $ docker rm -f --volumes f6d6037c881e677a46d87e3d940188a6fa6d47304ef29987bc0171b927acf9fb [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-03-21T13:15:58.912Z] provisioning config files... [2024-03-21T13:15:58.919Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6551948367110907301tmp [Pipeline] { [Pipeline] sh [2024-03-21T13:15:59.218Z] + set +x [2024-03-21T13:15:59.218Z] + curl -s https://codecov.io/bash [2024-03-21T13:15:59.218Z] + bash -s -- [2024-03-21T13:15:59.218Z] [2024-03-21T13:15:59.218Z] _____ _ [2024-03-21T13:15:59.218Z] / ____| | | [2024-03-21T13:15:59.218Z] | | ___ __| | ___ ___ _____ __ [2024-03-21T13:15:59.218Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-21T13:15:59.218Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-21T13:15:59.218Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-21T13:15:59.218Z] Bash-1.0.6 [2024-03-21T13:15:59.218Z] [2024-03-21T13:15:59.218Z] [2024-03-21T13:15:59.218Z] ==> git version 2.25.1 found [2024-03-21T13:15:59.218Z] ==> 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-03-21T13:15:59.218Z] Release-Date: 2020-01-08 [2024-03-21T13:15:59.218Z] 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-03-21T13:15:59.218Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-21T13:15:59.218Z] ==> Jenkins CI detected. [2024-03-21T13:15:59.477Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2024-03-21T13:15:59.477Z] project root: . [2024-03-21T13:15:59.477Z] --> token set from env [2024-03-21T13:15:59.478Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-21T13:15:59.478Z] ==> Running gcov in . (disable via -X gcov) [2024-03-21T13:15:59.478Z] ==> Python coveragepy not found [2024-03-21T13:15:59.478Z] ==> Searching for coverage reports in: [2024-03-21T13:15:59.478Z] + . [2024-03-21T13:15:59.478Z] -> Found 1 reports [2024-03-21T13:15:59.478Z] ==> Detecting git/mercurial file structure [2024-03-21T13:15:59.478Z] ==> Reading reports [2024-03-21T13:15:59.478Z] + ./coverage.out bytes=18506 [2024-03-21T13:15:59.478Z] ==> Appending adjustments [2024-03-21T13:15:59.478Z] https://docs.codecov.io/docs/fixing-reports [2024-03-21T13:15:59.478Z] + Found adjustments [2024-03-21T13:15:59.478Z] ==> Gzipping contents [2024-03-21T13:15:59.478Z] 4.0K /tmp/codecov.kcsj2l.gz [2024-03-21T13:15:59.478Z] ==> Uploading reports [2024-03-21T13:15:59.478Z] url: https://codecov.io [2024-03-21T13:15:59.478Z] query: branch=main&commit=db84220a98baf26f07a1d477c585bb37996b93c5&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-03-21T13:15:59.478Z] -> Pinging Codecov [2024-03-21T13:15:59.478Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=db84220a98baf26f07a1d477c585bb37996b93c5&build=164&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F164%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-03-21T13:15:59.738Z] -> Uploading to [2024-03-21T13:15:59.738Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-21/7D719EC7BBE17E464838252E33014C33/db84220a98baf26f07a1d477c585bb37996b93c5/04b0ca16-968d-4949-aa16-665b03bc2c0d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240321T131559Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf66b7d4f5a698fde0949a566d406f1c89d3240120ff4cc96fa36af2c4e795c8 [2024-03-21T13:15:59.738Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-21T13:15:59.738Z] Dload Upload Total Spent Left Speed [2024-03-21T13:15:59.999Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11772 --:--:-- --:--:-- --:--:-- 11772 [2024-03-21T13:15:59.999Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] } [2024-03-21T13:16:00.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-03-21T13:16:00.251Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-03-21T13:16:00.266Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:16:00.582Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-03-21T13:16:00.583Z] [2024-03-21T13:16:00.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:16:00.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-03-21T13:16:00.886Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2024-03-21T13:16:00.886Z] df9b9388f04a: Pulling fs layer [2024-03-21T13:16:00.886Z] 52dc419b0ee2: Pulling fs layer [2024-03-21T13:16:00.886Z] 25bc292e5bac: Pulling fs layer [2024-03-21T13:16:00.886Z] 114826534d7a: Pulling fs layer [2024-03-21T13:16:00.886Z] 4657fd5d0bcf: Pulling fs layer [2024-03-21T13:16:00.886Z] 6ad1cebc031e: Pulling fs layer [2024-03-21T13:16:00.886Z] 8a3aa393b2d8: Pulling fs layer [2024-03-21T13:16:00.886Z] 6ad1cebc031e: Waiting [2024-03-21T13:16:00.886Z] 4657fd5d0bcf: Waiting [2024-03-21T13:16:00.886Z] 8a3aa393b2d8: Waiting [2024-03-21T13:16:00.886Z] 114826534d7a: Waiting [2024-03-21T13:16:00.886Z] 25bc292e5bac: Verifying Checksum [2024-03-21T13:16:00.886Z] 25bc292e5bac: Download complete [2024-03-21T13:16:00.886Z] 52dc419b0ee2: Verifying Checksum [2024-03-21T13:16:00.886Z] 52dc419b0ee2: Download complete [2024-03-21T13:16:00.886Z] 4657fd5d0bcf: Verifying Checksum [2024-03-21T13:16:00.886Z] 4657fd5d0bcf: Download complete [2024-03-21T13:16:00.886Z] df9b9388f04a: Download complete [2024-03-21T13:16:01.145Z] df9b9388f04a: Pull complete [2024-03-21T13:16:01.145Z] 6ad1cebc031e: Verifying Checksum [2024-03-21T13:16:01.145Z] 6ad1cebc031e: Download complete [2024-03-21T13:16:01.145Z] 52dc419b0ee2: Pull complete [2024-03-21T13:16:01.145Z] 25bc292e5bac: Pull complete [2024-03-21T13:16:01.715Z] 114826534d7a: Verifying Checksum [2024-03-21T13:16:01.715Z] 114826534d7a: Download complete [2024-03-21T13:16:01.973Z] 8a3aa393b2d8: Verifying Checksum [2024-03-21T13:16:01.973Z] 8a3aa393b2d8: Download complete [2024-03-21T13:16:05.285Z] 114826534d7a: Pull complete [2024-03-21T13:16:05.285Z] 4657fd5d0bcf: Pull complete [2024-03-21T13:16:05.285Z] 6ad1cebc031e: Pull complete [2024-03-21T13:16:07.813Z] 8a3aa393b2d8: Pull complete [2024-03-21T13:16:07.813Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2024-03-21T13:16:07.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2024-03-21T13:16:07.813Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:16:07.909Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:16:07.938Z] $ 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_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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:1.410.4 cat [2024-03-21T13:16:12.130Z] $ docker top f533590156091cf263096fd57d90508693d298db35172c8146d1d773a8f9edde -eo pid,comm [Pipeline] { [Pipeline] echo [2024-03-21T13:16:12.207Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2024-03-21T13:16:12.485Z] + set -o pipefail [2024-03-21T13:16:12.485Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2024-03-21T13:16:19.044Z] [2024-03-21T13:16:19.044Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2024-03-21T13:16:19.044Z] [2024-03-21T13:16:19.044Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/0d1c30b6-1968-41ce-94c4-cfa3abff4075 [2024-03-21T13:16:19.044Z] [2024-03-21T13:16:19.044Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-03-21T13:16:19.044Z] [2024-03-21T13:16:19.044Z] [2024-03-21T13:16:19.044Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2024-03-21T13:16:19.044Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2024-03-21T13:16:19.044Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2024-03-21T13:16:19.056Z] $ docker stop --time=1 f533590156091cf263096fd57d90508693d298db35172c8146d1d773a8f9edde [2024-03-21T13:16:23.562Z] $ docker rm -f --volumes f533590156091cf263096fd57d90508693d298db35172c8146d1d773a8f9edde [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-21T13:16:24.432Z] + git log --format=format:%s -1 db84220a98baf26f07a1d477c585bb37996b93c5 [Pipeline] sh [2024-03-21T13:16:24.724Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-21T13:16:24.724Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:16:25.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T13:16:25.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:16:25.124Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:16:25.155Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-03-21T13:16:25.591Z] $ docker top eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 -eo pid,comm [2024-03-21T13:16:25.640Z] 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-03-21T13:16:25.640Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-21T13:16:25.697Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T13:16:25.697Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T13:16:25.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T13:16:25.803Z] $ docker exec eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 ssh-agent [2024-03-21T13:16:25.903Z] SSH_AUTH_SOCK=/tmp/ssh-xpzVHFBCOoMS/agent.31 [2024-03-21T13:16:25.903Z] SSH_AGENT_PID=37 [2024-03-21T13:16:25.907Z] Running ssh-add (command line suppressed) [2024-03-21T13:16:26.007Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2195382932803966295.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2195382932803966295.key) [2024-03-21T13:16:26.020Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T13:16:26.314Z] + git semver tag [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,502 [run_tag] DEBUG tag force:False [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,503 [check_head_tag] DEBUG check head tag [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,503 [execute] INFO git cat-file --batch-check [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,507 [execute] INFO git cat-file --batch [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,524 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,524 [execute] INFO git tag -a v3.2.0-dev.11 -m v3.2.0-dev.11 [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,525 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.11', '-m', 'v3.2.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2024-03-21T13:16:26.573Z] 2024-03-21 13:16:26,529 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-03-21T13:16:26.573Z] 3.2.0-dev.11 [Pipeline] } [2024-03-21T13:16:26.582Z] $ docker exec --env ******** --env ******** eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 ssh-agent -k [2024-03-21T13:16:26.684Z] unset SSH_AUTH_SOCK; [2024-03-21T13:16:26.685Z] unset SSH_AGENT_PID; [2024-03-21T13:16:26.685Z] echo Agent pid 37 killed; [2024-03-21T13:16:26.696Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-21T13:16:27.021Z] + git semver [Pipeline] } [2024-03-21T13:16:27.294Z] $ docker stop --time=1 eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 [2024-03-21T13:16:28.525Z] $ docker rm -f --volumes eba24f6a965c0bba3b79bcfcd941a85ad05fc2931b91e8f9edecfb1f51b0a728 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:16:28.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-03-21T13:16:28.953Z] [2024-03-21T13:16:28.953Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:16:29.267Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-03-21T13:16:29.267Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-03-21T13:16:29.267Z] ab5ef0e58194: Pulling fs layer [2024-03-21T13:16:29.267Z] 9712f1f96733: Pulling fs layer [2024-03-21T13:16:29.267Z] 63f879dbbcfc: Pulling fs layer [2024-03-21T13:16:29.267Z] 0d9ebad4ef96: Pulling fs layer [2024-03-21T13:16:29.267Z] e9a5061849ea: Pulling fs layer [2024-03-21T13:16:29.267Z] d747dcd14b5f: Pulling fs layer [2024-03-21T13:16:29.267Z] 2de7ff778b66: Pulling fs layer [2024-03-21T13:16:29.267Z] 0d9ebad4ef96: Waiting [2024-03-21T13:16:29.267Z] e9a5061849ea: Waiting [2024-03-21T13:16:29.267Z] d747dcd14b5f: Waiting [2024-03-21T13:16:29.267Z] 2de7ff778b66: Waiting [2024-03-21T13:16:29.267Z] 9712f1f96733: Verifying Checksum [2024-03-21T13:16:29.267Z] 9712f1f96733: Download complete [2024-03-21T13:16:29.834Z] 63f879dbbcfc: Verifying Checksum [2024-03-21T13:16:29.834Z] 63f879dbbcfc: Download complete [2024-03-21T13:16:29.834Z] ab5ef0e58194: Verifying Checksum [2024-03-21T13:16:29.834Z] ab5ef0e58194: Download complete [2024-03-21T13:16:29.834Z] d747dcd14b5f: Verifying Checksum [2024-03-21T13:16:29.834Z] d747dcd14b5f: Download complete [2024-03-21T13:16:29.834Z] e9a5061849ea: Verifying Checksum [2024-03-21T13:16:29.834Z] e9a5061849ea: Download complete [2024-03-21T13:16:29.834Z] 0d9ebad4ef96: Verifying Checksum [2024-03-21T13:16:29.834Z] 0d9ebad4ef96: Download complete [2024-03-21T13:16:29.834Z] 2de7ff778b66: Verifying Checksum [2024-03-21T13:16:29.834Z] 2de7ff778b66: Download complete [2024-03-21T13:16:32.362Z] ab5ef0e58194: Pull complete [2024-03-21T13:16:32.362Z] 9712f1f96733: Pull complete [2024-03-21T13:16:33.296Z] 63f879dbbcfc: Pull complete [2024-03-21T13:16:36.579Z] 0d9ebad4ef96: Pull complete [2024-03-21T13:16:36.838Z] e9a5061849ea: Pull complete [2024-03-21T13:16:37.097Z] d747dcd14b5f: Pull complete [2024-03-21T13:16:38.034Z] 2de7ff778b66: Pull complete [2024-03-21T13:16:38.034Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-03-21T13:16:38.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-03-21T13:16:38.034Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:16:38.149Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:16:38.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-03-21T13:16:43.477Z] $ docker top 096365ef9bc860a2c856e20cbf95c3d8769429494235e5bd943cb7a15ae11b81 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-03-21T13:16:43.555Z] provisioning config files... [2024-03-21T13:16:43.562Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6727579567708864174tmp [2024-03-21T13:16:43.571Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13971821809015544903tmp [2024-03-21T13:16:43.580Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8672660834846840510tmp [Pipeline] { [Pipeline] echo [2024-03-21T13:16:43.609Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:16:43.904Z] ---> sigul-configuration.sh [2024-03-21T13:16:43.904Z] gpg: directory `/root/.gnupg' created [2024-03-21T13:16:43.904Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-03-21T13:16:43.904Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-03-21T13:16:43.904Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-03-21T13:16:43.904Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-03-21T13:16:43.904Z] gpg: CAST5 encrypted data [2024-03-21T13:16:43.904Z] gpg: encrypted with 1 passphrase [2024-03-21T13:16:43.904Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-03-21T13:16:44.201Z] + mkdir /home/jenkins [2024-03-21T13:16:44.201Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-03-21T13:16:44.502Z] + 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-03-21T13:16:44.514Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:16:44.806Z] ---> sigul-install.sh [2024-03-21T13:16:44.806Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-03-21T13:16:45.105Z] + git tag --list [2024-03-21T13:16:45.106Z] 0.7.1 [2024-03-21T13:16:45.106Z] v1.0.0 [2024-03-21T13:16:45.106Z] v1.1.0 [2024-03-21T13:16:45.106Z] v1.1.1 [2024-03-21T13:16:45.106Z] v1.2.2 [2024-03-21T13:16:45.106Z] v1.3.0 [2024-03-21T13:16:45.106Z] v1.3.1 [2024-03-21T13:16:45.106Z] v2.0.0 [2024-03-21T13:16:45.106Z] v2.1.0 [2024-03-21T13:16:45.106Z] v2.1.1 [2024-03-21T13:16:45.106Z] v2.2.0 [2024-03-21T13:16:45.106Z] v2.3.0 [2024-03-21T13:16:45.106Z] v3.0 [2024-03-21T13:16:45.106Z] v3.0.0 [2024-03-21T13:16:45.106Z] v3.1 [2024-03-21T13:16:45.106Z] v3.1.0 [2024-03-21T13:16:45.106Z] v3.1.0-dev.1 [2024-03-21T13:16:45.106Z] v3.1.0-dev.10 [2024-03-21T13:16:45.106Z] v3.1.0-dev.11 [2024-03-21T13:16:45.106Z] v3.1.0-dev.12 [2024-03-21T13:16:45.106Z] v3.1.0-dev.13 [2024-03-21T13:16:45.106Z] v3.1.0-dev.14 [2024-03-21T13:16:45.106Z] v3.1.0-dev.15 [2024-03-21T13:16:45.106Z] v3.1.0-dev.16 [2024-03-21T13:16:45.106Z] v3.1.0-dev.17 [2024-03-21T13:16:45.106Z] v3.1.0-dev.18 [2024-03-21T13:16:45.106Z] v3.1.0-dev.19 [2024-03-21T13:16:45.106Z] v3.1.0-dev.2 [2024-03-21T13:16:45.106Z] v3.1.0-dev.20 [2024-03-21T13:16:45.106Z] v3.1.0-dev.21 [2024-03-21T13:16:45.106Z] v3.1.0-dev.22 [2024-03-21T13:16:45.106Z] v3.1.0-dev.23 [2024-03-21T13:16:45.106Z] v3.1.0-dev.24 [2024-03-21T13:16:45.106Z] v3.1.0-dev.25 [2024-03-21T13:16:45.106Z] v3.1.0-dev.3 [2024-03-21T13:16:45.106Z] v3.1.0-dev.4 [2024-03-21T13:16:45.106Z] v3.1.0-dev.5 [2024-03-21T13:16:45.106Z] v3.1.0-dev.6 [2024-03-21T13:16:45.106Z] v3.1.0-dev.7 [2024-03-21T13:16:45.106Z] v3.1.0-dev.8 [2024-03-21T13:16:45.106Z] v3.1.0-dev.9 [2024-03-21T13:16:45.106Z] v3.2.0-dev.1 [2024-03-21T13:16:45.106Z] v3.2.0-dev.10 [2024-03-21T13:16:45.106Z] v3.2.0-dev.11 [2024-03-21T13:16:45.106Z] v3.2.0-dev.2 [2024-03-21T13:16:45.106Z] v3.2.0-dev.3 [2024-03-21T13:16:45.106Z] v3.2.0-dev.4 [2024-03-21T13:16:45.106Z] v3.2.0-dev.5 [2024-03-21T13:16:45.106Z] v3.2.0-dev.6 [2024-03-21T13:16:45.106Z] v3.2.0-dev.7 [2024-03-21T13:16:45.106Z] v3.2.0-dev.8 [2024-03-21T13:16:45.106Z] v3.2.0-dev.9 [Pipeline] sh [2024-03-21T13:16:45.486Z] + lftools sign git-tag v3.2.0-dev.11 [2024-03-21T13:16:46.096Z] Signing Git tag with Sigul... [2024-03-21T13:16:46.096Z] Signing v3.2.0-dev.11 [Pipeline] echo [2024-03-21T13:16:46.426Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:16:46.716Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-03-21T13:16:46.723Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-03-21T13:16:46.752Z] $ docker stop --time=1 096365ef9bc860a2c856e20cbf95c3d8769429494235e5bd943cb7a15ae11b81 [2024-03-21T13:16:48.031Z] $ docker rm -f --volumes 096365ef9bc860a2c856e20cbf95c3d8769429494235e5bd943cb7a15ae11b81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-03-21T13:16:48.494Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-21T13:16:48.494Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:16:48.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T13:16:48.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:16:48.869Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:16:48.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-03-21T13:16:49.213Z] $ docker top 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-21T13:16:49.320Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T13:16:49.320Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T13:16:49.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T13:16:49.441Z] $ docker exec 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 ssh-agent [2024-03-21T13:16:49.542Z] SSH_AUTH_SOCK=/tmp/ssh-TNM6siQ3FJHI/agent.32 [2024-03-21T13:16:49.542Z] SSH_AGENT_PID=38 [2024-03-21T13:16:49.546Z] Running ssh-add (command line suppressed) [2024-03-21T13:16:49.653Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_455301165146237189.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_455301165146237189.key) [2024-03-21T13:16:49.667Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T13:16:49.957Z] + git semver bump pre [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,137 [bump_version] DEBUG bumping version:3.2.0-dev.11 on axis:pre with prefix:dev [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,138 [bump_version] DEBUG bumped version:3.2.0-dev.12 [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,138 [write_version] DEBUG write version:3.2.0-dev.12 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,138 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,138 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,142 [execute] INFO git cat-file --batch-check [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,142 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,147 [execute] INFO git cat-file --batch [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,147 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T13:16:50.217Z] 2024-03-21 13:16:50,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-03-21T13:16:50.217Z] 3.2.0-dev.12 [Pipeline] } [2024-03-21T13:16:50.226Z] $ docker exec --env ******** --env ******** 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 ssh-agent -k [2024-03-21T13:16:50.332Z] unset SSH_AUTH_SOCK; [2024-03-21T13:16:50.332Z] unset SSH_AGENT_PID; [2024-03-21T13:16:50.332Z] echo Agent pid 38 killed; [2024-03-21T13:16:50.342Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-21T13:16:50.666Z] + git semver [Pipeline] } [2024-03-21T13:16:50.938Z] $ docker stop --time=1 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 [2024-03-21T13:16:52.198Z] $ docker rm -f --volumes 34c822c0a5c8f688e06098f8455788b6510e48b47548372a2055fabfeec2c924 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-21T13:16:52.554Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-21T13:16:52.554Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:16:52.857Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-21T13:16:52.857Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:16:52.936Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:16:52.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-03-21T13:16:53.291Z] $ docker top 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-21T13:16:53.397Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-21T13:16:53.397Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-21T13:16:53.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-21T13:16:53.507Z] $ docker exec 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 ssh-agent [2024-03-21T13:16:53.600Z] SSH_AUTH_SOCK=/tmp/ssh-Ze6q8vr1lIXk/agent.32 [2024-03-21T13:16:53.600Z] SSH_AGENT_PID=38 [2024-03-21T13:16:53.604Z] Running ssh-add (command line suppressed) [2024-03-21T13:16:53.697Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16700405635789029314.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_16700405635789029314.key) [2024-03-21T13:16:53.710Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-21T13:16:54.000Z] + git semver push [2024-03-21T13:16:54.260Z] 2024-03-21 13:16:54,170 [run_push] DEBUG push [2024-03-21T13:16:54.260Z] 2024-03-21 13:16:54,170 [execute] INFO git cat-file --batch-check [2024-03-21T13:16:54.260Z] 2024-03-21 13:16:54,170 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-03-21T13:16:54.260Z] 2024-03-21 13:16:54,174 [execute] INFO git rev-list 12778940f6fb477e5fe289a7f3d87fce4cecfd78 -- [2024-03-21T13:16:54.260Z] 2024-03-21 13:16:54,174 [execute] DEBUG Popen(['git', 'rev-list', '12778940f6fb477e5fe289a7f3d87fce4cecfd78', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-03-21T13:16:54.260Z] 2024-03-21 13:16:54,183 [execute] INFO git fetch -v origin [2024-03-21T13:16:54.260Z] 2024-03-21 13:16:54,183 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-03-21T13:16:54.830Z] 2024-03-21 13:16:54,681 [run_push] DEBUG no remote changes detected [2024-03-21T13:16:54.830Z] 2024-03-21 13:16:54,681 [execute] INFO git push origin semver [2024-03-21T13:16:54.830Z] 2024-03-21 13:16:54,682 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-03-21T13:16:55.770Z] 2024-03-21 13:16:55,476 [run_push] DEBUG push all version tags [2024-03-21T13:16:55.770Z] 2024-03-21 13:16:55,477 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-03-21T13:16:55.770Z] 2024-03-21 13:16:55,478 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2024-03-21T13:16:56.339Z] 2024-03-21 13:16:56,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-03-21T13:16:56.339Z] 3.2.0-dev.12 [Pipeline] } [2024-03-21T13:16:56.349Z] $ docker exec --env ******** --env ******** 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 ssh-agent -k [2024-03-21T13:16:56.444Z] unset SSH_AUTH_SOCK; [2024-03-21T13:16:56.444Z] unset SSH_AGENT_PID; [2024-03-21T13:16:56.444Z] echo Agent pid 38 killed; [2024-03-21T13:16:56.454Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-21T13:16:56.779Z] + git semver [Pipeline] } [2024-03-21T13:16:57.051Z] $ docker stop --time=1 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 [2024-03-21T13:16:58.291Z] $ docker rm -f --volumes 9366b4d038ea7eff0a8ffa39da98d95f3af2bb041377cf66a3ee5b97b61ee566 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [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-03-21T13:16:59.011Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2024-03-21T13:16:59.011Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2024-03-21T13:16:59.011Z] total 16 [2024-03-21T13:16:59.011Z] drwxr-xr-x 3 root root 4096 Mar 21 13:06 . [2024-03-21T13:16:59.011Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 13:16 .. [2024-03-21T13:16:59.011Z] drwxr-xr-x 2 root root 4096 Mar 21 13:06 cost [2024-03-21T13:16:59.011Z] -rw-r--r-- 1 root root 86 Mar 21 13:06 cost.csv [2024-03-21T13:16:59.011Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2024-03-21T13:16:59.011Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2024-03-21T13:16:59.011Z] total 16 [2024-03-21T13:16:59.011Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 13:06 . [2024-03-21T13:16:59.011Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 13:16 .. [2024-03-21T13:16:59.011Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 13:06 cost [2024-03-21T13:16:59.011Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 13:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:16:59.301Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:17:00.194Z] ---> package-listing.sh [2024-03-21T13:17:00.194Z] ++ facter osfamily [2024-03-21T13:17:00.194Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-21T13:17:00.454Z] + OS_FAMILY=debian [2024-03-21T13:17:00.454Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2024-03-21T13:17:00.454Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-21T13:17:00.454Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-21T13:17:00.454Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-21T13:17:00.454Z] + PACKAGES=/tmp/packages_start.txt [2024-03-21T13:17:00.454Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2024-03-21T13:17:00.454Z] + PACKAGES=/tmp/packages_end.txt [2024-03-21T13:17:00.454Z] + case "${OS_FAMILY}" in [2024-03-21T13:17:00.454Z] + dpkg -l [2024-03-21T13:17:00.454Z] + grep '^ii' [2024-03-21T13:17:00.454Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-21T13:17:00.454Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-21T13:17:00.454Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-21T13:17:00.454Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2024-03-21T13:17:00.454Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2024-03-21T13:17:00.454Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2024-03-21T13:17:00.465Z] 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-21T13:17:00.740Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-21T13:17:01.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-21T13:17:01.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-21T13:17:01.382Z] prd-ubuntu20.04-docker-8c-8g-562 does not seem to be running inside a container [2024-03-21T13:17:01.409Z] $ 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_main/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_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-03-21T13:17:01.632Z] $ docker top e8e3323843b7abe2ad6b6a26df1d4a2f58a375d801f8f24ccab0ec303c28ab2d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-21T13:17:01.982Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-21T13:17:02.268Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-21T13:17:02.558Z] + ls /var/log/sa-host [2024-03-21T13:17:02.558Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-21T13:17:02.648Z] provisioning config files... [2024-03-21T13:17:02.657Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7135244329797754850tmp [Pipeline] { [Pipeline] echo [2024-03-21T13:17:02.679Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:17:02.963Z] ---> create-netrc.sh [Pipeline] } [2024-03-21T13:17:02.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:17:03.316Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-21T13:17:03.324Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:17:03.618Z] ---> sudo-logs.sh [2024-03-21T13:17:03.618Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-21T13:17:03.647Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:17:03.928Z] ---> job-cost.sh [2024-03-21T13:17:03.928Z] lf-activate-venv: SKIPPING [2024-03-21T13:17:03.928Z] DEBUG: total: 0.2199999988079071 [2024-03-21T13:17:03.928Z] INFO: Retrieving Stack Cost... [2024-03-21T13:17:04.495Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-21T13:17:05.063Z] INFO: Archiving Costs [Pipeline] echo [2024-03-21T13:17:05.075Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-21T13:17:05.366Z] ---> logs-deploy.sh [2024-03-21T13:17:05.366Z] lf-activate-venv: SKIPPING [2024-03-21T13:17:05.366Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/164 [2024-03-21T13:17:05.366Z] INFO: archiving workspace using pattern(s): [2024-03-21T13:17:06.302Z] Archives upload complete. [2024-03-21T13:17:06.302Z] INFO: archiving logs to Nexus