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 02:29:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:29:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:29:32 ========================================================= 02:29:32 EdgeX Global Pipelines Version Info 02:29:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:29:32 ------------------- 02:29:32 stable info: 02:29:32 ------------------- 02:29:32 Commited By: Ginny Guan ginny@iotechsys.com 02:29:32 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 02:29:32 Message: update stable to v1.0.260 02:29:33 ------------------- 02:29:33 experimental info: 02:29:33 ------------------- 02:29:33 Commited By: Ginny Guan ginny@iotechsys.com 02:29:33 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 02:29:33 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:29:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8bf5b7d [Pipeline] echo 02:29:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:29:34 provisioning config files... 02:29:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14523808132715227686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:29:34 ---> ****-login.sh 02:29:34 nexus3.edgexfoundry.org:10001 02:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:35 Configure a credential helper to remove this warning. See 02:29:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:35 02:29:35 Login Succeeded 02:29:35 nexus3.edgexfoundry.org:10002 02:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:35 Configure a credential helper to remove this warning. See 02:29:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:35 02:29:35 Login Succeeded 02:29:35 nexus3.edgexfoundry.org:10003 02:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:35 Configure a credential helper to remove this warning. See 02:29:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:35 02:29:35 Login Succeeded 02:29:35 nexus3.edgexfoundry.org:10004 02:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:35 Configure a credential helper to remove this warning. See 02:29:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:35 02:29:35 Login Succeeded 02:29:35 ****.io 02:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:35 Configure a credential helper to remove this warning. See 02:29:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:35 02:29:35 Login Succeeded 02:29:35 ---> ****-login.sh ends [Pipeline] } 02:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:29:36 + git rev-list -1 --merges 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af~1..8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] echo 02:29:36 -----------> git rev-list -1 --merges 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af~1..8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 02:29:36 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [false] [Pipeline] sh 02:29:36 + git log --format=format:%s -1 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] echo 02:29:36 ========================================================= 02:29:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:29:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:29:37 + git log --format=format:%s -1 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] echo 02:29:37 [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 02:29:37 [semverPrep] This is not a build commit. [Pipeline] sh 02:29:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:29:37 + grep -v github /etc/ssh/ssh_known_hosts 02:29:37 + [ -e /tmp/ssh_known_hosts ] 02:29:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:29:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:29:37 + sudo tee -a /etc/ssh/ssh_known_hosts 02:29:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:29:37 02:29:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:29:38 0.1.4: Pulling from edgex-devops/py-git-semver 02:29:38 b85a868b505f: Pulling fs layer 02:29:38 e2be974225ed: Pulling fs layer 02:29:38 339a4e72a1f5: Pulling fs layer 02:29:38 988bab9f4d93: Pulling fs layer 02:29:38 1469e6f7b9e6: Pulling fs layer 02:29:38 eaf3925da568: Pulling fs layer 02:29:38 1469e6f7b9e6: Waiting 02:29:38 988bab9f4d93: Waiting 02:29:38 bab4dde63d76: Pulling fs layer 02:29:38 bde34c3a00c8: Pulling fs layer 02:29:38 eaf3925da568: Waiting 02:29:38 bab4dde63d76: Waiting 02:29:38 b352a97aabf1: Pulling fs layer 02:29:38 b352a97aabf1: Waiting 02:29:38 4872d77fe225: Pulling fs layer 02:29:38 5851b861e8e6: Pulling fs layer 02:29:38 4872d77fe225: Waiting 02:29:38 5851b861e8e6: Waiting 02:29:38 e2be974225ed: Download complete 02:29:38 988bab9f4d93: Verifying Checksum 02:29:38 988bab9f4d93: Download complete 02:29:38 1469e6f7b9e6: Verifying Checksum 02:29:38 1469e6f7b9e6: Download complete 02:29:38 eaf3925da568: Verifying Checksum 02:29:38 eaf3925da568: Download complete 02:29:38 339a4e72a1f5: Verifying Checksum 02:29:38 339a4e72a1f5: Download complete 02:29:38 bde34c3a00c8: Download complete 02:29:38 b352a97aabf1: Download complete 02:29:38 4872d77fe225: Verifying Checksum 02:29:38 4872d77fe225: Download complete 02:29:38 5851b861e8e6: Download complete 02:29:38 b85a868b505f: Verifying Checksum 02:29:38 b85a868b505f: Download complete 02:29:38 bab4dde63d76: Verifying Checksum 02:29:38 bab4dde63d76: Download complete 02:29:39 b85a868b505f: Pull complete 02:29:39 e2be974225ed: Pull complete 02:29:40 339a4e72a1f5: Pull complete 02:29:40 988bab9f4d93: Pull complete 02:29:40 1469e6f7b9e6: Pull complete 02:29:40 eaf3925da568: Pull complete 02:29:42 bab4dde63d76: Pull complete 02:29:42 bde34c3a00c8: Pull complete 02:29:42 b352a97aabf1: Pull complete 02:29:43 4872d77fe225: Pull complete 02:29:43 5851b861e8e6: Pull complete 02:29:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:29:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:29:43 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:29:43 $ 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 02:29:48 $ docker top 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 -eo pid,comm 02:29:48 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). 02:29:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:29:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:29:48 [ssh-agent] Looking for ssh-agent implementation... 02:29:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:29:48 $ docker exec 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 ssh-agent 02:29:48 SSH_AUTH_SOCK=/tmp/ssh-3Li8vWtus7Zi/agent.32 02:29:48 SSH_AGENT_PID=38 02:29:48 Running ssh-add (command line suppressed) 02:29:48 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) 02:29:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:29:49 + git tag --points-at HEAD [Pipeline] } 02:29:49 $ docker exec --env ******** --env ******** 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 ssh-agent -k 02:29:49 unset SSH_AUTH_SOCK; 02:29:49 unset SSH_AGENT_PID; 02:29:49 echo Agent pid 38 killed; 02:29:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:29:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:29:49 [ssh-agent] Looking for ssh-agent implementation... 02:29:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:29:49 $ docker exec 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 ssh-agent 02:29:49 SSH_AUTH_SOCK=/tmp/ssh-eOIKweZMcw2i/agent.72 02:29:49 SSH_AGENT_PID=78 02:29:49 Running ssh-add (command line suppressed) 02:29:49 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) 02:29:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:29:50 + git semver init 02:29:50 2024-07-31 02:29:50,258 [run_init] DEBUG init version:0.0.0 force:False 02:29:50 2024-07-31 02:29:50,258 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:29:50 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 02:29:50 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) 02:29:52 2024-07-31 02:29:52,053 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:29:52 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 02:29:52 2024-07-31 02:29:52,054 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:29:52 2024-07-31 02:29:52,054 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:29:52 3.2.0-dev.17 [Pipeline] } 02:29:52 $ docker exec --env ******** --env ******** 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 ssh-agent -k 02:29:52 unset SSH_AUTH_SOCK; 02:29:52 unset SSH_AGENT_PID; 02:29:52 echo Agent pid 78 killed; 02:29:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:29:52 + git semver [Pipeline] } 02:29:52 $ docker stop --time=1 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 02:29:54 $ docker rm -f --volumes 39db571283ff2403bf4a75c4b4340f5ea05c00da8851389ff1e22739a4b483f3 [Pipeline] // withDockerContainer [Pipeline] sh 02:29:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:29:54 Stashed 1 file(s) [Pipeline] echo 02:29:54 [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 02:29:55 provisioning config files... 02:29:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config13206235604945863277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:29:55 ---> ****-login.sh 02:29:55 nexus3.edgexfoundry.org:10001 02:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:55 Configure a credential helper to remove this warning. See 02:29:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:55 02:29:55 Login Succeeded 02:29:55 nexus3.edgexfoundry.org:10002 02:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:55 Configure a credential helper to remove this warning. See 02:29:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:55 02:29:55 Login Succeeded 02:29:55 nexus3.edgexfoundry.org:10003 02:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:55 Configure a credential helper to remove this warning. See 02:29:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:55 02:29:55 Login Succeeded 02:29:55 nexus3.edgexfoundry.org:10004 02:29:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:55 Configure a credential helper to remove this warning. See 02:29:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:55 02:29:55 Login Succeeded 02:29:55 ****.io 02:29:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:29:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:29:56 Configure a credential helper to remove this warning. See 02:29:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:29:56 02:29:56 Login Succeeded 02:29:56 ---> ****-login.sh ends [Pipeline] } 02:29:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:29:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:29:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:29:56 ========================================================= 02:29:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:29:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:29:56 + 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 . 02:29:56 Sending build context to Docker daemon 20.82MB 02:29:56 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:29:56 Step 2/12 : FROM ${BASE} AS builder 02:29:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:29:57 619be1103602: Pulling fs layer 02:29:57 7862e08f4a3e: Pulling fs layer 02:29:57 5df492c9dc93: Pulling fs layer 02:29:57 7629e6793208: Pulling fs layer 02:29:57 4f4fb700ef54: Pulling fs layer 02:29:57 fb5054dd5b73: Pulling fs layer 02:29:57 eeca6798cff9: Pulling fs layer 02:29:57 aa269ceb94a6: Pulling fs layer 02:29:57 ada007ff1a6a: Pulling fs layer 02:29:57 7629e6793208: Waiting 02:29:57 4f4fb700ef54: Waiting 02:29:57 fb5054dd5b73: Waiting 02:29:57 ada007ff1a6a: Waiting 02:29:57 eeca6798cff9: Waiting 02:29:57 aa269ceb94a6: Waiting 02:29:57 7862e08f4a3e: Download complete 02:29:57 7629e6793208: Verifying Checksum 02:29:57 7629e6793208: Download complete 02:29:57 4f4fb700ef54: Verifying Checksum 02:29:57 4f4fb700ef54: Download complete 02:29:57 fb5054dd5b73: Download complete 02:29:57 619be1103602: Verifying Checksum 02:29:57 619be1103602: Download complete 02:29:57 eeca6798cff9: Verifying Checksum 02:29:57 eeca6798cff9: Download complete 02:29:57 ada007ff1a6a: Verifying Checksum 02:29:57 ada007ff1a6a: Download complete 02:29:57 619be1103602: Pull complete 02:29:57 5df492c9dc93: Verifying Checksum 02:29:57 5df492c9dc93: Download complete 02:29:58 aa269ceb94a6: Verifying Checksum 02:29:58 aa269ceb94a6: Download complete 02:29:58 7862e08f4a3e: Pull complete 02:30:02 5df492c9dc93: Pull complete 02:30:02 7629e6793208: Pull complete 02:30:02 4f4fb700ef54: Pull complete 02:30:02 fb5054dd5b73: Pull complete 02:30:02 eeca6798cff9: Pull complete 02:30:05 aa269ceb94a6: Pull complete 02:30:05 ada007ff1a6a: Pull complete 02:30:05 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 02:30:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:30:05 ---> f489d0715acc 02:30:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:30:10 Still waiting to schedule task 02:30:10 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:30:11 ---> Running in 78bec077bd94 02:30:11 Removing intermediate container 78bec077bd94 02:30:11 ---> 4a1e78b7eb11 02:30:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:30:12 ---> Running in b459fcb302ee 02:30:12 Removing intermediate container b459fcb302ee 02:30:12 ---> ddfbc8121b1b 02:30:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:30:12 ---> Running in 51dfc3b12860 02:30:12 Removing intermediate container 51dfc3b12860 02:30:12 ---> b034c084f352 02:30:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:30:12 ---> Running in 21e1eeffbc93 02:30:12 Removing intermediate container 21e1eeffbc93 02:30:12 ---> c93846fa66b0 02:30:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:30:12 ---> Running in b967140a3286 02:30:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:30:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:30:13 (1/4) Installing openssh-keygen (9.3_p2-r2) 02:30:13 (2/4) Installing libedit (20221030.3.1-r1) 02:30:13 (3/4) Installing openssh-client-common (9.3_p2-r2) 02:30:13 (4/4) Installing openssh-client-default (9.3_p2-r2) 02:30:13 Executing busybox-1.36.1-r5.trigger 02:30:13 OK: 268 MiB in 56 packages 02:30:13 Removing intermediate container b967140a3286 02:30:13 ---> 93b39435c606 02:30:13 Step 8/12 : WORKDIR /device-mqtt-go 02:30:14 ---> Running in 145f53f5696e 02:30:14 Removing intermediate container 145f53f5696e 02:30:14 ---> 2109059120f6 02:30:14 Step 9/12 : COPY go.mod vendor* ./ 02:30:14 ---> 9a628a423c4b 02:30:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:30:14 ---> Running in f638cded3f63 02:31:10 Removing intermediate container f638cded3f63 02:31:10 ---> 22359a8349f3 02:31:10 Step 11/12 : COPY . . 02:31:10 ---> b61dbe2c12fc 02:31:10 Step 12/12 : RUN $MAKE 02:31:10 ---> Running in 8b4ed3fb579a 02:31:10 noop 02:31:10 Removing intermediate container 8b4ed3fb579a 02:31:10 ---> ba764753967b 02:31:10 Successfully built ba764753967b 02:31:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:10 + docker inspect -f . ci-base-image-x86_64 02:31:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:10 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:31:10 $ 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 02:31:11 $ docker top dec1a051aeb3c437fa534a3eb70919633bcb0ed9e16431d5f78badbc0a694914 -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:11 + go version 02:31:11 go version go1.21.9 linux/amd64 [Pipeline] } 02:31:11 $ docker stop --time=1 dec1a051aeb3c437fa534a3eb70919633bcb0ed9e16431d5f78badbc0a694914 02:31:12 $ 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 02:31:13 + docker inspect -f . ci-base-image-x86_64 02:31:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:31:13 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:31:13 $ 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 02:31:13 $ docker top 78bfb041e851748b45f76a6790973736a7d6e92dac755c0c8c135d20abf15ea7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:31:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 02:31:14 + make test 02:31:14 go test ./... -coverprofile=coverage.out ./... 02:31:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:31:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:31:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:31:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 02:31:43 go vet ./... 02:31:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:31:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:31:49 ./bin/test-attribution-txt.sh 02:31:49 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:31:49 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:31:49 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:31:49 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:31:49 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:31:49 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:31:49 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:31:49 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:31:49 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:31:49 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:31:49 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:31:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:31:49 $ docker stop --time=1 78bfb041e851748b45f76a6790973736a7d6e92dac755c0c8c135d20abf15ea7 02:31:55 $ docker rm -f --volumes 78bfb041e851748b45f76a6790973736a7d6e92dac755c0c8c135d20abf15ea7 [Pipeline] // withDockerContainer [Pipeline] sh 02:31:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:31:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:31:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:31:56 + ls -al . 02:31:56 total 252 02:31:56 drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 02:31 . 02:31:56 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:29 .. 02:31:56 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:29 .dockerignore 02:31:56 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:31 .git 02:31:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:29 .github 02:31:56 -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:29 .gitignore 02:31:56 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:29 .golangci.yml 02:31:56 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:29 .semver 02:31:56 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 31 02:29 Attribution.txt 02:31:56 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 31 02:29 CHANGELOG.md 02:31:56 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 31 02:29 Dockerfile 02:31:56 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:29 GOVERNANCE.md 02:31:56 -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 02:29 Jenkinsfile 02:31:56 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:29 LICENSE 02:31:56 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 31 02:29 Makefile 02:31:56 -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:29 OWNERS.md 02:31:56 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 31 02:29 README.md 02:31:56 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:29 VERSION 02:31:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:29 bin 02:31:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:29 cmd 02:31:56 -rw-r--r-- 1 jenkins jenkins 18506 Jul 31 02:31 coverage.out 02:31:56 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 31 02:29 go.mod 02:31:56 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:29 go.sum 02:31:56 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:29 internal 02:31:56 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:29 mock 02:31:56 -rw-rw-r-- 1 jenkins jenkins 227 Jul 31 02:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:31:56 + 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 . 02:31:56 Sending build context to Docker daemon 20.84MB 02:31:56 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:31:56 Step 2/25 : FROM ${BASE} AS builder 02:31:56 ---> ba764753967b 02:31:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:31:57 ---> Running in 72e855c27e6a 02:31:57 Removing intermediate container 72e855c27e6a 02:31:57 ---> 767bab41b462 02:31:57 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:31:57 ---> Running in c707875a7da1 02:31:57 Removing intermediate container c707875a7da1 02:31:57 ---> 9df8d93d9c65 02:31:57 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:31:57 ---> Running in ae64fe411649 02:31:57 Removing intermediate container ae64fe411649 02:31:57 ---> 29ecfb2eb582 02:31:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:31:57 ---> Running in a70f1b831349 02:31:57 Removing intermediate container a70f1b831349 02:31:57 ---> edc85a4313af 02:31:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:31:58 ---> Running in 968315d41a62 02:31:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:31:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:31:58 OK: 268 MiB in 56 packages 02:31:58 Removing intermediate container 968315d41a62 02:31:58 ---> 71d3156626d4 02:31:58 Step 8/25 : WORKDIR /device-mqtt-go 02:31:58 ---> Running in 342d138ea390 02:31:59 Removing intermediate container 342d138ea390 02:31:59 ---> e3f63602f0db 02:31:59 Step 9/25 : COPY go.mod vendor* ./ 02:31:59 ---> 2cacf2358abb 02:31:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:31:59 ---> Running in 61efe4ec7ac5 02:31:59 Removing intermediate container 61efe4ec7ac5 02:31:59 ---> 510969774e33 02:31:59 Step 11/25 : COPY . . 02:32:00 ---> 52f7f303f547 02:32:00 Step 12/25 : RUN $MAKE 02:32:00 ---> Running in 615a4c01657e 02:32:00 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 02:32:39 Removing intermediate container 615a4c01657e 02:32:39 ---> b3220047c83a 02:32:39 Step 13/25 : FROM alpine:3.18 02:32:39 3.18: Pulling from library/alpine 02:32:39 930bdd4d222e: Pulling fs layer 02:32:39 930bdd4d222e: Verifying Checksum 02:32:39 930bdd4d222e: Download complete 02:32:39 930bdd4d222e: Pull complete 02:32:39 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:32:39 Status: Downloaded newer image for alpine:3.18 02:32:39 ---> 18f865063206 02:32:39 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:32:39 ---> Running in bc62d3b329ba 02:32:39 Removing intermediate container bc62d3b329ba 02:32:39 ---> d2643415777a 02:32:39 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:32:39 ---> Running in ad2a60187083 02:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:32:39 (1/1) Installing dumb-init (1.2.5-r2) 02:32:39 Executing busybox-1.36.1-r7.trigger 02:32:39 OK: 7 MiB in 16 packages 02:32:39 Removing intermediate container ad2a60187083 02:32:39 ---> c331e56cad6c 02:32:39 Step 16/25 : RUN apk --no-cache upgrade 02:32:39 ---> Running in 5dc4e3b7c9d8 02:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:32:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:32:39 OK: 7 MiB in 16 packages 02:32:39 Removing intermediate container 5dc4e3b7c9d8 02:32:39 ---> 08455dfb9cbe 02:32:39 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:32:41 ---> 9b168a522526 02:32:41 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:32:41 ---> 7e46d84cf6d2 02:32:41 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:32:41 ---> 30766e4e9720 02:32:41 Step 20/25 : EXPOSE 59982 02:32:41 ---> Running in 2a52631879a2 02:32:41 Removing intermediate container 2a52631879a2 02:32:41 ---> 45c479ddd011 02:32:41 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:32:41 ---> Running in d5566e9b97d9 02:32:41 Removing intermediate container d5566e9b97d9 02:32:41 ---> f06bdcf3dbe3 02:32:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:32:41 ---> Running in 3996693b3535 02:32:41 Removing intermediate container 3996693b3535 02:32:41 ---> 4401b65f6159 02:32:41 Step 23/25 : LABEL arch=amd64 02:32:41 ---> Running in 5bdaa425f772 02:32:42 Removing intermediate container 5bdaa425f772 02:32:42 ---> 1b7459e893b8 02:32:42 Step 24/25 : LABEL git_sha=8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 02:32:42 ---> Running in 0ebe7ddace40 02:32:42 Removing intermediate container 0ebe7ddace40 02:32:42 ---> 04aa59f91929 02:32:42 Step 25/25 : LABEL version=3.2.0-dev.17 02:32:42 ---> Running in 1163103de413 02:32:42 Removing intermediate container 1163103de413 02:32:42 ---> c8b8ee542184 02:32:42 [Warning] One or more build-args [ARCH] were not consumed 02:32:42 Successfully built c8b8ee542184 02:32:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:42 provisioning config files... 02:32:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7155593521555238451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:42 ---> ****-login.sh 02:32:42 nexus3.edgexfoundry.org:10001 02:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:42 Configure a credential helper to remove this warning. See 02:32:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:42 02:32:42 Login Succeeded 02:32:42 nexus3.edgexfoundry.org:10002 02:32:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:42 Configure a credential helper to remove this warning. See 02:32:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:42 02:32:42 Login Succeeded 02:32:42 nexus3.edgexfoundry.org:10003 02:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:43 Configure a credential helper to remove this warning. See 02:32:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:43 02:32:43 Login Succeeded 02:32:43 nexus3.edgexfoundry.org:10004 02:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:43 Configure a credential helper to remove this warning. See 02:32:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:43 02:32:43 Login Succeeded 02:32:43 ****.io 02:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:32:43 Configure a credential helper to remove this warning. See 02:32:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:32:43 02:32:43 Login Succeeded 02:32:43 ---> ****-login.sh ends [Pipeline] } 02:32:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:32:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:32:43 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:32:43 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 02:32:43 latest 02:32:43 3.2.0-dev.17 02:32:43 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 02:32:43 main 02:32:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 02:32:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:32:44 e10666f5ad7d: Preparing 02:32:44 edab445502fd: Preparing 02:32:44 dd724662b47c: Preparing 02:32:44 f038616be4c2: Preparing 02:32:44 a05927cc590f: Preparing 02:32:44 ce7f800efff9: Preparing 02:32:44 ce7f800efff9: Waiting 02:32:44 f038616be4c2: Pushed 02:32:44 a05927cc590f: Pushed 02:32:44 edab445502fd: Pushed 02:32:44 e10666f5ad7d: Pushed 02:32:44 ce7f800efff9: Layer already exists 02:32:48 dd724662b47c: Pushed 02:32:48 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:32:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:32:48 e10666f5ad7d: Preparing 02:32:48 edab445502fd: Preparing 02:32:48 dd724662b47c: Preparing 02:32:48 f038616be4c2: Preparing 02:32:48 a05927cc590f: Preparing 02:32:48 ce7f800efff9: Preparing 02:32:48 ce7f800efff9: Waiting 02:32:48 f038616be4c2: Layer already exists 02:32:48 dd724662b47c: Layer already exists 02:32:48 edab445502fd: Layer already exists 02:32:48 e10666f5ad7d: Layer already exists 02:32:48 a05927cc590f: Layer already exists 02:32:48 ce7f800efff9: Layer already exists 02:32:48 latest: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:49 + 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 02:32:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.17 02:32:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:32:49 e10666f5ad7d: Preparing 02:32:49 edab445502fd: Preparing 02:32:49 dd724662b47c: Preparing 02:32:49 f038616be4c2: Preparing 02:32:49 a05927cc590f: Preparing 02:32:49 ce7f800efff9: Preparing 02:32:49 ce7f800efff9: Waiting 02:32:49 a05927cc590f: Layer already exists 02:32:49 e10666f5ad7d: Layer already exists 02:32:49 dd724662b47c: Layer already exists 02:32:49 edab445502fd: Layer already exists 02:32:49 f038616be4c2: Layer already exists 02:32:49 ce7f800efff9: Layer already exists 02:32:49 3.2.0-dev.17: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:49 + 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 02:32:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 02:32:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:32:50 e10666f5ad7d: Preparing 02:32:50 edab445502fd: Preparing 02:32:50 dd724662b47c: Preparing 02:32:50 f038616be4c2: Preparing 02:32:50 a05927cc590f: Preparing 02:32:50 ce7f800efff9: Preparing 02:32:50 ce7f800efff9: Waiting 02:32:50 dd724662b47c: Layer already exists 02:32:50 e10666f5ad7d: Layer already exists 02:32:50 f038616be4c2: Layer already exists 02:32:50 a05927cc590f: Layer already exists 02:32:50 edab445502fd: Layer already exists 02:32:50 ce7f800efff9: Layer already exists 02:32:50 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:32:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:32:50 e10666f5ad7d: Preparing 02:32:50 edab445502fd: Preparing 02:32:50 dd724662b47c: Preparing 02:32:50 f038616be4c2: Preparing 02:32:50 a05927cc590f: Preparing 02:32:50 ce7f800efff9: Preparing 02:32:50 ce7f800efff9: Waiting 02:32:50 f038616be4c2: Layer already exists 02:32:50 a05927cc590f: Layer already exists 02:32:50 dd724662b47c: Layer already exists 02:32:50 e10666f5ad7d: Layer already exists 02:32:50 edab445502fd: Layer already exists 02:32:50 ce7f800efff9: Layer already exists 02:32:50 main: digest: sha256:e9452a35d1992943d394560d08b8dd9673202d8905d22182cbf046d81052d700 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:32:51 ===================================================== [Pipeline] echo 02:32:51 taggedImages: 02:32:51 - nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 02:32:51 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:32:51 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.17 02:32:51 - nexus3.edgexfoundry.org:10004/device-mqtt:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 02:32:51 - 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 02:32:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:51 02:32:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:51 latest: Pulling from edgex-lftools-log-publisher 02:32:51 5eb5b503b376: Pulling fs layer 02:32:51 5c69ac0246d0: Pulling fs layer 02:32:51 ec43610c2a17: Pulling fs layer 02:32:51 3a2ae6a8a46f: Pulling fs layer 02:32:51 33b1e0a273af: Pulling fs layer 02:32:51 5d3b04190fa2: Pulling fs layer 02:32:51 2f39f015ded8: Pulling fs layer 02:32:51 5d3b04190fa2: Waiting 02:32:51 2f39f015ded8: Waiting 02:32:51 3a2ae6a8a46f: Waiting 02:32:51 5c69ac0246d0: Verifying Checksum 02:32:51 5c69ac0246d0: Download complete 02:32:51 3a2ae6a8a46f: Verifying Checksum 02:32:51 33b1e0a273af: Verifying Checksum 02:32:51 33b1e0a273af: Download complete 02:32:51 ec43610c2a17: Download complete 02:32:51 5d3b04190fa2: Download complete 02:32:52 5eb5b503b376: Verifying Checksum 02:32:52 5eb5b503b376: Download complete 02:32:52 2f39f015ded8: Download complete 02:32:53 5eb5b503b376: Pull complete 02:32:53 5c69ac0246d0: Pull complete 02:32:53 ec43610c2a17: Pull complete 02:32:53 3a2ae6a8a46f: Pull complete 02:32:54 33b1e0a273af: Pull complete 02:32:54 5d3b04190fa2: Pull complete 02:32:58 2f39f015ded8: Pull complete 02:32:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:32:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:32:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:58 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:32:58 $ 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 02:33:04 $ docker top ff9d506b75437f0769f14b20c4712f7526be1b5e1b1d8c3ff9bc76c4ed23d1fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:05 ---> job-cost.sh 02:33:05 lf-activate-venv: SKIPPING 02:33:05 INFO: No Stack... 02:33:05 INFO: Retrieving Pricing Info for: v3-standard-8 02:33:05 INFO: Archiving Costs [Pipeline] sh 02:33:05 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:33:05 + cut -d, -f6 [Pipeline] lock 02:33:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] 02:33:05 Resource [jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] did not exist. Created. 02:33:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:33:06 + echo total: 0.2199999988079071 [Pipeline] stash 02:33:06 Stashed 1 file(s) [Pipeline] } 02:33:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } 02:33:06 $ docker stop --time=1 ff9d506b75437f0769f14b20c4712f7526be1b5e1b1d8c3ff9bc76c4ed23d1fa 02:33:07 $ docker rm -f --volumes ff9d506b75437f0769f14b20c4712f7526be1b5e1b1d8c3ff9bc76c4ed23d1fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:33:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6818 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 02:33:16 Running in /w/workspace/device-mqtt-go/171 [Pipeline] { [Pipeline] checkout 02:33:19 The recommended git tool is: git 02:33:27 using credential edgex-jenkins-ssh 02:33:27 Cloning the remote Git repository 02:33:28 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:33:28 > git init /w/workspace/device-mqtt-go/171 # timeout=10 02:33:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:33:28 > git --version # timeout=10 02:33:28 > git --version # 'git version 2.25.1' 02:33:28 using GIT_SSH to set credentials SSH Credentials for GitHub 02:33:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:33:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:33:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:33:33 Avoid second fetch 02:33:33 Checking out Revision 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af (main) 02:33:34 Commit message: "Merge pull request #686 from edgexfoundry/dependabot/go_modules/github.com/eclipse/paho.mqtt.golang-1.5.0" 02:33:33 > git config core.sparsecheckout # timeout=10 02:33:33 > git checkout -f 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:33:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:33:39 % Total % Received % Xferd Average Speed Time Time Time Current 02:33:39 Dload Upload Total Spent Left Speed 02:33:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 99k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 02:33:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:33:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:33:39 + sudo tee /etc/docker/daemon.new 02:33:39 { 02:33:39 "registry-mirrors": [ 02:33:39 "https://nexus3.edgexfoundry.org:10001" 02:33:39 ], 02:33:39 "bip": "10.250.0.254/24", 02:33:39 "hosts": [ 02:33:39 "tcp://0.0.0.0:5555", 02:33:39 "unix:///var/run/docker.sock" 02:33:39 ], 02:33:39 "mtu": 1458, 02:33:39 "selinux-enabled": true, 02:33:39 "seccomp-profile": "/etc/docker/seccomp.json" 02:33:39 } [Pipeline] sh 02:33:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:33:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:58 provisioning config files... 02:33:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/171@tmp/config8960628627972622828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:59 ---> ****-login.sh 02:33:59 nexus3.edgexfoundry.org:10001 02:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:00 Configure a credential helper to remove this warning. See 02:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:00 02:34:00 Login Succeeded 02:34:00 nexus3.edgexfoundry.org:10002 02:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:00 Configure a credential helper to remove this warning. See 02:34:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:00 02:34:00 Login Succeeded 02:34:00 nexus3.edgexfoundry.org:10003 02:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:01 Configure a credential helper to remove this warning. See 02:34:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:01 02:34:01 Login Succeeded 02:34:01 nexus3.edgexfoundry.org:10004 02:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:01 Configure a credential helper to remove this warning. See 02:34:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:01 02:34:01 Login Succeeded 02:34:01 ****.io 02:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:34:02 Configure a credential helper to remove this warning. See 02:34:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:34:02 02:34:02 Login Succeeded 02:34:02 ---> ****-login.sh ends [Pipeline] } 02:34:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:34:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:34:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:34:02 ========================================================= 02:34:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:34:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:03 + 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 . 02:34:03 Sending build context to Docker daemon 10.52MB 02:34:03 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:34:03 Step 2/12 : FROM ${BASE} AS builder 02:34:03 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:34:03 c6b39de5b339: Pulling fs layer 02:34:03 a69c41024577: Pulling fs layer 02:34:03 d6de4b400683: Pulling fs layer 02:34:03 35cb2a7552d0: Pulling fs layer 02:34:03 4f4fb700ef54: Pulling fs layer 02:34:03 464afbd9ba4c: Pulling fs layer 02:34:03 00f215d4a9da: Pulling fs layer 02:34:03 d496ad576159: Pulling fs layer 02:34:03 4f4fb700ef54: Waiting 02:34:03 464afbd9ba4c: Waiting 02:34:03 00f215d4a9da: Waiting 02:34:03 d496ad576159: Waiting 02:34:03 35cb2a7552d0: Waiting 02:34:04 a69c41024577: Verifying Checksum 02:34:04 a69c41024577: Download complete 02:34:04 35cb2a7552d0: Verifying Checksum 02:34:04 35cb2a7552d0: Download complete 02:34:04 4f4fb700ef54: Verifying Checksum 02:34:04 4f4fb700ef54: Download complete 02:34:04 c6b39de5b339: Verifying Checksum 02:34:04 c6b39de5b339: Download complete 02:34:04 464afbd9ba4c: Verifying Checksum 02:34:04 464afbd9ba4c: Download complete 02:34:04 d496ad576159: Verifying Checksum 02:34:04 d496ad576159: Download complete 02:34:05 c6b39de5b339: Pull complete 02:34:05 a69c41024577: Pull complete 02:34:06 d6de4b400683: Verifying Checksum 02:34:06 d6de4b400683: Download complete 02:34:07 00f215d4a9da: Verifying Checksum 02:34:07 00f215d4a9da: Download complete 02:34:22 d6de4b400683: Pull complete 02:34:22 35cb2a7552d0: Pull complete 02:34:22 4f4fb700ef54: Pull complete 02:34:22 464afbd9ba4c: Pull complete 02:34:30 00f215d4a9da: Pull complete 02:34:33 d496ad576159: Pull complete 02:34:33 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:34:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:34:33 ---> f246e2811388 02:34:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:34:35 ---> Running in 203115a86c7a 02:34:35 Removing intermediate container 203115a86c7a 02:34:35 ---> 4aeed5c1cfb9 02:34:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:34:35 ---> Running in 3a676940fff3 02:34:36 Removing intermediate container 3a676940fff3 02:34:36 ---> 4d19f3b49e47 02:34:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:34:36 ---> Running in e9ba52571ac9 02:34:36 Removing intermediate container e9ba52571ac9 02:34:36 ---> 8f086402d955 02:34:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:34:36 ---> Running in e1abddda90cf 02:34:37 Removing intermediate container e1abddda90cf 02:34:37 ---> e3d5a5e59111 02:34:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:34:37 ---> Running in f16fd5671e8a 02:34:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:34:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:34:40 (1/4) Installing openssh-keygen (9.3_p2-r2) 02:34:40 (2/4) Installing libedit (20221030.3.1-r1) 02:34:40 (3/4) Installing openssh-client-common (9.3_p2-r2) 02:34:40 (4/4) Installing openssh-client-default (9.3_p2-r2) 02:34:40 Executing busybox-1.36.1-r5.trigger 02:34:40 OK: 271 MiB in 56 packages 02:34:41 Removing intermediate container f16fd5671e8a 02:34:41 ---> e7168044abc0 02:34:41 Step 8/12 : WORKDIR /device-mqtt-go 02:34:41 ---> Running in 945c82b611a7 02:34:42 Removing intermediate container 945c82b611a7 02:34:42 ---> 47e5e08b1e42 02:34:42 Step 9/12 : COPY go.mod vendor* ./ 02:34:43 ---> 369f21066969 02:34:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:34:43 ---> Running in 30cefa265c80 02:36:49 Removing intermediate container 30cefa265c80 02:36:49 ---> 2d77e5a51988 02:36:49 Step 11/12 : COPY . . 02:36:49 ---> e23aec2c3c09 02:36:49 Step 12/12 : RUN $MAKE 02:36:49 ---> Running in 05eaec08ac9b 02:36:49 noop 02:36:49 Removing intermediate container 05eaec08ac9b 02:36:49 ---> a5d149900d32 02:36:49 Successfully built a5d149900d32 02:36:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:50 + docker inspect -f . ci-base-image-arm64 02:36:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:50 prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container 02:36:50 $ 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 02:36:52 $ docker top 0cecaaefd815b0b07ca1589ec67539e20ca0ab9104c0eff91a4d63a7fb324d5b -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:53 + go version 02:36:53 go version go1.21.9 linux/arm64 [Pipeline] } 02:36:53 $ docker stop --time=1 0cecaaefd815b0b07ca1589ec67539e20ca0ab9104c0eff91a4d63a7fb324d5b 02:36:54 $ 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 02:36:55 + docker inspect -f . ci-base-image-arm64 02:36:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:55 prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container 02:36:55 $ 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 02:36:57 $ docker top a23a024f7512b49b46680d3e29dda7efead46037a21005ec5eac4f6c7cd46dba -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:57 + git config --global --add safe.directory /w/workspace/device-mqtt-go/171 [Pipeline] fileExists [Pipeline] sh 02:36:58 + make test 02:36:58 go test ./... -coverprofile=coverage.out ./... 02:37:05 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:40:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:40:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:40:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.8% of statements 02:40:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:40:57 go vet ./... 02:41:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:41:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:41:54 ./bin/test-attribution-txt.sh 02:41:54 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:41:54 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:41:54 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:41:54 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:41:54 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:41:54 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:41:54 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:41:54 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:41:54 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:41:54 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:41:54 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:41:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:41:54 $ docker stop --time=1 a23a024f7512b49b46680d3e29dda7efead46037a21005ec5eac4f6c7cd46dba 02:41:56 $ docker rm -f --volumes a23a024f7512b49b46680d3e29dda7efead46037a21005ec5eac4f6c7cd46dba [Pipeline] // withDockerContainer [Pipeline] sh 02:41:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:41:58 Warning: overwriting stash ‘coverage-report’ 02:41:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:41:59 + ls -al . 02:41:59 total 248 02:41:59 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:37 . 02:41:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:33 .. 02:41:59 -rw-rw-r-- 1 jenkins jenkins 140 Jul 31 02:33 .dockerignore 02:41:59 drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:33 .git 02:41:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:33 .github 02:41:59 -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:33 .gitignore 02:41:59 -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:33 .golangci.yml 02:41:59 -rw-rw-r-- 1 jenkins jenkins 10386 Jul 31 02:33 Attribution.txt 02:41:59 -rw-rw-r-- 1 jenkins jenkins 18574 Jul 31 02:33 CHANGELOG.md 02:41:59 -rw-rw-r-- 1 jenkins jenkins 1798 Jul 31 02:33 Dockerfile 02:41:59 -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:33 GOVERNANCE.md 02:41:59 -rw-rw-r-- 1 jenkins jenkins 657 Jul 31 02:33 Jenkinsfile 02:41:59 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:33 LICENSE 02:41:59 -rw-rw-r-- 1 jenkins jenkins 1963 Jul 31 02:33 Makefile 02:41:59 -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:33 OWNERS.md 02:41:59 -rw-rw-r-- 1 jenkins jenkins 3599 Jul 31 02:33 README.md 02:41:59 -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:29 VERSION 02:41:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:33 bin 02:41:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:33 cmd 02:41:59 -rw-r--r-- 1 jenkins jenkins 18506 Jul 31 02:40 coverage.out 02:41:59 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 31 02:33 go.mod 02:41:59 -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:33 go.sum 02:41:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:33 internal 02:41:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:33 mock 02:41:59 -rw-rw-r-- 1 jenkins jenkins 227 Jul 31 02:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:00 + 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 . 02:42:00 Sending build context to Docker daemon 10.54MB 02:42:00 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:42:00 Step 2/25 : FROM ${BASE} AS builder 02:42:00 ---> a5d149900d32 02:42:00 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:42:01 ---> Running in cd6c134e9292 02:42:01 Removing intermediate container cd6c134e9292 02:42:01 ---> a762da1b5ff9 02:42:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:42:01 ---> Running in 5ed7d888374d 02:42:02 Removing intermediate container 5ed7d888374d 02:42:02 ---> dbfffe2d2eda 02:42:02 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:42:02 ---> Running in 185001a04087 02:42:02 Removing intermediate container 185001a04087 02:42:02 ---> b95b60d23b07 02:42:02 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:42:02 ---> Running in 043b0e80ad10 02:42:02 Removing intermediate container 043b0e80ad10 02:42:02 ---> db7e8250e999 02:42:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:42:02 ---> Running in 575615b50e0e 02:42:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:42:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:42:05 OK: 271 MiB in 56 packages 02:42:06 Removing intermediate container 575615b50e0e 02:42:06 ---> 217bf7483120 02:42:06 Step 8/25 : WORKDIR /device-mqtt-go 02:42:06 ---> Running in 8b38258c4907 02:42:07 Removing intermediate container 8b38258c4907 02:42:07 ---> ea6f669fc64c 02:42:07 Step 9/25 : COPY go.mod vendor* ./ 02:42:07 ---> 096ce5a20e37 02:42:07 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:42:07 ---> Running in a121cc61691d 02:42:10 Removing intermediate container a121cc61691d 02:42:10 ---> 39d23c315452 02:42:10 Step 11/25 : COPY . . 02:42:11 ---> 2bebea3b0932 02:42:11 Step 12/25 : RUN $MAKE 02:42:11 ---> Running in 95b24e439829 02:42:12 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 02:46:34 Removing intermediate container 95b24e439829 02:46:34 ---> 1e6bef082797 02:46:34 Step 13/25 : FROM alpine:3.18 02:46:34 3.18: Pulling from library/alpine 02:46:34 4983c3fe2029: Pulling fs layer 02:46:34 4983c3fe2029: Verifying Checksum 02:46:34 4983c3fe2029: Download complete 02:46:34 4983c3fe2029: Pull complete 02:46:34 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 02:46:34 Status: Downloaded newer image for alpine:3.18 02:46:34 ---> a0237000ae83 02:46:34 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:46:34 ---> Running in 32a5030658b4 02:46:34 Removing intermediate container 32a5030658b4 02:46:34 ---> e28fa90944fd 02:46:34 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:46:34 ---> Running in f3c673054381 02:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:46:34 (1/1) Installing dumb-init (1.2.5-r2) 02:46:34 Executing busybox-1.36.1-r7.trigger 02:46:34 OK: 8 MiB in 16 packages 02:46:34 Removing intermediate container f3c673054381 02:46:34 ---> 19d2a4580fed 02:46:34 Step 16/25 : RUN apk --no-cache upgrade 02:46:34 ---> Running in 71ace21a7e23 02:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:46:34 OK: 8 MiB in 16 packages 02:46:34 Removing intermediate container 71ace21a7e23 02:46:34 ---> 28f69042edc8 02:46:34 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:46:36 ---> 3a733256f2d4 02:46:36 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:46:37 ---> 0c35b799d41e 02:46:37 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:46:37 ---> cdaf92396d5e 02:46:37 Step 20/25 : EXPOSE 59982 02:46:37 ---> Running in cd54c99ce5f2 02:46:38 Removing intermediate container cd54c99ce5f2 02:46:38 ---> 06ec8c359935 02:46:38 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:46:38 ---> Running in 462e7bc96a9d 02:46:38 Removing intermediate container 462e7bc96a9d 02:46:38 ---> e74a9e85ee0d 02:46:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:46:38 ---> Running in a6b0b412e20e 02:46:38 Removing intermediate container a6b0b412e20e 02:46:38 ---> 4e60e8e875e8 02:46:38 Step 23/25 : LABEL arch=arm64 02:46:38 ---> Running in b340b6d9d9e3 02:46:39 Removing intermediate container b340b6d9d9e3 02:46:39 ---> 2c4face21ef4 02:46:39 Step 24/25 : LABEL git_sha=8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 02:46:39 ---> Running in 4a6d07fdd93f 02:46:39 Removing intermediate container 4a6d07fdd93f 02:46:39 ---> ce308e23851e 02:46:39 Step 25/25 : LABEL version=3.2.0-dev.17 02:46:39 ---> Running in 5b1280401dfa 02:46:40 Removing intermediate container 5b1280401dfa 02:46:40 ---> 4c4e3619d17f 02:46:40 [Warning] One or more build-args [ARCH] were not consumed 02:46:40 Successfully built 4c4e3619d17f 02:46:40 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 02:46:40 provisioning config files... 02:46:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/171@tmp/config10171049521527796021tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:40 ---> ****-login.sh 02:46:40 nexus3.edgexfoundry.org:10001 02:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:41 Configure a credential helper to remove this warning. See 02:46:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:41 02:46:41 Login Succeeded 02:46:41 nexus3.edgexfoundry.org:10002 02:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:41 Configure a credential helper to remove this warning. See 02:46:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:41 02:46:41 Login Succeeded 02:46:41 nexus3.edgexfoundry.org:10003 02:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:42 Configure a credential helper to remove this warning. See 02:46:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:42 02:46:42 Login Succeeded 02:46:42 nexus3.edgexfoundry.org:10004 02:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:42 Configure a credential helper to remove this warning. See 02:46:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:42 02:46:42 Login Succeeded 02:46:42 ****.io 02:46:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:46:43 Configure a credential helper to remove this warning. See 02:46:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:46:43 02:46:43 Login Succeeded 02:46:43 ---> ****-login.sh ends [Pipeline] } 02:46:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:46:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:46:43 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:46:43 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 02:46:43 latest 02:46:43 3.2.0-dev.17 02:46:43 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 02:46:43 main 02:46:43 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:43 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 02:46:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:46:44 2bb30cf8744a: Preparing 02:46:44 e9e99a41f7f3: Preparing 02:46:44 6f484fb6c256: Preparing 02:46:44 29a2fcf98be5: Preparing 02:46:44 4874ddb6bb31: Preparing 02:46:44 3c20671a5817: Preparing 02:46:44 3c20671a5817: Waiting 02:46:44 2bb30cf8744a: Pushed 02:46:44 e9e99a41f7f3: Pushed 02:46:44 29a2fcf98be5: Pushed 02:46:44 4874ddb6bb31: Pushed 02:46:44 3c20671a5817: Layer already exists 02:46:54 6f484fb6c256: Pushed 02:46:54 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:46:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:46:55 2bb30cf8744a: Preparing 02:46:55 e9e99a41f7f3: Preparing 02:46:55 6f484fb6c256: Preparing 02:46:55 29a2fcf98be5: Preparing 02:46:55 4874ddb6bb31: Preparing 02:46:55 3c20671a5817: Preparing 02:46:55 3c20671a5817: Waiting 02:46:55 29a2fcf98be5: Layer already exists 02:46:55 6f484fb6c256: Layer already exists 02:46:55 e9e99a41f7f3: Layer already exists 02:46:55 2bb30cf8744a: Layer already exists 02:46:55 4874ddb6bb31: Layer already exists 02:46:55 3c20671a5817: Layer already exists 02:46:55 latest: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:56 + 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 02:46:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.17 02:46:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:46:56 2bb30cf8744a: Preparing 02:46:56 e9e99a41f7f3: Preparing 02:46:56 6f484fb6c256: Preparing 02:46:56 29a2fcf98be5: Preparing 02:46:56 4874ddb6bb31: Preparing 02:46:56 3c20671a5817: Preparing 02:46:56 3c20671a5817: Waiting 02:46:56 29a2fcf98be5: Layer already exists 02:46:56 2bb30cf8744a: Layer already exists 02:46:56 6f484fb6c256: Layer already exists 02:46:56 e9e99a41f7f3: Layer already exists 02:46:56 4874ddb6bb31: Layer already exists 02:46:56 3c20671a5817: Layer already exists 02:46:56 3.2.0-dev.17: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:57 + 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 02:46:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 02:46:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:46:58 2bb30cf8744a: Preparing 02:46:58 e9e99a41f7f3: Preparing 02:46:58 6f484fb6c256: Preparing 02:46:58 29a2fcf98be5: Preparing 02:46:58 4874ddb6bb31: Preparing 02:46:58 3c20671a5817: Preparing 02:46:58 3c20671a5817: Waiting 02:46:58 29a2fcf98be5: Layer already exists 02:46:58 4874ddb6bb31: Layer already exists 02:46:58 6f484fb6c256: Layer already exists 02:46:58 2bb30cf8744a: Layer already exists 02:46:58 e9e99a41f7f3: Layer already exists 02:46:58 3c20671a5817: Layer already exists 02:46:58 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:46:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:46:59 2bb30cf8744a: Preparing 02:46:59 e9e99a41f7f3: Preparing 02:46:59 6f484fb6c256: Preparing 02:46:59 29a2fcf98be5: Preparing 02:46:59 4874ddb6bb31: Preparing 02:46:59 3c20671a5817: Preparing 02:46:59 3c20671a5817: Waiting 02:46:59 6f484fb6c256: Layer already exists 02:46:59 4874ddb6bb31: Layer already exists 02:46:59 2bb30cf8744a: Layer already exists 02:46:59 e9e99a41f7f3: Layer already exists 02:46:59 29a2fcf98be5: Layer already exists 02:46:59 3c20671a5817: Layer already exists 02:46:59 main: digest: sha256:bb390ee02e83b77b03d65dd3f542aac3f54a65e28483666442c4f52941c33c68 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:46:59 ===================================================== [Pipeline] echo 02:46:59 taggedImages: 02:46:59 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af 02:46:59 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:46:59 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.17 02:46:59 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8bf5b7d36c28be4da0349ec8b67dab2a1672f7af-3.2.0-dev.17 02:46:59 - 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 02:47:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:00 02:47:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:00 arm64: Pulling from edgex-lftools-log-publisher 02:47:00 8998bd30e6a1: Pulling fs layer 02:47:00 04944245beec: Pulling fs layer 02:47:00 699f458cf7ca: Pulling fs layer 02:47:00 765212b225bb: Pulling fs layer 02:47:00 f23df028b6ca: Pulling fs layer 02:47:00 d65c8cfc05b1: Pulling fs layer 02:47:00 2437ff75d9bd: Pulling fs layer 02:47:00 f23df028b6ca: Waiting 02:47:00 d65c8cfc05b1: Waiting 02:47:00 765212b225bb: Waiting 02:47:00 2437ff75d9bd: Waiting 02:47:00 04944245beec: Verifying Checksum 02:47:00 04944245beec: Download complete 02:47:00 765212b225bb: Verifying Checksum 02:47:00 765212b225bb: Download complete 02:47:00 f23df028b6ca: Download complete 02:47:00 d65c8cfc05b1: Verifying Checksum 02:47:00 d65c8cfc05b1: Download complete 02:47:00 699f458cf7ca: Verifying Checksum 02:47:00 699f458cf7ca: Download complete 02:47:01 8998bd30e6a1: Verifying Checksum 02:47:01 8998bd30e6a1: Download complete 02:47:04 2437ff75d9bd: Verifying Checksum 02:47:04 2437ff75d9bd: Download complete 02:47:06 8998bd30e6a1: Pull complete 02:47:07 04944245beec: Pull complete 02:47:09 699f458cf7ca: Pull complete 02:47:09 765212b225bb: Pull complete 02:47:10 f23df028b6ca: Pull complete 02:47:10 d65c8cfc05b1: Pull complete 02:47:28 2437ff75d9bd: Pull complete 02:47:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:47:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:47:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:29 prd-ubuntu20.04-docker-arm64-4c-16g-6818 does not seem to be running inside a container 02:47:29 $ 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 02:47:32 $ docker top a57953dc9b083d5a983cd2cedc6d4ac8f4009b0b67f49931614d8f9b068cb615 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:47:33 ---> job-cost.sh 02:47:33 lf-activate-venv: SKIPPING 02:47:33 INFO: No Stack... 02:47:33 INFO: Retrieving Pricing Info for: v3-standard-4 02:47:34 INFO: Archiving Costs [Pipeline] sh 02:47:34 + + cut -d, -f6 02:47:34 cat /w/workspace/device-mqtt-go/171/archives/cost.csv [Pipeline] lock 02:47:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] 02:47:34 Resource [jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] did not exist. Created. 02:47:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:47:35 /w/workspace/device-mqtt-go/171@tmp/durable-f2acd9e3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:47:36 + echo total: 0.10999999940395355 [Pipeline] stash 02:47:36 Warning: overwriting stash ‘stack-cost’ 02:47:36 Stashed 1 file(s) [Pipeline] } 02:47:36 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } 02:47:36 $ docker stop --time=1 a57953dc9b083d5a983cd2cedc6d4ac8f4009b0b67f49931614d8f9b068cb615 02:47:38 $ 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 02:47:38 provisioning config files... 02:47:38 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10823874710327300007tmp [Pipeline] { [Pipeline] sh 02:47:38 + set +x 02:47:38 + bash -s -- 02:47:38 + curl -s https://codecov.io/bash 02:47:38 02:47:38 _____ _ 02:47:38 / ____| | | 02:47:38 | | ___ __| | ___ ___ _____ __ 02:47:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:47:38 | |___| (_) | (_| | __/ (_| (_) \ V / 02:47:38 \_____\___/ \__,_|\___|\___\___/ \_/ 02:47:38 Bash-1.0.6 02:47:38 02:47:38 02:47:38 ==> git version 2.25.1 found 02:47:38 ==> 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 02:47:38 Release-Date: 2020-01-08 02:47:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:47:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:47:38 ==> Jenkins CI detected. 02:47:38 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:47:38 project root: . 02:47:38 --> token set from env 02:47:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:47:39 ==> Running gcov in . (disable via -X gcov) 02:47:39 ==> Python coveragepy not found 02:47:39 ==> Searching for coverage reports in: 02:47:39 + . 02:47:39 -> Found 1 reports 02:47:39 ==> Detecting git/mercurial file structure 02:47:39 ==> Reading reports 02:47:39 + ./coverage.out bytes=18506 02:47:39 ==> Appending adjustments 02:47:39 https://docs.codecov.io/docs/fixing-reports 02:47:39 + Found adjustments 02:47:39 ==> Gzipping contents 02:47:39 4.0K /tmp/codecov.z2Lo2w.gz 02:47:39 ==> Uploading reports 02:47:39 url: https://codecov.io 02:47:39 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= 02:47:39 -> Pinging Codecov 02:47:39 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= 02:47:39 -> Uploading to 02:47:39 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 02:47:39 % Total % Received % Xferd Average Speed Time Time Time Current 02:47:39 Dload Upload Total Spent Left Speed 02:47:39 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 02:47:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] } 02:47:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:47:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:47:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:47:40 02:47:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:47:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:47:40 latest: Pulling from edgex-devops/edgex-snyk-go 02:47:40 619be1103602: Already exists 02:47:40 f8ea3408117e: Pulling fs layer 02:47:40 91320369b822: Pulling fs layer 02:47:40 0406650e8295: Pulling fs layer 02:47:40 4f4fb700ef54: Pulling fs layer 02:47:40 96d80e3f36e1: Pulling fs layer 02:47:40 4f4fb700ef54: Waiting 02:47:40 bcf3aedb951c: Pulling fs layer 02:47:40 96d80e3f36e1: Waiting 02:47:40 0406650e8295: Verifying Checksum 02:47:40 0406650e8295: Download complete 02:47:40 4f4fb700ef54: Download complete 02:47:40 f8ea3408117e: Verifying Checksum 02:47:40 f8ea3408117e: Download complete 02:47:40 f8ea3408117e: Pull complete 02:47:40 96d80e3f36e1: Verifying Checksum 02:47:40 96d80e3f36e1: Download complete 02:47:41 91320369b822: Verifying Checksum 02:47:41 91320369b822: Download complete 02:47:41 bcf3aedb951c: Verifying Checksum 02:47:41 bcf3aedb951c: Download complete 02:47:44 91320369b822: Pull complete 02:47:44 0406650e8295: Pull complete 02:47:44 4f4fb700ef54: Pull complete 02:47:44 96d80e3f36e1: Pull complete 02:47:48 bcf3aedb951c: Pull complete 02:47:48 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 02:47:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:47:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:47:48 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:47:48 $ 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 02:47:54 $ docker top 769abf33150a7d525f2d4b9ca2a4358af315a6a11edb5c23e38e8b31a074beeb -eo pid,comm [Pipeline] { [Pipeline] sh 02:47:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 02:47:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:47:55 + set -o pipefail 02:47:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:48:03 02:48:03 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:48:03 02:48:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/409ff6fa-17f7-4bfa-8e6f-b67391b8df58 02:48:03 02:48:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:48:03 02:48:03 02:48:03 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:48:03 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:48:03 $ docker stop --time=1 769abf33150a7d525f2d4b9ca2a4358af315a6a11edb5c23e38e8b31a074beeb 02:48:13 $ 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 02:48:14 + git log --format=format:%s -1 8bf5b7d36c28be4da0349ec8b67dab2a1672f7af [Pipeline] sh 02:48:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:48:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:14 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:48:14 $ 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 02:48:15 $ docker top 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 -eo pid,comm 02:48:15 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). 02:48:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:15 [ssh-agent] Looking for ssh-agent implementation... 02:48:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:15 $ docker exec 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 ssh-agent 02:48:15 SSH_AUTH_SOCK=/tmp/ssh-N6zk7v1K06Mh/agent.32 02:48:15 SSH_AGENT_PID=38 02:48:15 Running ssh-add (command line suppressed) 02:48:15 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) 02:48:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:16 + git semver tag 02:48:16 2024-07-31 02:48:16,459 [run_tag] DEBUG tag force:False 02:48:16 2024-07-31 02:48:16,459 [check_head_tag] DEBUG check head tag 02:48:16 2024-07-31 02:48:16,460 [execute] INFO git cat-file --batch-check 02:48:16 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=) 02:48:16 2024-07-31 02:48:16,464 [execute] INFO git cat-file --batch 02:48:16 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=) 02:48:16 2024-07-31 02:48:16,478 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:48:16 2024-07-31 02:48:16,478 [execute] INFO git tag -a v3.2.0-dev.17 -m v3.2.0-dev.17 02:48:16 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) 02:48:16 2024-07-31 02:48:16,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:48:16 3.2.0-dev.17 [Pipeline] } 02:48:16 $ docker exec --env ******** --env ******** 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 ssh-agent -k 02:48:16 unset SSH_AUTH_SOCK; 02:48:16 unset SSH_AGENT_PID; 02:48:16 echo Agent pid 38 killed; 02:48:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:16 + git semver [Pipeline] } 02:48:17 $ docker stop --time=1 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 02:48:19 $ docker rm -f --volumes 2d814435882852e6964f1fc69b2074c7a2f399f08c7c3b58da101a8dd058ffc9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:48:19 02:48:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:48:19 0.23.1-centos7: Pulling from edgex-lftools 02:48:19 ab5ef0e58194: Pulling fs layer 02:48:19 9712f1f96733: Pulling fs layer 02:48:19 63f879dbbcfc: Pulling fs layer 02:48:19 0d9ebad4ef96: Pulling fs layer 02:48:19 e9a5061849ea: Pulling fs layer 02:48:19 d747dcd14b5f: Pulling fs layer 02:48:19 2de7ff778b66: Pulling fs layer 02:48:19 e9a5061849ea: Waiting 02:48:19 d747dcd14b5f: Waiting 02:48:19 0d9ebad4ef96: Waiting 02:48:19 9712f1f96733: Verifying Checksum 02:48:19 9712f1f96733: Download complete 02:48:20 63f879dbbcfc: Verifying Checksum 02:48:20 63f879dbbcfc: Download complete 02:48:20 e9a5061849ea: Verifying Checksum 02:48:20 e9a5061849ea: Download complete 02:48:20 d747dcd14b5f: Verifying Checksum 02:48:20 d747dcd14b5f: Download complete 02:48:20 0d9ebad4ef96: Verifying Checksum 02:48:20 0d9ebad4ef96: Download complete 02:48:20 ab5ef0e58194: Verifying Checksum 02:48:20 ab5ef0e58194: Download complete 02:48:20 2de7ff778b66: Verifying Checksum 02:48:20 2de7ff778b66: Download complete 02:48:23 ab5ef0e58194: Pull complete 02:48:23 9712f1f96733: Pull complete 02:48:24 63f879dbbcfc: Pull complete 02:48:27 0d9ebad4ef96: Pull complete 02:48:27 e9a5061849ea: Pull complete 02:48:27 d747dcd14b5f: Pull complete 02:48:28 2de7ff778b66: Pull complete 02:48:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:48:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:48:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:29 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:48:29 $ 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 02:48:35 $ docker top fb2b4544b7e17f21be271dc0b5bc0779bbcf09cd3c460cbb3c51af4f3682f550 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:48:35 provisioning config files... 02:48:35 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config16328670928067612716tmp 02:48:35 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14025361471526919625tmp 02:48:35 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8157509362158537649tmp [Pipeline] { [Pipeline] echo 02:48:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:48:35 ---> sigul-configuration.sh 02:48:35 gpg: directory `/root/.gnupg' created 02:48:35 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:48:35 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:48:35 gpg: keyring `/root/.gnupg/secring.gpg' created 02:48:35 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:48:35 gpg: CAST5 encrypted data 02:48:35 gpg: encrypted with 1 passphrase 02:48:35 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:48:36 + mkdir /home/jenkins 02:48:36 + mkdir /home/jenkins/sigul [Pipeline] sh 02:48:36 + 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 02:48:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:48:36 ---> sigul-install.sh 02:48:36 Sigul already installed; skipping installation. [Pipeline] sh 02:48:37 + git tag --list 02:48:37 0.7.1 02:48:37 v1.0.0 02:48:37 v1.1.0 02:48:37 v1.1.1 02:48:37 v1.2.2 02:48:37 v1.3.0 02:48:37 v1.3.1 02:48:37 v2.0.0 02:48:37 v2.1.0 02:48:37 v2.1.1 02:48:37 v2.2.0 02:48:37 v2.3.0 02:48:37 v3.0 02:48:37 v3.0.0 02:48:37 v3.1 02:48:37 v3.1.0 02:48:37 v3.1.0-dev.1 02:48:37 v3.1.0-dev.10 02:48:37 v3.1.0-dev.11 02:48:37 v3.1.0-dev.12 02:48:37 v3.1.0-dev.13 02:48:37 v3.1.0-dev.14 02:48:37 v3.1.0-dev.15 02:48:37 v3.1.0-dev.16 02:48:37 v3.1.0-dev.17 02:48:37 v3.1.0-dev.18 02:48:37 v3.1.0-dev.19 02:48:37 v3.1.0-dev.2 02:48:37 v3.1.0-dev.20 02:48:37 v3.1.0-dev.21 02:48:37 v3.1.0-dev.22 02:48:37 v3.1.0-dev.23 02:48:37 v3.1.0-dev.24 02:48:37 v3.1.0-dev.25 02:48:37 v3.1.0-dev.3 02:48:37 v3.1.0-dev.4 02:48:37 v3.1.0-dev.5 02:48:37 v3.1.0-dev.6 02:48:37 v3.1.0-dev.7 02:48:37 v3.1.0-dev.8 02:48:37 v3.1.0-dev.9 02:48:37 v3.1.1 02:48:37 v3.2.0-dev.1 02:48:37 v3.2.0-dev.10 02:48:37 v3.2.0-dev.11 02:48:37 v3.2.0-dev.12 02:48:37 v3.2.0-dev.13 02:48:37 v3.2.0-dev.14 02:48:37 v3.2.0-dev.15 02:48:37 v3.2.0-dev.16 02:48:37 v3.2.0-dev.17 02:48:37 v3.2.0-dev.2 02:48:37 v3.2.0-dev.3 02:48:37 v3.2.0-dev.4 02:48:37 v3.2.0-dev.5 02:48:37 v3.2.0-dev.6 02:48:37 v3.2.0-dev.7 02:48:37 v3.2.0-dev.8 02:48:37 v3.2.0-dev.9 [Pipeline] sh 02:48:37 + lftools sign git-tag v3.2.0-dev.17 02:48:37 Signing Git tag with Sigul... 02:48:37 Signing v3.2.0-dev.17 [Pipeline] echo 02:48:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:48:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:48:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:48:38 $ docker stop --time=1 fb2b4544b7e17f21be271dc0b5bc0779bbcf09cd3c460cbb3c51af4f3682f550 02:48:39 $ 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 02:48:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:48:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:40 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:48:40 $ 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 02:48:41 $ docker top d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a -eo pid,comm 02:48:41 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). 02:48:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:41 [ssh-agent] Looking for ssh-agent implementation... 02:48:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:41 $ docker exec d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a ssh-agent 02:48:41 SSH_AUTH_SOCK=/tmp/ssh-8rQvdK8E4DK3/agent.33 02:48:41 SSH_AGENT_PID=39 02:48:41 Running ssh-add (command line suppressed) 02:48:41 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) 02:48:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:41 + git semver bump pre 02:48:42 2024-07-31 02:48:42,077 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:48:42 2024-07-31 02:48:42,077 [bump_version] DEBUG bumping version:3.2.0-dev.17 on axis:pre with prefix:dev 02:48:42 2024-07-31 02:48:42,077 [bump_version] DEBUG bumped version:3.2.0-dev.18 02:48:42 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 02:48:42 2024-07-31 02:48:42,078 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:48:42 2024-07-31 02:48:42,078 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:48:42 2024-07-31 02:48:42,082 [execute] INFO git cat-file --batch-check 02:48:42 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=) 02:48:42 2024-07-31 02:48:42,089 [execute] INFO git cat-file --batch 02:48:42 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=) 02:48:42 2024-07-31 02:48:42,094 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:48:42 3.2.0-dev.18 [Pipeline] } 02:48:42 $ docker exec --env ******** --env ******** d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a ssh-agent -k 02:48:42 unset SSH_AUTH_SOCK; 02:48:42 unset SSH_AGENT_PID; 02:48:42 echo Agent pid 39 killed; 02:48:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:42 + git semver [Pipeline] } 02:48:42 $ docker stop --time=1 d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a 02:48:44 $ docker rm -f --volumes d82331f060ce19124b494adbc48de0c5afb4a729fe14d85e4bc630f3f5ffaa8a [Pipeline] // withDockerContainer [Pipeline] sh 02:48:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:48:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:44 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:48:44 $ 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 02:48:45 $ docker top 58008758f4798ad29707acf2e74a0f089886c09c6e5d6e96d36b05dc3eb39d4d -eo pid,comm 02:48:45 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). 02:48:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:45 [ssh-agent] Looking for ssh-agent implementation... 02:48:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:45 $ docker exec 58008758f4798ad29707acf2e74a0f089886c09c6e5d6e96d36b05dc3eb39d4d ssh-agent 02:48:45 SSH_AUTH_SOCK=/tmp/ssh-H03ffKmZhTEm/agent.31 02:48:45 SSH_AGENT_PID=37 02:48:45 Running ssh-add (command line suppressed) 02:48:45 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) 02:48:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:45 + git semver push 02:48:46 2024-07-31 02:48:46,119 [run_push] DEBUG push 02:48:46 2024-07-31 02:48:46,120 [execute] INFO git cat-file --batch-check 02:48:46 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=) 02:48:46 2024-07-31 02:48:46,123 [execute] INFO git rev-list 65274ad43b975361d5d3ad574e042b06e138ae07 -- 02:48:46 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) 02:48:46 2024-07-31 02:48:46,132 [execute] INFO git fetch -v origin 02:48:46 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) 02:48:46 2024-07-31 02:48:46,584 [run_push] DEBUG no remote changes detected 02:48:46 2024-07-31 02:48:46,584 [execute] INFO git push origin semver 02:48:46 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) 02:48:47 2024-07-31 02:48:47,368 [run_push] DEBUG push all version tags 02:48:47 2024-07-31 02:48:47,368 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:48:47 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) 02:48:48 2024-07-31 02:48:48,056 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:48:48 3.2.0-dev.18 [Pipeline] } 02:48:48 $ docker exec --env ******** --env ******** 58008758f4798ad29707acf2e74a0f089886c09c6e5d6e96d36b05dc3eb39d4d ssh-agent -k 02:48:48 unset SSH_AUTH_SOCK; 02:48:48 unset SSH_AGENT_PID; 02:48:48 echo Agent pid 37 killed; 02:48:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:48 + git semver [Pipeline] } 02:48:48 $ docker stop --time=1 58008758f4798ad29707acf2e74a0f089886c09c6e5d6e96d36b05dc3eb39d4d 02:48:50 $ 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 02:48:50 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:48:50 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:48:50 total 16 02:48:50 drwxr-xr-x 3 root root 4096 Jul 31 02:33 . 02:48:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 02:48 .. 02:48:50 drwxr-xr-x 2 root root 4096 Jul 31 02:33 cost 02:48:50 -rw-r--r-- 1 root root 86 Jul 31 02:33 cost.csv 02:48:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:48:50 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:48:50 total 16 02:48:50 drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:33 . 02:48:50 drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 02:48 .. 02:48:50 drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 02:33 cost 02:48:50 -rw-r--r-- 1 jenkins jenkins 86 Jul 31 02:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:48:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:52 ---> package-listing.sh 02:48:52 ++ facter osfamily 02:48:52 ++ tr '[:upper:]' '[:lower:]' 02:48:52 + OS_FAMILY=debian 02:48:52 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:48:52 + START_PACKAGES=/tmp/packages_start.txt 02:48:52 + END_PACKAGES=/tmp/packages_end.txt 02:48:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:52 + PACKAGES=/tmp/packages_start.txt 02:48:52 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:48:52 + PACKAGES=/tmp/packages_end.txt 02:48:52 + case "${OS_FAMILY}" in 02:48:52 + dpkg -l 02:48:52 + grep '^ii' 02:48:52 + '[' -f /tmp/packages_start.txt ']' 02:48:52 + '[' -f /tmp/packages_end.txt ']' 02:48:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:52 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:48:52 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:48:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:48:52 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 02:48:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:48:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:53 prd-ubuntu20.04-docker-8c-8g-6807 does not seem to be running inside a container 02:48:53 $ 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 02:48:53 $ docker top c3a4f0412e54d393fd672def38b3241fdfc6ba3d1ccd8547e141ee0526a71720 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:53 + touch /tmp/pre-build-complete [Pipeline] sh 02:48:54 + mkdir -p /var/log/sysstat [Pipeline] sh 02:48:54 + ls /var/log/sa-host 02:48:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:54 provisioning config files... 02:48:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15707853092448156311tmp [Pipeline] { [Pipeline] echo 02:48:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:48:54 ---> create-netrc.sh [Pipeline] } 02:48:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:48:55 ---> python-tools-install.sh [Pipeline] echo 02:48:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:48:55 ---> sudo-logs.sh 02:48:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:48:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:48:55 ---> job-cost.sh 02:48:55 lf-activate-venv: SKIPPING 02:48:55 DEBUG: total: 0.2199999988079071 02:48:55 INFO: Retrieving Stack Cost... 02:48:56 INFO: Retrieving Pricing Info for: v3-standard-8 02:48:56 INFO: Archiving Costs [Pipeline] echo 02:48:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:48:56 ---> logs-deploy.sh 02:48:56 lf-activate-venv: SKIPPING 02:48:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/171 02:48:56 INFO: archiving workspace using pattern(s): 02:48:57 Archives upload complete. 02:48:57 INFO: archiving logs to Nexus