Pull request #696 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6233e5b8e31cd05fef6663a97a9452ee99d6ab14+a7ea162f49cc88b1fd5543c209327df7c238676c (ab5293ace9438eb80aa39193fc006b46ac5d3a9a) 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-ssh14473098160349894463.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh17601973699129707948.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4690228703295387051.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3514942368447569790.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10415633139229084152.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-696/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12533137630581320669.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 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 ‘prd-ubuntu20.04-docker-8c-8g-15484’ Running on prd-ubuntu20.04-docker-8c-8g-15491 in /w/workspace/gexfoundry_device-mqtt-go_PR-696 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-696 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 Merge succeeded, producing 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 Checking out Revision 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 (PR-696) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:13:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:13:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:13:18 ========================================================= 01:13:18 EdgeX Global Pipelines Version Info 01:13:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:13:19 ------------------- 01:13:19 stable info: 01:13:19 ------------------- 01:13:19 Commited By: Ginny Guan ginny@iotechsys.com 01:13:19 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 01:13:19 Message: update stable to v1.0.265 01:13:19 ------------------- 01:13:19 experimental info: 01:13:19 ------------------- 01:13:19 Commited By: Cherry Wang cherry@iotechsys.com 01:13:19 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:13:19 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:13:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:13:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-696 [Pipeline] echo 01:13:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-696 [Pipeline] echo 01:13:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-696 [Pipeline] echo 01:13:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [Pipeline] echo 01:13:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6233e5b [Pipeline] echo 01:13:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:22 provisioning config files... 01:13:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/config1488579777657566999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:22 ---> ****-login.sh 01:13:22 nexus3.edgexfoundry.org:10001 01:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:23 Configure a credential helper to remove this warning. See 01:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:23 01:13:23 Login Succeeded 01:13:23 nexus3.edgexfoundry.org:10002 01:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:23 Configure a credential helper to remove this warning. See 01:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:23 01:13:23 Login Succeeded 01:13:23 nexus3.edgexfoundry.org:10003 01:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:23 Configure a credential helper to remove this warning. See 01:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:23 01:13:23 Login Succeeded 01:13:23 nexus3.edgexfoundry.org:10004 01:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:23 Configure a credential helper to remove this warning. See 01:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:23 01:13:23 Login Succeeded 01:13:23 ****.io 01:13:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:23 Configure a credential helper to remove this warning. See 01:13:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:23 01:13:23 Login Succeeded 01:13:23 ---> ****-login.sh ends [Pipeline] } 01:13:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:13:24 + git rev-list -1 --merges 6233e5b8e31cd05fef6663a97a9452ee99d6ab14~1..6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [Pipeline] echo 01:13:24 -----------> git rev-list -1 --merges 6233e5b8e31cd05fef6663a97a9452ee99d6ab14~1..6233e5b8e31cd05fef6663a97a9452ee99d6ab14 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [false] [Pipeline] sh 01:13:25 + git log --format=format:%s -1 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [Pipeline] echo 01:13:25 ========================================================= 01:13:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:13:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:13:25 + git log --format=format:%s -1 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 [Pipeline] echo 01:13:25 [semverPrep] GIT_COMMIT: 6233e5b8e31cd05fef6663a97a9452ee99d6ab14, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:13:25 [semverPrep] This is not a build commit. [Pipeline] sh 01:13:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:13:26 + grep -v github /etc/ssh/ssh_known_hosts 01:13:26 + [ -e /tmp/ssh_known_hosts ] 01:13:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:13:26 + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a 01:13:26 /etc/ssh/ssh_known_hosts 01:13:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:13:26 01:13:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:13:27 0.1.4: Pulling from edgex-devops/py-git-semver 01:13:27 b85a868b505f: Pulling fs layer 01:13:27 e2be974225ed: Pulling fs layer 01:13:27 339a4e72a1f5: Pulling fs layer 01:13:27 988bab9f4d93: Pulling fs layer 01:13:27 1469e6f7b9e6: Pulling fs layer 01:13:27 eaf3925da568: Pulling fs layer 01:13:27 bab4dde63d76: Pulling fs layer 01:13:27 bde34c3a00c8: Pulling fs layer 01:13:27 b352a97aabf1: Pulling fs layer 01:13:27 4872d77fe225: Pulling fs layer 01:13:27 5851b861e8e6: Pulling fs layer 01:13:27 988bab9f4d93: Waiting 01:13:27 1469e6f7b9e6: Waiting 01:13:27 eaf3925da568: Waiting 01:13:27 bab4dde63d76: Waiting 01:13:27 bde34c3a00c8: Waiting 01:13:27 5851b861e8e6: Waiting 01:13:27 b352a97aabf1: Waiting 01:13:27 4872d77fe225: Waiting 01:13:27 e2be974225ed: Verifying Checksum 01:13:27 e2be974225ed: Download complete 01:13:27 988bab9f4d93: Verifying Checksum 01:13:27 988bab9f4d93: Download complete 01:13:27 1469e6f7b9e6: Verifying Checksum 01:13:27 1469e6f7b9e6: Download complete 01:13:27 339a4e72a1f5: Verifying Checksum 01:13:27 339a4e72a1f5: Download complete 01:13:27 eaf3925da568: Verifying Checksum 01:13:27 eaf3925da568: Download complete 01:13:27 bde34c3a00c8: Verifying Checksum 01:13:27 bde34c3a00c8: Download complete 01:13:27 b352a97aabf1: Verifying Checksum 01:13:27 b352a97aabf1: Download complete 01:13:27 4872d77fe225: Verifying Checksum 01:13:27 4872d77fe225: Download complete 01:13:27 5851b861e8e6: Download complete 01:13:27 b85a868b505f: Verifying Checksum 01:13:27 b85a868b505f: Download complete 01:13:27 bab4dde63d76: Verifying Checksum 01:13:27 bab4dde63d76: Download complete 01:13:28 b85a868b505f: Pull complete 01:13:28 e2be974225ed: Pull complete 01:13:29 339a4e72a1f5: Pull complete 01:13:29 988bab9f4d93: Pull complete 01:13:29 1469e6f7b9e6: Pull complete 01:13:29 eaf3925da568: Pull complete 01:13:30 bab4dde63d76: Pull complete 01:13:30 bde34c3a00c8: Pull complete 01:13:31 b352a97aabf1: Pull complete 01:13:31 4872d77fe225: Pull complete 01:13:31 5851b861e8e6: Pull complete 01:13:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:13:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:13:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:13:31 prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container 01:13:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@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 01:13:34 $ docker top 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 -eo pid,comm 01:13:34 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). 01:13:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:13:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:13:34 [ssh-agent] Looking for ssh-agent implementation... 01:13:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:13:34 $ docker exec 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 ssh-agent 01:13:34 SSH_AUTH_SOCK=/tmp/ssh-TeZ3SZ2LO4xR/agent.32 01:13:34 SSH_AGENT_PID=38 01:13:34 Running ssh-add (command line suppressed) 01:13:34 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/private_key_251455943434112085.key (/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/private_key_251455943434112085.key) 01:13:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:13:35 + git tag --points-at HEAD [Pipeline] } 01:13:35 $ docker exec --env ******** --env ******** 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 ssh-agent -k 01:13:35 unset SSH_AUTH_SOCK; 01:13:35 unset SSH_AGENT_PID; 01:13:35 echo Agent pid 38 killed; 01:13:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:13:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:13:35 [ssh-agent] Looking for ssh-agent implementation... 01:13:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:13:35 $ docker exec 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 ssh-agent 01:13:35 SSH_AUTH_SOCK=/tmp/ssh-WCjAvgpK32rW/agent.71 01:13:35 SSH_AGENT_PID=77 01:13:35 Running ssh-add (command line suppressed) 01:13:35 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/private_key_10424358066218683251.key (/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/private_key_10424358066218683251.key) 01:13:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:13:36 + git semver init 01:13:36 2024-10-04 01:13:36,237 [run_init] DEBUG init version:0.0.0 force:False 01:13:36 2024-10-04 01:13:36,238 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver 01:13:36 2024-10-04 01:13:36,238 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver 01:13:36 2024-10-04 01:13:36,239 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-696, universal_newlines=False, shell=None, istream=None) 01:13:38 2024-10-04 01:13:37,870 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696/.git/info/exclude 01:13:38 2024-10-04 01:13:37,870 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver/PR-696 with force:False 01:13:38 2024-10-04 01:13:37,870 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver/PR-696 01:13:38 2024-10-04 01:13:37,875 [execute] INFO git cat-file --batch-check 01:13:38 2024-10-04 01:13:37,876 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver, universal_newlines=False, shell=None, istream=) 01:13:38 2024-10-04 01:13:37,881 [execute] INFO git cat-file --batch 01:13:38 2024-10-04 01:13:37,882 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver, universal_newlines=False, shell=None, istream=) 01:13:38 2024-10-04 01:13:37,886 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-696/.semver/PR-696 01:13:38 0.0.0 [Pipeline] } 01:13:38 $ docker exec --env ******** --env ******** 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 ssh-agent -k 01:13:38 unset SSH_AUTH_SOCK; 01:13:38 unset SSH_AGENT_PID; 01:13:38 echo Agent pid 77 killed; 01:13:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:13:39 + git semver [Pipeline] } 01:13:39 $ docker stop --time=1 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 01:13:40 $ docker rm -f --volumes 7c73f6bd6feb057c24e6c6cb956f40dc6529319fa3dc47861be3cc9fda26ae46 [Pipeline] // withDockerContainer [Pipeline] sh 01:13:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:13:41 Stashed 1 file(s) [Pipeline] echo 01:13:41 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:44 provisioning config files... 01:13:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/config573435319329200668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:44 ---> ****-login.sh 01:13:44 nexus3.edgexfoundry.org:10001 01:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:44 Configure a credential helper to remove this warning. See 01:13:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:44 01:13:44 Login Succeeded 01:13:44 nexus3.edgexfoundry.org:10002 01:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:44 Configure a credential helper to remove this warning. See 01:13:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:44 01:13:44 Login Succeeded 01:13:44 nexus3.edgexfoundry.org:10003 01:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:45 Configure a credential helper to remove this warning. See 01:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:45 01:13:45 Login Succeeded 01:13:45 nexus3.edgexfoundry.org:10004 01:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:45 Configure a credential helper to remove this warning. See 01:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:45 01:13:45 Login Succeeded 01:13:45 ****.io 01:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:13:45 Configure a credential helper to remove this warning. See 01:13:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:13:45 01:13:45 Login Succeeded 01:13:45 ---> ****-login.sh ends [Pipeline] } 01:13:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:13:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:13:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:13:46 ========================================================= 01:13:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:13:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:47 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:13:47 Sending build context to Docker daemon 20.86MB 01:13:47 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:13:47 Step 2/12 : FROM ${BASE} AS builder 01:13:47 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:13:47 43c4264eed91: Pulling fs layer 01:13:47 4cc291be95ef: Pulling fs layer 01:13:47 2ac1f1163629: Pulling fs layer 01:13:47 5c3c966382ef: Pulling fs layer 01:13:47 4f4fb700ef54: Pulling fs layer 01:13:47 5d5c8e513c77: Pulling fs layer 01:13:47 9f66e0745190: Pulling fs layer 01:13:47 f49a43e4bbc0: Pulling fs layer 01:13:47 561ebcabdf7f: Pulling fs layer 01:13:47 4f4fb700ef54: Waiting 01:13:47 9f66e0745190: Waiting 01:13:47 f49a43e4bbc0: Waiting 01:13:47 5c3c966382ef: Waiting 01:13:47 561ebcabdf7f: Waiting 01:13:47 5d5c8e513c77: Waiting 01:13:47 4cc291be95ef: Download complete 01:13:47 5c3c966382ef: Verifying Checksum 01:13:47 5c3c966382ef: Download complete 01:13:47 4f4fb700ef54: Verifying Checksum 01:13:47 4f4fb700ef54: Download complete 01:13:47 5d5c8e513c77: Verifying Checksum 01:13:47 5d5c8e513c77: Download complete 01:13:47 43c4264eed91: Download complete 01:13:47 9f66e0745190: Verifying Checksum 01:13:47 9f66e0745190: Download complete 01:13:47 43c4264eed91: Pull complete 01:13:48 561ebcabdf7f: Verifying Checksum 01:13:48 561ebcabdf7f: Download complete 01:13:48 4cc291be95ef: Pull complete 01:13:48 2ac1f1163629: Download complete 01:13:48 f49a43e4bbc0: Verifying Checksum 01:13:48 f49a43e4bbc0: Download complete 01:13:51 2ac1f1163629: Pull complete 01:13:51 5c3c966382ef: Pull complete 01:13:51 4f4fb700ef54: Pull complete 01:13:51 5d5c8e513c77: Pull complete 01:13:51 9f66e0745190: Pull complete 01:13:54 f49a43e4bbc0: Pull complete 01:13:54 561ebcabdf7f: Pull complete 01:13:54 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 01:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:13:54 ---> 3a752c3f9dda 01:13:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:13:57 ---> Running in 6463cdaca313 01:13:57 Removing intermediate container 6463cdaca313 01:13:57 ---> 1dd55c2000d7 01:13:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:13:57 ---> Running in 443075e595fd 01:13:57 Removing intermediate container 443075e595fd 01:13:57 ---> 5a5251a3dea7 01:13:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:13:57 ---> Running in a5e63dfa7ff5 01:13:57 Removing intermediate container a5e63dfa7ff5 01:13:57 ---> 73029997c1ad 01:13:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:13:57 ---> Running in 67ced707908d 01:13:57 Removing intermediate container 67ced707908d 01:13:57 ---> fd0d3efd70ec 01:13:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:57 ---> Running in 53a2b147e5aa 01:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:13:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:13:58 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:13:58 (2/4) Installing libedit (20240517.3.1-r0) 01:13:58 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:13:58 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:13:58 Executing busybox-1.36.1-r29.trigger 01:13:58 OK: 250 MiB in 58 packages 01:13:58 Still waiting to schedule task 01:13:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15489’ 01:13:58 Removing intermediate container 53a2b147e5aa 01:13:58 ---> 313a083ffac9 01:13:58 Step 8/12 : WORKDIR /device-mqtt-go 01:13:58 ---> Running in 2ceed46e7a1d 01:13:58 Removing intermediate container 2ceed46e7a1d 01:13:58 ---> 5693c24a0553 01:13:58 Step 9/12 : COPY go.mod vendor* ./ 01:13:58 ---> aacf5ea7643c 01:13:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:58 ---> Running in a52142611db1 01:14:45 Removing intermediate container a52142611db1 01:14:45 ---> 866ef1ad78e0 01:14:45 Step 11/12 : COPY . . 01:14:45 ---> 9ec22ba02100 01:14:45 Step 12/12 : RUN $MAKE 01:14:45 ---> Running in 53d3a3b81c6b 01:14:45 noop 01:14:45 Removing intermediate container 53d3a3b81c6b 01:14:45 ---> 9ca2ac8e03b0 01:14:45 Successfully built 9ca2ac8e03b0 01:14:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:46 + docker inspect -f . ci-base-image-x86_64 01:14:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:47 prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container 01:14:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:14:47 $ docker top d9077c48db1ff9e03b9c8e055b8f559e5410bfb04ffde67c7d453276dfb384eb -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:48 + go version 01:14:48 go version go1.23.2 linux/amd64 [Pipeline] } 01:14:48 $ docker stop --time=1 d9077c48db1ff9e03b9c8e055b8f559e5410bfb04ffde67c7d453276dfb384eb 01:14:49 $ docker rm -f --volumes d9077c48db1ff9e03b9c8e055b8f559e5410bfb04ffde67c7d453276dfb384eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:50 + docker inspect -f . ci-base-image-x86_64 01:14:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:50 prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container 01:14:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:14:51 $ docker top 38a8dce6e2c18a43dab24b38a30ad4088fa79de544ca2973960d22990889b85a -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:51 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-696 [Pipeline] fileExists [Pipeline] sh 01:14:52 + make test 01:14:52 go test ./... -coverprofile=coverage.out ./... 01:14:52 go: updates to go.mod needed; to update it: 01:14:52 go mod tidy 01:14:52 make: *** [Makefile:33: unittest] Error 1 [Pipeline] } 01:14:52 $ docker stop --time=1 38a8dce6e2c18a43dab24b38a30ad4088fa79de544ca2973960d22990889b85a 01:14:54 $ docker rm -f --volumes 38a8dce6e2c18a43dab24b38a30ad4088fa79de544ca2973960d22990889b85a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:55 01:14:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:56 latest: Pulling from edgex-lftools-log-publisher 01:14:56 5eb5b503b376: Pulling fs layer 01:14:56 5c69ac0246d0: Pulling fs layer 01:14:56 ec43610c2a17: Pulling fs layer 01:14:56 3a2ae6a8a46f: Pulling fs layer 01:14:56 33b1e0a273af: Pulling fs layer 01:14:56 5d3b04190fa2: Pulling fs layer 01:14:56 2f39f015ded8: Pulling fs layer 01:14:56 3a2ae6a8a46f: Waiting 01:14:56 33b1e0a273af: Waiting 01:14:56 5d3b04190fa2: Waiting 01:14:56 2f39f015ded8: Waiting 01:14:56 5c69ac0246d0: Verifying Checksum 01:14:56 5c69ac0246d0: Download complete 01:14:56 3a2ae6a8a46f: Verifying Checksum 01:14:56 3a2ae6a8a46f: Download complete 01:14:56 33b1e0a273af: Verifying Checksum 01:14:56 33b1e0a273af: Download complete 01:14:56 5d3b04190fa2: Verifying Checksum 01:14:56 5d3b04190fa2: Download complete 01:14:56 ec43610c2a17: Verifying Checksum 01:14:56 ec43610c2a17: Download complete 01:14:56 5eb5b503b376: Verifying Checksum 01:14:56 5eb5b503b376: Download complete 01:14:56 2f39f015ded8: Verifying Checksum 01:14:56 2f39f015ded8: Download complete 01:14:57 5eb5b503b376: Pull complete 01:14:57 5c69ac0246d0: Pull complete 01:14:57 ec43610c2a17: Pull complete 01:14:57 3a2ae6a8a46f: Pull complete 01:14:57 33b1e0a273af: Pull complete 01:14:58 5d3b04190fa2: Pull complete 01:15:02 2f39f015ded8: Pull complete 01:15:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:15:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:02 prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container 01:15:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:15:03 $ docker top 8dd81cf1e084ad9c014599e637c93199dc2f5f8e9b68f69c6cab706dd7593e88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:04 ---> job-cost.sh 01:15:04 lf-activate-venv: SKIPPING 01:15:04 INFO: No Stack... 01:15:04 INFO: Retrieving Pricing Info for: v3-standard-8 01:15:05 INFO: Archiving Costs [Pipeline] sh 01:15:05 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives/cost.csv 01:15:05 + cut -d, -f6 [Pipeline] lock 01:15:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] 01:15:05 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] did not exist. Created. 01:15:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:15:05 + echo total: 0.2199999988079071 [Pipeline] stash 01:15:05 Stashed 1 file(s) [Pipeline] } 01:15:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:15:06 $ docker stop --time=1 8dd81cf1e084ad9c014599e637c93199dc2f5f8e9b68f69c6cab706dd7593e88 01:15:07 $ docker rm -f --volumes 8dd81cf1e084ad9c014599e637c93199dc2f5f8e9b68f69c6cab706dd7593e88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:15:07 Failed in branch amd64 01:17:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15492 in /w/workspace/gexfoundry_device-mqtt-go_PR-696 [Pipeline] { [Pipeline] ws 01:17:33 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:17:36 The recommended git tool is: git 01:17:44 using credential edgex-jenkins-ssh 01:17:44 Cloning the remote Git repository 01:17:44 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:17:44 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:17:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:17:44 > git --version # timeout=10 01:17:44 > git --version # 'git version 2.25.1' 01:17:44 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:17:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:17:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:17:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:17:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:17:49 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/696/head:refs/remotes/origin/PR-696 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:17:50 Merging remotes/origin/main commit a7ea162f49cc88b1fd5543c209327df7c238676c into PR head commit 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 01:17:50 Merge succeeded, producing 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 01:17:50 Checking out Revision 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 (PR-696) 01:17:51 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:17:51 > git --version # timeout=10 01:17:51 > git --version # 'git version 2.25.1' 01:17:51 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 01:17:50 > git config core.sparsecheckout # timeout=10 01:17:50 > git checkout -f 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 # timeout=10 01:17:50 > git remote # timeout=10 01:17:50 > git config --get remote.origin.url # timeout=10 01:17:50 using GIT_SSH to set credentials SSH Credentials for GitHub 01:17:50 > git merge a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 01:17:50 > git rev-parse HEAD^{commit} # timeout=10 01:17:50 > git config core.sparsecheckout # timeout=10 01:17:50 > git checkout -f 6233e5b8e31cd05fef6663a97a9452ee99d6ab14 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:17:56 % Total % Received % Xferd Average Speed Time Time Time Current 01:17:56 Dload Upload Total Spent Left Speed 01:17:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 86675 0 --:--:-- --:--:-- --:--:-- 86675 [Pipeline] sh 01:17:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:17:57 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 01:17:57 /etc/docker/daemon.json 01:17:57 { 01:17:57 "registry-mirrors": [ 01:17:57 "https://nexus3.edgexfoundry.org:10001" 01:17:57 ], 01:17:57 "bip": "10.250.0.254/24", 01:17:57 "hosts": [ 01:17:57 "tcp://0.0.0.0:5555", 01:17:57 "unix:///var/run/docker.sock" 01:17:57 ], 01:17:57 "mtu": 1458, 01:17:57 "selinux-enabled": true, 01:17:57 "seccomp-profile": "/etc/docker/seccomp.json" 01:17:57 } [Pipeline] sh 01:17:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:17:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:16 provisioning config files... 01:18:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5727086821271221909tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:16 ---> ****-login.sh 01:18:16 nexus3.edgexfoundry.org:10001 01:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:17 Configure a credential helper to remove this warning. See 01:18:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:17 01:18:17 Login Succeeded 01:18:17 nexus3.edgexfoundry.org:10002 01:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:17 Configure a credential helper to remove this warning. See 01:18:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:17 01:18:17 Login Succeeded 01:18:17 nexus3.edgexfoundry.org:10003 01:18:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:18 Configure a credential helper to remove this warning. See 01:18:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:18 01:18:18 Login Succeeded 01:18:18 nexus3.edgexfoundry.org:10004 01:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:18 Configure a credential helper to remove this warning. See 01:18:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:18 01:18:18 Login Succeeded 01:18:18 ****.io 01:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:18:18 Configure a credential helper to remove this warning. See 01:18:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:18:18 01:18:18 Login Succeeded 01:18:18 ---> ****-login.sh ends [Pipeline] } 01:18:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:18:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:18:19 ========================================================= 01:18:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:18:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:18:20 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:18:20 Sending build context to Docker daemon 10.54MB 01:18:20 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:18:20 Step 2/12 : FROM ${BASE} AS builder 01:18:20 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:18:20 cf04c63912e1: Pulling fs layer 01:18:20 55b35a11ae5e: Pulling fs layer 01:18:20 a37a00ec5f00: Pulling fs layer 01:18:20 50b3750afda1: Pulling fs layer 01:18:20 4f4fb700ef54: Pulling fs layer 01:18:20 80978eb59214: Pulling fs layer 01:18:20 c9f46d7d2bd2: Pulling fs layer 01:18:20 50b3750afda1: Waiting 01:18:20 c5a475d317c9: Pulling fs layer 01:18:20 4f4fb700ef54: Waiting 01:18:20 80978eb59214: Waiting 01:18:20 c9f46d7d2bd2: Waiting 01:18:20 c5a475d317c9: Waiting 01:18:20 55b35a11ae5e: Verifying Checksum 01:18:20 55b35a11ae5e: Download complete 01:18:20 50b3750afda1: Download complete 01:18:20 4f4fb700ef54: Verifying Checksum 01:18:20 4f4fb700ef54: Download complete 01:18:20 80978eb59214: Verifying Checksum 01:18:20 80978eb59214: Download complete 01:18:20 cf04c63912e1: Verifying Checksum 01:18:20 cf04c63912e1: Download complete 01:18:21 c5a475d317c9: Verifying Checksum 01:18:21 c5a475d317c9: Download complete 01:18:22 cf04c63912e1: Pull complete 01:18:22 55b35a11ae5e: Pull complete 01:18:23 a37a00ec5f00: Verifying Checksum 01:18:23 a37a00ec5f00: Download complete 01:18:24 c9f46d7d2bd2: Verifying Checksum 01:18:24 c9f46d7d2bd2: Download complete 01:18:36 a37a00ec5f00: Pull complete 01:18:36 50b3750afda1: Pull complete 01:18:36 4f4fb700ef54: Pull complete 01:18:37 80978eb59214: Pull complete 01:18:45 c9f46d7d2bd2: Pull complete 01:18:47 c5a475d317c9: Pull complete 01:18:47 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 01:18:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:18:47 ---> be29e6b0f0d4 01:18:47 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:18:47 ---> Running in e0c4c467316c 01:18:47 Removing intermediate container e0c4c467316c 01:18:47 ---> ab3cab0902d4 01:18:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:18:48 ---> Running in 9c25b2ed5563 01:18:48 Removing intermediate container 9c25b2ed5563 01:18:48 ---> 323871252cde 01:18:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:18:48 ---> Running in 3113d8d52f53 01:18:48 Removing intermediate container 3113d8d52f53 01:18:48 ---> e1802448d4e2 01:18:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:18:48 ---> Running in 7d0880fa1991 01:18:48 Removing intermediate container 7d0880fa1991 01:18:48 ---> 53f0846a5676 01:18:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:18:49 ---> Running in 42c5a62ecc43 01:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:18:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:18:52 (1/4) Installing openssh-keygen (9.7_p1-r4) 01:18:52 (2/4) Installing libedit (20240517.3.1-r0) 01:18:52 (3/4) Installing openssh-client-common (9.7_p1-r4) 01:18:52 (4/4) Installing openssh-client-default (9.7_p1-r4) 01:18:52 Executing busybox-1.36.1-r29.trigger 01:18:52 OK: 242 MiB in 58 packages 01:18:53 Removing intermediate container 42c5a62ecc43 01:18:53 ---> f2d1684a60eb 01:18:53 Step 8/12 : WORKDIR /device-mqtt-go 01:18:53 ---> Running in 8b7585788d4b 01:18:53 Removing intermediate container 8b7585788d4b 01:18:53 ---> a7cd1e71defe 01:18:53 Step 9/12 : COPY go.mod vendor* ./ 01:18:54 ---> 6aa47d5e9abc 01:18:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:18:54 ---> Running in 301e0b09dd39 01:20:46 Removing intermediate container 301e0b09dd39 01:20:46 ---> 4d387ff8570b 01:20:46 Step 11/12 : COPY . . 01:20:46 ---> 353f768a0bba 01:20:46 Step 12/12 : RUN $MAKE 01:20:46 ---> Running in 00dca16455c3 01:20:46 noop 01:20:46 Removing intermediate container 00dca16455c3 01:20:46 ---> f5222f17f328 01:20:46 Successfully built f5222f17f328 01:20:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:46 + docker inspect -f . ci-base-image-arm64 01:20:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:47 prd-ubuntu20.04-docker-arm64-4c-16g-15492 does not seem to be running inside a container 01:20:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:20:48 $ docker top 7c62c6835cbed99beb6077d28b08a68efdd53a053543663479f2cac92ca0b01b -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:49 + go version 01:20:49 go version go1.23.2 linux/arm64 [Pipeline] } 01:20:49 $ docker stop --time=1 7c62c6835cbed99beb6077d28b08a68efdd53a053543663479f2cac92ca0b01b 01:20:50 $ docker rm -f --volumes 7c62c6835cbed99beb6077d28b08a68efdd53a053543663479f2cac92ca0b01b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:20:51 + docker inspect -f . ci-base-image-arm64 01:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:20:52 prd-ubuntu20.04-docker-arm64-4c-16g-15492 does not seem to be running inside a container 01:20:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:20:53 $ docker top ef2c96a6d200227732b458d5824efdb32e0b6958dba0e3bdde365c192090c8b7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:20:54 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:20:54 + make test 01:20:54 go test ./... -coverprofile=coverage.out ./... 01:20:58 go: updates to go.mod needed; to update it: 01:20:58 go mod tidy 01:20:58 make: *** [Makefile:33: unittest] Error 1 [Pipeline] } 01:20:58 $ docker stop --time=1 ef2c96a6d200227732b458d5824efdb32e0b6958dba0e3bdde365c192090c8b7 01:21:00 $ docker rm -f --volumes ef2c96a6d200227732b458d5824efdb32e0b6958dba0e3bdde365c192090c8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:21:02 01:21:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:21:03 arm64: Pulling from edgex-lftools-log-publisher 01:21:03 8998bd30e6a1: Pulling fs layer 01:21:03 04944245beec: Pulling fs layer 01:21:03 699f458cf7ca: Pulling fs layer 01:21:03 765212b225bb: Pulling fs layer 01:21:03 f23df028b6ca: Pulling fs layer 01:21:03 765212b225bb: Waiting 01:21:03 d65c8cfc05b1: Pulling fs layer 01:21:03 2437ff75d9bd: Pulling fs layer 01:21:03 f23df028b6ca: Waiting 01:21:03 d65c8cfc05b1: Waiting 01:21:03 2437ff75d9bd: Waiting 01:21:03 04944245beec: Verifying Checksum 01:21:03 04944245beec: Download complete 01:21:03 765212b225bb: Verifying Checksum 01:21:03 765212b225bb: Download complete 01:21:03 f23df028b6ca: Verifying Checksum 01:21:03 f23df028b6ca: Download complete 01:21:03 d65c8cfc05b1: Verifying Checksum 01:21:03 d65c8cfc05b1: Download complete 01:21:03 699f458cf7ca: Verifying Checksum 01:21:03 699f458cf7ca: Download complete 01:21:03 8998bd30e6a1: Verifying Checksum 01:21:03 8998bd30e6a1: Download complete 01:21:06 2437ff75d9bd: Verifying Checksum 01:21:06 2437ff75d9bd: Download complete 01:21:08 8998bd30e6a1: Pull complete 01:21:08 04944245beec: Pull complete 01:21:10 699f458cf7ca: Pull complete 01:21:10 765212b225bb: Pull complete 01:21:11 f23df028b6ca: Pull complete 01:21:11 d65c8cfc05b1: Pull complete 01:21:30 2437ff75d9bd: Pull complete 01:21:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:21:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:21:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:30 prd-ubuntu20.04-docker-arm64-4c-16g-15492 does not seem to be running inside a container 01:21:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:21:33 $ docker top 2405b305ea9d2210fbf7478342057e2ce5419bb02f66f8091d011c23840188c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:21:34 ---> job-cost.sh 01:21:34 lf-activate-venv: SKIPPING 01:21:34 INFO: No Stack... 01:21:34 INFO: Retrieving Pricing Info for: v3-standard-4 01:21:35 INFO: Archiving Costs [Pipeline] sh 01:21:36 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:21:36 + cut -d, -f6 [Pipeline] lock 01:21:36 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] 01:21:36 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] did not exist. Created. 01:21:36 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:21:37 /w/workspace/device-mqtt-go/1@tmp/durable-e9e7c89a/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:21:37 + echo total: 0.10999999940395355 [Pipeline] stash 01:21:37 Warning: overwriting stash ‘stack-cost’ 01:21:38 Stashed 1 file(s) [Pipeline] } 01:21:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-PR-696-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:21:38 $ docker stop --time=1 2405b305ea9d2210fbf7478342057e2ce5419bb02f66f8091d011c23840188c3 01:21:39 $ docker rm -f --volumes 2405b305ea9d2210fbf7478342057e2ce5419bb02f66f8091d011c23840188c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:21:40 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 01:21:43 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives ] 01:21:43 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives 01:21:43 total 16 01:21:43 drwxr-xr-x 3 root root 4096 Oct 4 01:15 . 01:21:43 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 01:15 .. 01:21:43 drwxr-xr-x 2 root root 4096 Oct 4 01:15 cost 01:21:43 -rw-r--r-- 1 root root 86 Oct 4 01:15 cost.csv 01:21:43 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives 01:21:43 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives 01:21:43 total 16 01:21:43 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 01:15 . 01:21:43 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 01:15 .. 01:21:43 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 01:15 cost 01:21:43 -rw-r--r-- 1 jenkins jenkins 86 Oct 4 01:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:21:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:21:45 ---> package-listing.sh 01:21:45 ++ tr '[:upper:]' '[:lower:]' 01:21:45 ++ facter osfamily 01:21:45 + OS_FAMILY=debian 01:21:45 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-696 01:21:45 + START_PACKAGES=/tmp/packages_start.txt 01:21:45 + END_PACKAGES=/tmp/packages_end.txt 01:21:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:21:45 + PACKAGES=/tmp/packages_start.txt 01:21:45 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-696 ']' 01:21:45 + PACKAGES=/tmp/packages_end.txt 01:21:45 + case "${OS_FAMILY}" in 01:21:45 + dpkg -l 01:21:45 + grep '^ii' 01:21:45 + '[' -f /tmp/packages_start.txt ']' 01:21:45 + '[' -f /tmp/packages_end.txt ']' 01:21:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:21:45 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-696 ']' 01:21:45 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives/ 01:21:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-696/archives/ [Pipeline] echo 01:21:45 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-696/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:21:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:21:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:21:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:21:46 prd-ubuntu20.04-docker-8c-8g-15491 does not seem to be running inside a container 01:21:46 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-696/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-696 -v /w/workspace/gexfoundry_device-mqtt-go_PR-696:/w/workspace/gexfoundry_device-mqtt-go_PR-696:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:21:46 $ docker top 4d898e379708bdd0232260d7ad6f20d2a89d94449fe44559a96e67bb3dc37721 -eo pid,comm [Pipeline] { [Pipeline] sh 01:21:47 + touch /tmp/pre-build-complete [Pipeline] sh 01:21:47 + mkdir -p /var/log/sysstat [Pipeline] sh 01:21:47 + ls /var/log/sa-host 01:21:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:21:48 provisioning config files... 01:21:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-696@tmp/config2783382833658633887tmp [Pipeline] { [Pipeline] echo 01:21:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:21:48 ---> create-netrc.sh [Pipeline] } 01:21:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:21:49 ---> python-tools-install.sh [Pipeline] echo 01:21:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:21:49 ---> sudo-logs.sh 01:21:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:21:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:21:50 ---> job-cost.sh 01:21:50 lf-activate-venv: SKIPPING 01:21:50 DEBUG: total: 0.2199999988079071 01:21:50 INFO: Retrieving Stack Cost... 01:21:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:21:50 INFO: Archiving Costs [Pipeline] echo 01:21:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:21:51 ---> logs-deploy.sh 01:21:51 lf-activate-venv: SKIPPING 01:21:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-696/1 01:21:51 INFO: archiving workspace using pattern(s): 01:21:52 Archives upload complete. 01:21:52 INFO: archiving logs to Nexus