Pull request #766 closed Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b9a1b644e73a72453829e8049bce67c98a2e6598 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-ssh6695045376027968262.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 67d2f908f88f8156fbe481f59f373e57362cafe7 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-ssh4324986987516323066.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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/snyk-fix-b.3u7uugc3s.d982867fb9d/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/snyk-fix-b.3u7uugc3s.d982867fb9d/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17950069143176040750.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/snyk-fix-b.3u7uugc3s.d982867fb9d/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14683406383395896665.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 67d2f908f88f8156fbe481f59f373e57362cafe7 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 67d2f908f88f8156fbe481f59f373e57362cafe7 # timeout=10 Commit message: "Merge pull request #476 from cherrycl/issue-475" > 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-ssh13709747290759276686.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/snyk-fix-b.3u7uugc3s.d982867fb9d/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/snyk-fix-b.3u7uugc3s.d982867fb9d/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3377006864597143746.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 67d2f908f88f8156fbe481f59f373e57362cafe7 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.25 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-772566 in /w/workspace/b156f77e77e3bdef12cb3d982867fb9d [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/b156f77e77e3bdef12cb3d982867fb9d # 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 b9a1b644e73a72453829e8049bce67c98a2e6598 (snyk-fix-b156f77e77e3bdef12cb3d982867fb9d) Commit message: "fix: Dockerfile to reduce vulnerabilities" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 67d2f908f88f8156fbe481f59f373e57362cafe7 > 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 b9a1b644e73a72453829e8049bce67c98a2e6598 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:36:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:36:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:36:12 ========================================================= 05:36:12 EdgeX Global Pipelines Version Info 05:36:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:36:14 ------------------- 05:36:14 stable info: 05:36:14 ------------------- 05:36:14 Commited By: Cherry Wang cherry@iotechsys.com 05:36:14 Commit SHA: 67d2f908f88f8156fbe481f59f373e57362cafe7 05:36:14 Message: update stable to v1.0.278 05:36:14 ------------------- 05:36:14 experimental info: 05:36:14 ------------------- 05:36:14 Commited By: **** collab-it+edgex@linuxfoundation.org 05:36:14 Commit SHA: cefbf83a7544ec8ad1f65f559367c3ce5893bda8 05:36:14 Message: update experimental to v1.0.279 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.25 [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:36:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = snyk-fix-b156f77e77e3bdef12cb3d982867fb9d [Pipeline] echo 05:36:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = snyk-fix-b156f77e77e3bdef12cb3d982867fb9d [Pipeline] echo 05:36:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = snyk-fix-b156f77e77e3bdef12cb3d982867fb9d [Pipeline] echo 05:36:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9a1b644e73a72453829e8049bce67c98a2e6598 [Pipeline] echo 05:36:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b9a1b64 [Pipeline] echo 05:36:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:36:16 provisioning config files... 05:36:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp/config1267058421733151719tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:16 ---> ****-login.sh 05:36:16 nexus3.edgexfoundry.org:10001 05:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:16 05:36:16 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:36:16 Configure a credential helper to remove this warning. See 05:36:16 https://docs.****.com/go/credential-store/ 05:36:16 05:36:16 Login Succeeded 05:36:16 nexus3.edgexfoundry.org:10002 05:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:16 05:36:16 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:36:16 Configure a credential helper to remove this warning. See 05:36:16 https://docs.****.com/go/credential-store/ 05:36:16 05:36:16 Login Succeeded 05:36:16 nexus3.edgexfoundry.org:10003 05:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:17 05:36:17 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:36:17 Configure a credential helper to remove this warning. See 05:36:17 https://docs.****.com/go/credential-store/ 05:36:17 05:36:17 Login Succeeded 05:36:17 nexus3.edgexfoundry.org:10004 05:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:17 05:36:17 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:36:17 Configure a credential helper to remove this warning. See 05:36:17 https://docs.****.com/go/credential-store/ 05:36:17 05:36:17 Login Succeeded 05:36:17 ****.io 05:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:17 05:36:17 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 05:36:17 Configure a credential helper to remove this warning. See 05:36:17 https://docs.****.com/go/credential-store/ 05:36:17 05:36:17 Login Succeeded 05:36:17 ---> ****-login.sh ends [Pipeline] } 05:36:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:36:18 + git rev-list -1 --merges b9a1b644e73a72453829e8049bce67c98a2e6598~1..b9a1b644e73a72453829e8049bce67c98a2e6598 [Pipeline] echo 05:36:18 -----------> git rev-list -1 --merges b9a1b644e73a72453829e8049bce67c98a2e6598~1..b9a1b644e73a72453829e8049bce67c98a2e6598 b9a1b644e73a72453829e8049bce67c98a2e6598 [false] [Pipeline] sh 05:36:18 + git log --format=format:%s -1 b9a1b644e73a72453829e8049bce67c98a2e6598 [Pipeline] echo 05:36:18 ========================================================= 05:36:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:36:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:36:19 + git log --format=format:%s -1 b9a1b644e73a72453829e8049bce67c98a2e6598 [Pipeline] echo 05:36:19 [semverPrep] GIT_COMMIT: b9a1b644e73a72453829e8049bce67c98a2e6598, Commit Message: fix: Dockerfile to reduce vulnerabilities [Pipeline] echo 05:36:19 [semverPrep] This is not a build commit. [Pipeline] sh 05:36:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:36:19 + grep -v github /etc/ssh/ssh_known_hosts 05:36:19 + [ -e /tmp/ssh_known_hosts ] 05:36:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:36:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:36:19 + sudo tee -a /etc/ssh/ssh_known_hosts 05:36:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:36:19 05:36:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:36:20 0.1.4: Pulling from edgex-devops/py-git-semver 05:36:20 3dae71ba6b94: Pulling fs layer 05:36:20 6bf1a483ea7c: Pulling fs layer 05:36:20 f5dfc541a4d3: Pulling fs layer 05:36:20 461d9e800cba: Pulling fs layer 05:36:20 80192f66455f: Pulling fs layer 05:36:20 2e8e34ca0e6c: Pulling fs layer 05:36:20 a29436f7fd5d: Pulling fs layer 05:36:20 461d9e800cba: Waiting 05:36:20 923cac83aea3: Pulling fs layer 05:36:20 25ad8b0a4227: Pulling fs layer 05:36:20 db01528c6b51: Pulling fs layer 05:36:20 28988de357af: Pulling fs layer 05:36:20 80192f66455f: Waiting 05:36:20 2e8e34ca0e6c: Waiting 05:36:20 a29436f7fd5d: Waiting 05:36:20 923cac83aea3: Waiting 05:36:20 25ad8b0a4227: Waiting 05:36:20 db01528c6b51: Waiting 05:36:20 28988de357af: Waiting 05:36:20 6bf1a483ea7c: Verifying Checksum 05:36:20 6bf1a483ea7c: Download complete 05:36:20 461d9e800cba: Verifying Checksum 05:36:20 461d9e800cba: Download complete 05:36:20 80192f66455f: Verifying Checksum 05:36:20 80192f66455f: Download complete 05:36:20 f5dfc541a4d3: Verifying Checksum 05:36:20 f5dfc541a4d3: Download complete 05:36:20 3dae71ba6b94: Verifying Checksum 05:36:20 3dae71ba6b94: Download complete 05:36:20 923cac83aea3: Download complete 05:36:20 25ad8b0a4227: Verifying Checksum 05:36:20 25ad8b0a4227: Download complete 05:36:20 db01528c6b51: Download complete 05:36:20 28988de357af: Verifying Checksum 05:36:20 28988de357af: Download complete 05:36:20 a29436f7fd5d: Verifying Checksum 05:36:20 a29436f7fd5d: Download complete 05:36:21 2e8e34ca0e6c: Download complete 05:36:21 3dae71ba6b94: Pull complete 05:36:21 6bf1a483ea7c: Pull complete 05:36:22 f5dfc541a4d3: Pull complete 05:36:22 461d9e800cba: Pull complete 05:36:22 80192f66455f: Pull complete 05:36:27 2e8e34ca0e6c: Pull complete 05:36:27 a29436f7fd5d: Pull complete 05:36:27 923cac83aea3: Pull complete 05:36:27 25ad8b0a4227: Pull complete 05:36:27 db01528c6b51: Pull complete 05:36:27 28988de357af: Pull complete 05:36:27 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 05:36:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:36:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:36:27 prd-ubuntu20.04-docker-8c-8g-772566 does not seem to be running inside a container 05:36:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/b156f77e77e3bdef12cb3d982867fb9d -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d:rw,z -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:36:29 $ docker top 8208067a529cbc320116a775d5c7bebd7c47b10d80e76146db53c97638b9a5eb -eo pid,comm 05:36:29 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). 05:36:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:36:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:36:29 [ssh-agent] Looking for ssh-agent implementation... 05:36:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:36:29 $ docker exec 8208067a529cbc320116a775d5c7bebd7c47b10d80e76146db53c97638b9a5eb ssh-agent 05:36:30 SSH_AUTH_SOCK=/tmp/ssh-hOOSU2m1moCh/agent.32 05:36:30 SSH_AGENT_PID=38 05:36:30 Running ssh-add (command line suppressed) 05:36:30 Identity added: /w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp/private_key_2058761437258970985.key (/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp/private_key_2058761437258970985.key) 05:36:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:36:30 + git config --global --add safe.directory /w/workspace/b156f77e77e3bdef12cb3d982867fb9d [Pipeline] sh 05:36:30 + git tag --points-at HEAD [Pipeline] } 05:36:30 $ docker exec --env ******** --env ******** 8208067a529cbc320116a775d5c7bebd7c47b10d80e76146db53c97638b9a5eb ssh-agent -k 05:36:30 unset SSH_AUTH_SOCK; 05:36:30 unset SSH_AGENT_PID; 05:36:30 echo Agent pid 38 killed; 05:36:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:36:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:36:31 [ssh-agent] Looking for ssh-agent implementation... 05:36:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:36:31 $ docker exec 8208067a529cbc320116a775d5c7bebd7c47b10d80e76146db53c97638b9a5eb ssh-agent 05:36:31 SSH_AUTH_SOCK=/tmp/ssh-VbEWxHyr0Q9S/agent.85 05:36:31 SSH_AGENT_PID=91 05:36:31 Running ssh-add (command line suppressed) 05:36:31 Identity added: /w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp/private_key_5533293184182948401.key (/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp/private_key_5533293184182948401.key) 05:36:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:36:31 + git semver init 05:36:31 2025-11-05 05:36:31,946 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 05:36:31 2025-11-05 05:36:31,950 [run_init] DEBUG init version:0.0.0 force:False 05:36:31 2025-11-05 05:36:31,950 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d/.semver 05:36:31 2025-11-05 05:36:31,951 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/b156f77e77e3bdef12cb3d982867fb9d/.semver 05:36:31 2025-11-05 05:36:31,951 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/b156f77e77e3bdef12cb3d982867fb9d/.semver'], cwd=/w/workspace/b156f77e77e3bdef12cb3d982867fb9d, stdin=None, shell=False, universal_newlines=False) 05:36:33 2025-11-05 05:36:33,297 [append_file] DEBUG append to file:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d/.git/info/exclude 05:36:33 2025-11-05 05:36:33,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d/.semver/snyk-fix-b156f77e77e3bdef12cb3d982867fb9d with force:False 05:36:33 2025-11-05 05:36:33,297 [write_file] DEBUG write to file:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d/.semver/snyk-fix-b156f77e77e3bdef12cb3d982867fb9d 05:36:33 2025-11-05 05:36:33,301 [execute] INFO git cat-file --batch-check 05:36:33 2025-11-05 05:36:33,302 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/b156f77e77e3bdef12cb3d982867fb9d/.semver, stdin=, shell=False, universal_newlines=False) 05:36:33 2025-11-05 05:36:33,305 [execute] INFO git cat-file --batch 05:36:33 2025-11-05 05:36:33,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/b156f77e77e3bdef12cb3d982867fb9d/.semver, stdin=, shell=False, universal_newlines=False) 05:36:33 2025-11-05 05:36:33,308 [read_version] DEBUG read version from /w/workspace/b156f77e77e3bdef12cb3d982867fb9d/.semver/snyk-fix-b156f77e77e3bdef12cb3d982867fb9d 05:36:33 0.0.0 [Pipeline] } 05:36:33 $ docker exec --env ******** --env ******** 8208067a529cbc320116a775d5c7bebd7c47b10d80e76146db53c97638b9a5eb ssh-agent -k 05:36:33 unset SSH_AUTH_SOCK; 05:36:33 unset SSH_AGENT_PID; 05:36:33 echo Agent pid 91 killed; 05:36:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:36:33 + git semver [Pipeline] } 05:36:34 $ docker stop --time=1 8208067a529cbc320116a775d5c7bebd7c47b10d80e76146db53c97638b9a5eb 05:36:35 $ docker rm -f --volumes 8208067a529cbc320116a775d5c7bebd7c47b10d80e76146db53c97638b9a5eb [Pipeline] // withDockerContainer [Pipeline] sh 05:36:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:36:36 Stashed 1 file(s) [Pipeline] echo 05:36:36 [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 05:36:36 provisioning config files... 05:36:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp/config132641294213704898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:36:37 ---> ****-login.sh 05:36:37 nexus3.edgexfoundry.org:10001 05:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:37 Login Succeeded 05:36:37 nexus3.edgexfoundry.org:10002 05:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:37 Login Succeeded 05:36:37 nexus3.edgexfoundry.org:10003 05:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:37 Login Succeeded 05:36:37 nexus3.edgexfoundry.org:10004 05:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:37 Login Succeeded 05:36:37 ****.io 05:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:36:37 Login Succeeded 05:36:37 ---> ****-login.sh ends [Pipeline] } 05:36:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:36:38 [edgeX.isLTS] Checking if [snyk-fix-b156f77e77e3bdef12cb3d982867fb9d] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:36:38 [edgeX.isLTS] Checking if [snyk-fix-b156f77e77e3bdef12cb3d982867fb9d] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:36:38 ========================================================= 05:36:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine] 05:36:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:36:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine --build-arg MAKE=echo noop --target=builder . 05:36:39 #0 building with "default" instance using docker driver 05:36:39 05:36:39 #1 [internal] load build definition from Dockerfile 05:36:39 #1 transferring dockerfile: 1.84kB done 05:36:39 #1 DONE 0.0s 05:36:39 05:36:39 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine 05:36:39 #2 DONE 0.1s 05:36:39 05:36:39 #3 [internal] load .dockerignore 05:36:39 #3 transferring context: 182B done 05:36:39 #3 DONE 0.0s 05:36:39 05:36:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 05:36:39 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 0.0s done 05:36:39 #4 sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 291.15kB / 291.15kB 0.0s done 05:36:39 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 4.27MB / 60.15MB 0.1s 05:36:39 #4 sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 685B / 685B done 05:36:39 #4 sha256:2caa029a6df7ddc8757eb3642c320a433405a94beabcc5536fbfd011b4868154 4.11kB / 4.11kB done 05:36:39 #4 sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 125B / 125B 0.1s done 05:36:39 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s 05:36:39 #4 sha256:0571529eb0d62c6c63f07cd806efe94d1b30411a55171121c600b2b418b13706 2.08kB / 2.08kB done 05:36:39 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s 05:36:39 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 14.68MB / 60.15MB 0.2s 05:36:39 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 05:36:39 #4 sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 3.80MB / 3.80MB 0.1s done 05:36:39 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 05:36:39 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 2.10MB / 11.98MB 0.2s 05:36:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 0B / 112.58MB 0.2s 05:36:39 #4 sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 321B / 321B 0.1s done 05:36:39 #4 ... 05:36:39 05:36:39 #5 [internal] load build context 05:36:39 #5 transferring context: 30.77MB 0.3s done 05:36:39 #5 DONE 0.3s 05:36:39 05:36:39 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.25-alpine@sha256:47c77f58d04b1fb39a53c9c66f38c587e769deb62898f3b34be69549497a2d83 05:36:39 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 27.16MB / 60.15MB 0.3s 05:36:39 #4 extracting sha256:2d35ebdb57d9971fea0cac1582aa78935adf8058b2cc32db163c98822e5dfa1b 0.2s done 05:36:39 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 8.39MB / 11.98MB 0.3s 05:36:39 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 05:36:39 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 59.95MB / 60.15MB 0.5s 05:36:39 #4 sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 11.98MB / 11.98MB 0.4s done 05:36:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 24.12MB / 112.58MB 0.5s 05:36:39 #4 extracting sha256:c35fb4624d26424571dfb821ae83d912cb463420dcedd6224f36bb5f96f92542 0.1s done 05:36:39 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 4.19MB / 14.72MB 0.5s 05:36:39 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 41.94MB / 112.58MB 0.7s 05:36:39 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.7s 05:36:40 #4 sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 60.15MB / 60.15MB 0.7s done 05:36:40 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 62.91MB / 112.58MB 0.8s 05:36:40 #4 sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 14.72MB / 14.72MB 0.7s done 05:36:40 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 0.1s 05:36:40 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 87.03MB / 112.58MB 0.9s 05:36:40 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 1.0s 05:36:40 #4 sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 112.58MB / 112.58MB 1.2s done 05:36:44 #4 extracting sha256:4e2aec7ef170b5f02e240ef6c8aac64fb96a14688ea0750c962c145c141f3830 4.3s done 05:36:44 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 05:36:44 #4 extracting sha256:333b49ad6fbf2b99bf7532e840b5bff11ea42e960a0a8851832dbe82fa3d7c00 done 05:36:44 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 05:36:44 #4 extracting sha256:c3e65509a76bb9f5693fb9380bb0cb69e5823593389f8ee2155e5fb2e5217869 done 05:36:44 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 05:36:45 #4 extracting sha256:7cf9ebb963bdf950700fce54bdb278ce83f7c063ec4956dc76ab8839e1a7578e 0.4s done 05:36:45 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 05:36:48 #4 extracting sha256:bb34ca984cfb5e98da818d061902d9e41b8703d52f8226d456dff430e917ea9c 2.9s done 05:36:48 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.1s 05:36:48 #4 extracting sha256:151cf03bc80780810e935b24fc9b81f3b5072be958f5a4bb4177a09958745c75 0.6s done 05:36:48 #4 DONE 9.5s 05:36:48 05:36:48 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 05:36:48 #6 0.218 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz 05:36:49 #6 0.292 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz 05:36:49 #6 0.571 (1/4) Installing openssh-keygen (10.0_p1-r9) 05:36:49 #6 0.580 (2/4) Installing libedit (20250104.3.1-r1) 05:36:49 #6 0.585 (3/4) Installing openssh-client-common (10.0_p1-r9) 05:36:49 #6 0.604 (4/4) Installing openssh-client-default (10.0_p1-r9) 05:36:49 #6 0.612 Executing busybox-1.37.0-r19.trigger 05:36:49 #6 0.621 OK: 269 MiB in 64 packages 05:36:51 #6 DONE 2.6s 05:36:51 05:36:51 #7 [builder 3/7] WORKDIR /device-mqtt-go 05:36:51 #7 DONE 0.0s 05:36:51 05:36:51 #8 [builder 4/7] COPY go.mod vendor* ./ 05:36:51 #8 DONE 0.0s 05:36:51 05:36:51 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:36:51 Still waiting to schedule task 05:36:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:37:01 #9 DONE 8.9s 05:37:01 05:37:01 #10 [builder 6/7] COPY . . 05:37:01 #10 DONE 0.1s 05:37:01 05:37:01 #11 [builder 7/7] RUN echo noop 05:37:01 #11 0.200 noop 05:37:01 #11 DONE 0.2s 05:37:01 05:37:01 #12 exporting to image 05:37:01 #12 exporting layers 05:37:08 #12 exporting layers 6.8s done 05:37:08 #12 writing image sha256:e9d637340b35e3b584d320887fecbf0494f304b0ed00d72490886266ef3951c8 done 05:37:08 #12 naming to docker.io/library/ci-base-image-x86_64 done 05:37:08 #12 DONE 6.8s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:08 + docker inspect -f . ci-base-image-x86_64 05:37:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:08 prd-ubuntu20.04-docker-8c-8g-772566 does not seem to be running inside a container 05:37:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/b156f77e77e3bdef12cb3d982867fb9d -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d:rw,z -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@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 ******** ci-base-image-x86_64 cat 05:37:09 $ docker top 19e3bd97879c07cc5a726e818d5a421042f21b7be987b798b002785c6d546997 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:09 + go version 05:37:09 go version go1.25.2 linux/amd64 [Pipeline] } 05:37:09 $ docker stop --time=1 19e3bd97879c07cc5a726e818d5a421042f21b7be987b798b002785c6d546997 05:37:10 $ docker rm -f --volumes 19e3bd97879c07cc5a726e818d5a421042f21b7be987b798b002785c6d546997 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:11 + docker inspect -f . ci-base-image-x86_64 05:37:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:11 prd-ubuntu20.04-docker-8c-8g-772566 does not seem to be running inside a container 05:37:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/b156f77e77e3bdef12cb3d982867fb9d -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d:rw,z -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@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 ******** ci-base-image-x86_64 cat 05:37:11 $ docker top 4017381e6d242bc69de8938420bc8cb5c19c7311f7cb542673cee24a1fe7d6a2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:37:12 + git config --global --add safe.directory /w/workspace/b156f77e77e3bdef12cb3d982867fb9d [Pipeline] fileExists [Pipeline] sh 05:37:12 + make test 05:37:12 go test ./... -coverprofile=coverage.out ./... 05:37:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:37:31 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 05:37:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.8% of statements 05:37:31 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 05:37:31 Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions 05:37:31 The command is terminated due to an error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions 05:37:31 make: *** [Makefile:52: lint] Error 3 [Pipeline] } 05:37:31 $ docker stop --time=1 4017381e6d242bc69de8938420bc8cb5c19c7311f7cb542673cee24a1fe7d6a2 05:37:33 $ docker rm -f --volumes 4017381e6d242bc69de8938420bc8cb5c19c7311f7cb542673cee24a1fe7d6a2 [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 05:37:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:37:35 05:37:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:37:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:37:35 latest: Pulling from edgex-lftools-log-publisher 05:37:35 5eb5b503b376: Pulling fs layer 05:37:35 5c69ac0246d0: Pulling fs layer 05:37:35 ec43610c2a17: Pulling fs layer 05:37:35 3a2ae6a8a46f: Pulling fs layer 05:37:35 3a2ae6a8a46f: Waiting 05:37:35 33b1e0a273af: Pulling fs layer 05:37:35 5d3b04190fa2: Pulling fs layer 05:37:35 2f39f015ded8: Pulling fs layer 05:37:35 5d3b04190fa2: Waiting 05:37:35 2f39f015ded8: Waiting 05:37:35 33b1e0a273af: Waiting 05:37:35 5c69ac0246d0: Verifying Checksum 05:37:35 5c69ac0246d0: Download complete 05:37:35 3a2ae6a8a46f: Verifying Checksum 05:37:35 3a2ae6a8a46f: Download complete 05:37:35 33b1e0a273af: Verifying Checksum 05:37:35 33b1e0a273af: Download complete 05:37:35 5d3b04190fa2: Download complete 05:37:35 ec43610c2a17: Verifying Checksum 05:37:35 ec43610c2a17: Download complete 05:37:35 5eb5b503b376: Verifying Checksum 05:37:35 5eb5b503b376: Download complete 05:37:36 2f39f015ded8: Download complete 05:37:37 5eb5b503b376: Pull complete 05:37:37 5c69ac0246d0: Pull complete 05:37:37 ec43610c2a17: Pull complete 05:37:37 3a2ae6a8a46f: Pull complete 05:37:38 33b1e0a273af: Pull complete 05:37:38 5d3b04190fa2: Pull complete 05:37:43 2f39f015ded8: Pull complete 05:37:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:37:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:37:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:37:43 prd-ubuntu20.04-docker-8c-8g-772566 does not seem to be running inside a container 05:37:43 $ 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/b156f77e77e3bdef12cb3d982867fb9d -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d:rw,z -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:37:45 $ docker top b2f2fe3d755399a4a02f49c46ad5013724f89c7158bc9b858c3d36aa76811d5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:37:45 ---> job-cost.sh 05:37:45 lf-activate-venv: SKIPPING 05:37:45 INFO: No Stack... 05:37:45 INFO: Retrieving Pricing Info for: v3-standard-8 05:37:46 INFO: Archiving Costs [Pipeline] sh 05:37:46 + cat /w/workspace/b156f77e77e3bdef12cb3d982867fb9d/archives/cost.csv 05:37:46 + cut -d, -f6 [Pipeline] lock 05:37:46 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-snyk-fix-b156f77e77e3bdef12cb3d982867fb9d-1-stack-cost] 05:37:46 Resource [jenkins-edgexfoundry-device-mqtt-go-snyk-fix-b156f77e77e3bdef12cb3d982867fb9d-1-stack-cost] did not exist. Created. 05:37:46 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-snyk-fix-b156f77e77e3bdef12cb3d982867fb9d-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:37:46 + echo total: 0.2199999988079071 [Pipeline] stash 05:37:47 Stashed 1 file(s) [Pipeline] } 05:37:47 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-snyk-fix-b156f77e77e3bdef12cb3d982867fb9d-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:37:47 $ docker stop --time=1 b2f2fe3d755399a4a02f49c46ad5013724f89c7158bc9b858c3d36aa76811d5a 05:37:48 $ docker rm -f --volumes b2f2fe3d755399a4a02f49c46ad5013724f89c7158bc9b858c3d36aa76811d5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:37:48 Failed in branch amd64 05:39:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-772571 in /w/workspace/b156f77e77e3bdef12cb3d982867fb9d [Pipeline] { [Pipeline] ws 05:39:39 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 05:39:39 The recommended git tool is: git 05:39:45 using credential edgex-jenkins-ssh 05:39:45 Cloning the remote Git repository 05:39:46 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 05:39:46 > git init /w/workspace/device-mqtt-go/1 # timeout=10 05:39:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 05:39:46 > git --version # timeout=10 05:39:46 > git --version # 'git version 2.25.1' 05:39:46 using GIT_SSH to set credentials SSH Credentials for GitHub 05:39:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:39:49 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 05:39:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:39:50 Avoid second fetch 05:39:50 Checking out Revision b9a1b644e73a72453829e8049bce67c98a2e6598 (snyk-fix-b156f77e77e3bdef12cb3d982867fb9d) 05:39:51 Commit message: "fix: Dockerfile to reduce vulnerabilities" 05:39:51 > git --version # timeout=10 05:39:51 > git --version # 'git version 2.25.1' 05:39:51 fatal: bad object 67d2f908f88f8156fbe481f59f373e57362cafe7 05:39:50 > git config core.sparsecheckout # timeout=10 05:39:51 > git checkout -f b9a1b644e73a72453829e8049bce67c98a2e6598 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:39:56 provisioning config files... 05:39:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config4811863269214320669tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:39:57 ---> ****-login.sh 05:39:57 nexus3.edgexfoundry.org:10001 05:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:57 Configure a credential helper to remove this warning. See 05:39:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:57 05:39:57 Login Succeeded 05:39:57 nexus3.edgexfoundry.org:10002 05:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:57 Configure a credential helper to remove this warning. See 05:39:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:57 05:39:57 Login Succeeded 05:39:57 nexus3.edgexfoundry.org:10003 05:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:58 Configure a credential helper to remove this warning. See 05:39:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:58 05:39:58 Login Succeeded 05:39:58 nexus3.edgexfoundry.org:10004 05:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:58 Configure a credential helper to remove this warning. See 05:39:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:58 05:39:58 Login Succeeded 05:39:58 ****.io 05:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:39:59 Configure a credential helper to remove this warning. See 05:39:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:39:59 05:39:59 Login Succeeded 05:39:59 ---> ****-login.sh ends [Pipeline] } 05:39:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:39:59 [edgeX.isLTS] Checking if [snyk-fix-b156f77e77e3bdef12cb3d982867fb9d] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:39:59 [edgeX.isLTS] Checking if [snyk-fix-b156f77e77e3bdef12cb3d982867fb9d] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 05:39:59 ========================================================= 05:39:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine] 05:39:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:40:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine --build-arg MAKE=echo noop --target=builder . 05:40:00 Sending build context to Docker daemon 15.54MB 05:40:00 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 05:40:00 Step 2/12 : FROM ${BASE} AS builder 05:40:01 1.25-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:40:01 6b59a28fa201: Pulling fs layer 05:40:01 d32bb0dddca7: Pulling fs layer 05:40:01 5dab1238d3d9: Pulling fs layer 05:40:01 196fd7d83e7d: Pulling fs layer 05:40:01 4f4fb700ef54: Pulling fs layer 05:40:01 8ba94037c8f0: Pulling fs layer 05:40:01 deaec5988b04: Pulling fs layer 05:40:01 9f65657bb879: Pulling fs layer 05:40:01 8ba94037c8f0: Waiting 05:40:01 9f65657bb879: Waiting 05:40:01 deaec5988b04: Waiting 05:40:01 4f4fb700ef54: Waiting 05:40:01 d32bb0dddca7: Verifying Checksum 05:40:01 d32bb0dddca7: Download complete 05:40:01 196fd7d83e7d: Verifying Checksum 05:40:01 196fd7d83e7d: Download complete 05:40:01 4f4fb700ef54: Verifying Checksum 05:40:01 4f4fb700ef54: Download complete 05:40:01 8ba94037c8f0: Download complete 05:40:01 6b59a28fa201: Verifying Checksum 05:40:01 6b59a28fa201: Download complete 05:40:01 9f65657bb879: Verifying Checksum 05:40:01 9f65657bb879: Download complete 05:40:02 6b59a28fa201: Pull complete 05:40:02 5dab1238d3d9: Verifying Checksum 05:40:02 5dab1238d3d9: Download complete 05:40:02 d32bb0dddca7: Pull complete 05:40:04 deaec5988b04: Verifying Checksum 05:40:04 deaec5988b04: Download complete 05:40:20 5dab1238d3d9: Pull complete 05:40:20 196fd7d83e7d: Pull complete 05:40:20 4f4fb700ef54: Pull complete 05:40:20 8ba94037c8f0: Pull complete 05:40:28 deaec5988b04: Pull complete 05:40:30 9f65657bb879: Pull complete 05:40:30 Digest: sha256:5e549ededf7788d4f1561b02b9f4d3bcf02ca02af9c1a1104d0a64a201fbeb28 05:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.25-alpine 05:40:30 ---> 334268110677 05:40:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 05:40:32 ---> Running in 7129ce36b613 05:40:32 Removing intermediate container 7129ce36b613 05:40:32 ---> 3b2e77a60633 05:40:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:40:32 ---> Running in 3d2a44fe1f76 05:40:33 Removing intermediate container 3d2a44fe1f76 05:40:33 ---> d13d6b0f5bdc 05:40:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:40:33 ---> Running in 04cde64d9777 05:40:33 Removing intermediate container 04cde64d9777 05:40:33 ---> d591570e296a 05:40:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 05:40:33 ---> Running in 2b53ddb8ea58 05:40:34 Removing intermediate container 2b53ddb8ea58 05:40:34 ---> 62607389c9bc 05:40:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:40:34 ---> Running in 6fb55640fb96 05:40:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 05:40:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 05:40:38 (1/4) Installing openssh-keygen (10.0_p1-r9) 05:40:38 (2/4) Installing libedit (20250104.3.1-r1) 05:40:38 (3/4) Installing openssh-client-common (10.0_p1-r9) 05:40:38 (4/4) Installing openssh-client-default (10.0_p1-r9) 05:40:38 Executing busybox-1.37.0-r19.trigger 05:40:38 OK: 259 MiB in 64 packages 05:40:40 Removing intermediate container 6fb55640fb96 05:40:40 ---> 1303d3572e15 05:40:40 Step 8/12 : WORKDIR /device-mqtt-go 05:40:40 ---> Running in 8c3ccab1c222 05:40:40 Removing intermediate container 8c3ccab1c222 05:40:40 ---> ebd065922d78 05:40:40 Step 9/12 : COPY go.mod vendor* ./ 05:40:40 ---> 4411b09b693f 05:40:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:40:40 ---> Running in 81637555db4a 05:42:32 Removing intermediate container 81637555db4a 05:42:32 ---> e0d535001989 05:42:32 Step 11/12 : COPY . . 05:42:32 ---> a5042142c96f 05:42:32 Step 12/12 : RUN $MAKE 05:42:32 ---> Running in c5842454cc41 05:42:32 noop 05:42:32 Removing intermediate container c5842454cc41 05:42:32 ---> e4b790385f18 05:42:32 Successfully built e4b790385f18 05:42:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:33 + docker inspect -f . ci-base-image-arm64 05:42:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:33 prd-ubuntu20.04-docker-arm64-4c-16g-772571 does not seem to be running inside a container 05:42:33 $ 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 ******** ci-base-image-arm64 cat 05:42:35 $ docker top dc56d22a35a6e90a9cba71d933f363a010b1415b9ba3cc202561ee980c376319 -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:36 + go version 05:42:36 go version go1.25.3 linux/arm64 [Pipeline] } 05:42:36 $ docker stop --time=1 dc56d22a35a6e90a9cba71d933f363a010b1415b9ba3cc202561ee980c376319 05:42:37 $ docker rm -f --volumes dc56d22a35a6e90a9cba71d933f363a010b1415b9ba3cc202561ee980c376319 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:38 + docker inspect -f . ci-base-image-arm64 05:42:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:42:39 prd-ubuntu20.04-docker-arm64-4c-16g-772571 does not seem to be running inside a container 05:42:39 $ 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 ******** ci-base-image-arm64 cat 05:42:40 $ docker top dbb9145a90302135f2dab6ce8bb6cc1bc43dc3d309caaadce9c201f87447721b -eo pid,comm [Pipeline] { [Pipeline] sh 05:42:41 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 05:42:41 + make test 05:42:41 go test ./... -coverprofile=coverage.out ./... 05:42:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 05:46:57 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 05:46:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 22.8% of statements 05:46:58 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 05:46:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:46:59 go vet ./... 05:47:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:47:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:47:55 ./bin/test-attribution-txt.sh 05:47:55 An attribution for go.opentelemetry.io/auto/sdk is missing from Attribution.txt, please add [Pipeline] echo 05:47:55 [edgeX.isLTS] Checking if [snyk-fix-b156f77e77e3bdef12cb3d982867fb9d] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 05:47:55 $ docker stop --time=1 dbb9145a90302135f2dab6ce8bb6cc1bc43dc3d309caaadce9c201f87447721b 05:47:58 $ docker rm -f --volumes dbb9145a90302135f2dab6ce8bb6cc1bc43dc3d309caaadce9c201f87447721b [Pipeline] // withDockerContainer [Pipeline] sh 05:47:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:48:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:48:01 + ls -al . 05:48:01 total 248 05:48:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 5 05:42 . 05:48:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 5 05:39 .. 05:48:01 -rw-rw-r-- 1 jenkins jenkins 140 Nov 5 05:39 .dockerignore 05:48:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 5 05:39 .git 05:48:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 5 05:39 .github 05:48:01 -rw-rw-r-- 1 jenkins jenkins 264 Nov 5 05:39 .gitignore 05:48:01 -rw-rw-r-- 1 jenkins jenkins 41 Nov 5 05:39 .golangci.yml 05:48:01 -rw-rw-r-- 1 jenkins jenkins 19745 Nov 5 05:39 Attribution.txt 05:48:01 -rw-rw-r-- 1 jenkins jenkins 19382 Nov 5 05:39 CHANGELOG.md 05:48:01 -rw-rw-r-- 1 jenkins jenkins 1805 Nov 5 05:39 Dockerfile 05:48:01 -rw-rw-r-- 1 jenkins jenkins 677 Nov 5 05:39 GOVERNANCE.md 05:48:01 -rw-rw-r-- 1 jenkins jenkins 657 Nov 5 05:39 Jenkinsfile 05:48:01 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 5 05:39 LICENSE 05:48:01 -rw-rw-r-- 1 jenkins jenkins 2545 Nov 5 05:39 Makefile 05:48:01 -rw-rw-r-- 1 jenkins jenkins 620 Nov 5 05:39 OWNERS.md 05:48:01 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 5 05:39 README.md 05:48:01 -rw-rw-r-- 1 jenkins jenkins 5 Nov 5 05:36 VERSION 05:48:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 5 05:39 bin 05:48:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 5 05:39 cmd 05:48:01 -rw-r--r-- 1 jenkins jenkins 21039 Nov 5 05:46 coverage.out 05:48:01 -rw-rw-r-- 1 jenkins jenkins 6256 Nov 5 05:39 go.mod 05:48:01 -rw-rw-r-- 1 jenkins jenkins 86946 Nov 5 05:39 go.sum 05:48:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 5 05:39 internal 05:48:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 5 05:39 mock 05:48:01 -rw-rw-r-- 1 jenkins jenkins 227 Nov 5 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:48:02 + 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=b9a1b644e73a72453829e8049bce67c98a2e6598 --label arch=arm64 --label version=0.0.0 . 05:48:03 Sending build context to Docker daemon 15.57MB 05:48:03 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 05:48:03 Step 2/25 : FROM ${BASE} AS builder 05:48:03 ---> e4b790385f18 05:48:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 05:48:03 ---> Running in e0183cf284c2 05:48:03 Removing intermediate container e0183cf284c2 05:48:03 ---> eb17aba5fd25 05:48:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:48:03 ---> Running in 3759386684f8 05:48:03 Removing intermediate container 3759386684f8 05:48:03 ---> 9681e37bb77b 05:48:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 05:48:04 ---> Running in ffa5189c5cdc 05:48:04 Removing intermediate container ffa5189c5cdc 05:48:04 ---> 995e9a95d01d 05:48:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 05:48:04 ---> Running in 2234cf1cafa0 05:48:04 Removing intermediate container 2234cf1cafa0 05:48:04 ---> 46446e7a3083 05:48:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:48:04 ---> Running in d29d6bda172b 05:48:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 05:48:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 05:48:08 OK: 259 MiB in 64 packages 05:48:09 Removing intermediate container d29d6bda172b 05:48:09 ---> b4db38802ba8 05:48:09 Step 8/25 : WORKDIR /device-mqtt-go 05:48:09 ---> Running in 1b844fa62a9a 05:48:09 Removing intermediate container 1b844fa62a9a 05:48:09 ---> 5931898400c9 05:48:09 Step 9/25 : COPY go.mod vendor* ./ 05:48:10 ---> b34129955eab 05:48:10 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:48:10 ---> Running in 59828d0da067 05:48:13 Removing intermediate container 59828d0da067 05:48:13 ---> 093532829236 05:48:13 Step 11/25 : COPY . . 05:48:14 ---> 556fd8cd1c60 05:48:14 Step 12/25 : RUN $MAKE 05:48:14 ---> Running in 10b3c1f7cda0 05:48:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.39 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 05:52:37 Removing intermediate container 10b3c1f7cda0 05:52:37 ---> daf2e8f7bb2e 05:52:37 Step 13/25 : FROM alpine:3.22.1 05:52:37 3.22.1: Pulling from library/alpine 05:52:37 6e174226ea69: Pulling fs layer 05:52:37 6e174226ea69: Verifying Checksum 05:52:37 6e174226ea69: Download complete 05:52:37 6e174226ea69: Pull complete 05:52:37 Digest: sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1 05:52:37 Status: Downloaded newer image for alpine:3.22.1 05:52:37 ---> 02f8efbefad6 05:52:37 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 05:52:37 ---> Running in acbe1f77cc16 05:52:37 Removing intermediate container acbe1f77cc16 05:52:37 ---> b3807054a14d 05:52:37 Step 15/25 : RUN apk add --update --no-cache dumb-init 05:52:37 ---> Running in b7a059a5a8e5 05:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 05:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 05:52:37 (1/1) Installing dumb-init (1.2.5-r3) 05:52:37 Executing busybox-1.37.0-r18.trigger 05:52:37 OK: 8 MiB in 17 packages 05:52:37 Removing intermediate container b7a059a5a8e5 05:52:37 ---> cc77ae576dd4 05:52:37 Step 16/25 : RUN apk --no-cache upgrade 05:52:37 ---> Running in 3b0168a7e8be 05:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 05:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 05:52:37 Upgrading critical system libraries and apk-tools: 05:52:37 (1/1) Upgrading apk-tools (2.14.9-r2 -> 2.14.9-r3) 05:52:37 Executing busybox-1.37.0-r18.trigger 05:52:37 Continuing the upgrade transaction with new apk-tools: 05:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/aarch64/APKINDEX.tar.gz 05:52:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/aarch64/APKINDEX.tar.gz 05:52:37 (1/8) Upgrading busybox (1.37.0-r18 -> 1.37.0-r19) 05:52:37 Executing busybox-1.37.0-r19.post-upgrade 05:52:37 (2/8) Upgrading busybox-binsh (1.37.0-r18 -> 1.37.0-r19) 05:52:37 (3/8) Upgrading alpine-release (3.22.1-r0 -> 3.22.2-r0) 05:52:37 (4/8) Upgrading libcrypto3 (3.5.1-r0 -> 3.5.4-r0) 05:52:37 (5/8) Upgrading ca-certificates-bundle (20250619-r0 -> 20250911-r0) 05:52:37 (6/8) Upgrading libssl3 (3.5.1-r0 -> 3.5.4-r0) 05:52:37 (7/8) Upgrading ssl_client (1.37.0-r18 -> 1.37.0-r19) 05:52:37 (8/8) Upgrading libapk2 (2.14.9-r2 -> 2.14.9-r3) 05:52:37 Executing busybox-1.37.0-r19.trigger 05:52:37 OK: 8 MiB in 17 packages 05:52:39 Removing intermediate container 3b0168a7e8be 05:52:39 ---> 3b74b70b38c5 05:52:39 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 05:52:41 ---> 12340281229d 05:52:41 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 05:52:41 ---> 94141ed42ea1 05:52:41 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 05:52:42 ---> 002372ac12e9 05:52:42 Step 20/25 : EXPOSE 59982 05:52:42 ---> Running in 7f018291ff52 05:52:42 Removing intermediate container 7f018291ff52 05:52:42 ---> ebe1a3386f92 05:52:42 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 05:52:43 ---> Running in bfa1eebba73e 05:52:43 Removing intermediate container bfa1eebba73e 05:52:43 ---> 4474f98ff6c9 05:52:43 Step 22/25 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 05:52:43 ---> Running in 82f8005ac2a7 05:52:43 Removing intermediate container 82f8005ac2a7 05:52:43 ---> 731431907add 05:52:43 Step 23/25 : LABEL arch=arm64 05:52:43 ---> Running in bbd02da21736 05:52:44 Removing intermediate container bbd02da21736 05:52:44 ---> 676015a3cd86 05:52:44 Step 24/25 : LABEL git_sha=b9a1b644e73a72453829e8049bce67c98a2e6598 05:52:44 ---> Running in f99573e7ae19 05:52:44 Removing intermediate container f99573e7ae19 05:52:44 ---> b6cdbc79a0d9 05:52:44 Step 25/25 : LABEL version=0.0.0 05:52:44 ---> Running in 9051223fb13d 05:52:44 Removing intermediate container 9051223fb13d 05:52:44 ---> 15c33ed076be 05:52:44 [Warning] One or more build-args [ARCH] were not consumed 05:52:44 Successfully built 15c33ed076be 05:52:44 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:45 05:52:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:52:46 arm64: Pulling from edgex-lftools-log-publisher 05:52:46 8998bd30e6a1: Pulling fs layer 05:52:46 04944245beec: Pulling fs layer 05:52:46 699f458cf7ca: Pulling fs layer 05:52:46 765212b225bb: Pulling fs layer 05:52:46 f23df028b6ca: Pulling fs layer 05:52:46 d65c8cfc05b1: Pulling fs layer 05:52:46 2437ff75d9bd: Pulling fs layer 05:52:46 f23df028b6ca: Waiting 05:52:46 d65c8cfc05b1: Waiting 05:52:46 2437ff75d9bd: Waiting 05:52:46 765212b225bb: Waiting 05:52:46 04944245beec: Verifying Checksum 05:52:46 04944245beec: Download complete 05:52:46 765212b225bb: Verifying Checksum 05:52:46 765212b225bb: Download complete 05:52:46 f23df028b6ca: Verifying Checksum 05:52:46 f23df028b6ca: Download complete 05:52:46 d65c8cfc05b1: Verifying Checksum 05:52:46 d65c8cfc05b1: Download complete 05:52:46 699f458cf7ca: Verifying Checksum 05:52:46 699f458cf7ca: Download complete 05:52:47 8998bd30e6a1: Verifying Checksum 05:52:47 8998bd30e6a1: Download complete 05:52:49 2437ff75d9bd: Verifying Checksum 05:52:49 2437ff75d9bd: Download complete 05:52:52 8998bd30e6a1: Pull complete 05:52:52 04944245beec: Pull complete 05:52:53 699f458cf7ca: Pull complete 05:52:54 765212b225bb: Pull complete 05:52:55 f23df028b6ca: Pull complete 05:52:55 d65c8cfc05b1: Pull complete 05:53:13 2437ff75d9bd: Pull complete 05:53:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:53:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:53:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:13 prd-ubuntu20.04-docker-arm64-4c-16g-772571 does not seem to be running inside a container 05:53:14 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:53:17 $ docker top bbf54f785dfa8b6a8e3fe3600cb2108e3509f04daa190cc496e6ecb631fe2ae9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:18 ---> job-cost.sh 05:53:18 lf-activate-venv: SKIPPING 05:53:18 INFO: No Stack... 05:53:18 INFO: Retrieving Pricing Info for: v3-standard-4 05:53:19 INFO: Archiving Costs [Pipeline] sh 05:53:19 + cut -d, -f6 05:53:19 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 05:53:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-snyk-fix-b156f77e77e3bdef12cb3d982867fb9d-1-stack-cost] 05:53:20 Resource [jenkins-edgexfoundry-device-mqtt-go-snyk-fix-b156f77e77e3bdef12cb3d982867fb9d-1-stack-cost] did not exist. Created. 05:53:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-snyk-fix-b156f77e77e3bdef12cb3d982867fb9d-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:20 /w/workspace/device-mqtt-go/1@tmp/durable-b5b8d13f/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:53:21 + echo total: 0.10999999940395355 [Pipeline] stash 05:53:21 Warning: overwriting stash ‘stack-cost’ 05:53:21 Stashed 1 file(s) [Pipeline] } 05:53:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-snyk-fix-b156f77e77e3bdef12cb3d982867fb9d-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:21 $ docker stop --time=1 bbf54f785dfa8b6a8e3fe3600cb2108e3509f04daa190cc496e6ecb631fe2ae9 05:53:23 $ docker rm -f --volumes bbf54f785dfa8b6a8e3fe3600cb2108e3509f04daa190cc496e6ecb631fe2ae9 [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) 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 05:53:26 + [ -d /w/workspace/b156f77e77e3bdef12cb3d982867fb9d/archives ] 05:53:26 + ls -al /w/workspace/b156f77e77e3bdef12cb3d982867fb9d/archives 05:53:26 total 16 05:53:26 drwxr-xr-x 3 root root 4096 Nov 5 05:37 . 05:53:26 drwxrwxr-x 10 jenkins jenkins 4096 Nov 5 05:37 .. 05:53:26 drwxr-xr-x 2 root root 4096 Nov 5 05:37 cost 05:53:26 -rw-r--r-- 1 root root 121 Nov 5 05:37 cost.csv 05:53:26 + sudo chown -R jenkins:jenkins /w/workspace/b156f77e77e3bdef12cb3d982867fb9d/archives 05:53:26 + ls -al /w/workspace/b156f77e77e3bdef12cb3d982867fb9d/archives 05:53:26 total 16 05:53:26 drwxr-xr-x 3 jenkins jenkins 4096 Nov 5 05:37 . 05:53:26 drwxrwxr-x 10 jenkins jenkins 4096 Nov 5 05:37 .. 05:53:26 drwxr-xr-x 2 jenkins jenkins 4096 Nov 5 05:37 cost 05:53:26 -rw-r--r-- 1 jenkins jenkins 121 Nov 5 05:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:53:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:53:27 ---> package-listing.sh 05:53:27 ++ facter osfamily 05:53:27 ++ tr '[:upper:]' '[:lower:]' 05:53:27 + OS_FAMILY=debian 05:53:27 + workspace=/w/workspace/b156f77e77e3bdef12cb3d982867fb9d 05:53:27 + START_PACKAGES=/tmp/packages_start.txt 05:53:27 + END_PACKAGES=/tmp/packages_end.txt 05:53:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:53:27 + PACKAGES=/tmp/packages_start.txt 05:53:27 + '[' /w/workspace/b156f77e77e3bdef12cb3d982867fb9d ']' 05:53:27 + PACKAGES=/tmp/packages_end.txt 05:53:27 + case "${OS_FAMILY}" in 05:53:27 + dpkg -l 05:53:27 + grep '^ii' 05:53:27 + '[' -f /tmp/packages_start.txt ']' 05:53:27 + '[' -f /tmp/packages_end.txt ']' 05:53:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:53:27 + '[' /w/workspace/b156f77e77e3bdef12cb3d982867fb9d ']' 05:53:27 + mkdir -p /w/workspace/b156f77e77e3bdef12cb3d982867fb9d/archives/ 05:53:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/b156f77e77e3bdef12cb3d982867fb9d/archives/ [Pipeline] echo 05:53:27 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/b156f77e77e3bdef12cb3d982867fb9d/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:53:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:28 prd-ubuntu20.04-docker-8c-8g-772566 does not seem to be running inside a container 05:53:28 $ 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/b156f77e77e3bdef12cb3d982867fb9d/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/b156f77e77e3bdef12cb3d982867fb9d -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d:rw,z -v /w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:53:29 $ docker top 4f934cddcd35836418fd4ff77cab17853f4ee7bc14e24ba0db4404fab8becabc -eo pid,comm [Pipeline] { [Pipeline] sh 05:53:29 + touch /tmp/pre-build-complete [Pipeline] sh 05:53:29 + mkdir -p /var/log/sysstat [Pipeline] sh 05:53:30 + ls /var/log/sa-host 05:53:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:30 provisioning config files... 05:53:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/b156f77e77e3bdef12cb3d982867fb9d@tmp/config1674429247372329793tmp [Pipeline] { [Pipeline] echo 05:53:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:53:30 ---> create-netrc.sh [Pipeline] } 05:53:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:53:31 ---> python-tools-install.sh [Pipeline] echo 05:53:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:53:31 ---> sudo-logs.sh 05:53:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:53:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:53:31 ---> job-cost.sh 05:53:31 lf-activate-venv: SKIPPING 05:53:31 DEBUG: total: 0.2199999988079071 05:53:31 INFO: Retrieving Stack Cost... 05:53:32 INFO: Retrieving Pricing Info for: v3-standard-8 05:53:32 INFO: Archiving Costs [Pipeline] echo 05:53:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:53:33 ---> logs-deploy.sh 05:53:33 lf-activate-venv: SKIPPING 05:53:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/snyk-fix-b156f77e77e3bdef12cb3d982867fb9d/1 05:53:33 INFO: archiving workspace using pattern(s): 05:53:34 Archives upload complete. 05:53:34 INFO: archiving logs to Nexus