Pull request #589 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 6ff3c2f363e2507abfa48683d74813bb761c41a3+dad323708bb7fb3ae7999ed6872af7cbf93de804 (3304d3a7f96315ce4763f436c50acecbba6304e1) 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-ssh16026481449084227151.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-ssh15331330606011902714.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-589/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-589/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh205328292553521134.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 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-ssh2060915220540602198.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-589/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-589/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7981321773361124221.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24957 in /w/workspace/xfoundry_device-modbus-go_PR-589 [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-589 # 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 > 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/589/head:refs/remotes/origin/PR-589 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dad323708bb7fb3ae7999ed6872af7cbf93de804 into PR head commit 6ff3c2f363e2507abfa48683d74813bb761c41a3 Merge succeeded, producing 6ff3c2f363e2507abfa48683d74813bb761c41a3 Checking out Revision 6ff3c2f363e2507abfa48683d74813bb761c41a3 (PR-589) > git config core.sparsecheckout # timeout=10 > git checkout -f 6ff3c2f363e2507abfa48683d74813bb761c41a3 # 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 dad323708bb7fb3ae7999ed6872af7cbf93de804 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6ff3c2f363e2507abfa48683d74813bb761c41a3 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:57:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:57:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:57:32 ========================================================= 02:57:32 EdgeX Global Pipelines Version Info 02:57:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7c4bbfadab17425ea955584c2cfb2af15322662d # timeout=10 02:57:33 ------------------- 02:57:33 stable info: 02:57:33 ------------------- 02:57:33 Commited By: Ginny Guan ginny@iotechsys.com 02:57:33 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 02:57:33 Message: update stable to v1.0.265 02:57:33 ------------------- 02:57:33 experimental info: 02:57:33 ------------------- 02:57:33 Commited By: Cherry Wang cherry@iotechsys.com 02:57:33 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 02:57:33 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:57:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 02:57:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 02:57:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:57:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:57:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:57:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-589 [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-589 [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-589 [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ff3c2f [Pipeline] echo 02:57:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:57:34 provisioning config files... 02:57:34 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config12496550361583830417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:57:35 ---> ****-login.sh 02:57:35 nexus3.edgexfoundry.org:10001 02:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:35 Configure a credential helper to remove this warning. See 02:57:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:35 02:57:35 Login Succeeded 02:57:35 nexus3.edgexfoundry.org:10002 02:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:35 Configure a credential helper to remove this warning. See 02:57:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:35 02:57:35 Login Succeeded 02:57:35 nexus3.edgexfoundry.org:10003 02:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:35 Configure a credential helper to remove this warning. See 02:57:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:35 02:57:35 Login Succeeded 02:57:35 nexus3.edgexfoundry.org:10004 02:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:35 Configure a credential helper to remove this warning. See 02:57:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:35 02:57:35 Login Succeeded 02:57:35 ****.io 02:57:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:35 Configure a credential helper to remove this warning. See 02:57:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:35 02:57:35 Login Succeeded 02:57:35 ---> ****-login.sh ends [Pipeline] } 02:57:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:57:36 + git rev-list -1 --merges 6ff3c2f363e2507abfa48683d74813bb761c41a3~1..6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] echo 02:57:36 -----------> git rev-list -1 --merges 6ff3c2f363e2507abfa48683d74813bb761c41a3~1..6ff3c2f363e2507abfa48683d74813bb761c41a3 6ff3c2f363e2507abfa48683d74813bb761c41a3 [false] [Pipeline] sh 02:57:36 + git log --format=format:%s -1 6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] echo 02:57:36 ========================================================= 02:57:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:57:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:57:36 + git log --format=format:%s -1 6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] echo 02:57:36 [semverPrep] GIT_COMMIT: 6ff3c2f363e2507abfa48683d74813bb761c41a3, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo 02:57:36 [semverPrep] This is not a build commit. [Pipeline] sh 02:57:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:57:37 + grep -v github /etc/ssh/ssh_known_hosts 02:57:37 + [ -e /tmp/ssh_known_hosts ] 02:57:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:57:37 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:57:37 sudo tee -a /etc/ssh/ssh_known_hosts 02:57:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:57:37 02:57:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:57:38 0.1.4: Pulling from edgex-devops/py-git-semver 02:57:38 b85a868b505f: Pulling fs layer 02:57:38 e2be974225ed: Pulling fs layer 02:57:38 339a4e72a1f5: Pulling fs layer 02:57:38 988bab9f4d93: Pulling fs layer 02:57:38 1469e6f7b9e6: Pulling fs layer 02:57:38 eaf3925da568: Pulling fs layer 02:57:38 bab4dde63d76: Pulling fs layer 02:57:38 bde34c3a00c8: Pulling fs layer 02:57:38 b352a97aabf1: Pulling fs layer 02:57:38 4872d77fe225: Pulling fs layer 02:57:38 5851b861e8e6: Pulling fs layer 02:57:38 988bab9f4d93: Waiting 02:57:38 1469e6f7b9e6: Waiting 02:57:38 eaf3925da568: Waiting 02:57:38 bab4dde63d76: Waiting 02:57:38 bde34c3a00c8: Waiting 02:57:38 b352a97aabf1: Waiting 02:57:38 4872d77fe225: Waiting 02:57:38 5851b861e8e6: Waiting 02:57:38 e2be974225ed: Verifying Checksum 02:57:38 e2be974225ed: Download complete 02:57:38 988bab9f4d93: Verifying Checksum 02:57:38 988bab9f4d93: Download complete 02:57:38 1469e6f7b9e6: Verifying Checksum 02:57:38 1469e6f7b9e6: Download complete 02:57:38 339a4e72a1f5: Verifying Checksum 02:57:38 339a4e72a1f5: Download complete 02:57:38 eaf3925da568: Verifying Checksum 02:57:38 eaf3925da568: Download complete 02:57:38 bde34c3a00c8: Download complete 02:57:38 b352a97aabf1: Download complete 02:57:38 4872d77fe225: Verifying Checksum 02:57:38 4872d77fe225: Download complete 02:57:38 5851b861e8e6: Verifying Checksum 02:57:38 5851b861e8e6: Download complete 02:57:38 b85a868b505f: Verifying Checksum 02:57:38 b85a868b505f: Download complete 02:57:38 bab4dde63d76: Verifying Checksum 02:57:38 bab4dde63d76: Download complete 02:57:39 b85a868b505f: Pull complete 02:57:39 e2be974225ed: Pull complete 02:57:40 339a4e72a1f5: Pull complete 02:57:40 988bab9f4d93: Pull complete 02:57:40 1469e6f7b9e6: Pull complete 02:57:40 eaf3925da568: Pull complete 02:57:42 bab4dde63d76: Pull complete 02:57:42 bde34c3a00c8: Pull complete 02:57:42 b352a97aabf1: Pull complete 02:57:42 4872d77fe225: Pull complete 02:57:42 5851b861e8e6: Pull complete 02:57:42 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:57:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:57:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:57:43 prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container 02:57:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:57:46 $ docker top 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb -eo pid,comm 02:57:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:57:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:57:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:57:46 [ssh-agent] Looking for ssh-agent implementation... 02:57:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:57:46 $ docker exec 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb ssh-agent 02:57:46 SSH_AUTH_SOCK=/tmp/ssh-k8u9RBXACZgq/agent.32 02:57:46 SSH_AGENT_PID=38 02:57:46 Running ssh-add (command line suppressed) 02:57:46 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_6249455054591271794.key (/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_6249455054591271794.key) 02:57:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:57:46 + git tag --points-at HEAD [Pipeline] } 02:57:46 $ docker exec --env ******** --env ******** 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb ssh-agent -k 02:57:47 unset SSH_AUTH_SOCK; 02:57:47 unset SSH_AGENT_PID; 02:57:47 echo Agent pid 38 killed; 02:57:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:57:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:57:47 [ssh-agent] Looking for ssh-agent implementation... 02:57:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:57:47 $ docker exec 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb ssh-agent 02:57:47 SSH_AUTH_SOCK=/tmp/ssh-zwtBn4bOEu6M/agent.71 02:57:47 SSH_AGENT_PID=77 02:57:47 Running ssh-add (command line suppressed) 02:57:47 Identity added: /w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_10047306501169466824.key (/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/private_key_10047306501169466824.key) 02:57:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:57:47 + git semver init 02:57:48 2024-11-08 02:57:47,978 [run_init] DEBUG init version:0.0.0 force:False 02:57:48 2024-11-08 02:57:47,979 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-modbus-go_PR-589/.semver 02:57:48 2024-11-08 02:57:47,979 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/xfoundry_device-modbus-go_PR-589/.semver 02:57:48 2024-11-08 02:57:47,980 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/xfoundry_device-modbus-go_PR-589/.semver'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-589, universal_newlines=False, shell=None, istream=None) 02:57:49 2024-11-08 02:57:49,023 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-modbus-go_PR-589/.git/info/exclude 02:57:49 2024-11-08 02:57:49,024 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-modbus-go_PR-589/.semver/PR-589 with force:False 02:57:49 2024-11-08 02:57:49,024 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-modbus-go_PR-589/.semver/PR-589 02:57:49 2024-11-08 02:57:49,029 [execute] INFO git cat-file --batch-check 02:57:49 2024-11-08 02:57:49,029 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-589/.semver, universal_newlines=False, shell=None, istream=) 02:57:49 2024-11-08 02:57:49,036 [execute] INFO git cat-file --batch 02:57:49 2024-11-08 02:57:49,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-modbus-go_PR-589/.semver, universal_newlines=False, shell=None, istream=) 02:57:49 2024-11-08 02:57:49,041 [read_version] DEBUG read version from /w/workspace/xfoundry_device-modbus-go_PR-589/.semver/PR-589 02:57:49 0.0.0 [Pipeline] } 02:57:49 $ docker exec --env ******** --env ******** 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb ssh-agent -k 02:57:49 unset SSH_AUTH_SOCK; 02:57:49 unset SSH_AGENT_PID; 02:57:49 echo Agent pid 77 killed; 02:57:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:57:49 + git semver [Pipeline] } 02:57:50 $ docker stop --time=1 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb 02:57:51 $ docker rm -f --volumes 987e9c3987fba082086f86c877644f6855f3fef78f56130abe6535d140d5b3bb [Pipeline] // withDockerContainer [Pipeline] sh 02:57:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:57:52 Stashed 1 file(s) [Pipeline] echo 02:57:52 [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 02:57:52 provisioning config files... 02:57:52 copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config6042473323236340648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:57:52 ---> ****-login.sh 02:57:52 nexus3.edgexfoundry.org:10001 02:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:52 Configure a credential helper to remove this warning. See 02:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:52 02:57:52 Login Succeeded 02:57:52 nexus3.edgexfoundry.org:10002 02:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:52 Configure a credential helper to remove this warning. See 02:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:52 02:57:52 Login Succeeded 02:57:52 nexus3.edgexfoundry.org:10003 02:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:52 Configure a credential helper to remove this warning. See 02:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:52 02:57:52 Login Succeeded 02:57:52 nexus3.edgexfoundry.org:10004 02:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:52 Configure a credential helper to remove this warning. See 02:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:52 02:57:52 Login Succeeded 02:57:52 ****.io 02:57:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:57:53 Configure a credential helper to remove this warning. See 02:57:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:57:53 02:57:53 Login Succeeded 02:57:53 ---> ****-login.sh ends [Pipeline] } 02:57:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:57:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:57:53 ========================================================= 02:57:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 02:57:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:53 + 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 . 02:57:53 Sending build context to Docker daemon 17.97MB 02:57:53 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 02:57:53 Step 2/10 : FROM ${BASE} AS builder 02:57:53 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 02:57:53 43c4264eed91: Pulling fs layer 02:57:53 4cc291be95ef: Pulling fs layer 02:57:53 2ac1f1163629: Pulling fs layer 02:57:53 5c3c966382ef: Pulling fs layer 02:57:53 4f4fb700ef54: Pulling fs layer 02:57:53 5d5c8e513c77: Pulling fs layer 02:57:53 9f66e0745190: Pulling fs layer 02:57:53 f49a43e4bbc0: Pulling fs layer 02:57:53 561ebcabdf7f: Pulling fs layer 02:57:53 5d5c8e513c77: Waiting 02:57:53 5c3c966382ef: Waiting 02:57:53 9f66e0745190: Waiting 02:57:53 4f4fb700ef54: Waiting 02:57:53 f49a43e4bbc0: Waiting 02:57:53 561ebcabdf7f: Waiting 02:57:53 4cc291be95ef: Verifying Checksum 02:57:53 4cc291be95ef: Download complete 02:57:53 5c3c966382ef: Download complete 02:57:53 4f4fb700ef54: Verifying Checksum 02:57:53 4f4fb700ef54: Download complete 02:57:53 5d5c8e513c77: Verifying Checksum 02:57:53 5d5c8e513c77: Download complete 02:57:53 43c4264eed91: Download complete 02:57:53 9f66e0745190: Verifying Checksum 02:57:54 43c4264eed91: Pull complete 02:57:54 561ebcabdf7f: Download complete 02:57:54 4cc291be95ef: Pull complete 02:57:54 2ac1f1163629: Verifying Checksum 02:57:54 2ac1f1163629: Download complete 02:57:54 f49a43e4bbc0: Verifying Checksum 02:57:54 f49a43e4bbc0: Download complete 02:57:58 2ac1f1163629: Pull complete 02:57:58 5c3c966382ef: Pull complete 02:57:59 4f4fb700ef54: Pull complete 02:57:59 5d5c8e513c77: Pull complete 02:57:59 9f66e0745190: Pull complete 02:58:01 f49a43e4bbc0: Pull complete 02:58:01 561ebcabdf7f: Pull complete 02:58:02 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 02:58:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 02:58:02 ---> 3a752c3f9dda 02:58:02 Step 3/10 : ARG ADD_BUILD_TAGS="" 02:58:06 ---> Running in a49fa9ae6f41 02:58:06 Removing intermediate container a49fa9ae6f41 02:58:06 ---> 47700060da1c 02:58:06 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:58:06 ---> Running in 2af87668e643 02:58:06 Removing intermediate container 2af87668e643 02:58:06 ---> 3eda413ff403 02:58:06 Step 5/10 : RUN apk add --update --no-cache make git openssh 02:58:06 ---> Running in 43e872cc5c76 02:58:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:58:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:58:07 Still waiting to schedule task 02:58:07 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:58:07 (1/8) Installing openssh-keygen (9.7_p1-r4) 02:58:07 (2/8) Installing libedit (20240517.3.1-r0) 02:58:07 (3/8) Installing openssh-client-common (9.7_p1-r4) 02:58:07 (4/8) Installing openssh-client-default (9.7_p1-r4) 02:58:07 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 02:58:07 (6/8) Installing openssh-server-common (9.7_p1-r4) 02:58:07 (7/8) Installing openssh-server (9.7_p1-r4) 02:58:07 (8/8) Installing openssh (9.7_p1-r4) 02:58:07 Executing busybox-1.36.1-r29.trigger 02:58:07 OK: 252 MiB in 62 packages 02:58:08 Removing intermediate container 43e872cc5c76 02:58:08 ---> 92f499eee6c1 02:58:08 Step 6/10 : WORKDIR /device-modbus-go 02:58:08 ---> Running in 664ce137e1b3 02:58:08 Removing intermediate container 664ce137e1b3 02:58:08 ---> 03f7f097db1c 02:58:08 Step 7/10 : COPY go.mod vendor* ./ 02:58:08 ---> 66bc5fcac45d 02:58:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:58:08 ---> Running in ec21980346a1 02:58:54 Removing intermediate container ec21980346a1 02:58:54 ---> 2abb3f465275 02:58:54 Step 9/10 : COPY . . 02:58:54 ---> 8fd4db3d833c 02:58:54 Step 10/10 : RUN ${MAKE} 02:58:54 ---> Running in 3892a3e47de3 02:58:54 noop 02:58:54 Removing intermediate container 3892a3e47de3 02:58:54 ---> d8628b637928 02:58:54 Successfully built d8628b637928 02:58:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:55 + docker inspect -f . ci-base-image-x86_64 02:58:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:55 prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container 02:58:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_PR-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:58:55 $ docker top 4d2337890faff2d925649f5a114819e41e1d42618bcc0e672f4131671d5e480d -eo pid,comm [Pipeline] { [Pipeline] sh 02:58:56 + go version 02:58:56 go version go1.23.2 linux/amd64 [Pipeline] } 02:58:56 $ docker stop --time=1 4d2337890faff2d925649f5a114819e41e1d42618bcc0e672f4131671d5e480d 02:58:57 $ docker rm -f --volumes 4d2337890faff2d925649f5a114819e41e1d42618bcc0e672f4131671d5e480d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:57 + docker inspect -f . ci-base-image-x86_64 02:58:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:57 prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container 02:58:57 $ 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-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:58:58 $ docker top 557425c09f92eba6a407463509075ac71836c7765eb7f9ccadf9b31151563773 -eo pid,comm [Pipeline] { [Pipeline] sh 02:58:58 + git config --global --add safe.directory /w/workspace/xfoundry_device-modbus-go_PR-589 [Pipeline] fileExists [Pipeline] sh 02:58:58 + make test 02:58:58 go test ./... -coverprofile=coverage.out 02:59:00 ? github.com/edgexfoundry/device-modbus-go [no test files] 02:59:18 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 02:59:18 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.007s coverage: 48.0% of statements 02:59:28 go vet ./... 02:59:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:59:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:59:32 ./bin/test-attribution-txt.sh [Pipeline] echo 02:59:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:59:33 $ docker stop --time=1 557425c09f92eba6a407463509075ac71836c7765eb7f9ccadf9b31151563773 02:59:37 $ docker rm -f --volumes 557425c09f92eba6a407463509075ac71836c7765eb7f9ccadf9b31151563773 [Pipeline] // withDockerContainer [Pipeline] sh 02:59:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:59:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:59:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:59:38 + ls -al . 02:59:38 total 260 02:59:38 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 02:58 . 02:59:38 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 02:57 .. 02:59:38 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 02:57 .dockerignore 02:59:38 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 02:59 .git 02:59:38 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:57 .github 02:59:38 -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 02:57 .gitignore 02:59:38 -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 02:57 .golangci.yml 02:59:38 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 02:57 .semver 02:59:38 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 8 02:57 Attribution.txt 02:59:38 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 8 02:57 CHANGELOG.md 02:59:38 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 8 02:57 Dockerfile 02:59:38 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 02:57 GOVERNANCE.md 02:59:38 -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 02:57 Jenkinsfile 02:59:38 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 02:57 LICENSE 02:59:38 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 8 02:57 Makefile 02:59:38 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 02:57 OWNERS.md 02:59:38 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 02:57 README.md 02:59:38 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:57 VERSION 02:59:38 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:57 bin 02:59:38 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:57 cmd 02:59:38 -rw-r--r-- 1 jenkins jenkins 25464 Nov 8 02:59 coverage.out 02:59:38 -rw-rw-r-- 1 jenkins jenkins 6490 Nov 8 02:57 go.mod 02:59:38 -rw-rw-r-- 1 jenkins jenkins 88426 Nov 8 02:57 go.sum 02:59:38 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 02:57 internal 02:59:38 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 02:57 simulator 02:59:38 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 02:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:38 + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6ff3c2f363e2507abfa48683d74813bb761c41a3 --label arch=amd64 --label version=0.0.0 . 02:59:38 Sending build context to Docker daemon 17.99MB 02:59:38 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 02:59:38 Step 2/23 : FROM ${BASE} AS builder 02:59:38 ---> d8628b637928 02:59:38 Step 3/23 : ARG ADD_BUILD_TAGS="" 02:59:39 ---> Running in 38e7364ac3dc 02:59:39 Removing intermediate container 38e7364ac3dc 02:59:39 ---> 57c59831ee60 02:59:39 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:59:39 ---> Running in 97bac3caf457 02:59:39 Removing intermediate container 97bac3caf457 02:59:39 ---> b56431c06b75 02:59:39 Step 5/23 : RUN apk add --update --no-cache make git openssh 02:59:39 ---> Running in 796e1a504654 02:59:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 02:59:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 02:59:40 OK: 252 MiB in 62 packages 02:59:40 Removing intermediate container 796e1a504654 02:59:40 ---> 34dfe4b7db23 02:59:40 Step 6/23 : WORKDIR /device-modbus-go 02:59:40 ---> Running in 58cdde2066c9 02:59:40 Removing intermediate container 58cdde2066c9 02:59:40 ---> 408e58a3ef80 02:59:40 Step 7/23 : COPY go.mod vendor* ./ 02:59:40 ---> cb764ac883bb 02:59:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:59:40 ---> Running in 531fd5aebc27 02:59:41 Removing intermediate container 531fd5aebc27 02:59:41 ---> b58cf82872e9 02:59:41 Step 9/23 : COPY . . 02:59:41 ---> 9848f6b72366 02:59:41 Step 10/23 : RUN ${MAKE} 02:59:41 ---> Running in 28603408cfd8 02:59:42 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 03:00:14 Removing intermediate container 28603408cfd8 03:00:14 ---> f0d784b4e377 03:00:14 Step 11/23 : FROM alpine:3.20 03:00:14 3.20: Pulling from library/alpine 03:00:14 43c4264eed91: Already exists 03:00:14 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 03:00:14 Status: Downloaded newer image for alpine:3.20 03:00:14 ---> 91ef0af61f39 03:00:14 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 03:00:14 ---> Running in a7d2ee18a782 03:00:14 Removing intermediate container a7d2ee18a782 03:00:14 ---> a9b2b68b3b46 03:00:14 Step 13/23 : RUN apk add --update --no-cache dumb-init 03:00:14 ---> Running in d65df450368c 03:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:00:14 (1/1) Installing dumb-init (1.2.5-r3) 03:00:14 Executing busybox-1.36.1-r29.trigger 03:00:14 OK: 8 MiB in 15 packages 03:00:14 Removing intermediate container d65df450368c 03:00:14 ---> 4ec4854888e8 03:00:14 Step 14/23 : RUN apk --no-cache upgrade 03:00:14 ---> Running in 205d7d3f38b2 03:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:00:14 Upgrading critical system libraries and apk-tools: 03:00:14 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:00:14 Executing busybox-1.36.1-r29.trigger 03:00:14 Continuing the upgrade transaction with new apk-tools: 03:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:00:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:00:14 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:00:14 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:00:14 OK: 8 MiB in 15 packages 03:00:14 Removing intermediate container 205d7d3f38b2 03:00:14 ---> 1bd23c992a75 03:00:14 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 03:00:15 ---> d8d4db9b8366 03:00:15 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 03:00:15 ---> b6004a07a927 03:00:15 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:00:15 ---> 77ea5c03c927 03:00:15 Step 18/23 : EXPOSE 59901 03:00:15 ---> Running in a2e36c34b338 03:00:15 Removing intermediate container a2e36c34b338 03:00:15 ---> 3607e38dd2e8 03:00:15 Step 19/23 : ENTRYPOINT ["/device-modbus"] 03:00:15 ---> Running in c9ed95324b22 03:00:15 Removing intermediate container c9ed95324b22 03:00:15 ---> d78bfe2e2587 03:00:15 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:00:15 ---> Running in 9b47c2ee5855 03:00:15 Removing intermediate container 9b47c2ee5855 03:00:15 ---> 47109de63b83 03:00:15 Step 21/23 : LABEL arch=amd64 03:00:15 ---> Running in a3a1a5aab7c1 03:00:15 Removing intermediate container a3a1a5aab7c1 03:00:15 ---> 46943a546a2e 03:00:15 Step 22/23 : LABEL git_sha=6ff3c2f363e2507abfa48683d74813bb761c41a3 03:00:15 ---> Running in e8e0d38f3e59 03:00:15 Removing intermediate container e8e0d38f3e59 03:00:15 ---> 96e4f4442a67 03:00:15 Step 23/23 : LABEL version=0.0.0 03:00:15 ---> Running in 75c42cb615f8 03:00:15 Removing intermediate container 75c42cb615f8 03:00:15 ---> f997678b193d 03:00:15 [Warning] One or more build-args [ARCH] were not consumed 03:00:15 Successfully built f997678b193d 03:00:15 Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:00:16 03:00:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:00:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:00:16 latest: Pulling from edgex-lftools-log-publisher 03:00:16 5eb5b503b376: Pulling fs layer 03:00:16 5c69ac0246d0: Pulling fs layer 03:00:16 ec43610c2a17: Pulling fs layer 03:00:16 3a2ae6a8a46f: Pulling fs layer 03:00:16 33b1e0a273af: Pulling fs layer 03:00:16 5d3b04190fa2: Pulling fs layer 03:00:16 3a2ae6a8a46f: Waiting 03:00:16 33b1e0a273af: Waiting 03:00:16 5d3b04190fa2: Waiting 03:00:16 2f39f015ded8: Pulling fs layer 03:00:16 2f39f015ded8: Waiting 03:00:16 5c69ac0246d0: Download complete 03:00:16 3a2ae6a8a46f: Verifying Checksum 03:00:16 3a2ae6a8a46f: Download complete 03:00:16 33b1e0a273af: Verifying Checksum 03:00:16 33b1e0a273af: Download complete 03:00:16 ec43610c2a17: Verifying Checksum 03:00:16 ec43610c2a17: Download complete 03:00:17 5d3b04190fa2: Verifying Checksum 03:00:17 5d3b04190fa2: Download complete 03:00:17 5eb5b503b376: Verifying Checksum 03:00:17 5eb5b503b376: Download complete 03:00:17 2f39f015ded8: Verifying Checksum 03:00:17 2f39f015ded8: Download complete 03:00:18 5eb5b503b376: Pull complete 03:00:18 5c69ac0246d0: Pull complete 03:00:18 ec43610c2a17: Pull complete 03:00:18 3a2ae6a8a46f: Pull complete 03:00:18 33b1e0a273af: Pull complete 03:00:18 5d3b04190fa2: Pull complete 03:00:22 2f39f015ded8: Pull complete 03:00:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:00:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:00:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:00:22 prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container 03:00:22 $ 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-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:00:25 $ docker top e76828c862c11192779195b465aec0396a9820db1f4a9978a0bf889fe794fd9f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:00:25 ---> job-cost.sh 03:00:25 lf-activate-venv: SKIPPING 03:00:25 INFO: No Stack... 03:00:26 INFO: Retrieving Pricing Info for: v3-standard-8 03:00:26 INFO: Archiving Costs [Pipeline] sh 03:00:26 + + cut -d, -f6 03:00:26 cat /w/workspace/xfoundry_device-modbus-go_PR-589/archives/cost.csv [Pipeline] lock 03:00:26 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] 03:00:26 Resource [jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] did not exist. Created. 03:00:26 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:00:27 + echo total: 0.2199999988079071 [Pipeline] stash 03:00:27 Stashed 1 file(s) [Pipeline] } 03:00:27 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:00:27 $ docker stop --time=1 e76828c862c11192779195b465aec0396a9820db1f4a9978a0bf889fe794fd9f 03:00:28 $ docker rm -f --volumes e76828c862c11192779195b465aec0396a9820db1f4a9978a0bf889fe794fd9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:01:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24965 in /w/workspace/xfoundry_device-modbus-go_PR-589 [Pipeline] { [Pipeline] ws 03:01:09 Running in /w/workspace/device-modbus-go/2 [Pipeline] { [Pipeline] checkout 03:01:12 The recommended git tool is: git 03:01:18 using credential edgex-jenkins-ssh 03:01:18 Cloning the remote Git repository 03:01:18 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 03:01:18 > git init /w/workspace/device-modbus-go/2 # timeout=10 03:01:18 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:01:18 > git --version # timeout=10 03:01:19 > git --version # 'git version 2.25.1' 03:01:19 using GIT_SSH to set credentials SSH Credentials for GitHub 03:01:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:01:21 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:01:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:01:23 Merging remotes/origin/main commit dad323708bb7fb3ae7999ed6872af7cbf93de804 into PR head commit 6ff3c2f363e2507abfa48683d74813bb761c41a3 03:01:23 Merge succeeded, producing 6ff3c2f363e2507abfa48683d74813bb761c41a3 03:01:23 Checking out Revision 6ff3c2f363e2507abfa48683d74813bb761c41a3 (PR-589) 03:01:22 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 03:01:22 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 03:01:22 using GIT_SSH to set credentials SSH Credentials for GitHub 03:01:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/589/head:refs/remotes/origin/PR-589 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:01:23 > git config core.sparsecheckout # timeout=10 03:01:23 > git checkout -f 6ff3c2f363e2507abfa48683d74813bb761c41a3 # timeout=10 03:01:23 > git remote # timeout=10 03:01:23 > git config --get remote.origin.url # timeout=10 03:01:23 using GIT_SSH to set credentials SSH Credentials for GitHub 03:01:23 > git merge dad323708bb7fb3ae7999ed6872af7cbf93de804 # timeout=10 03:01:23 > git rev-parse HEAD^{commit} # timeout=10 03:01:23 > git config core.sparsecheckout # timeout=10 03:01:23 > git checkout -f 6ff3c2f363e2507abfa48683d74813bb761c41a3 # timeout=10 03:01:27 Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:01:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:01:29 % Total % Received % Xferd Average Speed Time Time Time Current 03:01:29 Dload Upload Total Spent Left Speed 03:01:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 03:01:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:01:30 + sudo+ jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 03:01:30 03:01:30 { 03:01:30 "registry-mirrors": [ 03:01:30 "https://nexus3.edgexfoundry.org:10001" 03:01:30 ], 03:01:30 "bip": "10.250.0.254/24", 03:01:30 "hosts": [ 03:01:30 "tcp://0.0.0.0:5555", 03:01:30 "unix:///var/run/docker.sock" 03:01:30 ], 03:01:30 "mtu": 1458, 03:01:30 "selinux-enabled": true, 03:01:30 "seccomp-profile": "/etc/docker/seccomp.json" 03:01:30 } [Pipeline] sh 03:01:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:01:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:01:49 provisioning config files... 03:01:49 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/2@tmp/config17637292724391461199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:01:50 ---> ****-login.sh 03:01:50 nexus3.edgexfoundry.org:10001 03:01:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:50 Configure a credential helper to remove this warning. See 03:01:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:50 03:01:50 Login Succeeded 03:01:50 nexus3.edgexfoundry.org:10002 03:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:51 Configure a credential helper to remove this warning. See 03:01:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:51 03:01:51 Login Succeeded 03:01:51 nexus3.edgexfoundry.org:10003 03:01:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:51 Configure a credential helper to remove this warning. See 03:01:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:51 03:01:51 Login Succeeded 03:01:51 nexus3.edgexfoundry.org:10004 03:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:52 Configure a credential helper to remove this warning. See 03:01:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:52 03:01:52 Login Succeeded 03:01:52 ****.io 03:01:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:01:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:01:52 Configure a credential helper to remove this warning. See 03:01:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:01:52 03:01:52 Login Succeeded 03:01:52 ---> ****-login.sh ends [Pipeline] } 03:01:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:01:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:01:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:01:53 ========================================================= 03:01:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 03:01:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:01:53 + 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 . 03:01:54 Sending build context to Docker daemon 9.136MB 03:01:54 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 03:01:54 Step 2/10 : FROM ${BASE} AS builder 03:01:54 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:01:54 cf04c63912e1: Pulling fs layer 03:01:54 55b35a11ae5e: Pulling fs layer 03:01:54 a37a00ec5f00: Pulling fs layer 03:01:54 50b3750afda1: Pulling fs layer 03:01:54 4f4fb700ef54: Pulling fs layer 03:01:54 80978eb59214: Pulling fs layer 03:01:54 c9f46d7d2bd2: Pulling fs layer 03:01:54 c5a475d317c9: Pulling fs layer 03:01:54 4f4fb700ef54: Waiting 03:01:54 c9f46d7d2bd2: Waiting 03:01:54 c5a475d317c9: Waiting 03:01:54 80978eb59214: Waiting 03:01:54 50b3750afda1: Waiting 03:01:54 55b35a11ae5e: Download complete 03:01:54 50b3750afda1: Verifying Checksum 03:01:54 50b3750afda1: Download complete 03:01:54 4f4fb700ef54: Verifying Checksum 03:01:54 4f4fb700ef54: Download complete 03:01:54 80978eb59214: Verifying Checksum 03:01:54 80978eb59214: Download complete 03:01:54 cf04c63912e1: Verifying Checksum 03:01:54 cf04c63912e1: Download complete 03:01:55 c5a475d317c9: Verifying Checksum 03:01:55 c5a475d317c9: Download complete 03:01:55 cf04c63912e1: Pull complete 03:01:56 55b35a11ae5e: Pull complete 03:01:56 a37a00ec5f00: Verifying Checksum 03:01:56 a37a00ec5f00: Download complete 03:01:57 c9f46d7d2bd2: Verifying Checksum 03:01:57 c9f46d7d2bd2: Download complete 03:02:12 a37a00ec5f00: Pull complete 03:02:12 50b3750afda1: Pull complete 03:02:12 4f4fb700ef54: Pull complete 03:02:12 80978eb59214: Pull complete 03:02:19 c9f46d7d2bd2: Pull complete 03:02:20 c5a475d317c9: Pull complete 03:02:20 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 03:02:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 03:02:20 ---> be29e6b0f0d4 03:02:20 Step 3/10 : ARG ADD_BUILD_TAGS="" 03:02:22 ---> Running in 9f9d94b995ec 03:02:22 Removing intermediate container 9f9d94b995ec 03:02:22 ---> 5541035b0189 03:02:22 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:02:22 ---> Running in 479817b8e0c7 03:02:22 Removing intermediate container 479817b8e0c7 03:02:22 ---> 3dc48adebe4d 03:02:22 Step 5/10 : RUN apk add --update --no-cache make git openssh 03:02:22 ---> Running in 03f657d26d93 03:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:02:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:02:26 (1/8) Installing openssh-keygen (9.7_p1-r4) 03:02:26 (2/8) Installing libedit (20240517.3.1-r0) 03:02:26 (3/8) Installing openssh-client-common (9.7_p1-r4) 03:02:26 (4/8) Installing openssh-client-default (9.7_p1-r4) 03:02:26 (5/8) Installing openssh-sftp-server (9.7_p1-r4) 03:02:26 (6/8) Installing openssh-server-common (9.7_p1-r4) 03:02:26 (7/8) Installing openssh-server (9.7_p1-r4) 03:02:26 (8/8) Installing openssh (9.7_p1-r4) 03:02:26 Executing busybox-1.36.1-r29.trigger 03:02:26 OK: 244 MiB in 62 packages 03:02:28 Removing intermediate container 03f657d26d93 03:02:28 ---> e717aebacf15 03:02:28 Step 6/10 : WORKDIR /device-modbus-go 03:02:28 ---> Running in 74939bc157b2 03:02:28 Removing intermediate container 74939bc157b2 03:02:28 ---> 8bd9c80283a2 03:02:28 Step 7/10 : COPY go.mod vendor* ./ 03:02:29 ---> a16943460e30 03:02:29 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:02:29 ---> Running in 21896ef32e2a 03:04:36 Removing intermediate container 21896ef32e2a 03:04:36 ---> 24d370f97e6e 03:04:36 Step 9/10 : COPY . . 03:04:36 ---> 858fbe3f1215 03:04:36 Step 10/10 : RUN ${MAKE} 03:04:36 ---> Running in cc9e542d98a6 03:04:36 noop 03:04:36 Removing intermediate container cc9e542d98a6 03:04:36 ---> b35e8bb13c29 03:04:36 Successfully built b35e8bb13c29 03:04:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:37 + docker inspect -f . ci-base-image-arm64 03:04:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:37 prd-ubuntu20.04-docker-arm64-4c-16g-24965 does not seem to be running inside a container 03:04:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:04:38 $ docker top cf8ebf73f3cf60971732ba37a38a60fd6b6b6518619dbe51c63961d93d2a502f -eo pid,comm [Pipeline] { [Pipeline] sh 03:04:39 + go version 03:04:39 go version go1.23.2 linux/arm64 [Pipeline] } 03:04:39 $ docker stop --time=1 cf8ebf73f3cf60971732ba37a38a60fd6b6b6518619dbe51c63961d93d2a502f 03:04:41 $ docker rm -f --volumes cf8ebf73f3cf60971732ba37a38a60fd6b6b6518619dbe51c63961d93d2a502f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:04:42 + docker inspect -f . ci-base-image-arm64 03:04:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:04:42 prd-ubuntu20.04-docker-arm64-4c-16g-24965 does not seem to be running inside a container 03:04:42 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:04:43 $ docker top 40507ff0ed0c526255fa39761eb7deab9cde7009e6b859d37d34eaf639c8095f -eo pid,comm [Pipeline] { [Pipeline] sh 03:04:44 + git config --global --add safe.directory /w/workspace/device-modbus-go/2 [Pipeline] fileExists [Pipeline] sh 03:04:45 + make test 03:04:45 go test ./... -coverprofile=coverage.out 03:04:53 ? github.com/edgexfoundry/device-modbus-go [no test files] 03:09:30 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 03:09:30 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.066s coverage: 48.0% of statements 03:09:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:09:32 go vet ./... 03:10:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:10:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:10:54 ./bin/test-attribution-txt.sh [Pipeline] echo 03:10:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:10:54 $ docker stop --time=1 40507ff0ed0c526255fa39761eb7deab9cde7009e6b859d37d34eaf639c8095f 03:10:56 $ docker rm -f --volumes 40507ff0ed0c526255fa39761eb7deab9cde7009e6b859d37d34eaf639c8095f [Pipeline] // withDockerContainer [Pipeline] sh 03:10:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:10:58 Warning: overwriting stash ‘coverage-report’ 03:10:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:11:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:11:00 + ls -al . 03:11:00 total 256 03:11:00 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:04 . 03:11:00 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:01 .. 03:11:00 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 03:01 .dockerignore 03:11:00 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:01 .git 03:11:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:01 .github 03:11:00 -rw-rw-r-- 1 jenkins jenkins 266 Nov 8 03:01 .gitignore 03:11:00 -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 03:01 .golangci.yml 03:11:00 -rw-rw-r-- 1 jenkins jenkins 19818 Nov 8 03:01 Attribution.txt 03:11:00 -rw-rw-r-- 1 jenkins jenkins 16388 Nov 8 03:01 CHANGELOG.md 03:11:00 -rw-rw-r-- 1 jenkins jenkins 1479 Nov 8 03:01 Dockerfile 03:11:00 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:01 GOVERNANCE.md 03:11:00 -rw-rw-r-- 1 jenkins jenkins 658 Nov 8 03:01 Jenkinsfile 03:11:00 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 03:01 LICENSE 03:11:00 -rw-rw-r-- 1 jenkins jenkins 2524 Nov 8 03:01 Makefile 03:11:00 -rw-rw-r-- 1 jenkins jenkins 622 Nov 8 03:01 OWNERS.md 03:11:00 -rw-rw-r-- 1 jenkins jenkins 4463 Nov 8 03:01 README.md 03:11:00 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 02:57 VERSION 03:11:00 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:01 bin 03:11:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:01 cmd 03:11:00 -rw-r--r-- 1 jenkins jenkins 25464 Nov 8 03:09 coverage.out 03:11:00 -rw-rw-r-- 1 jenkins jenkins 6490 Nov 8 03:01 go.mod 03:11:00 -rw-rw-r-- 1 jenkins jenkins 88426 Nov 8 03:01 go.sum 03:11:00 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:01 internal 03:11:00 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:01 simulator 03:11:00 -rw-rw-r-- 1 jenkins jenkins 229 Nov 8 03:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:01 + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6ff3c2f363e2507abfa48683d74813bb761c41a3 --label arch=arm64 --label version=0.0.0 . 03:11:01 Sending build context to Docker daemon 9.162MB 03:11:01 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 03:11:01 Step 2/23 : FROM ${BASE} AS builder 03:11:01 ---> b35e8bb13c29 03:11:01 Step 3/23 : ARG ADD_BUILD_TAGS="" 03:11:01 ---> Running in 4026a8bf343d 03:11:02 Removing intermediate container 4026a8bf343d 03:11:02 ---> c83332d0b5e2 03:11:02 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:11:02 ---> Running in 1ab25bae50e7 03:11:03 Removing intermediate container 1ab25bae50e7 03:11:03 ---> a6089c9c0ffd 03:11:03 Step 5/23 : RUN apk add --update --no-cache make git openssh 03:11:03 ---> Running in b4e87b1c4b11 03:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:11:06 OK: 244 MiB in 62 packages 03:11:07 Removing intermediate container b4e87b1c4b11 03:11:07 ---> 166b929ae1ee 03:11:07 Step 6/23 : WORKDIR /device-modbus-go 03:11:07 ---> Running in c9eac1ea12ae 03:11:08 Removing intermediate container c9eac1ea12ae 03:11:08 ---> 179752ab19af 03:11:08 Step 7/23 : COPY go.mod vendor* ./ 03:11:08 ---> 7d02323f6f30 03:11:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:11:08 ---> Running in 5511f9bd875b 03:11:12 Removing intermediate container 5511f9bd875b 03:11:12 ---> 888e0ee40265 03:11:12 Step 9/23 : COPY . . 03:11:13 ---> 80cbbf05678e 03:11:13 Step 10/23 : RUN ${MAKE} 03:11:13 ---> Running in 193c360d4fe0 03:11:14 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 03:16:07 Removing intermediate container 193c360d4fe0 03:16:07 ---> 8f68daafa5a1 03:16:07 Step 11/23 : FROM alpine:3.20 03:16:07 3.20: Pulling from library/alpine 03:16:07 cf04c63912e1: Already exists 03:16:07 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 03:16:07 Status: Downloaded newer image for alpine:3.20 03:16:07 ---> c157a85ed455 03:16:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 03:16:07 ---> Running in 71559d0f7986 03:16:08 Removing intermediate container 71559d0f7986 03:16:08 ---> 4bfe6739a982 03:16:08 Step 13/23 : RUN apk add --update --no-cache dumb-init 03:16:08 ---> Running in 2af98aacdb7f 03:16:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:16:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:16:11 (1/1) Installing dumb-init (1.2.5-r3) 03:16:11 Executing busybox-1.36.1-r29.trigger 03:16:11 OK: 9 MiB in 15 packages 03:16:12 Removing intermediate container 2af98aacdb7f 03:16:12 ---> c1a6909466ca 03:16:12 Step 14/23 : RUN apk --no-cache upgrade 03:16:12 ---> Running in e4d45d689e58 03:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:16:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:16:15 Upgrading critical system libraries and apk-tools: 03:16:15 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:16:15 Executing busybox-1.36.1-r29.trigger 03:16:15 Continuing the upgrade transaction with new apk-tools: 03:16:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:16:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:16:17 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:16:17 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:16:17 OK: 9 MiB in 15 packages 03:16:19 Removing intermediate container e4d45d689e58 03:16:19 ---> 29c90bdd14bd 03:16:19 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 03:16:20 ---> 403bc2247ed0 03:16:20 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 03:16:20 ---> fd70db8f8a69 03:16:20 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 03:16:21 ---> 712188117802 03:16:21 Step 18/23 : EXPOSE 59901 03:16:21 ---> Running in d15a6750cd58 03:16:22 Removing intermediate container d15a6750cd58 03:16:22 ---> 20b24521779f 03:16:22 Step 19/23 : ENTRYPOINT ["/device-modbus"] 03:16:22 ---> Running in c4277d6823c2 03:16:22 Removing intermediate container c4277d6823c2 03:16:22 ---> 5eb956eb551d 03:16:22 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 03:16:22 ---> Running in 8a451e288594 03:16:22 Removing intermediate container 8a451e288594 03:16:22 ---> 84e840dda6e4 03:16:22 Step 21/23 : LABEL arch=arm64 03:16:22 ---> Running in 1520378c4b13 03:16:23 Removing intermediate container 1520378c4b13 03:16:23 ---> 53bfffa716f0 03:16:23 Step 22/23 : LABEL git_sha=6ff3c2f363e2507abfa48683d74813bb761c41a3 03:16:23 ---> Running in acf4f849e3a5 03:16:23 Removing intermediate container acf4f849e3a5 03:16:23 ---> a97aed2e36d1 03:16:23 Step 23/23 : LABEL version=0.0.0 03:16:23 ---> Running in 67bffd9714e8 03:16:23 Removing intermediate container 67bffd9714e8 03:16:23 ---> c74d3aa7e7cd 03:16:23 [Warning] One or more build-args [ARCH] were not consumed 03:16:23 Successfully built c74d3aa7e7cd 03:16:23 Successfully tagged device-modbus-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 03:16:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:16:24 03:16:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:16:25 arm64: Pulling from edgex-lftools-log-publisher 03:16:25 8998bd30e6a1: Pulling fs layer 03:16:25 04944245beec: Pulling fs layer 03:16:25 699f458cf7ca: Pulling fs layer 03:16:25 765212b225bb: Pulling fs layer 03:16:25 f23df028b6ca: Pulling fs layer 03:16:25 d65c8cfc05b1: Pulling fs layer 03:16:25 2437ff75d9bd: Pulling fs layer 03:16:25 765212b225bb: Waiting 03:16:25 f23df028b6ca: Waiting 03:16:25 d65c8cfc05b1: Waiting 03:16:25 04944245beec: Verifying Checksum 03:16:25 04944245beec: Download complete 03:16:25 765212b225bb: Download complete 03:16:25 f23df028b6ca: Download complete 03:16:25 d65c8cfc05b1: Verifying Checksum 03:16:25 d65c8cfc05b1: Download complete 03:16:25 699f458cf7ca: Download complete 03:16:25 8998bd30e6a1: Verifying Checksum 03:16:25 8998bd30e6a1: Download complete 03:16:28 2437ff75d9bd: Verifying Checksum 03:16:28 2437ff75d9bd: Download complete 03:16:30 8998bd30e6a1: Pull complete 03:16:31 04944245beec: Pull complete 03:16:33 699f458cf7ca: Pull complete 03:16:33 765212b225bb: Pull complete 03:16:34 f23df028b6ca: Pull complete 03:16:34 d65c8cfc05b1: Pull complete 03:16:52 2437ff75d9bd: Pull complete 03:16:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:16:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:16:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:52 prd-ubuntu20.04-docker-arm64-4c-16g-24965 does not seem to be running inside a container 03:16:52 $ 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/2 -v /w/workspace/device-modbus-go/2:/w/workspace/device-modbus-go/2:rw,z -v /w/workspace/device-modbus-go/2@tmp:/w/workspace/device-modbus-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:16:55 $ docker top 20d702d317ddd6fa7157e66055e9004ff97862fffa1d70e6efa9af12f0b37809 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:56 ---> job-cost.sh 03:16:56 lf-activate-venv: SKIPPING 03:16:56 INFO: No Stack... 03:16:56 INFO: Retrieving Pricing Info for: v3-standard-4 03:16:57 INFO: Archiving Costs [Pipeline] sh 03:16:58 + cat /w/workspace/device-modbus-go/2/archives/cost.csv 03:16:58 + cut -d, -f6 [Pipeline] lock 03:16:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] 03:16:58 Resource [jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] did not exist. Created. 03:16:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:59 /w/workspace/device-modbus-go/2@tmp/durable-fa4cd307/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:16:59 + echo total: 0.10999999940395355 [Pipeline] stash 03:17:00 Warning: overwriting stash ‘stack-cost’ 03:17:00 Stashed 1 file(s) [Pipeline] } 03:17:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-PR-589-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:17:00 $ docker stop --time=1 20d702d317ddd6fa7157e66055e9004ff97862fffa1d70e6efa9af12f0b37809 03:17:01 $ docker rm -f --volumes 20d702d317ddd6fa7157e66055e9004ff97862fffa1d70e6efa9af12f0b37809 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:17:02 provisioning config files... 03:17:02 copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config6408215429320344725tmp [Pipeline] { [Pipeline] sh 03:17:02 + set +x 03:17:02 + curl -s https://codecov.io/bash 03:17:02 + bash -s -- 03:17:02 03:17:02 _____ _ 03:17:02 / ____| | | 03:17:02 | | ___ __| | ___ ___ _____ __ 03:17:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:17:02 | |___| (_) | (_| | __/ (_| (_) \ V / 03:17:02 \_____\___/ \__,_|\___|\___\___/ \_/ 03:17:02 Bash-1.0.6 03:17:02 03:17:02 03:17:02 ==> git version 2.25.1 found 03:17:02 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:17:02 Release-Date: 2020-01-08 03:17:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:17:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:17:02 ==> Jenkins CI detected. 03:17:02 current dir:  /w/workspace/xfoundry_device-modbus-go_PR-589 03:17:02 project root: . 03:17:02 --> token set from env 03:17:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:17:02 ==> Running gcov in . (disable via -X gcov) 03:17:02 ==> Python coveragepy not found 03:17:02 ==> Searching for coverage reports in: 03:17:02 + . 03:17:02 -> Found 1 reports 03:17:02 ==> Detecting git/mercurial file structure 03:17:02 ==> Reading reports 03:17:02 + ./coverage.out bytes=25464 03:17:02 ==> Appending adjustments 03:17:02 https://docs.codecov.io/docs/fixing-reports 03:17:02 + Found adjustments 03:17:02 ==> Gzipping contents 03:17:02 4.0K /tmp/codecov.0cInBj.gz 03:17:02 ==> Uploading reports 03:17:02 url: https://codecov.io 03:17:02 query: branch=PR-589&commit=6ff3c2f363e2507abfa48683d74813bb761c41a3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-589%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=589&job=&cmd_args= 03:17:02 -> Pinging Codecov 03:17:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-589&commit=6ff3c2f363e2507abfa48683d74813bb761c41a3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2FPR-589%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=589&job=&cmd_args= 03:17:03 -> Uploading to 03:17:03 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-modbus-go/6ff3c2f363e2507abfa48683d74813bb761c41a3/0b04d121-b9ac-4405-8e25-6afb7bdd7753.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T031702Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=28a2bb8879bc2b1e0cae6458081500e938305543504ec866f93e89f7c0134724 03:17:03 % Total % Received % Xferd Average Speed Time Time Time Current 03:17:03 Dload Upload Total Spent Left Speed 03:17:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3932 0 0 100 3932 0 17475 --:--:-- --:--:-- --:--:-- 17475 03:17:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-modbus-go/commit/6ff3c2f363e2507abfa48683d74813bb761c41a3 [Pipeline] } 03:17:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:17:04 + [ -d /w/workspace/xfoundry_device-modbus-go_PR-589/archives ] 03:17:04 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-589/archives 03:17:04 total 16 03:17:04 drwxr-xr-x 3 root root 4096 Nov 8 03:00 . 03:17:04 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:00 .. 03:17:04 drwxr-xr-x 2 root root 4096 Nov 8 03:00 cost 03:17:04 -rw-r--r-- 1 root root 88 Nov 8 03:00 cost.csv 03:17:04 + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-modbus-go_PR-589/archives 03:17:04 + ls -al /w/workspace/xfoundry_device-modbus-go_PR-589/archives 03:17:04 total 16 03:17:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:00 . 03:17:04 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:00 .. 03:17:04 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 03:00 cost 03:17:04 -rw-r--r-- 1 jenkins jenkins 88 Nov 8 03:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:17:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:17:05 ---> package-listing.sh 03:17:05 ++ facter osfamily 03:17:05 ++ tr '[:upper:]' '[:lower:]' 03:17:05 + OS_FAMILY=debian 03:17:05 + workspace=/w/workspace/xfoundry_device-modbus-go_PR-589 03:17:05 + START_PACKAGES=/tmp/packages_start.txt 03:17:05 + END_PACKAGES=/tmp/packages_end.txt 03:17:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:17:05 + PACKAGES=/tmp/packages_start.txt 03:17:05 + '[' /w/workspace/xfoundry_device-modbus-go_PR-589 ']' 03:17:05 + PACKAGES=/tmp/packages_end.txt 03:17:05 + case "${OS_FAMILY}" in 03:17:05 + dpkg -l 03:17:05 + grep '^ii' 03:17:05 + '[' -f /tmp/packages_start.txt ']' 03:17:05 + '[' -f /tmp/packages_end.txt ']' 03:17:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:17:05 + '[' /w/workspace/xfoundry_device-modbus-go_PR-589 ']' 03:17:05 + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-589/archives/ 03:17:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-589/archives/ [Pipeline] echo 03:17:05 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-589/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:17:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:17:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:17:06 prd-ubuntu20.04-docker-8c-8g-24957 does not seem to be running inside a container 03:17:06 $ 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-589/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-589 -v /w/workspace/xfoundry_device-modbus-go_PR-589:/w/workspace/xfoundry_device-modbus-go_PR-589:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-589@tmp:/w/workspace/xfoundry_device-modbus-go_PR-589@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:17:06 $ docker top 085f2e3bea6428ca295e02215f53ecff2fd54e42dbd1e1e06ddfeeb90229b33e -eo pid,comm [Pipeline] { [Pipeline] sh 03:17:07 + touch /tmp/pre-build-complete [Pipeline] sh 03:17:07 + mkdir -p /var/log/sysstat [Pipeline] sh 03:17:07 + ls /var/log/sa-host 03:17:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:08 provisioning config files... 03:17:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-589@tmp/config3586244740289569302tmp [Pipeline] { [Pipeline] echo 03:17:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:17:08 ---> create-netrc.sh [Pipeline] } 03:17:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:17:08 ---> python-tools-install.sh [Pipeline] echo 03:17:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:17:09 ---> sudo-logs.sh 03:17:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:17:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:17:09 ---> job-cost.sh 03:17:09 lf-activate-venv: SKIPPING 03:17:09 DEBUG: total: 0.2199999988079071 03:17:09 INFO: Retrieving Stack Cost... 03:17:09 INFO: Retrieving Pricing Info for: v3-standard-8 03:17:10 INFO: Archiving Costs [Pipeline] echo 03:17:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:17:10 ---> logs-deploy.sh 03:17:10 lf-activate-venv: SKIPPING 03:17:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-589/2 03:17:10 INFO: archiving workspace using pattern(s): 03:17:11 Archives upload complete. 03:17:11 INFO: archiving logs to Nexus