Pull request #576 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9+a3ee41877b048388e7c3cdab8b1927d49f235cab (df61efe9ff4a846ff60d10b34aa8ace43a164c61) 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-ssh15804345428516407214.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-ssh1543158596677937845.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-modbus-go/branches/PR-576/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-modbus-go/branches/PR-576/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13401543760837459145.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-modbus-go/branches/PR-576/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13586296268003126054.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-ssh6611407390314946744.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-modbus-go/branches/PR-576/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-modbus-go/branches/PR-576/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13949977966137009187.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-modbus-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-modbus-go-settings PROJECT: device-modbus-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-modbus 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-15568’ Running on prd-ubuntu20.04-docker-8c-8g-15595 in /w/workspace/xfoundry_device-modbus-go_PR-576 [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-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-576 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-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-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 Merge succeeded, producing f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 Checking out Revision f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 (PR-576) 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-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/576/head:refs/remotes/origin/PR-576 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 # 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 a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:21:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:21:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:21:17 ========================================================= 05:21:17 EdgeX Global Pipelines Version Info 05:21:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:21:18 ------------------- 05:21:18 stable info: 05:21:18 ------------------- 05:21:18 Commited By: Ginny Guan ginny@iotechsys.com 05:21:18 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 05:21:18 Message: update stable to v1.0.265 05:21:18 ------------------- 05:21:18 experimental info: 05:21:18 ------------------- 05:21:18 Commited By: Cherry Wang cherry@iotechsys.com 05:21:18 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 05:21:18 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:21:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:21:19 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-576 [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-576 [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-576 [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7433a2 [Pipeline] echo 05:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:21:21 provisioning config files... 05:21:21 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-576@tmp/config14611749494094848224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:21 ---> ****-login.sh 05:21:21 nexus3.edgexfoundry.org:10001 05:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:21 Configure a credential helper to remove this warning. See 05:21:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:21 05:21:21 Login Succeeded 05:21:21 nexus3.edgexfoundry.org:10002 05:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:21 Configure a credential helper to remove this warning. See 05:21:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:21 05:21:21 Login Succeeded 05:21:21 nexus3.edgexfoundry.org:10003 05:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:21 Configure a credential helper to remove this warning. See 05:21:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:21 05:21:21 Login Succeeded 05:21:21 nexus3.edgexfoundry.org:10004 05:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:21 Configure a credential helper to remove this warning. See 05:21:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:21 05:21:21 Login Succeeded 05:21:21 ****.io 05:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:22 Configure a credential helper to remove this warning. See 05:21:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:22 05:21:22 Login Succeeded 05:21:22 ---> ****-login.sh ends [Pipeline] } 05:21:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:21:22 + git rev-list -1 --merges f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9~1..f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 [Pipeline] echo 05:21:23 -----------> git rev-list -1 --merges f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9~1..f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 [false] [Pipeline] sh 05:21:23 + git log --format=format:%s -1 f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 [Pipeline] echo 05:21:23 ========================================================= 05:21:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:21:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:21:23 + git log --format=format:%s -1 f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 [Pipeline] echo 05:21:23 [semverPrep] GIT_COMMIT: f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 05:21:23 [semverPrep] This is not a build commit. [Pipeline] sh 05:21:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:21:24 + grep -v github /etc/ssh/ssh_known_hosts 05:21:24 + [ -e /tmp/ssh_known_hosts ] 05:21:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:21:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:21:24 + sudo tee -a /etc/ssh/ssh_known_hosts 05:21:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:24 05:21:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:25 0.1.4: Pulling from edgex-devops/py-git-semver 05:21:25 b85a868b505f: Pulling fs layer 05:21:25 e2be974225ed: Pulling fs layer 05:21:25 339a4e72a1f5: Pulling fs layer 05:21:25 988bab9f4d93: Pulling fs layer 05:21:25 1469e6f7b9e6: Pulling fs layer 05:21:25 eaf3925da568: Pulling fs layer 05:21:25 bab4dde63d76: Pulling fs layer 05:21:25 bde34c3a00c8: Pulling fs layer 05:21:25 b352a97aabf1: Pulling fs layer 05:21:25 4872d77fe225: Pulling fs layer 05:21:25 5851b861e8e6: Pulling fs layer 05:21:25 988bab9f4d93: Waiting 05:21:25 b352a97aabf1: Waiting 05:21:25 4872d77fe225: Waiting 05:21:25 5851b861e8e6: Waiting 05:21:25 bab4dde63d76: Waiting 05:21:25 bde34c3a00c8: Waiting 05:21:25 eaf3925da568: Waiting 05:21:25 e2be974225ed: Download complete 05:21:25 988bab9f4d93: Verifying Checksum 05:21:25 988bab9f4d93: Download complete 05:21:25 1469e6f7b9e6: Verifying Checksum 05:21:25 1469e6f7b9e6: Download complete 05:21:25 eaf3925da568: Verifying Checksum 05:21:25 eaf3925da568: Download complete 05:21:25 339a4e72a1f5: Verifying Checksum 05:21:25 339a4e72a1f5: Download complete 05:21:25 bde34c3a00c8: Verifying Checksum 05:21:25 bde34c3a00c8: Download complete 05:21:25 b352a97aabf1: Verifying Checksum 05:21:25 b352a97aabf1: Download complete 05:21:25 4872d77fe225: Verifying Checksum 05:21:25 4872d77fe225: Download complete 05:21:25 5851b861e8e6: Verifying Checksum 05:21:25 5851b861e8e6: Download complete 05:21:25 b85a868b505f: Verifying Checksum 05:21:25 b85a868b505f: Download complete 05:21:25 bab4dde63d76: Verifying Checksum 05:21:25 bab4dde63d76: Download complete 05:21:26 b85a868b505f: Pull complete 05:21:26 e2be974225ed: Pull complete 05:21:27 339a4e72a1f5: Pull complete 05:21:27 988bab9f4d93: Pull complete 05:21:27 1469e6f7b9e6: Pull complete 05:21:27 eaf3925da568: Pull complete 05:21:29 bab4dde63d76: Pull complete 05:21:29 bde34c3a00c8: Pull complete 05:21:29 b352a97aabf1: Pull complete 05:21:29 4872d77fe225: Pull complete 05:21:29 5851b861e8e6: Pull complete 05:21:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:21:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:21:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:21:29 prd-ubuntu20.04-docker-8c-8g-15595 does not seem to be running inside a container 05:21:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-576 -v /w/workspace/xfoundry_device-modbus-go_PR-576:/w/workspace/xfoundry_device-modbus-go_PR-576:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-576@tmp:/w/workspace/xfoundry_device-modbus-go_PR-576@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 05:21:33 $ docker top b21119eeac4fcf14b7cd4acff9195f2eca3d3a3d80c2946224edd137820555de -eo pid,comm 05:21:33 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:21:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:21:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:33 [ssh-agent] Looking for ssh-agent implementation... 05:21:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:33 $ docker exec b21119eeac4fcf14b7cd4acff9195f2eca3d3a3d80c2946224edd137820555de ssh-agent 05:21:33 SSH_AUTH_SOCK=/tmp/ssh-j8toNx4EUOkt/agent.31 05:21:33 SSH_AGENT_PID=37 05:21:33 Running ssh-add (command line suppressed) 05:21:34 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-576@tmp/private_key_85474086890118728.key (/w/workspace/xfoundry_device-modbus-go_PR-576@tmp/private_key_85474086890118728.key) 05:21:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:34 + git tag --points-at HEAD [Pipeline] } 05:21:34 $ docker exec --env ******** --env ******** b21119eeac4fcf14b7cd4acff9195f2eca3d3a3d80c2946224edd137820555de ssh-agent -k 05:21:34 unset SSH_AUTH_SOCK; 05:21:34 unset SSH_AGENT_PID; 05:21:34 echo Agent pid 37 killed; 05:21:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:21:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:21:34 [ssh-agent] Looking for ssh-agent implementation... 05:21:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:21:34 $ docker exec b21119eeac4fcf14b7cd4acff9195f2eca3d3a3d80c2946224edd137820555de ssh-agent 05:21:35 SSH_AUTH_SOCK=/tmp/ssh-KLsyL3DVWvhz/agent.70 05:21:35 SSH_AGENT_PID=76 05:21:35 Running ssh-add (command line suppressed) 05:21:35 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-576@tmp/private_key_3707011160998712950.key (/w/workspace/xfoundry_device-modbus-go_PR-576@tmp/private_key_3707011160998712950.key) 05:21:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:21:35 + git semver init 05:21:35 2024-10-04 05:21:35,694 [run_init] DEBUG init version:0.0.0 force:False 05:21:35 2024-10-04 05:21:35,694 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-576/.semver 05:21:35 2024-10-04 05:21:35,695 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-576/.semver 05:21:35 2024-10-04 05:21:35,695 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-576/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-576, universal_newlines=False, shell=None, istream=None) 05:21:36 2024-10-04 05:21:36,746 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-576/.git/info/exclude 05:21:36 2024-10-04 05:21:36,746 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-576/.semver/PR-576 with force:False 05:21:36 2024-10-04 05:21:36,747 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-576/.semver/PR-576 05:21:36 2024-10-04 05:21:36,751 [execute] INFO git cat-file --batch-check 05:21:36 2024-10-04 05:21:36,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-576/.semver, universal_newlines=False, shell=None, istream=) 05:21:36 2024-10-04 05:21:36,757 [execute] INFO git cat-file --batch 05:21:36 2024-10-04 05:21:36,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-576/.semver, universal_newlines=False, shell=None, istream=) 05:21:36 2024-10-04 05:21:36,764 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-576/.semver/PR-576 05:21:36 0.0.0 [Pipeline] } 05:21:36 $ docker exec --env ******** --env ******** b21119eeac4fcf14b7cd4acff9195f2eca3d3a3d80c2946224edd137820555de ssh-agent -k 05:21:37 unset SSH_AUTH_SOCK; 05:21:37 unset SSH_AGENT_PID; 05:21:37 echo Agent pid 76 killed; 05:21:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:21:37 + git semver [Pipeline] } 05:21:37 $ docker stop --time=1 b21119eeac4fcf14b7cd4acff9195f2eca3d3a3d80c2946224edd137820555de 05:21:39 $ docker rm -f --volumes b21119eeac4fcf14b7cd4acff9195f2eca3d3a3d80c2946224edd137820555de [Pipeline] // withDockerContainer [Pipeline] sh 05:21:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:21:39 Stashed 1 file(s) [Pipeline] echo 05:21:39 [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:21:40 provisioning config files... 05:21:40 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-576@tmp/config10464159498234315908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:41 ---> ****-login.sh 05:21:41 nexus3.edgexfoundry.org:10001 05:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 nexus3.edgexfoundry.org:10002 05:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 nexus3.edgexfoundry.org:10003 05:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 nexus3.edgexfoundry.org:10004 05:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 ****.io 05:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:21:41 Configure a credential helper to remove this warning. See 05:21:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:21:41 05:21:41 Login Succeeded 05:21:41 ---> ****-login.sh ends [Pipeline] } 05:21:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:21:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:21:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:21:41 ========================================================= 05:21:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 05:21:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:42 + 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 . 05:21:42 Sending build context to Docker daemon 17.86MB 05:21:42 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:21:42 Step 2/10 : FROM ${BASE} AS builder 05:21:42 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 05:21:42 43c4264eed91: Pulling fs layer 05:21:42 4cc291be95ef: Pulling fs layer 05:21:42 2ac1f1163629: Pulling fs layer 05:21:42 5c3c966382ef: Pulling fs layer 05:21:42 4f4fb700ef54: Pulling fs layer 05:21:42 5d5c8e513c77: Pulling fs layer 05:21:42 9f66e0745190: Pulling fs layer 05:21:42 f49a43e4bbc0: Pulling fs layer 05:21:42 561ebcabdf7f: Pulling fs layer 05:21:42 5c3c966382ef: Waiting 05:21:42 4f4fb700ef54: Waiting 05:21:42 5d5c8e513c77: Waiting 05:21:42 f49a43e4bbc0: Waiting 05:21:42 9f66e0745190: Waiting 05:21:42 561ebcabdf7f: Waiting 05:21:42 4cc291be95ef: Verifying Checksum 05:21:42 4cc291be95ef: Download complete 05:21:42 5c3c966382ef: Verifying Checksum 05:21:42 5c3c966382ef: Download complete 05:21:42 4f4fb700ef54: Download complete 05:21:42 5d5c8e513c77: Verifying Checksum 05:21:42 5d5c8e513c77: Download complete 05:21:42 43c4264eed91: Verifying Checksum 05:21:42 43c4264eed91: Download complete 05:21:42 9f66e0745190: Verifying Checksum 05:21:42 9f66e0745190: Download complete 05:21:42 43c4264eed91: Pull complete 05:21:42 561ebcabdf7f: Verifying Checksum 05:21:42 561ebcabdf7f: Download complete 05:21:42 4cc291be95ef: Pull complete 05:21:43 2ac1f1163629: Verifying Checksum 05:21:43 2ac1f1163629: Download complete 05:21:43 f49a43e4bbc0: Verifying Checksum 05:21:43 f49a43e4bbc0: Download complete 05:21:46 2ac1f1163629: Pull complete 05:21:46 5c3c966382ef: Pull complete 05:21:46 4f4fb700ef54: Pull complete 05:21:46 5d5c8e513c77: Pull complete 05:21:47 9f66e0745190: Pull complete 05:21:49 f49a43e4bbc0: Pull complete 05:21:50 561ebcabdf7f: Pull complete 05:21:50 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 05:21:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 05:21:50 ---> 3a752c3f9dda 05:21:50 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:21:55 Still waiting to schedule task 05:21:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:21:55 ---> Running in 0ca90fee2c90 05:21:55 Removing intermediate container 0ca90fee2c90 05:21:55 ---> cd5b54d80f17 05:21:55 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:21:55 ---> Running in b64f68f8b8e8 05:21:55 Removing intermediate container b64f68f8b8e8 05:21:55 ---> e4d77b9e747c 05:21:55 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:21:55 ---> Running in f483d90e9fa4 05:21:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 05:21:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 05:21:56 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:21:56 (2/8) Installing libedit (20240517.3.1-r0) 05:21:56 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:21:56 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:21:56 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:21:56 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:21:56 (7/8) Installing openssh-server (9.7_p1-r4) 05:21:56 (8/8) Installing openssh (9.7_p1-r4) 05:21:56 Executing busybox-1.36.1-r29.trigger 05:21:56 OK: 252 MiB in 62 packages 05:21:56 Removing intermediate container f483d90e9fa4 05:21:56 ---> d1e12b385893 05:21:56 Step 6/10 : WORKDIR /device-modbus-go 05:21:56 ---> Running in deebeb5a8241 05:21:56 Removing intermediate container deebeb5a8241 05:21:56 ---> 557e3f555126 05:21:56 Step 7/10 : COPY go.mod vendor* ./ 05:21:57 ---> a7b26f8f9457 05:21:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:21:57 ---> Running in 147faf87cc89 05:23:02 Removing intermediate container 147faf87cc89 05:23:02 ---> 23bf02ce3229 05:23:02 Step 9/10 : COPY . . 05:23:02 ---> 19b1839c8fed 05:23:02 Step 10/10 : RUN ${MAKE} 05:23:02 ---> Running in 4d602dee3933 05:23:02 noop 05:23:02 Removing intermediate container 4d602dee3933 05:23:02 ---> 13411cfe7194 05:23:02 Successfully built 13411cfe7194 05:23:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:02 + docker inspect -f . ci-base-image-x86_64 05:23:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:02 prd-ubuntu20.04-docker-8c-8g-15595 does not seem to be running inside a container 05:23:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-576 -v /w/workspace/xfoundry_device-modbus-go_PR-576:/w/workspace/xfoundry_device-modbus-go_PR-576:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-576@tmp:/w/workspace/xfoundry_device-modbus-go_PR-576@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 05:23:03 $ docker top ded9aac0b20b927d6a3eb9a09e9b1c23da0bd95ba3c8425a6cb9a774169dcfb6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:03 + go version 05:23:03 go version go1.23.2 linux/amd64 [Pipeline] } 05:23:03 $ docker stop --time=1 ded9aac0b20b927d6a3eb9a09e9b1c23da0bd95ba3c8425a6cb9a774169dcfb6 05:23:05 $ docker rm -f --volumes ded9aac0b20b927d6a3eb9a09e9b1c23da0bd95ba3c8425a6cb9a774169dcfb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:05 + docker inspect -f . ci-base-image-x86_64 05:23:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:05 prd-ubuntu20.04-docker-8c-8g-15595 does not seem to be running inside a container 05:23:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/xfoundry_device-modbus-go_PR-576 -v /w/workspace/xfoundry_device-modbus-go_PR-576:/w/workspace/xfoundry_device-modbus-go_PR-576:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-576@tmp:/w/workspace/xfoundry_device-modbus-go_PR-576@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 05:23:06 $ docker top 28d94f3f526e1197d586d6a2a9bb86d5bf1271f70a0cc7239fb070526a57ae0d -eo pid,comm [Pipeline] { [Pipeline] sh 05:23:06 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-576 [Pipeline] fileExists [Pipeline] sh 05:23:07 + make test 05:23:07 go test ./... -coverprofile=coverage.out 05:23:07 go: updates to go.mod needed; to update it: 05:23:07 go mod tidy 05:23:07 make: *** [Makefile:33: unittest] Error 1 [Pipeline] } 05:23:07 $ docker stop --time=1 28d94f3f526e1197d586d6a2a9bb86d5bf1271f70a0cc7239fb070526a57ae0d 05:23:09 $ docker rm -f --volumes 28d94f3f526e1197d586d6a2a9bb86d5bf1271f70a0cc7239fb070526a57ae0d [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:23:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:10 05:23:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:10 latest: Pulling from edgex-lftools-log-publisher 05:23:10 5eb5b503b376: Pulling fs layer 05:23:10 5c69ac0246d0: Pulling fs layer 05:23:10 ec43610c2a17: Pulling fs layer 05:23:10 3a2ae6a8a46f: Pulling fs layer 05:23:10 33b1e0a273af: Pulling fs layer 05:23:10 5d3b04190fa2: Pulling fs layer 05:23:10 2f39f015ded8: Pulling fs layer 05:23:10 5d3b04190fa2: Waiting 05:23:10 2f39f015ded8: Waiting 05:23:10 3a2ae6a8a46f: Waiting 05:23:10 33b1e0a273af: Waiting 05:23:10 5c69ac0246d0: Download complete 05:23:10 3a2ae6a8a46f: Verifying Checksum 05:23:10 3a2ae6a8a46f: Download complete 05:23:10 33b1e0a273af: Verifying Checksum 05:23:10 33b1e0a273af: Download complete 05:23:10 ec43610c2a17: Verifying Checksum 05:23:10 ec43610c2a17: Download complete 05:23:10 5d3b04190fa2: Verifying Checksum 05:23:10 5d3b04190fa2: Download complete 05:23:11 5eb5b503b376: Download complete 05:23:11 2f39f015ded8: Download complete 05:23:12 5eb5b503b376: Pull complete 05:23:12 5c69ac0246d0: Pull complete 05:23:12 ec43610c2a17: Pull complete 05:23:12 3a2ae6a8a46f: Pull complete 05:23:12 33b1e0a273af: Pull complete 05:23:12 5d3b04190fa2: Pull complete 05:23:17 2f39f015ded8: Pull complete 05:23:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:23:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:23:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:23:17 prd-ubuntu20.04-docker-8c-8g-15595 does not seem to be running inside a container 05:23:17 $ 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/xfoundry_device-modbus-go_PR-576 -v /w/workspace/xfoundry_device-modbus-go_PR-576:/w/workspace/xfoundry_device-modbus-go_PR-576:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-576@tmp:/w/workspace/xfoundry_device-modbus-go_PR-576@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 05:23:21 $ docker top 3997d22af9c298d8892a690bb257124a34acb58f21b31c1f6b665d930c734623 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:22 ---> job-cost.sh 05:23:22 lf-activate-venv: SKIPPING 05:23:22 INFO: No Stack... 05:23:22 INFO: Retrieving Pricing Info for: v3-standard-8 05:23:22 INFO: Archiving Costs [Pipeline] sh 05:23:23 + cat /w/workspace/xfoundry_device-modbus-go_PR-576/archives/cost.csv 05:23:23 + cut -d, -f6 [Pipeline] lock 05:23:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-576-1-stack-cost] 05:23:23 Resource [jenkins-edgexfoundry-device-modbus-go-PR-576-1-stack-cost] did not exist. Created. 05:23:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-576-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:23:23 + echo total: 0.2199999988079071 [Pipeline] stash 05:23:23 Stashed 1 file(s) [Pipeline] } 05:23:23 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-576-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:23:23 $ docker stop --time=1 3997d22af9c298d8892a690bb257124a34acb58f21b31c1f6b665d930c734623 05:23:24 $ docker rm -f --volumes 3997d22af9c298d8892a690bb257124a34acb58f21b31c1f6b665d930c734623 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:23:25 Failed in branch amd64 05:23:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15597 in /w/workspace/xfoundry_device-modbus-go_PR-576 [Pipeline] { [Pipeline] ws 05:23:31 Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout 05:23:31 The recommended git tool is: git 05:23:36 using credential edgex-jenkins-ssh 05:23:36 Cloning the remote Git repository 05:23:36 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 05:23:36 > git init /w/workspace/device-modbus-go/1 # timeout=10 05:23:36 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:23:36 > git --version # timeout=10 05:23:36 > git --version # 'git version 2.25.1' 05:23:36 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:38 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:23:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:39 Merging remotes/origin/main commit a3ee41877b048388e7c3cdab8b1927d49f235cab into PR head commit f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 05:23:40 Merge succeeded, producing f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 05:23:40 Checking out Revision f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 (PR-576) 05:23:39 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 05:23:39 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 05:23:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/576/head:refs/remotes/origin/PR-576 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:23:39 > git config core.sparsecheckout # timeout=10 05:23:39 > git checkout -f f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 # timeout=10 05:23:39 > git remote # timeout=10 05:23:39 > git config --get remote.origin.url # timeout=10 05:23:39 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:39 > git merge a3ee41877b048388e7c3cdab8b1927d49f235cab # timeout=10 05:23:40 > git rev-parse HEAD^{commit} # timeout=10 05:23:40 > git config core.sparsecheckout # timeout=10 05:23:40 > git checkout -f f7433a2fadcdb7641090c3f7caaff2f0c68dd2f9 # timeout=10 05:23:40 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 05:23:40 > git --version # timeout=10 05:23:40 > git --version # 'git version 2.25.1' 05:23:40 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:23:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:23:45 % Total % Received % Xferd Average Speed Time Time Time Current 05:23:45 Dload Upload Total Spent Left Speed 05:23:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 05:23:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:23:46 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 05:23:46 05:23:46 { 05:23:46 "registry-mirrors": [ 05:23:46 "https://nexus3.edgexfoundry.org:10001" 05:23:46 ], 05:23:46 "bip": "10.250.0.254/24", 05:23:46 "hosts": [ 05:23:46 "tcp://0.0.0.0:5555", 05:23:46 "unix:///var/run/docker.sock" 05:23:46 ], 05:23:46 "mtu": 1458, 05:23:46 "selinux-enabled": true, 05:23:46 "seccomp-profile": "/etc/docker/seccomp.json" 05:23:46 } [Pipeline] sh 05:23:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:23:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:24:05 provisioning config files... 05:24:05 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2242060875850330004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:24:05 ---> ****-login.sh 05:24:05 nexus3.edgexfoundry.org:10001 05:24:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:06 Configure a credential helper to remove this warning. See 05:24:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:06 05:24:06 Login Succeeded 05:24:06 nexus3.edgexfoundry.org:10002 05:24:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:07 Configure a credential helper to remove this warning. See 05:24:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:07 05:24:07 Login Succeeded 05:24:07 nexus3.edgexfoundry.org:10003 05:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:07 Configure a credential helper to remove this warning. See 05:24:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:07 05:24:07 Login Succeeded 05:24:07 nexus3.edgexfoundry.org:10004 05:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:07 Configure a credential helper to remove this warning. See 05:24:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:07 05:24:07 Login Succeeded 05:24:07 ****.io 05:24:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:24:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 05:24:08 Configure a credential helper to remove this warning. See 05:24:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 05:24:08 05:24:08 Login Succeeded 05:24:08 ---> ****-login.sh ends [Pipeline] } 05:24:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:24:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:24:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 05:24:08 ========================================================= 05:24:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 05:24:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:09 + 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 . 05:24:09 Sending build context to Docker daemon 9.072MB 05:24:09 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 05:24:09 Step 2/10 : FROM ${BASE} AS builder 05:24:09 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:24:09 cf04c63912e1: Pulling fs layer 05:24:09 55b35a11ae5e: Pulling fs layer 05:24:09 a37a00ec5f00: Pulling fs layer 05:24:09 50b3750afda1: Pulling fs layer 05:24:09 4f4fb700ef54: Pulling fs layer 05:24:09 80978eb59214: Pulling fs layer 05:24:09 c9f46d7d2bd2: Pulling fs layer 05:24:09 c5a475d317c9: Pulling fs layer 05:24:09 4f4fb700ef54: Waiting 05:24:09 80978eb59214: Waiting 05:24:09 c5a475d317c9: Waiting 05:24:09 50b3750afda1: Waiting 05:24:09 c9f46d7d2bd2: Waiting 05:24:09 50b3750afda1: Verifying Checksum 05:24:09 50b3750afda1: Download complete 05:24:09 4f4fb700ef54: Verifying Checksum 05:24:09 4f4fb700ef54: Download complete 05:24:10 80978eb59214: Verifying Checksum 05:24:10 80978eb59214: Download complete 05:24:10 cf04c63912e1: Verifying Checksum 05:24:10 cf04c63912e1: Download complete 05:24:10 c5a475d317c9: Verifying Checksum 05:24:10 c5a475d317c9: Download complete 05:24:10 cf04c63912e1: Pull complete 05:24:11 55b35a11ae5e: Pull complete 05:24:11 a37a00ec5f00: Verifying Checksum 05:24:11 a37a00ec5f00: Download complete 05:24:12 c9f46d7d2bd2: Verifying Checksum 05:24:12 c9f46d7d2bd2: Download complete 05:24:27 a37a00ec5f00: Pull complete 05:24:27 50b3750afda1: Pull complete 05:24:27 4f4fb700ef54: Pull complete 05:24:27 80978eb59214: Pull complete 05:24:34 c9f46d7d2bd2: Pull complete 05:24:35 c5a475d317c9: Pull complete 05:24:35 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 05:24:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 05:24:35 ---> be29e6b0f0d4 05:24:35 Step 3/10 : ARG ADD_BUILD_TAGS="" 05:24:36 ---> Running in 740dbc8d48a7 05:24:36 Removing intermediate container 740dbc8d48a7 05:24:36 ---> ddf84d679b11 05:24:36 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 05:24:36 ---> Running in e7fd572a3152 05:24:37 Removing intermediate container e7fd572a3152 05:24:37 ---> dd2ef9278237 05:24:37 Step 5/10 : RUN apk add --update --no-cache make git openssh 05:24:37 ---> Running in ca06fe5b76b4 05:24:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 05:24:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 05:24:40 (1/8) Installing openssh-keygen (9.7_p1-r4) 05:24:40 (2/8) Installing libedit (20240517.3.1-r0) 05:24:40 (3/8) Installing openssh-client-common (9.7_p1-r4) 05:24:40 (4/8) Installing openssh-client-default (9.7_p1-r4) 05:24:40 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 05:24:40 (6/8) Installing openssh-server-common (9.7_p1-r4) 05:24:40 (7/8) Installing openssh-server (9.7_p1-r4) 05:24:40 (8/8) Installing openssh (9.7_p1-r4) 05:24:40 Executing busybox-1.36.1-r29.trigger 05:24:40 OK: 244 MiB in 62 packages 05:24:41 Removing intermediate container ca06fe5b76b4 05:24:41 ---> bbcf1c37ca10 05:24:41 Step 6/10 : WORKDIR /device-modbus-go 05:24:41 ---> Running in 9c8ed746cbd4 05:24:41 Removing intermediate container 9c8ed746cbd4 05:24:41 ---> 8e43572333a5 05:24:41 Step 7/10 : COPY go.mod vendor* ./ 05:24:42 ---> 32772187dd47 05:24:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:24:42 ---> Running in 8a82abf4c96e 05:26:33 Removing intermediate container 8a82abf4c96e 05:26:33 ---> 63194d5f1574 05:26:33 Step 9/10 : COPY . . 05:26:33 ---> b1af03bab33b 05:26:33 Step 10/10 : RUN ${MAKE} 05:26:33 ---> Running in eeb5a7d12502 05:26:33 noop 05:26:33 Removing intermediate container eeb5a7d12502 05:26:33 ---> a93ed1858b2a 05:26:33 Successfully built a93ed1858b2a 05:26:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:34 + docker inspect -f . ci-base-image-arm64 05:26:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:34 prd-ubuntu20.04-docker-arm64-4c-16g-15597 does not seem to be running inside a container 05:26:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 05:26:36 $ docker top 2c26fb66d174767e01ab9961190e3f5856febe3fb08cc70685a6936129bab4e5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:36 + go version 05:26:36 go version go1.23.2 linux/arm64 [Pipeline] } 05:26:36 $ docker stop --time=1 2c26fb66d174767e01ab9961190e3f5856febe3fb08cc70685a6936129bab4e5 05:26:38 $ docker rm -f --volumes 2c26fb66d174767e01ab9961190e3f5856febe3fb08cc70685a6936129bab4e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:39 + docker inspect -f . ci-base-image-arm64 05:26:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:26:39 prd-ubuntu20.04-docker-arm64-4c-16g-15597 does not seem to be running inside a container 05:26: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-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 05:26:41 $ docker top 6ab167e299e7f4f6ac184c54fb464deb9cba196ebeaffbff52a3f58c24e50213 -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:42 + git config --global --add safe.directory /w/workspace/device-modbus-go/1 [Pipeline] fileExists [Pipeline] sh 05:26:42 + make test 05:26:42 go test ./... -coverprofile=coverage.out 05:26:47 go: updates to go.mod needed; to update it: 05:26:47 go mod tidy 05:26:47 make: *** [Makefile:33: unittest] Error 1 [Pipeline] } 05:26:47 $ docker stop --time=1 6ab167e299e7f4f6ac184c54fb464deb9cba196ebeaffbff52a3f58c24e50213 05:26:49 $ docker rm -f --volumes 6ab167e299e7f4f6ac184c54fb464deb9cba196ebeaffbff52a3f58c24e50213 [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 05:26:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:26:50 05:26:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:26:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:26:51 arm64: Pulling from edgex-lftools-log-publisher 05:26:51 8998bd30e6a1: Pulling fs layer 05:26:51 04944245beec: Pulling fs layer 05:26:51 699f458cf7ca: Pulling fs layer 05:26:51 765212b225bb: Pulling fs layer 05:26:51 f23df028b6ca: Pulling fs layer 05:26:51 d65c8cfc05b1: Pulling fs layer 05:26:51 2437ff75d9bd: Pulling fs layer 05:26:51 765212b225bb: Waiting 05:26:51 f23df028b6ca: Waiting 05:26:51 d65c8cfc05b1: Waiting 05:26:51 2437ff75d9bd: Waiting 05:26:51 04944245beec: Verifying Checksum 05:26:51 04944245beec: Download complete 05:26:51 765212b225bb: Verifying Checksum 05:26:51 765212b225bb: Download complete 05:26:51 f23df028b6ca: Verifying Checksum 05:26:51 f23df028b6ca: Download complete 05:26:51 d65c8cfc05b1: Verifying Checksum 05:26:51 d65c8cfc05b1: Download complete 05:26:51 699f458cf7ca: Verifying Checksum 05:26:51 699f458cf7ca: Download complete 05:26:51 8998bd30e6a1: Verifying Checksum 05:26:51 8998bd30e6a1: Download complete 05:26:54 2437ff75d9bd: Verifying Checksum 05:26:54 2437ff75d9bd: Download complete 05:26:56 8998bd30e6a1: Pull complete 05:26:56 04944245beec: Pull complete 05:26:58 699f458cf7ca: Pull complete 05:26:58 765212b225bb: Pull complete 05:26:59 f23df028b6ca: Pull complete 05:26:59 d65c8cfc05b1: Pull complete 05:27:18 2437ff75d9bd: Pull complete 05:27:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:27:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:18 prd-ubuntu20.04-docker-arm64-4c-16g-15597 does not seem to be running inside a container 05:27:18 $ 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-modbus-go/1 -v /w/workspace/device-modbus-go/1:/w/workspace/device-modbus-go/1:rw,z -v /w/workspace/device-modbus-go/1@tmp:/w/workspace/device-modbus-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 05:27:20 $ docker top 35b1ef0111897d3dc518c8767653bba4affec4d8cc1757409c7c0a3b30b7476b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:21 ---> job-cost.sh 05:27:21 lf-activate-venv: SKIPPING 05:27:21 INFO: No Stack... 05:27:22 INFO: Retrieving Pricing Info for: v3-standard-4 05:27:23 INFO: Archiving Costs [Pipeline] sh 05:27:23 + cat /w/workspace/device-modbus-go/1/archives/cost.csv 05:27:23 + cut -d, -f6 [Pipeline] lock 05:27:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-576-1-stack-cost] 05:27:23 Resource [jenkins-edgexfoundry-device-modbus-go-PR-576-1-stack-cost] did not exist. Created. 05:27:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-576-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:27:24 /w/workspace/device-modbus-go/1@tmp/durable-800ddbd8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:27:24 + echo total: 0.10999999940395355 [Pipeline] stash 05:27:24 Warning: overwriting stash ‘stack-cost’ 05:27:25 Stashed 1 file(s) [Pipeline] } 05:27:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-576-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:27:25 $ docker stop --time=1 35b1ef0111897d3dc518c8767653bba4affec4d8cc1757409c7c0a3b30b7476b 05:27:26 $ docker rm -f --volumes 35b1ef0111897d3dc518c8767653bba4affec4d8cc1757409c7c0a3b30b7476b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 05:27:27 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 05:27:30 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-576/archives ] 05:27:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-576/archives 05:27:30 total 16 05:27:30 drwxr-xr-x 3 root root 4096 Oct 4 05:23 . 05:27:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 05:23 .. 05:27:30 drwxr-xr-x 2 root root 4096 Oct 4 05:23 cost 05:27:30 -rw-r--r-- 1 root root 88 Oct 4 05:23 cost.csv 05:27:30 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-576/archives 05:27:30 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-576/archives 05:27:30 total 16 05:27:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 05:23 . 05:27:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 05:23 .. 05:27:30 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 05:23 cost 05:27:30 -rw-r--r-- 1 jenkins jenkins 88 Oct 4 05:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:27:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:27:32 ---> package-listing.sh 05:27:32 ++ facter osfamily 05:27:32 ++ tr '[:upper:]' '[:lower:]' 05:27:32 + OS_FAMILY=debian 05:27:32 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-576 05:27:32 + START_PACKAGES=/tmp/packages_start.txt 05:27:32 + END_PACKAGES=/tmp/packages_end.txt 05:27:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:27:32 + PACKAGES=/tmp/packages_start.txt 05:27:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-576 ']' 05:27:32 + PACKAGES=/tmp/packages_end.txt 05:27:32 + case "${OS_FAMILY}" in 05:27:32 + dpkg -l 05:27:32 + grep '^ii' 05:27:32 + '[' -f /tmp/packages_start.txt ']' 05:27:32 + '[' -f /tmp/packages_end.txt ']' 05:27:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:27:32 + '[' /w/workspace/xfoundry_device-modbus-go_PR-576 ']' 05:27:32 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-576/archives/ 05:27:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-576/archives/ [Pipeline] echo 05:27:32 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/xfoundry_device-modbus-go_PR-576/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:27:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:27:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:33 prd-ubuntu20.04-docker-8c-8g-15595 does not seem to be running inside a container 05:27:33 $ 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/xfoundry_device-modbus-go_PR-576/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-576 -v /w/workspace/xfoundry_device-modbus-go_PR-576:/w/workspace/xfoundry_device-modbus-go_PR-576:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-576@tmp:/w/workspace/xfoundry_device-modbus-go_PR-576@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 05:27:33 $ docker top b156260e37080ec741b67f275cb096ae2531f62b675b6c48fa5a4d7b156f699d -eo pid,comm [Pipeline] { [Pipeline] sh 05:27:34 + touch /tmp/pre-build-complete [Pipeline] sh 05:27:34 + mkdir -p /var/log/sysstat [Pipeline] sh 05:27:34 + ls /var/log/sa-host 05:27:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:27:34 provisioning config files... 05:27:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-576@tmp/config10974368405169264230tmp [Pipeline] { [Pipeline] echo 05:27:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:27:35 ---> create-netrc.sh [Pipeline] } 05:27:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:27:35 ---> python-tools-install.sh [Pipeline] echo 05:27:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:27:36 ---> sudo-logs.sh 05:27:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:27:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:27:36 ---> job-cost.sh 05:27:36 lf-activate-venv: SKIPPING 05:27:36 DEBUG: total: 0.2199999988079071 05:27:36 INFO: Retrieving Stack Cost... 05:27:36 INFO: Retrieving Pricing Info for: v3-standard-8 05:27:37 INFO: Archiving Costs [Pipeline] echo 05:27:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:27:37 ---> logs-deploy.sh 05:27:37 lf-activate-venv: SKIPPING 05:27:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-576/1 05:27:37 INFO: archiving workspace using pattern(s): 05:27:38 Archives upload complete. 05:27:38 INFO: archiving logs to Nexus