Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 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-ssh13014452023612821251.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16281743624108835237.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/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-ssh7141907563084813635.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh90880712456401298.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-ssh7691386544172141916.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6807 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 Avoid second fetch Checking out Revision 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af # timeout=10 Commit message: "Merge pull request #686 from edgexfoundry/dependabot/go_modules/github.com/eclipse/paho.mqtt.golang-1.5.0" > git rev-list --no-walk 3f7a3fad922d06158882a9f2d5ca1ab4e50c0b97 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-31T02:29:32.065Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-31T02:29:32.146Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-31T02:29:32.177Z] ========================================================= [2024-07-31T02:29:32.177Z] EdgeX Global Pipelines Version Info [2024-07-31T02:29:32.177Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:29:32.925Z] ------------------- [2024-07-31T02:29:32.925Z] stable info: [2024-07-31T02:29:32.925Z] ------------------- [2024-07-31T02:29:32.925Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T02:29:32.925Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-31T02:29:32.925Z] Message: update stable to v1.0.260 [2024-07-31T02:29:33.512Z] ------------------- [2024-07-31T02:29:33.512Z] experimental info: [2024-07-31T02:29:33.512Z] ------------------- [2024-07-31T02:29:33.512Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T02:29:33.512Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-31T02:29:33.512Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-31T02:29:33.598Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2024-07-31T02:29:33.626Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2024-07-31T02:29:33.653Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-31T02:29:33.676Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-31T02:29:33.700Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-31T02:29:33.724Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-31T02:29:33.751Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-31T02:29:33.781Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-31T02:29:33.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-31T02:29:33.835Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-31T02:29:33.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-31T02:29:33.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2024-07-31T02:29:33.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-31T02:29:33.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-31T02:29:33.970Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T02:29:33.998Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T02:29:34.022Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T02:29:34.044Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T02:29:34.067Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-31T02:29:34.099Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-31T02:29:34.130Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-31T02:29:34.160Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-31T02:29:34.188Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-31T02:29:34.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-31T02:29:34.238Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-31T02:29:34.262Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-31T02:29:34.288Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-31T02:29:34.316Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-31T02:29:34.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-31T02:29:34.365Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-31T02:29:34.395Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] echo [2024-07-31T02:29:34.423Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bf5b7d [Pipeline] echo [2024-07-31T02:29:34.454Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:29:34.536Z] provisioning config files... [2024-07-31T02:29:34.551Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14523808132715227686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:29:34.893Z] ---> ****-login.sh [2024-07-31T02:29:34.893Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:29:35.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:35.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:35.158Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:35.159Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:35.159Z] [2024-07-31T02:29:35.159Z] Login Succeeded [2024-07-31T02:29:35.159Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:29:35.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:35.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:35.418Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:35.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:35.418Z] [2024-07-31T02:29:35.418Z] Login Succeeded [2024-07-31T02:29:35.418Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:29:35.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:35.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:35.418Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:35.418Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:35.418Z] [2024-07-31T02:29:35.418Z] Login Succeeded [2024-07-31T02:29:35.418Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:29:35.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:35.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:35.678Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:35.678Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:35.678Z] [2024-07-31T02:29:35.678Z] Login Succeeded [2024-07-31T02:29:35.678Z] ****.io [2024-07-31T02:29:35.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:35.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:35.940Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:35.940Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:35.940Z] [2024-07-31T02:29:35.940Z] Login Succeeded [2024-07-31T02:29:35.940Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:29:35.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-31T02:29:36.386Z] + git rev-list -1 --merges 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af~1..8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] echo [2024-07-31T02:29:36.413Z] -----------> git rev-list -1 --merges 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af~1..8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [2024-07-31T02:29:36.413Z] 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [false] [Pipeline] sh [2024-07-31T02:29:36.710Z] + git log --format=format:%s -1 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] echo [2024-07-31T02:29:36.726Z] ========================================================= [2024-07-31T02:29:36.726Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-31T02:29:36.726Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:29:37.085Z] + git log --format=format:%s -1 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] echo [2024-07-31T02:29:37.099Z] [semverPrep] GIT_COMMIT: 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af, Commit Message: Merge pull request #686 from edgexfoundry/dependabot/go_modules/github.com/eclipse/paho.mqtt.golang-1.5.0 [Pipeline] echo [2024-07-31T02:29:37.116Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-31T02:29:37.508Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:29:37.508Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-31T02:29:37.508Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-31T02:29:37.508Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-31T02:29:37.508Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-31T02:29:37.508Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-31T02:29:37.508Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:29:37.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:29:37.945Z] [2024-07-31T02:29:37.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:29:38.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:29:38.251Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-31T02:29:38.251Z] b85a868b505f: Pulling fs layer [2024-07-31T02:29:38.251Z] e2be974225ed: Pulling fs layer [2024-07-31T02:29:38.251Z] 339a4e72a1f5: Pulling fs layer [2024-07-31T02:29:38.251Z] 988bab9f4d93: Pulling fs layer [2024-07-31T02:29:38.251Z] 1469e6f7b9e6: Pulling fs layer [2024-07-31T02:29:38.251Z] eaf3925da568: Pulling fs layer [2024-07-31T02:29:38.251Z] 1469e6f7b9e6: Waiting [2024-07-31T02:29:38.251Z] 988bab9f4d93: Waiting [2024-07-31T02:29:38.251Z] bab4dde63d76: Pulling fs layer [2024-07-31T02:29:38.251Z] bde34c3a00c8: Pulling fs layer [2024-07-31T02:29:38.251Z] eaf3925da568: Waiting [2024-07-31T02:29:38.251Z] bab4dde63d76: Waiting [2024-07-31T02:29:38.251Z] b352a97aabf1: Pulling fs layer [2024-07-31T02:29:38.251Z] b352a97aabf1: Waiting [2024-07-31T02:29:38.251Z] 4872d77fe225: Pulling fs layer [2024-07-31T02:29:38.251Z] 5851b861e8e6: Pulling fs layer [2024-07-31T02:29:38.251Z] 4872d77fe225: Waiting [2024-07-31T02:29:38.251Z] 5851b861e8e6: Waiting [2024-07-31T02:29:38.251Z] e2be974225ed: Download complete [2024-07-31T02:29:38.251Z] 988bab9f4d93: Verifying Checksum [2024-07-31T02:29:38.251Z] 988bab9f4d93: Download complete [2024-07-31T02:29:38.251Z] 1469e6f7b9e6: Verifying Checksum [2024-07-31T02:29:38.251Z] 1469e6f7b9e6: Download complete [2024-07-31T02:29:38.510Z] eaf3925da568: Verifying Checksum [2024-07-31T02:29:38.510Z] eaf3925da568: Download complete [2024-07-31T02:29:38.510Z] 339a4e72a1f5: Verifying Checksum [2024-07-31T02:29:38.510Z] 339a4e72a1f5: Download complete [2024-07-31T02:29:38.510Z] bde34c3a00c8: Download complete [2024-07-31T02:29:38.510Z] b352a97aabf1: Download complete [2024-07-31T02:29:38.510Z] 4872d77fe225: Verifying Checksum [2024-07-31T02:29:38.510Z] 4872d77fe225: Download complete [2024-07-31T02:29:38.510Z] 5851b861e8e6: Download complete [2024-07-31T02:29:38.510Z] b85a868b505f: Verifying Checksum [2024-07-31T02:29:38.510Z] b85a868b505f: Download complete [2024-07-31T02:29:38.770Z] bab4dde63d76: Verifying Checksum [2024-07-31T02:29:38.770Z] bab4dde63d76: Download complete [2024-07-31T02:29:39.710Z] b85a868b505f: Pull complete [2024-07-31T02:29:39.971Z] e2be974225ed: Pull complete [2024-07-31T02:29:40.545Z] 339a4e72a1f5: Pull complete [2024-07-31T02:29:40.545Z] 988bab9f4d93: Pull complete [2024-07-31T02:29:40.806Z] 1469e6f7b9e6: Pull complete [2024-07-31T02:29:40.806Z] eaf3925da568: Pull complete [2024-07-31T02:29:42.732Z] bab4dde63d76: Pull complete [2024-07-31T02:29:42.999Z] bde34c3a00c8: Pull complete [2024-07-31T02:29:42.999Z] b352a97aabf1: Pull complete [2024-07-31T02:29:43.258Z] 4872d77fe225: Pull complete [2024-07-31T02:29:43.258Z] 5851b861e8e6: Pull complete [2024-07-31T02:29:43.258Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-31T02:29:43.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:29:43.258Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:29:43.417Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:29:43.446Z] $ 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-07-31T02:29:48.451Z] $ docker top 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 -eo pid,comm [2024-07-31T02:29:48.549Z] 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-07-31T02:29:48.549Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:29:48.617Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:29:48.617Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:29:48.725Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:29:48.723Z] $ docker exec 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 ssh-agent [2024-07-31T02:29:48.844Z] SSH_AUTH_SOCK=/tmp/ssh-3Li8vWtus7Zi/agent.32 [2024-07-31T02:29:48.844Z] SSH_AGENT_PID=38 [2024-07-31T02:29:48.852Z] Running ssh-add (command line suppressed) [2024-07-31T02:29:48.974Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12763773889670934782.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12763773889670934782.key) [2024-07-31T02:29:48.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:29:49.297Z] + git tag --points-at HEAD [Pipeline] } [2024-07-31T02:29:49.302Z] $ docker exec --env ******** --env ******** 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 ssh-agent -k [2024-07-31T02:29:49.395Z] unset SSH_AUTH_SOCK; [2024-07-31T02:29:49.395Z] unset SSH_AGENT_PID; [2024-07-31T02:29:49.395Z] echo Agent pid 38 killed; [2024-07-31T02:29:49.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-31T02:29:49.450Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:29:49.450Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:29:49.564Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:29:49.561Z] $ docker exec 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 ssh-agent [2024-07-31T02:29:49.671Z] SSH_AUTH_SOCK=/tmp/ssh-eOIKweZMcw2i/agent.72 [2024-07-31T02:29:49.671Z] SSH_AGENT_PID=78 [2024-07-31T02:29:49.676Z] Running ssh-add (command line suppressed) [2024-07-31T02:29:49.761Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_465880677624536221.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_465880677624536221.key) [2024-07-31T02:29:49.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:29:50.078Z] + git semver init [2024-07-31T02:29:50.337Z] 2024-07-31 02:29:50,258 [run_init] DEBUG init version:0.0.0 force:False [2024-07-31T02:29:50.337Z] 2024-07-31 02:29:50,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2024-07-31T02:29:50.337Z] 2024-07-31 02:29:50,259 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2024-07-31T02:29:50.337Z] 2024-07-31 02:29:50,259 [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-07-31T02:29:52.295Z] 2024-07-31 02:29:52,053 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2024-07-31T02:29:52.295Z] 2024-07-31 02:29:52,054 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2024-07-31T02:29:52.295Z] 2024-07-31 02:29:52,054 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-07-31T02:29:52.295Z] 2024-07-31 02:29:52,054 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-07-31T02:29:52.295Z] 3.2.0-dev.17 [Pipeline] } [2024-07-31T02:29:52.299Z] $ docker exec --env ******** --env ******** 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 ssh-agent -k [2024-07-31T02:29:52.382Z] unset SSH_AUTH_SOCK; [2024-07-31T02:29:52.382Z] unset SSH_AGENT_PID; [2024-07-31T02:29:52.382Z] echo Agent pid 78 killed; [2024-07-31T02:29:52.396Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:29:52.723Z] + git semver [Pipeline] } [2024-07-31T02:29:52.998Z] $ docker stop --time=1 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 [2024-07-31T02:29:54.272Z] $ docker rm -f --volumes 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:29:54.642Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-31T02:29:54.916Z] Stashed 1 file(s) [Pipeline] echo [2024-07-31T02:29:54.921Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.17 [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-07-31T02:29:55.142Z] provisioning config files... [2024-07-31T02:29:55.151Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13206235604945863277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:29:55.601Z] ---> ****-login.sh [2024-07-31T02:29:55.601Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:29:55.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:55.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:55.601Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:55.601Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:55.601Z] [2024-07-31T02:29:55.601Z] Login Succeeded [2024-07-31T02:29:55.601Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:29:55.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:55.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:55.602Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:55.602Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:55.602Z] [2024-07-31T02:29:55.602Z] Login Succeeded [2024-07-31T02:29:55.602Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:29:55.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:55.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:55.861Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:55.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:55.861Z] [2024-07-31T02:29:55.861Z] Login Succeeded [2024-07-31T02:29:55.861Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:29:55.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:55.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:55.861Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:55.861Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:55.861Z] [2024-07-31T02:29:55.861Z] Login Succeeded [2024-07-31T02:29:55.862Z] ****.io [2024-07-31T02:29:56.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:29:56.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:29:56.121Z] Configure a credential helper to remove this warning. See [2024-07-31T02:29:56.121Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:29:56.121Z] [2024-07-31T02:29:56.121Z] Login Succeeded [2024-07-31T02:29:56.121Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:29:56.128Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T02:29:56.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:29:56.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:29:56.281Z] ========================================================= [2024-07-31T02:29:56.281Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-31T02:29:56.281Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:29:56.633Z] + 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-07-31T02:29:56.633Z] Sending build context to Docker daemon 20.82MB [2024-07-31T02:29:56.894Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:29:56.894Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-31T02:29:57.154Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-31T02:29:57.154Z] 619be1103602: Pulling fs layer [2024-07-31T02:29:57.154Z] 7862e08f4a3e: Pulling fs layer [2024-07-31T02:29:57.154Z] 5df492c9dc93: Pulling fs layer [2024-07-31T02:29:57.154Z] 7629e6793208: Pulling fs layer [2024-07-31T02:29:57.154Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T02:29:57.154Z] fb5054dd5b73: Pulling fs layer [2024-07-31T02:29:57.154Z] eeca6798cff9: Pulling fs layer [2024-07-31T02:29:57.154Z] aa269ceb94a6: Pulling fs layer [2024-07-31T02:29:57.154Z] ada007ff1a6a: Pulling fs layer [2024-07-31T02:29:57.154Z] 7629e6793208: Waiting [2024-07-31T02:29:57.154Z] 4f4fb700ef54: Waiting [2024-07-31T02:29:57.154Z] fb5054dd5b73: Waiting [2024-07-31T02:29:57.154Z] ada007ff1a6a: Waiting [2024-07-31T02:29:57.154Z] eeca6798cff9: Waiting [2024-07-31T02:29:57.154Z] aa269ceb94a6: Waiting [2024-07-31T02:29:57.154Z] 7862e08f4a3e: Download complete [2024-07-31T02:29:57.154Z] 7629e6793208: Verifying Checksum [2024-07-31T02:29:57.154Z] 7629e6793208: Download complete [2024-07-31T02:29:57.154Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T02:29:57.154Z] 4f4fb700ef54: Download complete [2024-07-31T02:29:57.154Z] fb5054dd5b73: Download complete [2024-07-31T02:29:57.154Z] 619be1103602: Verifying Checksum [2024-07-31T02:29:57.154Z] 619be1103602: Download complete [2024-07-31T02:29:57.154Z] eeca6798cff9: Verifying Checksum [2024-07-31T02:29:57.154Z] eeca6798cff9: Download complete [2024-07-31T02:29:57.427Z] ada007ff1a6a: Verifying Checksum [2024-07-31T02:29:57.427Z] ada007ff1a6a: Download complete [2024-07-31T02:29:57.690Z] 619be1103602: Pull complete [2024-07-31T02:29:57.691Z] 5df492c9dc93: Verifying Checksum [2024-07-31T02:29:57.691Z] 5df492c9dc93: Download complete [2024-07-31T02:29:58.260Z] aa269ceb94a6: Verifying Checksum [2024-07-31T02:29:58.260Z] aa269ceb94a6: Download complete [2024-07-31T02:29:58.260Z] 7862e08f4a3e: Pull complete [2024-07-31T02:30:02.472Z] 5df492c9dc93: Pull complete [2024-07-31T02:30:02.473Z] 7629e6793208: Pull complete [2024-07-31T02:30:02.473Z] 4f4fb700ef54: Pull complete [2024-07-31T02:30:02.473Z] fb5054dd5b73: Pull complete [2024-07-31T02:30:02.473Z] eeca6798cff9: Pull complete [2024-07-31T02:30:05.013Z] aa269ceb94a6: Pull complete [2024-07-31T02:30:05.013Z] ada007ff1a6a: Pull complete [2024-07-31T02:30:05.013Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-31T02:30:05.013Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-31T02:30:05.013Z] ---> f489d0715acc [2024-07-31T02:30:05.013Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:30:10.081Z] Still waiting to schedule task [2024-07-31T02:30:10.082Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-07-31T02:30:11.736Z] ---> Running in 78bec077bd94 [2024-07-31T02:30:11.996Z] Removing intermediate container 78bec077bd94 [2024-07-31T02:30:11.996Z] ---> 4a1e78b7eb11 [2024-07-31T02:30:11.996Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:30:12.255Z] ---> Running in b459fcb302ee [2024-07-31T02:30:12.514Z] Removing intermediate container b459fcb302ee [2024-07-31T02:30:12.514Z] ---> ddfbc8121b1b [2024-07-31T02:30:12.514Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:30:12.514Z] ---> Running in 51dfc3b12860 [2024-07-31T02:30:12.514Z] Removing intermediate container 51dfc3b12860 [2024-07-31T02:30:12.514Z] ---> b034c084f352 [2024-07-31T02:30:12.514Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:30:12.514Z] ---> Running in 21e1eeffbc93 [2024-07-31T02:30:12.514Z] Removing intermediate container 21e1eeffbc93 [2024-07-31T02:30:12.514Z] ---> c93846fa66b0 [2024-07-31T02:30:12.514Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:30:12.514Z] ---> Running in b967140a3286 [2024-07-31T02:30:12.774Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:30:13.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:30:13.294Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-31T02:30:13.294Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-31T02:30:13.294Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-31T02:30:13.294Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-31T02:30:13.294Z] Executing busybox-1.36.1-r5.trigger [2024-07-31T02:30:13.294Z] OK: 268 MiB in 56 packages [2024-07-31T02:30:13.887Z] Removing intermediate container b967140a3286 [2024-07-31T02:30:13.887Z] ---> 93b39435c606 [2024-07-31T02:30:13.887Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-31T02:30:14.145Z] ---> Running in 145f53f5696e [2024-07-31T02:30:14.145Z] Removing intermediate container 145f53f5696e [2024-07-31T02:30:14.145Z] ---> 2109059120f6 [2024-07-31T02:30:14.145Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-31T02:30:14.145Z] ---> 9a628a423c4b [2024-07-31T02:30:14.145Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:30:14.145Z] ---> Running in f638cded3f63 [2024-07-31T02:31:10.413Z] Removing intermediate container f638cded3f63 [2024-07-31T02:31:10.413Z] ---> 22359a8349f3 [2024-07-31T02:31:10.413Z] Step 11/12 : COPY . . [2024-07-31T02:31:10.413Z] ---> b61dbe2c12fc [2024-07-31T02:31:10.413Z] Step 12/12 : RUN $MAKE [2024-07-31T02:31:10.413Z] ---> Running in 8b4ed3fb579a [2024-07-31T02:31:10.413Z] noop [2024-07-31T02:31:10.413Z] Removing intermediate container 8b4ed3fb579a [2024-07-31T02:31:10.413Z] ---> ba764753967b [2024-07-31T02:31:10.413Z] Successfully built ba764753967b [2024-07-31T02:31:10.413Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:31:10.753Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T02:31:10.753Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:31:10.836Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:31:10.863Z] $ 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-07-31T02:31:11.194Z] $ docker top dec1a051aeb3c437fa534a3eb70919633bcb0ed9e16431d5f78badbc0a694914 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:31:11.552Z] + go version [2024-07-31T02:31:11.552Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-31T02:31:11.560Z] $ docker stop --time=1 dec1a051aeb3c437fa534a3eb70919633bcb0ed9e16431d5f78badbc0a694914 [2024-07-31T02:31:12.890Z] $ docker rm -f --volumes dec1a051aeb3c437fa534a3eb70919633bcb0ed9e16431d5f78badbc0a694914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:31:13.347Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T02:31:13.347Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:31:13.436Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:31:13.470Z] $ 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-07-31T02:31:13.789Z] $ docker top 78bfb041e851748b45f76a6790973736a7d6e92dac755c0c8c135d20abf15ea7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:31:14.138Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh [2024-07-31T02:31:14.440Z] + make test [2024-07-31T02:31:14.440Z] go test ./... -coverprofile=coverage.out ./... [2024-07-31T02:31:15.818Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-31T02:31:37.890Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-31T02:31:37.890Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-31T02:31:37.890Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements [2024-07-31T02:31:43.150Z] go vet ./... [2024-07-31T02:31:49.719Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T02:31:49.719Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T02:31:49.719Z] ./bin/test-attribution-txt.sh [2024-07-31T02:31:49.719Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T02:31:49.719Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T02:31:49.720Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T02:31:49.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T02:31:49.752Z] $ docker stop --time=1 78bfb041e851748b45f76a6790973736a7d6e92dac755c0c8c135d20abf15ea7 [2024-07-31T02:31:55.162Z] $ docker rm -f --volumes 78bfb041e851748b45f76a6790973736a7d6e92dac755c0c8c135d20abf15ea7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:31:55.715Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T02:31:55.765Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-31T02:31:56.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T02:31:56.620Z] + ls -al . [2024-07-31T02:31:56.621Z] total 252 [2024-07-31T02:31:56.621Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 02:31 . [2024-07-31T02:31:56.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:29 .. [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:29 .dockerignore [2024-07-31T02:31:56.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:31 .git [2024-07-31T02:31:56.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:29 .github [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:29 .gitignore [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:29 .golangci.yml [2024-07-31T02:31:56.621Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:29 .semver [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 31 02:29 Attribution.txt [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 31 02:29 CHANGELOG.md [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 31 02:29 Dockerfile [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:29 GOVERNANCE.md [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 02:29 Jenkinsfile [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:29 LICENSE [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 31 02:29 Makefile [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:29 OWNERS.md [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 31 02:29 README.md [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:29 VERSION [2024-07-31T02:31:56.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:29 bin [2024-07-31T02:31:56.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:29 cmd [2024-07-31T02:31:56.621Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 31 02:31 coverage.out [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 7065 Jul 31 02:29 go.mod [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:29 go.sum [2024-07-31T02:31:56.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:29 internal [2024-07-31T02:31:56.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:29 mock [2024-07-31T02:31:56.621Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 31 02:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:31:56.946Z] + 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=8bf5b7d36c28be4da0349ec8b67dab2a1672f7af --label arch=amd64 --label version=3.2.0-dev.17 . [2024-07-31T02:31:56.946Z] Sending build context to Docker daemon 20.84MB [2024-07-31T02:31:56.946Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:31:56.946Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-31T02:31:56.946Z] ---> ba764753967b [2024-07-31T02:31:56.946Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:31:57.514Z] ---> Running in 72e855c27e6a [2024-07-31T02:31:57.514Z] Removing intermediate container 72e855c27e6a [2024-07-31T02:31:57.514Z] ---> 767bab41b462 [2024-07-31T02:31:57.514Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:31:57.773Z] ---> Running in c707875a7da1 [2024-07-31T02:31:57.773Z] Removing intermediate container c707875a7da1 [2024-07-31T02:31:57.773Z] ---> 9df8d93d9c65 [2024-07-31T02:31:57.773Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:31:57.773Z] ---> Running in ae64fe411649 [2024-07-31T02:31:57.773Z] Removing intermediate container ae64fe411649 [2024-07-31T02:31:57.773Z] ---> 29ecfb2eb582 [2024-07-31T02:31:57.773Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:31:57.773Z] ---> Running in a70f1b831349 [2024-07-31T02:31:57.773Z] Removing intermediate container a70f1b831349 [2024-07-31T02:31:57.773Z] ---> edc85a4313af [2024-07-31T02:31:57.773Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:31:58.031Z] ---> Running in 968315d41a62 [2024-07-31T02:31:58.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:31:58.290Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:31:58.550Z] OK: 268 MiB in 56 packages [2024-07-31T02:31:58.811Z] Removing intermediate container 968315d41a62 [2024-07-31T02:31:58.811Z] ---> 71d3156626d4 [2024-07-31T02:31:58.811Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-31T02:31:58.811Z] ---> Running in 342d138ea390 [2024-07-31T02:31:59.071Z] Removing intermediate container 342d138ea390 [2024-07-31T02:31:59.071Z] ---> e3f63602f0db [2024-07-31T02:31:59.071Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-31T02:31:59.071Z] ---> 2cacf2358abb [2024-07-31T02:31:59.071Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:31:59.071Z] ---> Running in 61efe4ec7ac5 [2024-07-31T02:31:59.638Z] Removing intermediate container 61efe4ec7ac5 [2024-07-31T02:31:59.638Z] ---> 510969774e33 [2024-07-31T02:31:59.638Z] Step 11/25 : COPY . . [2024-07-31T02:32:00.587Z] ---> 52f7f303f547 [2024-07-31T02:32:00.587Z] Step 12/25 : RUN $MAKE [2024-07-31T02:32:00.587Z] ---> Running in 615a4c01657e [2024-07-31T02:32:00.587Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-31T02:32:39.356Z] Removing intermediate container 615a4c01657e [2024-07-31T02:32:39.356Z] ---> b3220047c83a [2024-07-31T02:32:39.356Z] Step 13/25 : FROM alpine:3.18 [2024-07-31T02:32:39.356Z] 3.18: Pulling from library/alpine [2024-07-31T02:32:39.356Z] 930bdd4d222e: Pulling fs layer [2024-07-31T02:32:39.356Z] 930bdd4d222e: Verifying Checksum [2024-07-31T02:32:39.356Z] 930bdd4d222e: Download complete [2024-07-31T02:32:39.356Z] 930bdd4d222e: Pull complete [2024-07-31T02:32:39.356Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T02:32:39.356Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T02:32:39.356Z] ---> 18f865063206 [2024-07-31T02:32:39.356Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-31T02:32:39.356Z] ---> Running in bc62d3b329ba [2024-07-31T02:32:39.356Z] Removing intermediate container bc62d3b329ba [2024-07-31T02:32:39.356Z] ---> d2643415777a [2024-07-31T02:32:39.356Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-31T02:32:39.356Z] ---> Running in ad2a60187083 [2024-07-31T02:32:39.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:32:39.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:32:39.356Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T02:32:39.356Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T02:32:39.356Z] OK: 7 MiB in 16 packages [2024-07-31T02:32:39.356Z] Removing intermediate container ad2a60187083 [2024-07-31T02:32:39.356Z] ---> c331e56cad6c [2024-07-31T02:32:39.356Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-31T02:32:39.356Z] ---> Running in 5dc4e3b7c9d8 [2024-07-31T02:32:39.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:32:39.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:32:39.356Z] OK: 7 MiB in 16 packages [2024-07-31T02:32:39.356Z] Removing intermediate container 5dc4e3b7c9d8 [2024-07-31T02:32:39.356Z] ---> 08455dfb9cbe [2024-07-31T02:32:39.356Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-31T02:32:41.264Z] ---> 9b168a522526 [2024-07-31T02:32:41.264Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-31T02:32:41.523Z] ---> 7e46d84cf6d2 [2024-07-31T02:32:41.523Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-31T02:32:41.523Z] ---> 30766e4e9720 [2024-07-31T02:32:41.523Z] Step 20/25 : EXPOSE 59982 [2024-07-31T02:32:41.523Z] ---> Running in 2a52631879a2 [2024-07-31T02:32:41.781Z] Removing intermediate container 2a52631879a2 [2024-07-31T02:32:41.781Z] ---> 45c479ddd011 [2024-07-31T02:32:41.781Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-31T02:32:41.781Z] ---> Running in d5566e9b97d9 [2024-07-31T02:32:41.781Z] Removing intermediate container d5566e9b97d9 [2024-07-31T02:32:41.781Z] ---> f06bdcf3dbe3 [2024-07-31T02:32:41.781Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-31T02:32:41.781Z] ---> Running in 3996693b3535 [2024-07-31T02:32:41.781Z] Removing intermediate container 3996693b3535 [2024-07-31T02:32:41.781Z] ---> 4401b65f6159 [2024-07-31T02:32:41.781Z] Step 23/25 : LABEL arch=amd64 [2024-07-31T02:32:41.781Z] ---> Running in 5bdaa425f772 [2024-07-31T02:32:42.039Z] Removing intermediate container 5bdaa425f772 [2024-07-31T02:32:42.039Z] ---> 1b7459e893b8 [2024-07-31T02:32:42.039Z] Step 24/25 : LABEL git_sha=8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [2024-07-31T02:32:42.039Z] ---> Running in 0ebe7ddace40 [2024-07-31T02:32:42.039Z] Removing intermediate container 0ebe7ddace40 [2024-07-31T02:32:42.039Z] ---> 04aa59f91929 [2024-07-31T02:32:42.039Z] Step 25/25 : LABEL version=3.2.0-dev.17 [2024-07-31T02:32:42.039Z] ---> Running in 1163103de413 [2024-07-31T02:32:42.297Z] Removing intermediate container 1163103de413 [2024-07-31T02:32:42.297Z] ---> c8b8ee542184 [2024-07-31T02:32:42.298Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T02:32:42.298Z] Successfully built c8b8ee542184 [2024-07-31T02:32:42.298Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:32:42.443Z] provisioning config files... [2024-07-31T02:32:42.452Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7155593521555238451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:32:42.762Z] ---> ****-login.sh [2024-07-31T02:32:42.762Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:32:42.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:32:42.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:32:42.762Z] Configure a credential helper to remove this warning. See [2024-07-31T02:32:42.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:32:42.762Z] [2024-07-31T02:32:42.762Z] Login Succeeded [2024-07-31T02:32:42.762Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:32:42.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:32:42.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:32:42.762Z] Configure a credential helper to remove this warning. See [2024-07-31T02:32:42.762Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:32:42.762Z] [2024-07-31T02:32:42.762Z] Login Succeeded [2024-07-31T02:32:42.762Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:32:43.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:32:43.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:32:43.023Z] Configure a credential helper to remove this warning. See [2024-07-31T02:32:43.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:32:43.023Z] [2024-07-31T02:32:43.023Z] Login Succeeded [2024-07-31T02:32:43.023Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:32:43.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:32:43.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:32:43.023Z] Configure a credential helper to remove this warning. See [2024-07-31T02:32:43.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:32:43.023Z] [2024-07-31T02:32:43.023Z] Login Succeeded [2024-07-31T02:32:43.023Z] ****.io [2024-07-31T02:32:43.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:32:43.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:32:43.283Z] Configure a credential helper to remove this warning. See [2024-07-31T02:32:43.284Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:32:43.284Z] [2024-07-31T02:32:43.284Z] Login Succeeded [2024-07-31T02:32:43.284Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:32:43.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:32:43.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:32:43.392Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2024-07-31T02:32:43.392Z] 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [2024-07-31T02:32:43.392Z] latest [2024-07-31T02:32:43.392Z] 3.2.0-dev.17 [2024-07-31T02:32:43.392Z] 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 [2024-07-31T02:32:43.392Z] main [2024-07-31T02:32:43.392Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:43.745Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:44.080Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [2024-07-31T02:32:44.080Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-07-31T02:32:44.080Z] e10666f5ad7d: Preparing [2024-07-31T02:32:44.080Z] edab445502fd: Preparing [2024-07-31T02:32:44.080Z] dd724662b47c: Preparing [2024-07-31T02:32:44.080Z] f038616be4c2: Preparing [2024-07-31T02:32:44.080Z] a05927cc590f: Preparing [2024-07-31T02:32:44.080Z] ce7f800efff9: Preparing [2024-07-31T02:32:44.080Z] ce7f800efff9: Waiting [2024-07-31T02:32:44.080Z] f038616be4c2: Pushed [2024-07-31T02:32:44.080Z] a05927cc590f: Pushed [2024-07-31T02:32:44.080Z] edab445502fd: Pushed [2024-07-31T02:32:44.080Z] e10666f5ad7d: Pushed [2024-07-31T02:32:44.080Z] ce7f800efff9: Layer already exists [2024-07-31T02:32:48.277Z] dd724662b47c: Pushed [2024-07-31T02:32:48.277Z] 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:48.612Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:48.949Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2024-07-31T02:32:48.949Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-07-31T02:32:48.949Z] e10666f5ad7d: Preparing [2024-07-31T02:32:48.949Z] edab445502fd: Preparing [2024-07-31T02:32:48.949Z] dd724662b47c: Preparing [2024-07-31T02:32:48.949Z] f038616be4c2: Preparing [2024-07-31T02:32:48.949Z] a05927cc590f: Preparing [2024-07-31T02:32:48.949Z] ce7f800efff9: Preparing [2024-07-31T02:32:48.949Z] ce7f800efff9: Waiting [2024-07-31T02:32:48.949Z] f038616be4c2: Layer already exists [2024-07-31T02:32:48.949Z] dd724662b47c: Layer already exists [2024-07-31T02:32:48.949Z] edab445502fd: Layer already exists [2024-07-31T02:32:48.949Z] e10666f5ad7d: Layer already exists [2024-07-31T02:32:48.949Z] a05927cc590f: Layer already exists [2024-07-31T02:32:48.949Z] ce7f800efff9: Layer already exists [2024-07-31T02:32:48.949Z] latest: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:49.289Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:49.626Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.17 [2024-07-31T02:32:49.626Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-07-31T02:32:49.626Z] e10666f5ad7d: Preparing [2024-07-31T02:32:49.626Z] edab445502fd: Preparing [2024-07-31T02:32:49.626Z] dd724662b47c: Preparing [2024-07-31T02:32:49.626Z] f038616be4c2: Preparing [2024-07-31T02:32:49.626Z] a05927cc590f: Preparing [2024-07-31T02:32:49.626Z] ce7f800efff9: Preparing [2024-07-31T02:32:49.626Z] ce7f800efff9: Waiting [2024-07-31T02:32:49.626Z] a05927cc590f: Layer already exists [2024-07-31T02:32:49.626Z] e10666f5ad7d: Layer already exists [2024-07-31T02:32:49.626Z] dd724662b47c: Layer already exists [2024-07-31T02:32:49.626Z] edab445502fd: Layer already exists [2024-07-31T02:32:49.626Z] f038616be4c2: Layer already exists [2024-07-31T02:32:49.626Z] ce7f800efff9: Layer already exists [2024-07-31T02:32:49.626Z] 3.2.0-dev.17: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:49.967Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:50.297Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 [2024-07-31T02:32:50.297Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-07-31T02:32:50.297Z] e10666f5ad7d: Preparing [2024-07-31T02:32:50.297Z] edab445502fd: Preparing [2024-07-31T02:32:50.297Z] dd724662b47c: Preparing [2024-07-31T02:32:50.297Z] f038616be4c2: Preparing [2024-07-31T02:32:50.297Z] a05927cc590f: Preparing [2024-07-31T02:32:50.297Z] ce7f800efff9: Preparing [2024-07-31T02:32:50.297Z] ce7f800efff9: Waiting [2024-07-31T02:32:50.297Z] dd724662b47c: Layer already exists [2024-07-31T02:32:50.297Z] e10666f5ad7d: Layer already exists [2024-07-31T02:32:50.297Z] f038616be4c2: Layer already exists [2024-07-31T02:32:50.297Z] a05927cc590f: Layer already exists [2024-07-31T02:32:50.297Z] edab445502fd: Layer already exists [2024-07-31T02:32:50.297Z] ce7f800efff9: Layer already exists [2024-07-31T02:32:50.297Z] 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:50.637Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:50.969Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2024-07-31T02:32:50.969Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2024-07-31T02:32:50.969Z] e10666f5ad7d: Preparing [2024-07-31T02:32:50.969Z] edab445502fd: Preparing [2024-07-31T02:32:50.969Z] dd724662b47c: Preparing [2024-07-31T02:32:50.969Z] f038616be4c2: Preparing [2024-07-31T02:32:50.969Z] a05927cc590f: Preparing [2024-07-31T02:32:50.969Z] ce7f800efff9: Preparing [2024-07-31T02:32:50.969Z] ce7f800efff9: Waiting [2024-07-31T02:32:50.969Z] f038616be4c2: Layer already exists [2024-07-31T02:32:50.969Z] a05927cc590f: Layer already exists [2024-07-31T02:32:50.969Z] dd724662b47c: Layer already exists [2024-07-31T02:32:50.969Z] e10666f5ad7d: Layer already exists [2024-07-31T02:32:50.969Z] edab445502fd: Layer already exists [2024-07-31T02:32:50.969Z] ce7f800efff9: Layer already exists [2024-07-31T02:32:50.969Z] main: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:32:51.062Z] ===================================================== [Pipeline] echo [2024-07-31T02:32:51.074Z] taggedImages: [2024-07-31T02:32:51.074Z] - nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [2024-07-31T02:32:51.074Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2024-07-31T02:32:51.074Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.17 [2024-07-31T02:32:51.074Z] - nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 [2024-07-31T02:32:51.074Z] - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:51.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:32:51.504Z] [2024-07-31T02:32:51.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:51.807Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:32:51.807Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-31T02:32:51.807Z] 5eb5b503b376: Pulling fs layer [2024-07-31T02:32:51.807Z] 5c69ac0246d0: Pulling fs layer [2024-07-31T02:32:51.807Z] ec43610c2a17: Pulling fs layer [2024-07-31T02:32:51.807Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-31T02:32:51.807Z] 33b1e0a273af: Pulling fs layer [2024-07-31T02:32:51.807Z] 5d3b04190fa2: Pulling fs layer [2024-07-31T02:32:51.807Z] 2f39f015ded8: Pulling fs layer [2024-07-31T02:32:51.807Z] 5d3b04190fa2: Waiting [2024-07-31T02:32:51.807Z] 2f39f015ded8: Waiting [2024-07-31T02:32:51.807Z] 3a2ae6a8a46f: Waiting [2024-07-31T02:32:51.807Z] 5c69ac0246d0: Verifying Checksum [2024-07-31T02:32:51.807Z] 5c69ac0246d0: Download complete [2024-07-31T02:32:51.807Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-31T02:32:51.807Z] 33b1e0a273af: Verifying Checksum [2024-07-31T02:32:51.807Z] 33b1e0a273af: Download complete [2024-07-31T02:32:51.807Z] ec43610c2a17: Download complete [2024-07-31T02:32:51.807Z] 5d3b04190fa2: Download complete [2024-07-31T02:32:52.066Z] 5eb5b503b376: Verifying Checksum [2024-07-31T02:32:52.066Z] 5eb5b503b376: Download complete [2024-07-31T02:32:52.632Z] 2f39f015ded8: Download complete [2024-07-31T02:32:53.198Z] 5eb5b503b376: Pull complete [2024-07-31T02:32:53.198Z] 5c69ac0246d0: Pull complete [2024-07-31T02:32:53.764Z] ec43610c2a17: Pull complete [2024-07-31T02:32:53.764Z] 3a2ae6a8a46f: Pull complete [2024-07-31T02:32:54.022Z] 33b1e0a273af: Pull complete [2024-07-31T02:32:54.022Z] 5d3b04190fa2: Pull complete [2024-07-31T02:32:58.207Z] 2f39f015ded8: Pull complete [2024-07-31T02:32:58.207Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-31T02:32:58.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:32:58.207Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:32:58.306Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:32:58.339Z] $ 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-07-31T02:33:04.713Z] $ docker top ff9d506b75437f0769f14b20c4712f7526be1b5e1b1d8c3ff9bc76c4ed23d1fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:33:05.148Z] ---> job-cost.sh [2024-07-31T02:33:05.148Z] lf-activate-venv: SKIPPING [2024-07-31T02:33:05.148Z] INFO: No Stack... [2024-07-31T02:33:05.409Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T02:33:05.672Z] INFO: Archiving Costs [Pipeline] sh [2024-07-31T02:33:05.962Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2024-07-31T02:33:05.962Z] + cut -d, -f6 [Pipeline] lock [2024-07-31T02:33:05.979Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [2024-07-31T02:33:05.997Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] did not exist. Created. [2024-07-31T02:33:06.004Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T02:33:06.322Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-31T02:33:06.359Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T02:33:06.368Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T02:33:06.400Z] $ docker stop --time=1 ff9d506b75437f0769f14b20c4712f7526be1b5e1b1d8c3ff9bc76c4ed23d1fa [2024-07-31T02:33:07.549Z] $ docker rm -f --volumes ff9d506b75437f0769f14b20c4712f7526be1b5e1b1d8c3ff9bc76c4ed23d1fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-31T02:33:16.520Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6818 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2024-07-31T02:33:16.539Z] Running in /w/workspace/device-mqtt-go/171 [Pipeline] { [Pipeline] checkout [2024-07-31T02:33:19.603Z] The recommended git tool is: git [2024-07-31T02:33:27.928Z] using credential edgex-jenkins-ssh [2024-07-31T02:33:27.960Z] Cloning the remote Git repository [2024-07-31T02:33:28.044Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-31T02:33:28.179Z] > git init /w/workspace/device-mqtt-go/171 # timeout=10 [2024-07-31T02:33:28.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2024-07-31T02:33:28.450Z] > git --version # timeout=10 [2024-07-31T02:33:28.482Z] > git --version # 'git version 2.25.1' [2024-07-31T02:33:28.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-31T02:33:28.744Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T02:33:31.853Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2024-07-31T02:33:31.885Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T02:33:33.264Z] Avoid second fetch [2024-07-31T02:33:33.265Z] Checking out Revision 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af (main) [2024-07-31T02:33:34.201Z] Commit message: "Merge pull request #686 from edgexfoundry/dependabot/go_modules/github.com/eclipse/paho.mqtt.golang-1.5.0" [2024-07-31T02:33:33.298Z] > git config core.sparsecheckout # timeout=10 [2024-07-31T02:33:33.398Z] > git checkout -f 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:33:39.161Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-31T02:33:39.161Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T02:33:39.161Z] Dload Upload Total Spent Left Speed [2024-07-31T02:33:39.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2024-07-31T02:33:39.542Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-31T02:33:39.890Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-31T02:33:39.891Z] + sudo tee /etc/docker/daemon.new [2024-07-31T02:33:39.891Z] { [2024-07-31T02:33:39.891Z] "registry-mirrors": [ [2024-07-31T02:33:39.891Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-31T02:33:39.891Z] ], [2024-07-31T02:33:39.891Z] "bip": "10.250.0.254/24", [2024-07-31T02:33:39.891Z] "hosts": [ [2024-07-31T02:33:39.891Z] "tcp://0.0.0.0:5555", [2024-07-31T02:33:39.891Z] "unix:///var/run/docker.sock" [2024-07-31T02:33:39.891Z] ], [2024-07-31T02:33:39.891Z] "mtu": 1458, [2024-07-31T02:33:39.891Z] "selinux-enabled": true, [2024-07-31T02:33:39.891Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-31T02:33:39.891Z] } [Pipeline] sh [2024-07-31T02:33:40.244Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-31T02:33:40.615Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:33:58.973Z] provisioning config files... [2024-07-31T02:33:59.013Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/171@tmp/config8960628627972622828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:33:59.523Z] ---> ****-login.sh [2024-07-31T02:33:59.523Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:34:00.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:00.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:00.388Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:00.388Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:00.388Z] [2024-07-31T02:34:00.388Z] Login Succeeded [2024-07-31T02:34:00.388Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:34:00.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:00.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:00.661Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:00.661Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:00.661Z] [2024-07-31T02:34:00.661Z] Login Succeeded [2024-07-31T02:34:00.661Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:34:01.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:01.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:01.256Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:01.256Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:01.256Z] [2024-07-31T02:34:01.256Z] Login Succeeded [2024-07-31T02:34:01.256Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:34:01.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:01.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:01.800Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:01.800Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:01.800Z] [2024-07-31T02:34:01.800Z] Login Succeeded [2024-07-31T02:34:01.800Z] ****.io [2024-07-31T02:34:02.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:02.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:02.345Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:02.345Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:02.345Z] [2024-07-31T02:34:02.345Z] Login Succeeded [2024-07-31T02:34:02.345Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:34:02.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T02:34:02.823Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:34:02.845Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:34:02.866Z] ========================================================= [2024-07-31T02:34:02.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-31T02:34:02.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:03.270Z] + 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-07-31T02:34:03.868Z] Sending build context to Docker daemon 10.52MB [2024-07-31T02:34:03.868Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:34:03.868Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-31T02:34:03.868Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-31T02:34:03.868Z] c6b39de5b339: Pulling fs layer [2024-07-31T02:34:03.868Z] a69c41024577: Pulling fs layer [2024-07-31T02:34:03.868Z] d6de4b400683: Pulling fs layer [2024-07-31T02:34:03.868Z] 35cb2a7552d0: Pulling fs layer [2024-07-31T02:34:03.868Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T02:34:03.868Z] 464afbd9ba4c: Pulling fs layer [2024-07-31T02:34:03.868Z] 00f215d4a9da: Pulling fs layer [2024-07-31T02:34:03.868Z] d496ad576159: Pulling fs layer [2024-07-31T02:34:03.868Z] 4f4fb700ef54: Waiting [2024-07-31T02:34:03.868Z] 464afbd9ba4c: Waiting [2024-07-31T02:34:03.868Z] 00f215d4a9da: Waiting [2024-07-31T02:34:03.868Z] d496ad576159: Waiting [2024-07-31T02:34:03.868Z] 35cb2a7552d0: Waiting [2024-07-31T02:34:04.142Z] a69c41024577: Verifying Checksum [2024-07-31T02:34:04.142Z] a69c41024577: Download complete [2024-07-31T02:34:04.142Z] 35cb2a7552d0: Verifying Checksum [2024-07-31T02:34:04.142Z] 35cb2a7552d0: Download complete [2024-07-31T02:34:04.142Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T02:34:04.142Z] 4f4fb700ef54: Download complete [2024-07-31T02:34:04.142Z] c6b39de5b339: Verifying Checksum [2024-07-31T02:34:04.142Z] c6b39de5b339: Download complete [2024-07-31T02:34:04.142Z] 464afbd9ba4c: Verifying Checksum [2024-07-31T02:34:04.142Z] 464afbd9ba4c: Download complete [2024-07-31T02:34:04.417Z] d496ad576159: Verifying Checksum [2024-07-31T02:34:04.417Z] d496ad576159: Download complete [2024-07-31T02:34:05.009Z] c6b39de5b339: Pull complete [2024-07-31T02:34:05.606Z] a69c41024577: Pull complete [2024-07-31T02:34:06.202Z] d6de4b400683: Verifying Checksum [2024-07-31T02:34:06.202Z] d6de4b400683: Download complete [2024-07-31T02:34:07.177Z] 00f215d4a9da: Verifying Checksum [2024-07-31T02:34:07.177Z] 00f215d4a9da: Download complete [2024-07-31T02:34:22.217Z] d6de4b400683: Pull complete [2024-07-31T02:34:22.217Z] 35cb2a7552d0: Pull complete [2024-07-31T02:34:22.217Z] 4f4fb700ef54: Pull complete [2024-07-31T02:34:22.217Z] 464afbd9ba4c: Pull complete [2024-07-31T02:34:30.452Z] 00f215d4a9da: Pull complete [2024-07-31T02:34:33.815Z] d496ad576159: Pull complete [2024-07-31T02:34:33.815Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-31T02:34:33.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-31T02:34:33.815Z] ---> f246e2811388 [2024-07-31T02:34:33.815Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:34:35.258Z] ---> Running in 203115a86c7a [2024-07-31T02:34:35.852Z] Removing intermediate container 203115a86c7a [2024-07-31T02:34:35.852Z] ---> 4aeed5c1cfb9 [2024-07-31T02:34:35.852Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:34:35.852Z] ---> Running in 3a676940fff3 [2024-07-31T02:34:36.555Z] Removing intermediate container 3a676940fff3 [2024-07-31T02:34:36.555Z] ---> 4d19f3b49e47 [2024-07-31T02:34:36.555Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:34:36.555Z] ---> Running in e9ba52571ac9 [2024-07-31T02:34:36.840Z] Removing intermediate container e9ba52571ac9 [2024-07-31T02:34:36.840Z] ---> 8f086402d955 [2024-07-31T02:34:36.840Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:34:36.840Z] ---> Running in e1abddda90cf [2024-07-31T02:34:37.433Z] Removing intermediate container e1abddda90cf [2024-07-31T02:34:37.433Z] ---> e3d5a5e59111 [2024-07-31T02:34:37.433Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:34:37.433Z] ---> Running in f16fd5671e8a [2024-07-31T02:34:38.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:34:39.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:34:40.547Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-31T02:34:40.547Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-31T02:34:40.547Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-31T02:34:40.547Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-31T02:34:40.547Z] Executing busybox-1.36.1-r5.trigger [2024-07-31T02:34:40.547Z] OK: 271 MiB in 56 packages [2024-07-31T02:34:41.511Z] Removing intermediate container f16fd5671e8a [2024-07-31T02:34:41.512Z] ---> e7168044abc0 [2024-07-31T02:34:41.512Z] Step 8/12 : WORKDIR /device-mqtt-go [2024-07-31T02:34:41.782Z] ---> Running in 945c82b611a7 [2024-07-31T02:34:42.055Z] Removing intermediate container 945c82b611a7 [2024-07-31T02:34:42.055Z] ---> 47e5e08b1e42 [2024-07-31T02:34:42.055Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-31T02:34:43.099Z] ---> 369f21066969 [2024-07-31T02:34:43.099Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:34:43.099Z] ---> Running in 30cefa265c80 [2024-07-31T02:36:49.904Z] Removing intermediate container 30cefa265c80 [2024-07-31T02:36:49.904Z] ---> 2d77e5a51988 [2024-07-31T02:36:49.904Z] Step 11/12 : COPY . . [2024-07-31T02:36:49.904Z] ---> e23aec2c3c09 [2024-07-31T02:36:49.904Z] Step 12/12 : RUN $MAKE [2024-07-31T02:36:49.904Z] ---> Running in 05eaec08ac9b [2024-07-31T02:36:49.904Z] noop [2024-07-31T02:36:49.904Z] Removing intermediate container 05eaec08ac9b [2024-07-31T02:36:49.904Z] ---> a5d149900d32 [2024-07-31T02:36:49.904Z] Successfully built a5d149900d32 [2024-07-31T02:36:49.904Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:36:50.282Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T02:36:50.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:36:50.550Z] prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container [2024-07-31T02:36:50.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/171 -v /w/workspace/device-mqtt-go/171:/w/workspace/device-mqtt-go/171:rw,z -v /w/workspace/device-mqtt-go/171@tmp:/w/workspace/device-mqtt-go/171@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-07-31T02:36:52.150Z] $ docker top 0cecaaefd815b0b07ca1589ec67539e20ca0ab9104c0eff91a4d63a7fb324d5b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:36:53.070Z] + go version [2024-07-31T02:36:53.071Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-31T02:36:53.113Z] $ docker stop --time=1 0cecaaefd815b0b07ca1589ec67539e20ca0ab9104c0eff91a4d63a7fb324d5b [2024-07-31T02:36:54.880Z] $ docker rm -f --volumes 0cecaaefd815b0b07ca1589ec67539e20ca0ab9104c0eff91a4d63a7fb324d5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:36:55.500Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T02:36:55.500Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:36:55.727Z] prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container [2024-07-31T02:36:55.807Z] $ 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/171 -v /w/workspace/device-mqtt-go/171:/w/workspace/device-mqtt-go/171:rw,z -v /w/workspace/device-mqtt-go/171@tmp:/w/workspace/device-mqtt-go/171@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-07-31T02:36:57.035Z] $ docker top a23a024f7512b49b46680d3e29dda7efead46037a21005ec5eac4f6c7cd46dba -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:36:57.900Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/171 [Pipeline] fileExists [Pipeline] sh [2024-07-31T02:36:58.561Z] + make test [2024-07-31T02:36:58.561Z] go test ./... -coverprofile=coverage.out ./... [2024-07-31T02:37:05.251Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2024-07-31T02:40:57.249Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2024-07-31T02:40:57.249Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2024-07-31T02:40:57.249Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.8% of statements [2024-07-31T02:40:57.839Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-31T02:40:57.839Z] go vet ./... [2024-07-31T02:41:54.328Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T02:41:54.328Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T02:41:54.328Z] ./bin/test-attribution-txt.sh [2024-07-31T02:41:54.328Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T02:41:54.328Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T02:41:54.350Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T02:41:54.383Z] $ docker stop --time=1 a23a024f7512b49b46680d3e29dda7efead46037a21005ec5eac4f6c7cd46dba [2024-07-31T02:41:56.751Z] $ docker rm -f --volumes a23a024f7512b49b46680d3e29dda7efead46037a21005ec5eac4f6c7cd46dba [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:41:58.500Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T02:41:58.531Z] Warning: overwriting stash ‘coverage-report’ [2024-07-31T02:41:59.121Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:41:59.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T02:41:59.907Z] + ls -al . [2024-07-31T02:41:59.907Z] total 248 [2024-07-31T02:41:59.907Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:37 . [2024-07-31T02:41:59.907Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:33 .. [2024-07-31T02:41:59.907Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:33 .dockerignore [2024-07-31T02:41:59.907Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:33 .git [2024-07-31T02:41:59.907Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:33 .github [2024-07-31T02:41:59.907Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:33 .gitignore [2024-07-31T02:41:59.907Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:33 .golangci.yml [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 10386 Jul 31 02:33 Attribution.txt [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 18574 Jul 31 02:33 CHANGELOG.md [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 1798 Jul 31 02:33 Dockerfile [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:33 GOVERNANCE.md [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 02:33 Jenkinsfile [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:33 LICENSE [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 1963 Jul 31 02:33 Makefile [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:33 OWNERS.md [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 3599 Jul 31 02:33 README.md [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:29 VERSION [2024-07-31T02:41:59.908Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:33 bin [2024-07-31T02:41:59.908Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:33 cmd [2024-07-31T02:41:59.908Z] -rw-r--r-- 1 jenkins jenkins 18506 Jul 31 02:40 coverage.out [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 7065 Jul 31 02:33 go.mod [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:33 go.sum [2024-07-31T02:41:59.908Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:33 internal [2024-07-31T02:41:59.908Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:33 mock [2024-07-31T02:41:59.908Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 31 02:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:42:00.290Z] + 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=8bf5b7d36c28be4da0349ec8b67dab2a1672f7af --label arch=arm64 --label version=3.2.0-dev.17 . [2024-07-31T02:42:00.878Z] Sending build context to Docker daemon 10.54MB [2024-07-31T02:42:00.878Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:42:00.878Z] Step 2/25 : FROM ${BASE} AS builder [2024-07-31T02:42:00.878Z] ---> a5d149900d32 [2024-07-31T02:42:00.878Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:42:01.145Z] ---> Running in cd6c134e9292 [2024-07-31T02:42:01.413Z] Removing intermediate container cd6c134e9292 [2024-07-31T02:42:01.413Z] ---> a762da1b5ff9 [2024-07-31T02:42:01.413Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:42:01.413Z] ---> Running in 5ed7d888374d [2024-07-31T02:42:02.011Z] Removing intermediate container 5ed7d888374d [2024-07-31T02:42:02.011Z] ---> dbfffe2d2eda [2024-07-31T02:42:02.011Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:42:02.011Z] ---> Running in 185001a04087 [2024-07-31T02:42:02.282Z] Removing intermediate container 185001a04087 [2024-07-31T02:42:02.282Z] ---> b95b60d23b07 [2024-07-31T02:42:02.282Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:42:02.282Z] ---> Running in 043b0e80ad10 [2024-07-31T02:42:02.870Z] Removing intermediate container 043b0e80ad10 [2024-07-31T02:42:02.870Z] ---> db7e8250e999 [2024-07-31T02:42:02.870Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:42:02.870Z] ---> Running in 575615b50e0e [2024-07-31T02:42:03.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:42:04.438Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:42:05.866Z] OK: 271 MiB in 56 packages [2024-07-31T02:42:06.835Z] Removing intermediate container 575615b50e0e [2024-07-31T02:42:06.835Z] ---> 217bf7483120 [2024-07-31T02:42:06.835Z] Step 8/25 : WORKDIR /device-mqtt-go [2024-07-31T02:42:06.835Z] ---> Running in 8b38258c4907 [2024-07-31T02:42:07.102Z] Removing intermediate container 8b38258c4907 [2024-07-31T02:42:07.102Z] ---> ea6f669fc64c [2024-07-31T02:42:07.102Z] Step 9/25 : COPY go.mod vendor* ./ [2024-07-31T02:42:07.750Z] ---> 096ce5a20e37 [2024-07-31T02:42:07.750Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:42:07.750Z] ---> Running in a121cc61691d [2024-07-31T02:42:10.330Z] Removing intermediate container a121cc61691d [2024-07-31T02:42:10.331Z] ---> 39d23c315452 [2024-07-31T02:42:10.331Z] Step 11/25 : COPY . . [2024-07-31T02:42:11.298Z] ---> 2bebea3b0932 [2024-07-31T02:42:11.298Z] Step 12/25 : RUN $MAKE [2024-07-31T02:42:11.298Z] ---> Running in 95b24e439829 [2024-07-31T02:42:12.709Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.17 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.27" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd [2024-07-31T02:46:34.681Z] Removing intermediate container 95b24e439829 [2024-07-31T02:46:34.681Z] ---> 1e6bef082797 [2024-07-31T02:46:34.681Z] Step 13/25 : FROM alpine:3.18 [2024-07-31T02:46:34.681Z] 3.18: Pulling from library/alpine [2024-07-31T02:46:34.681Z] 4983c3fe2029: Pulling fs layer [2024-07-31T02:46:34.681Z] 4983c3fe2029: Verifying Checksum [2024-07-31T02:46:34.681Z] 4983c3fe2029: Download complete [2024-07-31T02:46:34.681Z] 4983c3fe2029: Pull complete [2024-07-31T02:46:34.681Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T02:46:34.681Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T02:46:34.681Z] ---> a0237000ae83 [2024-07-31T02:46:34.681Z] Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2024-07-31T02:46:34.681Z] ---> Running in 32a5030658b4 [2024-07-31T02:46:34.681Z] Removing intermediate container 32a5030658b4 [2024-07-31T02:46:34.681Z] ---> e28fa90944fd [2024-07-31T02:46:34.681Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2024-07-31T02:46:34.681Z] ---> Running in f3c673054381 [2024-07-31T02:46:34.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:46:34.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:46:34.681Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T02:46:34.681Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T02:46:34.681Z] OK: 8 MiB in 16 packages [2024-07-31T02:46:34.681Z] Removing intermediate container f3c673054381 [2024-07-31T02:46:34.681Z] ---> 19d2a4580fed [2024-07-31T02:46:34.681Z] Step 16/25 : RUN apk --no-cache upgrade [2024-07-31T02:46:34.681Z] ---> Running in 71ace21a7e23 [2024-07-31T02:46:34.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:46:34.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:46:34.681Z] OK: 8 MiB in 16 packages [2024-07-31T02:46:34.681Z] Removing intermediate container 71ace21a7e23 [2024-07-31T02:46:34.681Z] ---> 28f69042edc8 [2024-07-31T02:46:34.681Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2024-07-31T02:46:36.636Z] ---> 3a733256f2d4 [2024-07-31T02:46:36.636Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2024-07-31T02:46:37.230Z] ---> 0c35b799d41e [2024-07-31T02:46:37.230Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2024-07-31T02:46:37.817Z] ---> cdaf92396d5e [2024-07-31T02:46:37.817Z] Step 20/25 : EXPOSE 59982 [2024-07-31T02:46:37.817Z] ---> Running in cd54c99ce5f2 [2024-07-31T02:46:38.089Z] Removing intermediate container cd54c99ce5f2 [2024-07-31T02:46:38.089Z] ---> 06ec8c359935 [2024-07-31T02:46:38.089Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2024-07-31T02:46:38.363Z] ---> Running in 462e7bc96a9d [2024-07-31T02:46:38.634Z] Removing intermediate container 462e7bc96a9d [2024-07-31T02:46:38.634Z] ---> e74a9e85ee0d [2024-07-31T02:46:38.634Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-31T02:46:38.634Z] ---> Running in a6b0b412e20e [2024-07-31T02:46:38.911Z] Removing intermediate container a6b0b412e20e [2024-07-31T02:46:38.911Z] ---> 4e60e8e875e8 [2024-07-31T02:46:38.911Z] Step 23/25 : LABEL arch=arm64 [2024-07-31T02:46:38.911Z] ---> Running in b340b6d9d9e3 [2024-07-31T02:46:39.511Z] Removing intermediate container b340b6d9d9e3 [2024-07-31T02:46:39.511Z] ---> 2c4face21ef4 [2024-07-31T02:46:39.511Z] Step 24/25 : LABEL git_sha=8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [2024-07-31T02:46:39.511Z] ---> Running in 4a6d07fdd93f [2024-07-31T02:46:39.780Z] Removing intermediate container 4a6d07fdd93f [2024-07-31T02:46:39.780Z] ---> ce308e23851e [2024-07-31T02:46:39.780Z] Step 25/25 : LABEL version=3.2.0-dev.17 [2024-07-31T02:46:39.780Z] ---> Running in 5b1280401dfa [2024-07-31T02:46:40.370Z] Removing intermediate container 5b1280401dfa [2024-07-31T02:46:40.370Z] ---> 4c4e3619d17f [2024-07-31T02:46:40.370Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T02:46:40.370Z] Successfully built 4c4e3619d17f [2024-07-31T02:46:40.370Z] 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-07-31T02:46:40.527Z] provisioning config files... [2024-07-31T02:46:40.547Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/171@tmp/config10171049521527796021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:46:40.911Z] ---> ****-login.sh [2024-07-31T02:46:40.911Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:46:41.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:46:41.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:46:41.179Z] Configure a credential helper to remove this warning. See [2024-07-31T02:46:41.179Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:46:41.179Z] [2024-07-31T02:46:41.179Z] Login Succeeded [2024-07-31T02:46:41.179Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:46:41.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:46:41.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:46:41.719Z] Configure a credential helper to remove this warning. See [2024-07-31T02:46:41.719Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:46:41.719Z] [2024-07-31T02:46:41.719Z] Login Succeeded [2024-07-31T02:46:41.719Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:46:41.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:46:42.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:46:42.257Z] Configure a credential helper to remove this warning. See [2024-07-31T02:46:42.257Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:46:42.257Z] [2024-07-31T02:46:42.257Z] Login Succeeded [2024-07-31T02:46:42.257Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:46:42.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:46:42.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:46:42.529Z] Configure a credential helper to remove this warning. See [2024-07-31T02:46:42.529Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:46:42.529Z] [2024-07-31T02:46:42.529Z] Login Succeeded [2024-07-31T02:46:42.529Z] ****.io [2024-07-31T02:46:42.798Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:46:43.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:46:43.075Z] Configure a credential helper to remove this warning. See [2024-07-31T02:46:43.075Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:46:43.075Z] [2024-07-31T02:46:43.075Z] Login Succeeded [2024-07-31T02:46:43.345Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:46:43.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:46:43.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:46:43.444Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2024-07-31T02:46:43.444Z] 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [2024-07-31T02:46:43.444Z] latest [2024-07-31T02:46:43.444Z] 3.2.0-dev.17 [2024-07-31T02:46:43.444Z] 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 [2024-07-31T02:46:43.444Z] main [2024-07-31T02:46:43.444Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:43.835Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:44.213Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [2024-07-31T02:46:44.213Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-07-31T02:46:44.213Z] 2bb30cf8744a: Preparing [2024-07-31T02:46:44.213Z] e9e99a41f7f3: Preparing [2024-07-31T02:46:44.213Z] 6f484fb6c256: Preparing [2024-07-31T02:46:44.213Z] 29a2fcf98be5: Preparing [2024-07-31T02:46:44.213Z] 4874ddb6bb31: Preparing [2024-07-31T02:46:44.213Z] 3c20671a5817: Preparing [2024-07-31T02:46:44.213Z] 3c20671a5817: Waiting [2024-07-31T02:46:44.481Z] 2bb30cf8744a: Pushed [2024-07-31T02:46:44.481Z] e9e99a41f7f3: Pushed [2024-07-31T02:46:44.481Z] 29a2fcf98be5: Pushed [2024-07-31T02:46:44.481Z] 4874ddb6bb31: Pushed [2024-07-31T02:46:44.481Z] 3c20671a5817: Layer already exists [2024-07-31T02:46:54.581Z] 6f484fb6c256: Pushed [2024-07-31T02:46:54.850Z] 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:55.234Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:55.618Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2024-07-31T02:46:55.618Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-07-31T02:46:55.618Z] 2bb30cf8744a: Preparing [2024-07-31T02:46:55.618Z] e9e99a41f7f3: Preparing [2024-07-31T02:46:55.618Z] 6f484fb6c256: Preparing [2024-07-31T02:46:55.618Z] 29a2fcf98be5: Preparing [2024-07-31T02:46:55.618Z] 4874ddb6bb31: Preparing [2024-07-31T02:46:55.618Z] 3c20671a5817: Preparing [2024-07-31T02:46:55.618Z] 3c20671a5817: Waiting [2024-07-31T02:46:55.618Z] 29a2fcf98be5: Layer already exists [2024-07-31T02:46:55.618Z] 6f484fb6c256: Layer already exists [2024-07-31T02:46:55.618Z] e9e99a41f7f3: Layer already exists [2024-07-31T02:46:55.618Z] 2bb30cf8744a: Layer already exists [2024-07-31T02:46:55.618Z] 4874ddb6bb31: Layer already exists [2024-07-31T02:46:55.618Z] 3c20671a5817: Layer already exists [2024-07-31T02:46:55.887Z] latest: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:56.274Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:56.673Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.17 [2024-07-31T02:46:56.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-07-31T02:46:56.673Z] 2bb30cf8744a: Preparing [2024-07-31T02:46:56.673Z] e9e99a41f7f3: Preparing [2024-07-31T02:46:56.673Z] 6f484fb6c256: Preparing [2024-07-31T02:46:56.673Z] 29a2fcf98be5: Preparing [2024-07-31T02:46:56.673Z] 4874ddb6bb31: Preparing [2024-07-31T02:46:56.673Z] 3c20671a5817: Preparing [2024-07-31T02:46:56.673Z] 3c20671a5817: Waiting [2024-07-31T02:46:56.673Z] 29a2fcf98be5: Layer already exists [2024-07-31T02:46:56.673Z] 2bb30cf8744a: Layer already exists [2024-07-31T02:46:56.673Z] 6f484fb6c256: Layer already exists [2024-07-31T02:46:56.673Z] e9e99a41f7f3: Layer already exists [2024-07-31T02:46:56.673Z] 4874ddb6bb31: Layer already exists [2024-07-31T02:46:56.673Z] 3c20671a5817: Layer already exists [2024-07-31T02:46:56.942Z] 3.2.0-dev.17: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:57.445Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:58.021Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 [2024-07-31T02:46:58.021Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-07-31T02:46:58.021Z] 2bb30cf8744a: Preparing [2024-07-31T02:46:58.021Z] e9e99a41f7f3: Preparing [2024-07-31T02:46:58.021Z] 6f484fb6c256: Preparing [2024-07-31T02:46:58.021Z] 29a2fcf98be5: Preparing [2024-07-31T02:46:58.021Z] 4874ddb6bb31: Preparing [2024-07-31T02:46:58.021Z] 3c20671a5817: Preparing [2024-07-31T02:46:58.021Z] 3c20671a5817: Waiting [2024-07-31T02:46:58.021Z] 29a2fcf98be5: Layer already exists [2024-07-31T02:46:58.021Z] 4874ddb6bb31: Layer already exists [2024-07-31T02:46:58.021Z] 6f484fb6c256: Layer already exists [2024-07-31T02:46:58.021Z] 2bb30cf8744a: Layer already exists [2024-07-31T02:46:58.021Z] e9e99a41f7f3: Layer already exists [2024-07-31T02:46:58.021Z] 3c20671a5817: Layer already exists [2024-07-31T02:46:58.302Z] 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:58.698Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:46:59.104Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2024-07-31T02:46:59.104Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2024-07-31T02:46:59.104Z] 2bb30cf8744a: Preparing [2024-07-31T02:46:59.104Z] e9e99a41f7f3: Preparing [2024-07-31T02:46:59.104Z] 6f484fb6c256: Preparing [2024-07-31T02:46:59.104Z] 29a2fcf98be5: Preparing [2024-07-31T02:46:59.104Z] 4874ddb6bb31: Preparing [2024-07-31T02:46:59.104Z] 3c20671a5817: Preparing [2024-07-31T02:46:59.104Z] 3c20671a5817: Waiting [2024-07-31T02:46:59.104Z] 6f484fb6c256: Layer already exists [2024-07-31T02:46:59.104Z] 4874ddb6bb31: Layer already exists [2024-07-31T02:46:59.104Z] 2bb30cf8744a: Layer already exists [2024-07-31T02:46:59.104Z] e9e99a41f7f3: Layer already exists [2024-07-31T02:46:59.104Z] 29a2fcf98be5: Layer already exists [2024-07-31T02:46:59.104Z] 3c20671a5817: Layer already exists [2024-07-31T02:46:59.376Z] main: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:46:59.472Z] ===================================================== [Pipeline] echo [2024-07-31T02:46:59.490Z] taggedImages: [2024-07-31T02:46:59.490Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [2024-07-31T02:46:59.490Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2024-07-31T02:46:59.490Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.17 [2024-07-31T02:46:59.490Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 [2024-07-31T02:46:59.490Z] - 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-07-31T02:47:00.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:47:00.082Z] [2024-07-31T02:47:00.082Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:47:00.436Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:47:00.705Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-31T02:47:00.705Z] 8998bd30e6a1: Pulling fs layer [2024-07-31T02:47:00.705Z] 04944245beec: Pulling fs layer [2024-07-31T02:47:00.705Z] 699f458cf7ca: Pulling fs layer [2024-07-31T02:47:00.705Z] 765212b225bb: Pulling fs layer [2024-07-31T02:47:00.705Z] f23df028b6ca: Pulling fs layer [2024-07-31T02:47:00.705Z] d65c8cfc05b1: Pulling fs layer [2024-07-31T02:47:00.705Z] 2437ff75d9bd: Pulling fs layer [2024-07-31T02:47:00.705Z] f23df028b6ca: Waiting [2024-07-31T02:47:00.705Z] d65c8cfc05b1: Waiting [2024-07-31T02:47:00.705Z] 765212b225bb: Waiting [2024-07-31T02:47:00.705Z] 2437ff75d9bd: Waiting [2024-07-31T02:47:00.705Z] 04944245beec: Verifying Checksum [2024-07-31T02:47:00.705Z] 04944245beec: Download complete [2024-07-31T02:47:00.705Z] 765212b225bb: Verifying Checksum [2024-07-31T02:47:00.705Z] 765212b225bb: Download complete [2024-07-31T02:47:00.705Z] f23df028b6ca: Download complete [2024-07-31T02:47:00.705Z] d65c8cfc05b1: Verifying Checksum [2024-07-31T02:47:00.705Z] d65c8cfc05b1: Download complete [2024-07-31T02:47:00.976Z] 699f458cf7ca: Verifying Checksum [2024-07-31T02:47:00.976Z] 699f458cf7ca: Download complete [2024-07-31T02:47:01.564Z] 8998bd30e6a1: Verifying Checksum [2024-07-31T02:47:01.564Z] 8998bd30e6a1: Download complete [2024-07-31T02:47:04.159Z] 2437ff75d9bd: Verifying Checksum [2024-07-31T02:47:04.159Z] 2437ff75d9bd: Download complete [2024-07-31T02:47:06.747Z] 8998bd30e6a1: Pull complete [2024-07-31T02:47:07.332Z] 04944245beec: Pull complete [2024-07-31T02:47:09.279Z] 699f458cf7ca: Pull complete [2024-07-31T02:47:09.279Z] 765212b225bb: Pull complete [2024-07-31T02:47:10.257Z] f23df028b6ca: Pull complete [2024-07-31T02:47:10.525Z] d65c8cfc05b1: Pull complete [2024-07-31T02:47:28.765Z] 2437ff75d9bd: Pull complete [2024-07-31T02:47:28.765Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-31T02:47:28.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:47:28.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:47:29.006Z] prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container [2024-07-31T02:47:29.098Z] $ 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/171 -v /w/workspace/device-mqtt-go/171:/w/workspace/device-mqtt-go/171:rw,z -v /w/workspace/device-mqtt-go/171@tmp:/w/workspace/device-mqtt-go/171@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-07-31T02:47:32.179Z] $ docker top a57953dc9b083d5a983cd2cedc6d4ac8f4009b0b67f49931614d8f9b068cb615 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:47:33.030Z] ---> job-cost.sh [2024-07-31T02:47:33.030Z] lf-activate-venv: SKIPPING [2024-07-31T02:47:33.030Z] INFO: No Stack... [2024-07-31T02:47:33.298Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-31T02:47:34.265Z] INFO: Archiving Costs [Pipeline] sh [2024-07-31T02:47:34.919Z] + + cut -d, -f6 [2024-07-31T02:47:34.919Z] cat /w/workspace/device-mqtt-go/171/archives/cost.csv [Pipeline] lock [2024-07-31T02:47:34.959Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [2024-07-31T02:47:34.968Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] did not exist. Created. [2024-07-31T02:47:34.976Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T02:47:35.642Z] /w/workspace/device-mqtt-go/171@tmp/durable-f2acd9e3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-31T02:47:36.285Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-31T02:47:36.313Z] Warning: overwriting stash ‘stack-cost’ [2024-07-31T02:47:36.362Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T02:47:36.376Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T02:47:36.426Z] $ docker stop --time=1 a57953dc9b083d5a983cd2cedc6d4ac8f4009b0b67f49931614d8f9b068cb615 [2024-07-31T02:47:38.027Z] $ docker rm -f --volumes a57953dc9b083d5a983cd2cedc6d4ac8f4009b0b67f49931614d8f9b068cb615 [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-07-31T02:47:38.683Z] provisioning config files... [2024-07-31T02:47:38.690Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10823874710327300007tmp [Pipeline] { [Pipeline] sh [2024-07-31T02:47:38.997Z] + set +x [2024-07-31T02:47:38.997Z] + bash -s -- [2024-07-31T02:47:38.997Z] + curl -s https://codecov.io/bash [2024-07-31T02:47:38.997Z] [2024-07-31T02:47:38.997Z] _____ _ [2024-07-31T02:47:38.997Z] / ____| | | [2024-07-31T02:47:38.997Z] | | ___ __| | ___ ___ _____ __ [2024-07-31T02:47:38.997Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-31T02:47:38.997Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-31T02:47:38.997Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-31T02:47:38.997Z] Bash-1.0.6 [2024-07-31T02:47:38.997Z] [2024-07-31T02:47:38.997Z] [2024-07-31T02:47:38.997Z] ==> git version 2.25.1 found [2024-07-31T02:47:38.997Z] ==> 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-07-31T02:47:38.997Z] Release-Date: 2020-01-08 [2024-07-31T02:47:38.997Z] 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-07-31T02:47:38.997Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-31T02:47:38.997Z] ==> Jenkins CI detected. [2024-07-31T02:47:38.997Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2024-07-31T02:47:38.997Z] project root: . [2024-07-31T02:47:38.997Z] --> token set from env [2024-07-31T02:47:38.997Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-31T02:47:39.256Z] ==> Running gcov in . (disable via -X gcov) [2024-07-31T02:47:39.256Z] ==> Python coveragepy not found [2024-07-31T02:47:39.256Z] ==> Searching for coverage reports in: [2024-07-31T02:47:39.256Z] + . [2024-07-31T02:47:39.256Z] -> Found 1 reports [2024-07-31T02:47:39.256Z] ==> Detecting git/mercurial file structure [2024-07-31T02:47:39.256Z] ==> Reading reports [2024-07-31T02:47:39.256Z] + ./coverage.out bytes=18506 [2024-07-31T02:47:39.256Z] ==> Appending adjustments [2024-07-31T02:47:39.256Z] https://docs.codecov.io/docs/fixing-reports [2024-07-31T02:47:39.256Z] + Found adjustments [2024-07-31T02:47:39.256Z] ==> Gzipping contents [2024-07-31T02:47:39.256Z] 4.0K /tmp/codecov.z2Lo2w.gz [2024-07-31T02:47:39.256Z] ==> Uploading reports [2024-07-31T02:47:39.256Z] url: https://codecov.io [2024-07-31T02:47:39.256Z] query: branch=main&commit=8bf5b7d36c28be4da0349ec8b67dab2a1672f7af&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-31T02:47:39.256Z] -> Pinging Codecov [2024-07-31T02:47:39.257Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8bf5b7d36c28be4da0349ec8b67dab2a1672f7af&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-31T02:47:39.515Z] -> Uploading to [2024-07-31T02:47:39.515Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-31/7D719EC7BBE17E464838252E33014C33/8bf5b7d36c28be4da0349ec8b67dab2a1672f7af/7801aa93-9d9a-4864-a5af-ab523e895cad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T024739Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f4d00c47179f88effc7bd486fe68bd0b09824b9cc80c3a98467d8de54a96a3c6 [2024-07-31T02:47:39.515Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T02:47:39.515Z] Dload Upload Total Spent Left Speed [2024-07-31T02:47:39.774Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 14729 --:--:-- --:--:-- --:--:-- 14658 100 3049 0 0 100 3049 0 10850 --:--:-- --:--:-- --:--:-- 10812 [2024-07-31T02:47:39.774Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] } [2024-07-31T02:47:39.780Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-31T02:47:40.002Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-31T02:47:40.018Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:47:40.327Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-31T02:47:40.327Z] [2024-07-31T02:47:40.327Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:47:40.634Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-31T02:47:40.634Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-31T02:47:40.634Z] 619be1103602: Already exists [2024-07-31T02:47:40.634Z] f8ea3408117e: Pulling fs layer [2024-07-31T02:47:40.634Z] 91320369b822: Pulling fs layer [2024-07-31T02:47:40.634Z] 0406650e8295: Pulling fs layer [2024-07-31T02:47:40.634Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T02:47:40.634Z] 96d80e3f36e1: Pulling fs layer [2024-07-31T02:47:40.634Z] 4f4fb700ef54: Waiting [2024-07-31T02:47:40.634Z] bcf3aedb951c: Pulling fs layer [2024-07-31T02:47:40.634Z] 96d80e3f36e1: Waiting [2024-07-31T02:47:40.634Z] 0406650e8295: Verifying Checksum [2024-07-31T02:47:40.634Z] 0406650e8295: Download complete [2024-07-31T02:47:40.634Z] 4f4fb700ef54: Download complete [2024-07-31T02:47:40.634Z] f8ea3408117e: Verifying Checksum [2024-07-31T02:47:40.634Z] f8ea3408117e: Download complete [2024-07-31T02:47:40.893Z] f8ea3408117e: Pull complete [2024-07-31T02:47:40.893Z] 96d80e3f36e1: Verifying Checksum [2024-07-31T02:47:40.893Z] 96d80e3f36e1: Download complete [2024-07-31T02:47:41.163Z] 91320369b822: Verifying Checksum [2024-07-31T02:47:41.163Z] 91320369b822: Download complete [2024-07-31T02:47:41.729Z] bcf3aedb951c: Verifying Checksum [2024-07-31T02:47:41.729Z] bcf3aedb951c: Download complete [2024-07-31T02:47:44.252Z] 91320369b822: Pull complete [2024-07-31T02:47:44.252Z] 0406650e8295: Pull complete [2024-07-31T02:47:44.252Z] 4f4fb700ef54: Pull complete [2024-07-31T02:47:44.817Z] 96d80e3f36e1: Pull complete [2024-07-31T02:47:48.098Z] bcf3aedb951c: Pull complete [2024-07-31T02:47:48.098Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-31T02:47:48.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-31T02:47:48.098Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:47:48.213Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:47:48.257Z] $ 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:latest cat [2024-07-31T02:47:54.543Z] $ docker top 769abf33150a7d525f2d4b9ca2a4358af315a6a11edb5c23e38e8b31a074beeb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:47:54.885Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo [2024-07-31T02:47:54.895Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2024-07-31T02:47:55.174Z] + set -o pipefail [2024-07-31T02:47:55.175Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2024-07-31T02:48:03.285Z] [2024-07-31T02:48:03.285Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2024-07-31T02:48:03.285Z] [2024-07-31T02:48:03.286Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/409ff6fa-17f7-4bfa-8e6f-b67391b8df58 [2024-07-31T02:48:03.286Z] [2024-07-31T02:48:03.286Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-31T02:48:03.286Z] [2024-07-31T02:48:03.286Z] [2024-07-31T02:48:03.286Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-07-31T02:48:03.286Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-07-31T02:48:03.306Z] $ docker stop --time=1 769abf33150a7d525f2d4b9ca2a4358af315a6a11edb5c23e38e8b31a074beeb [2024-07-31T02:48:13.133Z] $ docker rm -f --volumes 769abf33150a7d525f2d4b9ca2a4358af315a6a11edb5c23e38e8b31a074beeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T02:48:14.025Z] + git log --format=format:%s -1 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] sh [2024-07-31T02:48:14.424Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:48:14.424Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:14.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:48:14.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:48:14.914Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:48:14.975Z] $ 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-07-31T02:48:15.521Z] $ docker top 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 -eo pid,comm [2024-07-31T02:48:15.566Z] 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-07-31T02:48:15.566Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:48:15.640Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:48:15.640Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:48:15.753Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:48:15.765Z] $ docker exec 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 ssh-agent [2024-07-31T02:48:15.858Z] SSH_AUTH_SOCK=/tmp/ssh-N6zk7v1K06Mh/agent.32 [2024-07-31T02:48:15.858Z] SSH_AGENT_PID=38 [2024-07-31T02:48:15.863Z] Running ssh-add (command line suppressed) [2024-07-31T02:48:15.974Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2801955767035203144.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2801955767035203144.key) [2024-07-31T02:48:15.977Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:48:16.268Z] + git semver tag [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,459 [run_tag] DEBUG tag force:False [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,459 [check_head_tag] DEBUG check head tag [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,460 [execute] INFO git cat-file --batch-check [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,460 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,464 [execute] INFO git cat-file --batch [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,464 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,478 [execute] INFO git tag -a v3.2.0-dev.17 -m v3.2.0-dev.17 [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,478 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.17', '-m', 'v3.2.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:48:16.527Z] 2024-07-31 02:48:16,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-07-31T02:48:16.527Z] 3.2.0-dev.17 [Pipeline] } [2024-07-31T02:48:16.546Z] $ docker exec --env ******** --env ******** 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 ssh-agent -k [2024-07-31T02:48:16.651Z] unset SSH_AUTH_SOCK; [2024-07-31T02:48:16.651Z] unset SSH_AGENT_PID; [2024-07-31T02:48:16.651Z] echo Agent pid 38 killed; [2024-07-31T02:48:16.652Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:48:16.993Z] + git semver [Pipeline] } [2024-07-31T02:48:17.275Z] $ docker stop --time=1 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 [2024-07-31T02:48:19.279Z] $ docker rm -f --volumes 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:19.682Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-31T02:48:19.682Z] [2024-07-31T02:48:19.682Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:19.981Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-31T02:48:19.981Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-31T02:48:19.981Z] ab5ef0e58194: Pulling fs layer [2024-07-31T02:48:19.981Z] 9712f1f96733: Pulling fs layer [2024-07-31T02:48:19.981Z] 63f879dbbcfc: Pulling fs layer [2024-07-31T02:48:19.981Z] 0d9ebad4ef96: Pulling fs layer [2024-07-31T02:48:19.981Z] e9a5061849ea: Pulling fs layer [2024-07-31T02:48:19.981Z] d747dcd14b5f: Pulling fs layer [2024-07-31T02:48:19.981Z] 2de7ff778b66: Pulling fs layer [2024-07-31T02:48:19.981Z] e9a5061849ea: Waiting [2024-07-31T02:48:19.981Z] d747dcd14b5f: Waiting [2024-07-31T02:48:19.981Z] 0d9ebad4ef96: Waiting [2024-07-31T02:48:19.981Z] 9712f1f96733: Verifying Checksum [2024-07-31T02:48:19.981Z] 9712f1f96733: Download complete [2024-07-31T02:48:20.242Z] 63f879dbbcfc: Verifying Checksum [2024-07-31T02:48:20.242Z] 63f879dbbcfc: Download complete [2024-07-31T02:48:20.500Z] e9a5061849ea: Verifying Checksum [2024-07-31T02:48:20.500Z] e9a5061849ea: Download complete [2024-07-31T02:48:20.500Z] d747dcd14b5f: Verifying Checksum [2024-07-31T02:48:20.500Z] d747dcd14b5f: Download complete [2024-07-31T02:48:20.500Z] 0d9ebad4ef96: Verifying Checksum [2024-07-31T02:48:20.500Z] 0d9ebad4ef96: Download complete [2024-07-31T02:48:20.500Z] ab5ef0e58194: Verifying Checksum [2024-07-31T02:48:20.500Z] ab5ef0e58194: Download complete [2024-07-31T02:48:20.759Z] 2de7ff778b66: Verifying Checksum [2024-07-31T02:48:20.759Z] 2de7ff778b66: Download complete [2024-07-31T02:48:23.290Z] ab5ef0e58194: Pull complete [2024-07-31T02:48:23.290Z] 9712f1f96733: Pull complete [2024-07-31T02:48:24.222Z] 63f879dbbcfc: Pull complete [2024-07-31T02:48:27.548Z] 0d9ebad4ef96: Pull complete [2024-07-31T02:48:27.548Z] e9a5061849ea: Pull complete [2024-07-31T02:48:27.548Z] d747dcd14b5f: Pull complete [2024-07-31T02:48:28.921Z] 2de7ff778b66: Pull complete [2024-07-31T02:48:28.921Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-31T02:48:28.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-31T02:48:28.921Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:48:29.023Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:48:29.062Z] $ 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-07-31T02:48:35.338Z] $ docker top fb2b4544b7e17f21be271dc0b5bc0779bbcf09cd3c460cbb3c51af4f3682f550 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:48:35.403Z] provisioning config files... [2024-07-31T02:48:35.411Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16328670928067612716tmp [2024-07-31T02:48:35.420Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14025361471526919625tmp [2024-07-31T02:48:35.427Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8157509362158537649tmp [Pipeline] { [Pipeline] echo [2024-07-31T02:48:35.457Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:35.752Z] ---> sigul-configuration.sh [2024-07-31T02:48:35.752Z] gpg: directory `/root/.gnupg' created [2024-07-31T02:48:35.752Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-31T02:48:35.752Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-31T02:48:35.752Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-31T02:48:35.752Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-31T02:48:35.752Z] gpg: CAST5 encrypted data [2024-07-31T02:48:35.752Z] gpg: encrypted with 1 passphrase [2024-07-31T02:48:35.752Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-31T02:48:36.049Z] + mkdir /home/jenkins [2024-07-31T02:48:36.049Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-31T02:48:36.434Z] + 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-07-31T02:48:36.453Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:36.748Z] ---> sigul-install.sh [2024-07-31T02:48:36.748Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-31T02:48:37.044Z] + git tag --list [2024-07-31T02:48:37.044Z] 0.7.1 [2024-07-31T02:48:37.044Z] v1.0.0 [2024-07-31T02:48:37.044Z] v1.1.0 [2024-07-31T02:48:37.044Z] v1.1.1 [2024-07-31T02:48:37.044Z] v1.2.2 [2024-07-31T02:48:37.044Z] v1.3.0 [2024-07-31T02:48:37.044Z] v1.3.1 [2024-07-31T02:48:37.044Z] v2.0.0 [2024-07-31T02:48:37.044Z] v2.1.0 [2024-07-31T02:48:37.044Z] v2.1.1 [2024-07-31T02:48:37.044Z] v2.2.0 [2024-07-31T02:48:37.044Z] v2.3.0 [2024-07-31T02:48:37.044Z] v3.0 [2024-07-31T02:48:37.044Z] v3.0.0 [2024-07-31T02:48:37.044Z] v3.1 [2024-07-31T02:48:37.044Z] v3.1.0 [2024-07-31T02:48:37.044Z] v3.1.0-dev.1 [2024-07-31T02:48:37.044Z] v3.1.0-dev.10 [2024-07-31T02:48:37.044Z] v3.1.0-dev.11 [2024-07-31T02:48:37.044Z] v3.1.0-dev.12 [2024-07-31T02:48:37.044Z] v3.1.0-dev.13 [2024-07-31T02:48:37.044Z] v3.1.0-dev.14 [2024-07-31T02:48:37.044Z] v3.1.0-dev.15 [2024-07-31T02:48:37.044Z] v3.1.0-dev.16 [2024-07-31T02:48:37.044Z] v3.1.0-dev.17 [2024-07-31T02:48:37.044Z] v3.1.0-dev.18 [2024-07-31T02:48:37.044Z] v3.1.0-dev.19 [2024-07-31T02:48:37.044Z] v3.1.0-dev.2 [2024-07-31T02:48:37.044Z] v3.1.0-dev.20 [2024-07-31T02:48:37.044Z] v3.1.0-dev.21 [2024-07-31T02:48:37.044Z] v3.1.0-dev.22 [2024-07-31T02:48:37.044Z] v3.1.0-dev.23 [2024-07-31T02:48:37.044Z] v3.1.0-dev.24 [2024-07-31T02:48:37.044Z] v3.1.0-dev.25 [2024-07-31T02:48:37.044Z] v3.1.0-dev.3 [2024-07-31T02:48:37.044Z] v3.1.0-dev.4 [2024-07-31T02:48:37.044Z] v3.1.0-dev.5 [2024-07-31T02:48:37.045Z] v3.1.0-dev.6 [2024-07-31T02:48:37.045Z] v3.1.0-dev.7 [2024-07-31T02:48:37.045Z] v3.1.0-dev.8 [2024-07-31T02:48:37.045Z] v3.1.0-dev.9 [2024-07-31T02:48:37.045Z] v3.1.1 [2024-07-31T02:48:37.045Z] v3.2.0-dev.1 [2024-07-31T02:48:37.045Z] v3.2.0-dev.10 [2024-07-31T02:48:37.045Z] v3.2.0-dev.11 [2024-07-31T02:48:37.045Z] v3.2.0-dev.12 [2024-07-31T02:48:37.045Z] v3.2.0-dev.13 [2024-07-31T02:48:37.045Z] v3.2.0-dev.14 [2024-07-31T02:48:37.045Z] v3.2.0-dev.15 [2024-07-31T02:48:37.045Z] v3.2.0-dev.16 [2024-07-31T02:48:37.045Z] v3.2.0-dev.17 [2024-07-31T02:48:37.045Z] v3.2.0-dev.2 [2024-07-31T02:48:37.045Z] v3.2.0-dev.3 [2024-07-31T02:48:37.045Z] v3.2.0-dev.4 [2024-07-31T02:48:37.045Z] v3.2.0-dev.5 [2024-07-31T02:48:37.045Z] v3.2.0-dev.6 [2024-07-31T02:48:37.045Z] v3.2.0-dev.7 [2024-07-31T02:48:37.045Z] v3.2.0-dev.8 [2024-07-31T02:48:37.045Z] v3.2.0-dev.9 [Pipeline] sh [2024-07-31T02:48:37.337Z] + lftools sign git-tag v3.2.0-dev.17 [2024-07-31T02:48:37.906Z] Signing Git tag with Sigul... [2024-07-31T02:48:37.906Z] Signing v3.2.0-dev.17 [Pipeline] echo [2024-07-31T02:48:38.293Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:38.586Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-31T02:48:38.595Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-31T02:48:38.632Z] $ docker stop --time=1 fb2b4544b7e17f21be271dc0b5bc0779bbcf09cd3c460cbb3c51af4f3682f550 [2024-07-31T02:48:39.906Z] $ docker rm -f --volumes fb2b4544b7e17f21be271dc0b5bc0779bbcf09cd3c460cbb3c51af4f3682f550 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-31T02:48:40.353Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:48:40.353Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:40.658Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:48:40.658Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:48:40.738Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:48:40.777Z] $ 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-07-31T02:48:41.133Z] $ docker top d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a -eo pid,comm [2024-07-31T02:48:41.174Z] 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-07-31T02:48:41.174Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:48:41.254Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:48:41.254Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:48:41.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:48:41.371Z] $ docker exec d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a ssh-agent [2024-07-31T02:48:41.461Z] SSH_AUTH_SOCK=/tmp/ssh-8rQvdK8E4DK3/agent.33 [2024-07-31T02:48:41.461Z] SSH_AGENT_PID=39 [2024-07-31T02:48:41.465Z] Running ssh-add (command line suppressed) [2024-07-31T02:48:41.596Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18192012451209671462.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_18192012451209671462.key) [2024-07-31T02:48:41.602Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:48:41.896Z] + git semver bump pre [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,077 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,077 [bump_version] DEBUG bumping version:3.2.0-dev.17 on axis:pre with prefix:dev [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,077 [bump_version] DEBUG bumped version:3.2.0-dev.18 [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,077 [write_version] DEBUG write version:3.2.0-dev.18 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,078 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,078 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,082 [execute] INFO git cat-file --batch-check [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,089 [execute] INFO git cat-file --batch [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,089 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T02:48:42.156Z] 2024-07-31 02:48:42,094 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-07-31T02:48:42.156Z] 3.2.0-dev.18 [Pipeline] } [2024-07-31T02:48:42.174Z] $ docker exec --env ******** --env ******** d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a ssh-agent -k [2024-07-31T02:48:42.266Z] unset SSH_AUTH_SOCK; [2024-07-31T02:48:42.266Z] unset SSH_AGENT_PID; [2024-07-31T02:48:42.266Z] echo Agent pid 39 killed; [2024-07-31T02:48:42.265Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:48:42.594Z] + git semver [Pipeline] } [2024-07-31T02:48:42.873Z] $ docker stop --time=1 d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a [2024-07-31T02:48:44.120Z] $ docker rm -f --volumes d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:48:44.477Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:48:44.477Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:44.779Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:48:44.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:48:44.862Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:48:44.901Z] $ 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-07-31T02:48:45.222Z] $ docker top 58008758f4798ad29707acf2e74a0f089886c09c6e5d6e96d36b05dc3eb39d4d -eo pid,comm [2024-07-31T02:48:45.251Z] 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-07-31T02:48:45.251Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:48:45.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:48:45.313Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:48:45.423Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:48:45.434Z] $ docker exec 58008758f4798ad29707acf2e74a0f089886c09c6e5d6e96d36b05dc3eb39d4d ssh-agent [2024-07-31T02:48:45.533Z] SSH_AUTH_SOCK=/tmp/ssh-H03ffKmZhTEm/agent.31 [2024-07-31T02:48:45.533Z] SSH_AGENT_PID=37 [2024-07-31T02:48:45.537Z] Running ssh-add (command line suppressed) [2024-07-31T02:48:45.643Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1528101876196520357.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1528101876196520357.key) [2024-07-31T02:48:45.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:48:45.940Z] + git semver push [2024-07-31T02:48:46.201Z] 2024-07-31 02:48:46,119 [run_push] DEBUG push [2024-07-31T02:48:46.201Z] 2024-07-31 02:48:46,120 [execute] INFO git cat-file --batch-check [2024-07-31T02:48:46.201Z] 2024-07-31 02:48:46,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T02:48:46.201Z] 2024-07-31 02:48:46,123 [execute] INFO git rev-list 65274ad43b975361d5d3ad574e042b06e138ae07 -- [2024-07-31T02:48:46.201Z] 2024-07-31 02:48:46,124 [execute] DEBUG Popen(['git', 'rev-list', '65274ad43b975361d5d3ad574e042b06e138ae07', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:48:46.201Z] 2024-07-31 02:48:46,132 [execute] INFO git fetch -v origin [2024-07-31T02:48:46.201Z] 2024-07-31 02:48:46,132 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-07-31T02:48:46.769Z] 2024-07-31 02:48:46,584 [run_push] DEBUG no remote changes detected [2024-07-31T02:48:46.769Z] 2024-07-31 02:48:46,584 [execute] INFO git push origin semver [2024-07-31T02:48:46.769Z] 2024-07-31 02:48:46,585 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:48:47.707Z] 2024-07-31 02:48:47,368 [run_push] DEBUG push all version tags [2024-07-31T02:48:47.707Z] 2024-07-31 02:48:47,368 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-31T02:48:47.707Z] 2024-07-31 02:48:47,369 [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-07-31T02:48:48.277Z] 2024-07-31 02:48:48,056 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2024-07-31T02:48:48.277Z] 3.2.0-dev.18 [Pipeline] } [2024-07-31T02:48:48.293Z] $ docker exec --env ******** --env ******** 58008758f4798ad29707acf2e74a0f089886c09c6e5d6e96d36b05dc3eb39d4d ssh-agent -k [2024-07-31T02:48:48.382Z] unset SSH_AUTH_SOCK; [2024-07-31T02:48:48.382Z] unset SSH_AGENT_PID; [2024-07-31T02:48:48.382Z] echo Agent pid 37 killed; [2024-07-31T02:48:48.383Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:48:48.711Z] + git semver [Pipeline] } [2024-07-31T02:48:48.991Z] $ docker stop --time=1 58008758f4798ad29707acf2e74a0f089886c09c6e5d6e96d36b05dc3eb39d4d [2024-07-31T02:48:50.291Z] $ docker rm -f --volumes 58008758f4798ad29707acf2e74a0f089886c09c6e5d6e96d36b05dc3eb39d4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-07-31T02:48:50.931Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2024-07-31T02:48:50.931Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2024-07-31T02:48:50.931Z] total 16 [2024-07-31T02:48:50.931Z] drwxr-xr-x 3 root root 4096 Jul 31 02:33 . [2024-07-31T02:48:50.931Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 02:48 .. [2024-07-31T02:48:50.931Z] drwxr-xr-x 2 root root 4096 Jul 31 02:33 cost [2024-07-31T02:48:50.931Z] -rw-r--r-- 1 root root 86 Jul 31 02:33 cost.csv [2024-07-31T02:48:50.931Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2024-07-31T02:48:50.931Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2024-07-31T02:48:50.931Z] total 16 [2024-07-31T02:48:50.931Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:33 . [2024-07-31T02:48:50.931Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 02:48 .. [2024-07-31T02:48:50.931Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 02:33 cost [2024-07-31T02:48:50.931Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 31 02:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:51.226Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:52.165Z] ---> package-listing.sh [2024-07-31T02:48:52.165Z] ++ facter osfamily [2024-07-31T02:48:52.165Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-31T02:48:52.165Z] + OS_FAMILY=debian [2024-07-31T02:48:52.165Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2024-07-31T02:48:52.165Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-31T02:48:52.165Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-31T02:48:52.165Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-31T02:48:52.165Z] + PACKAGES=/tmp/packages_start.txt [2024-07-31T02:48:52.165Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2024-07-31T02:48:52.165Z] + PACKAGES=/tmp/packages_end.txt [2024-07-31T02:48:52.165Z] + case "${OS_FAMILY}" in [2024-07-31T02:48:52.165Z] + dpkg -l [2024-07-31T02:48:52.165Z] + grep '^ii' [2024-07-31T02:48:52.165Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-31T02:48:52.165Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-31T02:48:52.165Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-31T02:48:52.165Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2024-07-31T02:48:52.165Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2024-07-31T02:48:52.165Z] + 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-07-31T02:48:52.438Z] 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-07-31T02:48:52.718Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:53.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:48:53.282Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:48:53.360Z] prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container [2024-07-31T02:48:53.395Z] $ 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-07-31T02:48:53.579Z] $ docker top c3a4f0412e54d393fd672def38b3241fdfc6ba3d1ccd8547e141ee0526a71720 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:48:53.913Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-31T02:48:54.197Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-31T02:48:54.477Z] + ls /var/log/sa-host [2024-07-31T02:48:54.477Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:48:54.569Z] provisioning config files... [2024-07-31T02:48:54.577Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15707853092448156311tmp [Pipeline] { [Pipeline] echo [2024-07-31T02:48:54.596Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:54.888Z] ---> create-netrc.sh [Pipeline] } [2024-07-31T02:48:54.895Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:55.238Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-31T02:48:55.249Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:55.534Z] ---> sudo-logs.sh [2024-07-31T02:48:55.534Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-31T02:48:55.561Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:55.844Z] ---> job-cost.sh [2024-07-31T02:48:55.844Z] lf-activate-venv: SKIPPING [2024-07-31T02:48:55.844Z] DEBUG: total: 0.2199999988079071 [2024-07-31T02:48:55.844Z] INFO: Retrieving Stack Cost... [2024-07-31T02:48:56.101Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T02:48:56.359Z] INFO: Archiving Costs [Pipeline] echo [2024-07-31T02:48:56.632Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:56.912Z] ---> logs-deploy.sh [2024-07-31T02:48:56.912Z] lf-activate-venv: SKIPPING [2024-07-31T02:48:56.912Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/171 [2024-07-31T02:48:56.912Z] INFO: archiving workspace using pattern(s): [2024-07-31T02:48:57.848Z] Archives upload complete. [2024-07-31T02:48:57.848Z] INFO: archiving logs to Nexus