Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b9a734cf70b4c7f63f44c3fe01c824107cf172b0 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-ssh13194921569657275269.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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-ssh15937330168524694154.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 f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1705367817390068369.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > 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-ssh18205045089504724621.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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5459604146255181081.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4839 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # 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 Avoid second fetch Checking out Revision b9a734cf70b4c7f63f44c3fe01c824107cf172b0 (main) Commit message: "Merge pull request #638 from weichou1229/upgrade-sdk" > 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 core.sparsecheckout # timeout=10 > git checkout -f b9a734cf70b4c7f63f44c3fe01c824107cf172b0 # timeout=10 > git rev-list --no-walk 2f15f281678cccf9a75033b18da75fe627dd9e87 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:07:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:07:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:07:30 ========================================================= 10:07:30 EdgeX Global Pipelines Version Info 10:07:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:07:31 ------------------- 10:07:31 stable info: 10:07:31 ------------------- 10:07:31 Commited By: Ginny Guan ginny@iotechsys.com 10:07:31 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 10:07:31 Message: update stable to v1.0.274 10:07:32 ------------------- 10:07:32 experimental info: 10:07:32 ------------------- 10:07:32 Commited By: Ginny Guan ginny@iotechsys.com 10:07:32 Commit SHA: 274fe4ad960081a284537894dddd28d0c782a18e 10:07:32 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b9a734cf70b4c7f63f44c3fe01c824107cf172b0 [Pipeline] echo 10:07:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b9a734c [Pipeline] echo 10:07:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:07:33 provisioning config files... 10:07:33 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config11013685602614452920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:33 ---> ****-login.sh 10:07:33 nexus3.edgexfoundry.org:10001 10:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:33 10:07:33 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 10:07:33 Configure a credential helper to remove this warning. See 10:07:33 https://docs.****.com/go/credential-store/ 10:07:33 10:07:33 Login Succeeded 10:07:33 nexus3.edgexfoundry.org:10002 10:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:33 10:07:33 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 10:07:33 Configure a credential helper to remove this warning. See 10:07:33 https://docs.****.com/go/credential-store/ 10:07:33 10:07:33 Login Succeeded 10:07:33 nexus3.edgexfoundry.org:10003 10:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:33 10:07:33 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 10:07:33 Configure a credential helper to remove this warning. See 10:07:33 https://docs.****.com/go/credential-store/ 10:07:33 10:07:33 Login Succeeded 10:07:33 nexus3.edgexfoundry.org:10004 10:07:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:33 10:07:33 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 10:07:33 Configure a credential helper to remove this warning. See 10:07:33 https://docs.****.com/go/credential-store/ 10:07:33 10:07:33 Login Succeeded 10:07:33 ****.io 10:07:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:34 10:07:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 10:07:34 Configure a credential helper to remove this warning. See 10:07:34 https://docs.****.com/go/credential-store/ 10:07:34 10:07:34 Login Succeeded 10:07:34 ---> ****-login.sh ends [Pipeline] } 10:07:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:07:34 + git rev-list -1 --merges b9a734cf70b4c7f63f44c3fe01c824107cf172b0~1..b9a734cf70b4c7f63f44c3fe01c824107cf172b0 [Pipeline] echo 10:07:34 -----------> git rev-list -1 --merges b9a734cf70b4c7f63f44c3fe01c824107cf172b0~1..b9a734cf70b4c7f63f44c3fe01c824107cf172b0 b9a734cf70b4c7f63f44c3fe01c824107cf172b0 10:07:34 b9a734cf70b4c7f63f44c3fe01c824107cf172b0 [false] [Pipeline] sh 10:07:34 + git log --format=format:%s -1 b9a734cf70b4c7f63f44c3fe01c824107cf172b0 [Pipeline] echo 10:07:34 ========================================================= 10:07:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:07:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:07:35 + git log --format=format:%s -1 b9a734cf70b4c7f63f44c3fe01c824107cf172b0 [Pipeline] echo 10:07:35 [semverPrep] GIT_COMMIT: b9a734cf70b4c7f63f44c3fe01c824107cf172b0, Commit Message: Merge pull request #638 from weichou1229/upgrade-sdk [Pipeline] echo 10:07:35 [semverPrep] This is not a build commit. [Pipeline] sh 10:07:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:07:35 + grep -v github /etc/ssh/ssh_known_hosts 10:07:35 + [ -e /tmp/ssh_known_hosts ] 10:07:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:07:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:07:35 + sudo tee -a /etc/ssh/ssh_known_hosts 10:07:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:36 10:07:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:36 0.1.4: Pulling from edgex-devops/py-git-semver 10:07:36 3dae71ba6b94: Pulling fs layer 10:07:36 6bf1a483ea7c: Pulling fs layer 10:07:36 f5dfc541a4d3: Pulling fs layer 10:07:36 461d9e800cba: Pulling fs layer 10:07:36 80192f66455f: Pulling fs layer 10:07:36 2e8e34ca0e6c: Pulling fs layer 10:07:36 a29436f7fd5d: Pulling fs layer 10:07:36 923cac83aea3: Pulling fs layer 10:07:36 25ad8b0a4227: Pulling fs layer 10:07:36 db01528c6b51: Pulling fs layer 10:07:36 28988de357af: Pulling fs layer 10:07:36 a29436f7fd5d: Waiting 10:07:36 25ad8b0a4227: Waiting 10:07:36 923cac83aea3: Waiting 10:07:36 db01528c6b51: Waiting 10:07:36 28988de357af: Waiting 10:07:36 461d9e800cba: Waiting 10:07:36 2e8e34ca0e6c: Waiting 10:07:36 80192f66455f: Waiting 10:07:36 6bf1a483ea7c: Verifying Checksum 10:07:36 6bf1a483ea7c: Download complete 10:07:36 461d9e800cba: Verifying Checksum 10:07:36 461d9e800cba: Download complete 10:07:36 80192f66455f: Verifying Checksum 10:07:36 80192f66455f: Download complete 10:07:36 f5dfc541a4d3: Verifying Checksum 10:07:36 f5dfc541a4d3: Download complete 10:07:36 3dae71ba6b94: Verifying Checksum 10:07:36 3dae71ba6b94: Download complete 10:07:36 923cac83aea3: Verifying Checksum 10:07:36 923cac83aea3: Download complete 10:07:36 25ad8b0a4227: Verifying Checksum 10:07:36 25ad8b0a4227: Download complete 10:07:36 db01528c6b51: Verifying Checksum 10:07:36 db01528c6b51: Download complete 10:07:36 28988de357af: Verifying Checksum 10:07:36 28988de357af: Download complete 10:07:37 a29436f7fd5d: Verifying Checksum 10:07:37 a29436f7fd5d: Download complete 10:07:37 2e8e34ca0e6c: Download complete 10:07:38 3dae71ba6b94: Pull complete 10:07:38 6bf1a483ea7c: Pull complete 10:07:39 f5dfc541a4d3: Pull complete 10:07:39 461d9e800cba: Pull complete 10:07:39 80192f66455f: Pull complete 10:07:43 2e8e34ca0e6c: Pull complete 10:07:44 a29436f7fd5d: Pull complete 10:07:44 923cac83aea3: Pull complete 10:07:44 25ad8b0a4227: Pull complete 10:07:44 db01528c6b51: Pull complete 10:07:44 28988de357af: Pull complete 10:07:44 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 10:07:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:07:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:07:44 prd-ubuntu20.04-docker-8c-8g-4839 does not seem to be running inside a container 10:07:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:07:47 $ docker top 85a4bd066ec7ed96bd0dbb0b1125cc4a8adb497375d5f381e52a043b46dbe244 -eo pid,comm 10:07:47 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). 10:07:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:07:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:47 [ssh-agent] Looking for ssh-agent implementation... 10:07:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:47 $ docker exec 85a4bd066ec7ed96bd0dbb0b1125cc4a8adb497375d5f381e52a043b46dbe244 ssh-agent 10:07:47 SSH_AUTH_SOCK=/tmp/ssh-MSfsmLP0IYcF/agent.32 10:07:47 SSH_AGENT_PID=38 10:07:47 Running ssh-add (command line suppressed) 10:07:47 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_462462123940720370.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_462462123940720370.key) 10:07:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:48 + git tag --points-at HEAD [Pipeline] } 10:07:48 $ docker exec --env ******** --env ******** 85a4bd066ec7ed96bd0dbb0b1125cc4a8adb497375d5f381e52a043b46dbe244 ssh-agent -k 10:07:48 unset SSH_AUTH_SOCK; 10:07:48 unset SSH_AGENT_PID; 10:07:48 echo Agent pid 38 killed; 10:07:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:07:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:07:48 [ssh-agent] Looking for ssh-agent implementation... 10:07:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:07:48 $ docker exec 85a4bd066ec7ed96bd0dbb0b1125cc4a8adb497375d5f381e52a043b46dbe244 ssh-agent 10:07:48 SSH_AUTH_SOCK=/tmp/ssh-JljPfWBPc5xu/agent.71 10:07:48 SSH_AGENT_PID=77 10:07:48 Running ssh-add (command line suppressed) 10:07:48 Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_910702221707714887.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_910702221707714887.key) 10:07:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:07:48 + git semver init 10:07:49 2025-07-09 10:07:49,026 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 10:07:49 2025-07-09 10:07:49,030 [run_init] DEBUG init version:0.0.0 force:False 10:07:49 2025-07-09 10:07:49,031 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-modbus-go_main/.semver 10:07:49 2025-07-09 10:07:49,031 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-modbus-go.git /w/workspace/gexfoundry_device-modbus-go_main/.semver 10:07:49 2025-07-09 10:07:49,032 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-modbus-go.git', '/w/workspace/gexfoundry_device-modbus-go_main/.semver'], cwd=/w/workspace/gexfoundry_device-modbus-go_main, stdin=None, shell=False, universal_newlines=False) 10:07:50 2025-07-09 10:07:50,347 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-modbus-go_main/.git/info/exclude 10:07:50 2025-07-09 10:07:50,347 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-modbus-go_main/.semver/main with force:False 10:07:50 2025-07-09 10:07:50,347 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:07:50 2025-07-09 10:07:50,347 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-modbus-go_main/.semver/main 10:07:50 4.1.0-dev.1 [Pipeline] } 10:07:50 $ docker exec --env ******** --env ******** 85a4bd066ec7ed96bd0dbb0b1125cc4a8adb497375d5f381e52a043b46dbe244 ssh-agent -k 10:07:50 unset SSH_AUTH_SOCK; 10:07:50 unset SSH_AGENT_PID; 10:07:50 echo Agent pid 77 killed; 10:07:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:07:50 + git semver [Pipeline] } 10:07:51 $ docker stop --time=1 85a4bd066ec7ed96bd0dbb0b1125cc4a8adb497375d5f381e52a043b46dbe244 10:07:52 $ docker rm -f --volumes 85a4bd066ec7ed96bd0dbb0b1125cc4a8adb497375d5f381e52a043b46dbe244 [Pipeline] // withDockerContainer [Pipeline] sh 10:07:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:07:53 Stashed 1 file(s) [Pipeline] echo 10:07:53 [edgeXSemver]: initialized semver on version 4.1.0-dev.1 [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 10:07:53 provisioning config files... 10:07:53 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config9064583423961676661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:07:53 ---> ****-login.sh 10:07:53 nexus3.edgexfoundry.org:10001 10:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:53 Login Succeeded 10:07:53 nexus3.edgexfoundry.org:10002 10:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:53 Login Succeeded 10:07:53 nexus3.edgexfoundry.org:10003 10:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:53 Login Succeeded 10:07:53 nexus3.edgexfoundry.org:10004 10:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:53 Login Succeeded 10:07:53 ****.io 10:07:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:07:54 Login Succeeded 10:07:54 ---> ****-login.sh ends [Pipeline] } 10:07:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:07:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:07:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:07:54 ========================================================= 10:07:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:07:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:07:54 + 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 . 10:07:55 #0 building with "default" instance using docker driver 10:07:55 10:07:55 #1 [internal] load build definition from Dockerfile 10:07:55 #1 transferring dockerfile: 1.52kB done 10:07:55 #1 DONE 0.0s 10:07:55 10:07:55 #2 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:07:55 #2 DONE 0.1s 10:07:55 10:07:55 #3 [internal] load .dockerignore 10:07:55 #3 transferring context: 182B done 10:07:55 #3 DONE 0.0s 10:07:55 10:07:55 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 10:07:55 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 0.0s done 10:07:55 #4 sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 685B / 685B done 10:07:55 #4 sha256:ea6120ae94a0356f97603cf7c451f67990211a3e020e5a30d412335b108fdc34 4.22kB / 4.22kB done 10:07:55 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s 10:07:55 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s 10:07:55 #4 sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 3.63MB / 3.63MB 0.1s done 10:07:55 #4 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done 10:07:55 #4 sha256:e873195afa03f66c4477d62a47bde445cf4ea723c241a30f98137b48a10af2e9 2.08kB / 2.08kB done 10:07:55 #4 sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 294.40kB / 294.40kB 0.0s done 10:07:55 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 17.83MB / 74.06MB 0.2s 10:07:55 #4 sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 126B / 126B 0.1s done 10:07:55 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 10:07:55 #4 sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 1.05MB / 2.38MB 0.2s 10:07:55 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 0B / 100.52MB 0.2s 10:07:55 #4 sha256:8213a616a21b5155355248bdcdb47b1049aac55141930530c39a6268e6623549 440B / 440B 0.1s done 10:07:55 #4 ... 10:07:55 10:07:55 #5 [internal] load build context 10:07:55 #5 transferring context: 27.82MB 0.2s done 10:07:55 #5 DONE 0.2s 10:07:55 10:07:55 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine@sha256:78acc44d7358ce6d4c7aa33580a27963993e9e743f98955b43cedd959d54cb65 10:07:55 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 35.65MB / 74.06MB 0.3s 10:07:55 #4 extracting sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc 0.1s done 10:07:55 #4 sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 2.38MB / 2.38MB 0.2s done 10:07:55 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 6.29MB / 100.52MB 0.3s 10:07:55 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 1.05MB / 13.29MB 0.3s 10:07:55 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 10:07:55 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 70.25MB / 74.06MB 0.5s 10:07:55 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 24.12MB / 100.52MB 0.5s 10:07:55 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 13.29MB / 13.29MB 0.5s 10:07:55 #4 extracting sha256:36466aa92d05be39552cfcf5a51ca5dc6ccfd7da55adfeaec5689f02abf883df 0.0s done 10:07:55 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.7s 10:07:55 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 56.62MB / 100.52MB 0.7s 10:07:55 #4 sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 13.29MB / 13.29MB 0.5s done 10:07:55 #4 sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 74.06MB / 74.06MB 0.7s done 10:07:55 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 80.74MB / 100.52MB 0.8s 10:07:55 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 10:07:56 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 100.52MB / 100.52MB 0.9s 10:07:56 #4 sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 100.52MB / 100.52MB 1.1s done 10:08:00 #4 extracting sha256:e10405b45d13228df144c8d42d389347041bf176392f5f9606fc4a4d7826647d 4.0s done 10:08:00 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 10:08:00 #4 extracting sha256:096b7ceb2af7cf0b2f963a566800bb0fb4c52ac2b7c0b1b66412e82adff0faa1 done 10:08:00 #4 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done 10:08:00 #4 extracting sha256:8213a616a21b5155355248bdcdb47b1049aac55141930530c39a6268e6623549 done 10:08:00 #4 extracting sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 10:08:00 #4 extracting sha256:98558614340527eace9316d30bb3f3e5cf3a2e8f676d5fb62ad843cd3fb4f971 0.0s done 10:08:00 #4 extracting sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 0.1s 10:08:03 #4 extracting sha256:0eae2285b678d5b2f4f5a5b3bec6e6514d0482667d44852f3d3175673264c5df 2.5s done 10:08:03 #4 extracting sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 0.1s 10:08:03 #4 extracting sha256:d3ac315be8c589f68f6ac08e7595bd7737acfb5834b5e7c23c55a9ef887f3179 0.6s done 10:08:03 #4 DONE 8.4s 10:08:03 10:08:03 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh 10:08:03 #6 0.194 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:08:04 #6 0.747 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:08:04 #6 0.986 (1/8) Installing openssh-keygen (9.7_p1-r5) 10:08:04 #6 0.993 (2/8) Installing libedit (20240517.3.1-r0) 10:08:04 #6 0.998 (3/8) Installing openssh-client-common (9.7_p1-r5) 10:08:04 #6 1.016 (4/8) Installing openssh-client-default (9.7_p1-r5) 10:08:04 #6 1.026 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 10:08:04 #6 1.030 (6/8) Installing openssh-server-common (9.7_p1-r5) 10:08:04 #6 1.033 (7/8) Installing openssh-server (9.7_p1-r5) 10:08:04 #6 1.044 (8/8) Installing openssh (9.7_p1-r5) 10:08:04 #6 1.049 Executing busybox-1.36.1-r29.trigger 10:08:04 #6 1.057 OK: 253 MiB in 66 packages 10:08:06 #6 DONE 3.2s 10:08:06 10:08:06 #7 [builder 3/7] WORKDIR /device-modbus-go 10:08:06 #7 DONE 0.0s 10:08:06 10:08:06 #8 [builder 4/7] COPY go.mod vendor* ./ 10:08:06 #8 DONE 0.0s 10:08:06 10:08:06 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:08:08 Still waiting to schedule task 10:08:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:08:53 #9 DONE 41.0s 10:08:53 10:08:53 #10 [builder 6/7] COPY . . 10:08:53 #10 DONE 0.1s 10:08:53 10:08:53 #11 [builder 7/7] RUN echo noop 10:08:53 #11 0.192 noop 10:08:53 #11 DONE 0.2s 10:08:53 10:08:53 #12 exporting to image 10:08:53 #12 exporting layers 10:08:54 #12 exporting layers 6.7s done 10:08:54 #12 writing image sha256:92af41d1c87d70bebef8e7dcafd2f043d4e2f762cac709d48f8ff5bf19691752 done 10:08:54 #12 naming to docker.io/library/ci-base-image-x86_64 done 10:08:54 #12 DONE 6.7s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:55 + docker inspect -f . ci-base-image-x86_64 10:08:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:55 prd-ubuntu20.04-docker-8c-8g-4839 does not seem to be running inside a container 10:08:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:08:58 $ docker top 0d4bd7d18c4dab536e136acf1d182465c27c880632dc11657241bc28afb1503e -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:59 + go version 10:08:59 go version go1.23.9 linux/amd64 [Pipeline] } 10:08:59 $ docker stop --time=1 0d4bd7d18c4dab536e136acf1d182465c27c880632dc11657241bc28afb1503e 10:09:00 $ docker rm -f --volumes 0d4bd7d18c4dab536e136acf1d182465c27c880632dc11657241bc28afb1503e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:00 + docker inspect -f . ci-base-image-x86_64 10:09:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:00 prd-ubuntu20.04-docker-8c-8g-4839 does not seem to be running inside a container 10:09:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:09:01 $ docker top a17420e13432d9af1d88d4516a9423d594885fb6f982493f63ca117ba1a44536 -eo pid,comm [Pipeline] { [Pipeline] sh 10:09:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] fileExists [Pipeline] sh 10:09:01 + make test 10:09:01 go test ./... -coverprofile=coverage.out 10:09:03 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:09:21 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 10:09:21 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.011s coverage: 45.2% of statements 10:09:33 go vet ./... 10:09:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:09:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:09:38 ./bin/test-attribution-txt.sh [Pipeline] echo 10:09:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 10:09:38 $ docker stop --time=1 a17420e13432d9af1d88d4516a9423d594885fb6f982493f63ca117ba1a44536 10:09:40 $ docker rm -f --volumes a17420e13432d9af1d88d4516a9423d594885fb6f982493f63ca117ba1a44536 [Pipeline] // withDockerContainer [Pipeline] sh 10:09:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:09:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:09:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:09:41 + ls -al . 10:09:41 total 260 10:09:41 drwxrwxr-x 9 jenkins jenkins 4096 Jul 9 10:09 . 10:09:41 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 10:07 .. 10:09:41 -rw-rw-r-- 1 jenkins jenkins 140 Jul 9 10:07 .dockerignore 10:09:41 drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 10:09 .git 10:09:41 drwxrwxr-x 3 jenkins jenkins 4096 Jul 9 10:07 .github 10:09:41 -rw-rw-r-- 1 jenkins jenkins 266 Jul 9 10:07 .gitignore 10:09:41 -rw-rw-r-- 1 jenkins jenkins 199 Jul 9 10:07 .golangci.yml 10:09:41 drwxr-xr-x 3 jenkins jenkins 4096 Jul 9 10:07 .semver 10:09:41 -rw-rw-r-- 1 jenkins jenkins 20457 Jul 9 10:07 Attribution.txt 10:09:41 -rw-rw-r-- 1 jenkins jenkins 18046 Jul 9 10:07 CHANGELOG.md 10:09:41 -rw-rw-r-- 1 jenkins jenkins 1479 Jul 9 10:07 Dockerfile 10:09:41 -rw-rw-r-- 1 jenkins jenkins 677 Jul 9 10:07 GOVERNANCE.md 10:09:41 -rw-rw-r-- 1 jenkins jenkins 658 Jul 9 10:07 Jenkinsfile 10:09:41 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 9 10:07 LICENSE 10:09:41 -rw-rw-r-- 1 jenkins jenkins 2524 Jul 9 10:07 Makefile 10:09:41 -rw-rw-r-- 1 jenkins jenkins 622 Jul 9 10:07 OWNERS.md 10:09:41 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 9 10:07 README.md 10:09:41 -rw-rw-r-- 1 jenkins jenkins 11 Jul 9 10:07 VERSION 10:09:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 10:07 bin 10:09:41 drwxrwxr-x 3 jenkins jenkins 4096 Jul 9 10:07 cmd 10:09:41 -rw-r--r-- 1 jenkins jenkins 26862 Jul 9 10:09 coverage.out 10:09:41 -rw-rw-r-- 1 jenkins jenkins 6323 Jul 9 10:07 go.mod 10:09:41 -rw-rw-r-- 1 jenkins jenkins 87105 Jul 9 10:07 go.sum 10:09:41 drwxrwxr-x 3 jenkins jenkins 4096 Jul 9 10:07 internal 10:09:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 10:07 simulator 10:09:41 -rw-rw-r-- 1 jenkins jenkins 229 Jul 9 10:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:41 + 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=b9a734cf70b4c7f63f44c3fe01c824107cf172b0 --label arch=amd64 --label version=4.1.0-dev.1 . 10:09:42 #0 building with "default" instance using docker driver 10:09:42 10:09:42 #1 [internal] load build definition from Dockerfile 10:09:42 #1 transferring dockerfile: 1.52kB done 10:09:42 #1 DONE 0.0s 10:09:42 10:09:42 #2 [internal] load metadata for docker.io/library/ci-base-image-x86_64:latest 10:09:42 #2 DONE 0.0s 10:09:42 10:09:42 #3 [internal] load metadata for docker.io/library/alpine:3.20 10:09:42 #3 DONE 0.1s 10:09:42 10:09:42 #4 [internal] load .dockerignore 10:09:42 #4 transferring context: 182B done 10:09:42 #4 DONE 0.0s 10:09:42 10:09:42 #5 [internal] load build context 10:09:42 #5 transferring context: 41.18kB 0.0s done 10:09:42 #5 DONE 0.0s 10:09:42 10:09:42 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.20@sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:09:42 #6 resolve docker.io/library/alpine:3.20@sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 0.0s done 10:09:42 #6 sha256:ff221270b9fb7387b0ad9ff8f69fbbd841af263842e62217392f18c3b5226f38 581B / 581B done 10:09:42 #6 sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 9.22kB / 9.22kB done 10:09:42 #6 sha256:43180c492a5e6cedd8232e8f77a454f666f247586853eecb90258b26688ad1d3 1.02kB / 1.02kB done 10:09:42 #6 DONE 0.0s 10:09:42 10:09:42 #7 [builder 1/7] FROM docker.io/library/ci-base-image-x86_64:latest 10:09:42 #7 DONE 0.1s 10:09:42 10:09:42 #8 [builder 2/7] RUN apk add --update --no-cache make git openssh 10:09:42 #8 0.207 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:09:42 #8 0.361 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:09:42 #8 0.694 OK: 253 MiB in 66 packages 10:09:42 #8 DONE 0.9s 10:09:42 10:09:42 #9 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 10:09:42 #9 0.243 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:09:42 #9 0.399 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:09:42 #9 0.735 (1/1) Installing dumb-init (1.2.5-r3) 10:09:42 #9 0.743 Executing busybox-1.36.1-r29.trigger 10:09:42 #9 0.747 OK: 8 MiB in 15 packages 10:09:43 #9 DONE 0.9s 10:09:43 10:09:43 #10 [builder 3/7] WORKDIR /device-modbus-go 10:09:43 #10 DONE 0.0s 10:09:43 10:09:43 #11 [builder 4/7] COPY go.mod vendor* ./ 10:09:43 #11 DONE 0.0s 10:09:43 10:09:43 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:43 #12 DONE 0.5s 10:09:43 10:09:43 #13 [stage-1 3/6] RUN apk --no-cache upgrade 10:09:43 #13 0.364 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:09:43 #13 0.435 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:09:43 #13 ... 10:09:43 10:09:43 #14 [builder 6/7] COPY . . 10:09:43 #14 DONE 0.2s 10:09:43 10:09:43 #13 [stage-1 3/6] RUN apk --no-cache upgrade 10:09:43 #13 0.734 OK: 8 MiB in 15 packages 10:09:43 #13 DONE 0.8s 10:09:43 10:09:43 #15 [builder 7/7] RUN make build 10:09:43 #15 0.288 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.21 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 10:09:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4842 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws 10:09:54 Running in /w/workspace/device-modbus-go/188 [Pipeline] { [Pipeline] checkout 10:09:57 The recommended git tool is: git 10:10:01 using credential edgex-jenkins-ssh 10:10:01 Cloning the remote Git repository 10:10:01 Cloning repository git@github.com:edgexfoundry/device-modbus-go.git 10:10:02 > git init /w/workspace/device-modbus-go/188 # timeout=10 10:10:02 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git 10:10:02 > git --version # timeout=10 10:10:02 > git --version # 'git version 2.25.1' 10:10:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:10:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:05 #15 DONE 22.3s 10:10:05 Avoid second fetch 10:10:05 Checking out Revision b9a734cf70b4c7f63f44c3fe01c824107cf172b0 (main) 10:10:06 10:10:06 #16 [stage-1 4/6] COPY --from=builder /device-modbus-go/cmd / 10:10:06 #16 DONE 0.2s 10:10:05 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 10:10:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:10:05 > git config core.sparsecheckout # timeout=10 10:10:05 > git checkout -f b9a734cf70b4c7f63f44c3fe01c824107cf172b0 # timeout=10 10:10:06 10:10:06 #17 [stage-1 5/6] COPY --from=builder /device-modbus-go/LICENSE / 10:10:06 #17 DONE 0.0s 10:10:06 10:10:06 #18 [stage-1 6/6] COPY --from=builder /device-modbus-go/Attribution.txt / 10:10:06 #18 DONE 0.0s 10:10:06 10:10:06 #19 exporting to image 10:10:06 #19 exporting layers 10:10:06 #19 exporting layers 0.2s done 10:10:06 #19 writing image sha256:6d638b20316612fee644641458d917378f3f6ec741ac5d979a491dd7112b7875 done 10:10:06 #19 naming to docker.io/library/device-modbus done 10:10:06 #19 DONE 0.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:06 provisioning config files... 10:10:06 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config17620507224768069767tmp [Pipeline] { 10:10:06 Commit message: "Merge pull request #638 from weichou1229/upgrade-sdk" [Pipeline] libraryResource [Pipeline] sh 10:10:06 ---> ****-login.sh 10:10:06 nexus3.edgexfoundry.org:10001 10:10:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:06 Login Succeeded 10:10:06 nexus3.edgexfoundry.org:10002 10:10:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:06 Login Succeeded 10:10:06 nexus3.edgexfoundry.org:10003 10:10:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:07 Login Succeeded 10:10:07 nexus3.edgexfoundry.org:10004 10:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:07 Login Succeeded 10:10:07 ****.io 10:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:07 Login Succeeded 10:10:07 ---> ****-login.sh ends [Pipeline] } 10:10:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:10:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:10:07 [edgeXDocker.push] Tagging docker image device-modbus with the following tags: 10:10:07 b9a734cf70b4c7f63f44c3fe01c824107cf172b0 10:10:07 latest 10:10:07 4.1.0-dev.1 10:10:07 b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 10:10:07 main 10:10:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:07 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b9a734cf70b4c7f63f44c3fe01c824107cf172b0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:08 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b9a734cf70b4c7f63f44c3fe01c824107cf172b0 10:10:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:10:08 fdcbf78c5c69: Preparing 10:10:08 d528bed088b7: Preparing 10:10:08 0377a9970e9f: Preparing 10:10:08 d84843b39df9: Preparing 10:10:08 4e64de7c0c0a: Preparing 10:10:08 994456c4fd7b: Preparing 10:10:08 994456c4fd7b: Waiting 10:10:08 4e64de7c0c0a: Pushed 10:10:08 d528bed088b7: Pushed 10:10:08 994456c4fd7b: Layer already exists 10:10:08 d84843b39df9: Pushed 10:10:08 fdcbf78c5c69: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:10:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:10:11 % Total % Received % Xferd Average Speed Time Time Time Current 10:10:11 Dload Upload Total Spent Left Speed 10:10:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 13063 100 13063 0 0 112k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh 10:10:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:10:11 + sudo tee /etc/docker/daemon.new 10:10:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:10:11 { 10:10:11 "registry-mirrors": [ 10:10:11 "https://nexus3.edgexfoundry.org:10001" 10:10:11 ], 10:10:11 "bip": "10.250.0.254/24", 10:10:11 "hosts": [ 10:10:11 "tcp://0.0.0.0:5555", 10:10:11 "unix:///var/run/docker.sock" 10:10:11 ], 10:10:11 "mtu": 1458, 10:10:11 "selinux-enabled": true, 10:10:11 "seccomp-profile": "/etc/docker/seccomp.json" 10:10:11 } [Pipeline] sh 10:10:12 0377a9970e9f: Pushed 10:10:12 b9a734cf70b4c7f63f44c3fe01c824107cf172b0: digest: sha256:eacd428dba7d589386ef90ce4b4bf4cec12bae4cd7378fec2c934251d489ff3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:10:12 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:12 + sudo service docker restart 10:10:12 + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest 10:10:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:10:12 fdcbf78c5c69: Preparing 10:10:12 d528bed088b7: Preparing 10:10:12 0377a9970e9f: Preparing 10:10:12 d84843b39df9: Preparing 10:10:12 4e64de7c0c0a: Preparing 10:10:12 994456c4fd7b: Preparing 10:10:12 994456c4fd7b: Waiting 10:10:12 d528bed088b7: Layer already exists 10:10:12 fdcbf78c5c69: Layer already exists 10:10:12 d84843b39df9: Layer already exists 10:10:12 0377a9970e9f: Layer already exists 10:10:12 4e64de7c0c0a: Layer already exists 10:10:12 994456c4fd7b: Layer already exists 10:10:12 latest: digest: sha256:eacd428dba7d589386ef90ce4b4bf4cec12bae4cd7378fec2c934251d489ff3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:13 + docker push nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 10:10:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:10:13 fdcbf78c5c69: Preparing 10:10:13 d528bed088b7: Preparing 10:10:13 0377a9970e9f: Preparing 10:10:13 d84843b39df9: Preparing 10:10:13 4e64de7c0c0a: Preparing 10:10:13 994456c4fd7b: Preparing 10:10:13 994456c4fd7b: Waiting 10:10:13 d528bed088b7: Layer already exists 10:10:13 0377a9970e9f: Layer already exists 10:10:13 4e64de7c0c0a: Layer already exists 10:10:13 d84843b39df9: Layer already exists 10:10:13 fdcbf78c5c69: Layer already exists 10:10:13 994456c4fd7b: Layer already exists 10:10:13 4.1.0-dev.1: digest: sha256:eacd428dba7d589386ef90ce4b4bf4cec12bae4cd7378fec2c934251d489ff3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:13 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 10:10:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:10:14 fdcbf78c5c69: Preparing 10:10:14 d528bed088b7: Preparing 10:10:14 0377a9970e9f: Preparing 10:10:14 d84843b39df9: Preparing 10:10:14 4e64de7c0c0a: Preparing 10:10:14 994456c4fd7b: Preparing 10:10:14 994456c4fd7b: Waiting 10:10:14 d84843b39df9: Layer already exists 10:10:14 d528bed088b7: Layer already exists 10:10:14 4e64de7c0c0a: Layer already exists 10:10:14 fdcbf78c5c69: Layer already exists 10:10:14 0377a9970e9f: Layer already exists 10:10:14 994456c4fd7b: Layer already exists 10:10:14 b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1: digest: sha256:eacd428dba7d589386ef90ce4b4bf4cec12bae4cd7378fec2c934251d489ff3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:14 + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:14 + docker push nexus3.edgexfoundry.org:10004/device-modbus:main 10:10:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] 10:10:14 fdcbf78c5c69: Preparing 10:10:14 d528bed088b7: Preparing 10:10:14 0377a9970e9f: Preparing 10:10:14 d84843b39df9: Preparing 10:10:14 4e64de7c0c0a: Preparing 10:10:14 994456c4fd7b: Preparing 10:10:14 994456c4fd7b: Waiting 10:10:14 0377a9970e9f: Layer already exists 10:10:14 4e64de7c0c0a: Layer already exists 10:10:14 d528bed088b7: Layer already exists 10:10:14 d84843b39df9: Layer already exists 10:10:14 fdcbf78c5c69: Layer already exists 10:10:14 994456c4fd7b: Layer already exists 10:10:14 main: digest: sha256:eacd428dba7d589386ef90ce4b4bf4cec12bae4cd7378fec2c934251d489ff3c size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:10:14 ===================================================== [Pipeline] echo 10:10:14 taggedImages: 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:b9a734cf70b4c7f63f44c3fe01c824107cf172b0 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:latest 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] echo 10:10:14 ========================================================= 10:10:14 [edgeXBuildMultiArch] RAW Config: 10:10:14 images: 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:b9a734cf70b4c7f63f44c3fe01c824107cf172b0 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:latest 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:4.1.0-dev.1 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 10:10:14 - nexus3.edgexfoundry.org:10004/device-modbus:main 10:10:14 settingsFile: 10:10:14 device-modbus-go-settings 10:10:14 ========================================================= [Pipeline] node 10:10:29 Still waiting to schedule task 10:10:29 All nodes of label ‘centos7-docker-4c-2g’ are offline [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:30 provisioning config files... 10:10:30 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/188@tmp/config746615475742187355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:31 ---> ****-login.sh 10:10:31 nexus3.edgexfoundry.org:10001 10:10:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:31 Configure a credential helper to remove this warning. See 10:10:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:31 10:10:31 Login Succeeded 10:10:31 nexus3.edgexfoundry.org:10002 10:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:32 Configure a credential helper to remove this warning. See 10:10:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:32 10:10:32 Login Succeeded 10:10:32 nexus3.edgexfoundry.org:10003 10:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:32 Configure a credential helper to remove this warning. See 10:10:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:32 10:10:32 Login Succeeded 10:10:32 nexus3.edgexfoundry.org:10004 10:10:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:33 Configure a credential helper to remove this warning. See 10:10:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:33 10:10:33 Login Succeeded 10:10:33 ****.io 10:10:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:10:33 Configure a credential helper to remove this warning. See 10:10:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:10:33 10:10:33 Login Succeeded 10:10:33 ---> ****-login.sh ends [Pipeline] } 10:10:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:10:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:10:33 ========================================================= 10:10:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 10:10:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:34 + 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 . 10:10:34 Sending build context to Docker daemon 14.11MB 10:10:34 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 10:10:34 Step 2/10 : FROM ${BASE} AS builder 10:10:34 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:10:34 94e9d8af2201: Pulling fs layer 10:10:34 a6c56e8762df: Pulling fs layer 10:10:34 f0f3c8884826: Pulling fs layer 10:10:34 c7e7622c144d: Pulling fs layer 10:10:34 4f4fb700ef54: Pulling fs layer 10:10:34 e8859aadc426: Pulling fs layer 10:10:34 b4813487a9f6: Pulling fs layer 10:10:34 502a3d64fb4b: Pulling fs layer 10:10:34 4f4fb700ef54: Waiting 10:10:34 e8859aadc426: Waiting 10:10:34 b4813487a9f6: Waiting 10:10:34 502a3d64fb4b: Waiting 10:10:34 c7e7622c144d: Waiting 10:10:34 a6c56e8762df: Verifying Checksum 10:10:34 a6c56e8762df: Download complete 10:10:34 c7e7622c144d: Verifying Checksum 10:10:34 c7e7622c144d: Download complete 10:10:35 4f4fb700ef54: Verifying Checksum 10:10:35 4f4fb700ef54: Download complete 10:10:35 e8859aadc426: Verifying Checksum 10:10:35 e8859aadc426: Download complete 10:10:35 94e9d8af2201: Verifying Checksum 10:10:35 94e9d8af2201: Download complete 10:10:35 502a3d64fb4b: Verifying Checksum 10:10:35 502a3d64fb4b: Download complete 10:10:35 94e9d8af2201: Pull complete 10:10:36 a6c56e8762df: Pull complete 10:10:37 f0f3c8884826: Verifying Checksum 10:10:37 f0f3c8884826: Download complete 10:10:38 b4813487a9f6: Verifying Checksum 10:10:38 b4813487a9f6: Download complete 10:10:50 f0f3c8884826: Pull complete 10:10:50 c7e7622c144d: Pull complete 10:10:50 4f4fb700ef54: Pull complete 10:10:50 e8859aadc426: Pull complete 10:10:58 Running on prd-centos7-docker-4c-2g-4843 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Create Multi-Arch Images) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:58 provisioning config files... 10:10:58 copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config12872277053123059238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:58 b4813487a9f6: Pull complete 10:10:59 ---> ****-login.sh 10:10:59 nexus3.edgexfoundry.org:10001 10:11:00 502a3d64fb4b: Pull complete 10:11:00 Digest: sha256:ccce412edaf9646599052987b87cd187cc8535800fd55ebf268fc97f1e5e6dde 10:11:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 10:11:00 ---> 3bb21d53e231 10:11:00 Step 3/10 : ARG ADD_BUILD_TAGS="" 10:11:02 ---> Running in c8440d06d8e9 10:11:02 Removing intermediate container c8440d06d8e9 10:11:02 ---> a390b74b89f7 10:11:02 Step 4/10 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:11:02 ---> Running in 944274f3d2f2 10:11:03 Removing intermediate container 944274f3d2f2 10:11:03 ---> 6e17831aaa15 10:11:03 Step 5/10 : RUN apk add --update --no-cache make git openssh 10:11:03 ---> Running in 507547a73a0a 10:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:11:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:11:05 (1/8) Installing openssh-keygen (9.7_p1-r5) 10:11:05 (2/8) Installing libedit (20240517.3.1-r0) 10:11:05 (3/8) Installing openssh-client-common (9.7_p1-r5) 10:11:05 (4/8) Installing openssh-client-default (9.7_p1-r5) 10:11:05 (5/8) Installing openssh-sftp-server (9.7_p1-r5) 10:11:05 (6/8) Installing openssh-server-common (9.7_p1-r5) 10:11:05 (7/8) Installing openssh-server (9.7_p1-r5) 10:11:05 (8/8) Installing openssh (9.7_p1-r5) 10:11:05 Executing busybox-1.36.1-r29.trigger 10:11:05 OK: 245 MiB in 66 packages 10:11:07 Removing intermediate container 507547a73a0a 10:11:07 ---> 684aab000729 10:11:07 Step 6/10 : WORKDIR /device-modbus-go 10:11:07 ---> Running in c7289a92cff3 10:11:08 Removing intermediate container c7289a92cff3 10:11:08 ---> 73ea4ee16bda 10:11:08 Step 7/10 : COPY go.mod vendor* ./ 10:11:08 ---> 97127efab6a5 10:11:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:08 ---> Running in 23975eca2fc5 10:13:30 Removing intermediate container 23975eca2fc5 10:13:30 ---> eaed4269bb8f 10:13:30 Step 9/10 : COPY . . 10:13:30 ---> 49e8a07a2da0 10:13:30 Step 10/10 : RUN ${MAKE} 10:13:30 ---> Running in 14685560a610 10:13:30 noop 10:13:30 Removing intermediate container 14685560a610 10:13:30 ---> 5bc3a11a833a 10:13:30 Successfully built 5bc3a11a833a 10:13:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:30 + docker inspect -f . ci-base-image-arm64 10:13:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:30 prd-ubuntu20.04-docker-arm64-4c-16g-4842 does not seem to be running inside a container 10:13:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/188 -v /w/workspace/device-modbus-go/188:/w/workspace/device-modbus-go/188:rw,z -v /w/workspace/device-modbus-go/188@tmp:/w/workspace/device-modbus-go/188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:13:32 $ docker top 5769246df63152ee32e06258a3a319dff2c5e3b2e1916f05ff3d81d00f93df17 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:33 + go version 10:13:33 go version go1.23.9 linux/arm64 [Pipeline] } 10:13:33 $ docker stop --time=1 5769246df63152ee32e06258a3a319dff2c5e3b2e1916f05ff3d81d00f93df17 10:13:34 $ docker rm -f --volumes 5769246df63152ee32e06258a3a319dff2c5e3b2e1916f05ff3d81d00f93df17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:13:35 + docker inspect -f . ci-base-image-arm64 10:13:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:13:35 prd-ubuntu20.04-docker-arm64-4c-16g-4842 does not seem to be running inside a container 10:13:35 $ 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/188 -v /w/workspace/device-modbus-go/188:/w/workspace/device-modbus-go/188:rw,z -v /w/workspace/device-modbus-go/188@tmp:/w/workspace/device-modbus-go/188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:13:36 $ docker top ef64b657a36cd9786696d27cb570e4998ed89c92c5f3954def0222e9ebe0a9a3 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:37 + git config --global --add safe.directory /w/workspace/device-modbus-go/188 [Pipeline] fileExists [Pipeline] sh 10:13:38 + make test 10:13:38 go test ./... -coverprofile=coverage.out 10:13:43 ? github.com/edgexfoundry/device-modbus-go [no test files] 10:16:50 github.com/edgexfoundry/device-modbus-go/cmd coverage: 0.0% of statements 10:16:52 ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.054s coverage: 45.2% of statements 10:16:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:16:53 go vet ./... 10:17:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:17:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:17:40 ./bin/test-attribution-txt.sh [Pipeline] echo 10:17:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 10:17:40 $ docker stop --time=1 ef64b657a36cd9786696d27cb570e4998ed89c92c5f3954def0222e9ebe0a9a3 10:17:41 $ docker rm -f --volumes ef64b657a36cd9786696d27cb570e4998ed89c92c5f3954def0222e9ebe0a9a3 [Pipeline] // withDockerContainer [Pipeline] sh 10:17:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:17:43 Warning: overwriting stash ‘coverage-report’ 10:17:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:17:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:17:44 + ls -al . 10:17:44 total 256 10:17:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 10:13 . 10:17:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 9 10:10 .. 10:17:44 -rw-rw-r-- 1 jenkins jenkins 140 Jul 9 10:10 .dockerignore 10:17:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 9 10:10 .git 10:17:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 9 10:10 .github 10:17:44 -rw-rw-r-- 1 jenkins jenkins 266 Jul 9 10:10 .gitignore 10:17:44 -rw-rw-r-- 1 jenkins jenkins 199 Jul 9 10:10 .golangci.yml 10:17:44 -rw-rw-r-- 1 jenkins jenkins 20457 Jul 9 10:10 Attribution.txt 10:17:44 -rw-rw-r-- 1 jenkins jenkins 18046 Jul 9 10:10 CHANGELOG.md 10:17:44 -rw-rw-r-- 1 jenkins jenkins 1479 Jul 9 10:10 Dockerfile 10:17:44 -rw-rw-r-- 1 jenkins jenkins 677 Jul 9 10:10 GOVERNANCE.md 10:17:44 -rw-rw-r-- 1 jenkins jenkins 658 Jul 9 10:10 Jenkinsfile 10:17:44 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 9 10:10 LICENSE 10:17:44 -rw-rw-r-- 1 jenkins jenkins 2524 Jul 9 10:10 Makefile 10:17:44 -rw-rw-r-- 1 jenkins jenkins 622 Jul 9 10:10 OWNERS.md 10:17:44 -rw-rw-r-- 1 jenkins jenkins 4463 Jul 9 10:10 README.md 10:17:44 -rw-rw-r-- 1 jenkins jenkins 11 Jul 9 10:07 VERSION 10:17:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 10:10 bin 10:17:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 9 10:10 cmd 10:17:44 -rw-r--r-- 1 jenkins jenkins 26862 Jul 9 10:16 coverage.out 10:17:44 -rw-rw-r-- 1 jenkins jenkins 6323 Jul 9 10:10 go.mod 10:17:44 -rw-rw-r-- 1 jenkins jenkins 87105 Jul 9 10:10 go.sum 10:17:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 9 10:10 internal 10:17:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 9 10:10 simulator 10:17:44 -rw-rw-r-- 1 jenkins jenkins 229 Jul 9 10:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:45 + 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=b9a734cf70b4c7f63f44c3fe01c824107cf172b0 --label arch=arm64 --label version=4.1.0-dev.1 . 10:17:45 Sending build context to Docker daemon 14.13MB 10:17:45 Step 1/23 : ARG BASE=golang:1.23-alpine3.20 10:17:45 Step 2/23 : FROM ${BASE} AS builder 10:17:45 ---> 5bc3a11a833a 10:17:45 Step 3/23 : ARG ADD_BUILD_TAGS="" 10:17:45 ---> Running in 9d1e0d47b08e 10:17:46 Removing intermediate container 9d1e0d47b08e 10:17:46 ---> b7f3464757ef 10:17:46 Step 4/23 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:17:46 ---> Running in cb25df967ed7 10:17:46 Removing intermediate container cb25df967ed7 10:17:46 ---> baf4d8b82da0 10:17:46 Step 5/23 : RUN apk add --update --no-cache make git openssh 10:17:46 ---> Running in b1d14a755592 10:17:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:17:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:17:49 OK: 245 MiB in 66 packages 10:17:50 Removing intermediate container b1d14a755592 10:17:50 ---> d6db163c115d 10:17:50 Step 6/23 : WORKDIR /device-modbus-go 10:17:50 ---> Running in 1e7c2f4fc1e8 10:17:50 Removing intermediate container 1e7c2f4fc1e8 10:17:50 ---> a6ccb5295bdd 10:17:50 Step 7/23 : COPY go.mod vendor* ./ 10:17:50 ---> 9fbf18deb805 10:17:50 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:17:50 ---> Running in 10d5e8538506 10:17:52 Removing intermediate container 10d5e8538506 10:17:52 ---> a96217f74fc9 10:17:52 Step 9/23 : COPY . . 10:17:54 ---> 1104ab737f73 10:17:54 Step 10/23 : RUN ${MAKE} 10:17:54 ---> Running in 1f90a8cec650 10:17:55 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-modbus-go.Version=4.1.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.1.0-dev.21 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-modbus ./cmd 10:21:16 Removing intermediate container 1f90a8cec650 10:21:16 ---> eb1deef3b9b9 10:21:16 Step 11/23 : FROM alpine:3.20 10:21:16 3.20: Pulling from library/alpine 10:21:16 94e9d8af2201: Already exists 10:21:16 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:21:16 Status: Downloaded newer image for alpine:3.20 10:21:16 ---> 7aab056cecc6 10:21:16 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2024: IoTech Ltd' 10:21:16 ---> Running in 1aa7cda0a499 10:21:16 Removing intermediate container 1aa7cda0a499 10:21:16 ---> 03457905955c 10:21:16 Step 13/23 : RUN apk add --update --no-cache dumb-init 10:21:16 ---> Running in e0a50457873d 10:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:21:16 (1/1) Installing dumb-init (1.2.5-r3) 10:21:16 Executing busybox-1.36.1-r29.trigger 10:21:16 OK: 9 MiB in 15 packages 10:21:16 Removing intermediate container e0a50457873d 10:21:16 ---> 2eadb7683ba1 10:21:16 Step 14/23 : RUN apk --no-cache upgrade 10:21:16 ---> Running in 0c9d195ca8e5 10:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:21:16 OK: 9 MiB in 15 packages 10:21:16 Removing intermediate container 0c9d195ca8e5 10:21:16 ---> 1cb0a2f9f3f4 10:21:16 Step 15/23 : COPY --from=builder /device-modbus-go/cmd / 10:21:16 ---> 3c7844f58856 10:21:16 Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / 10:21:16 ---> 346630b869aa 10:21:16 Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / 10:21:16 ---> 7a3aa7f77a02 10:21:16 Step 18/23 : EXPOSE 59901 10:21:16 ---> Running in 98f8e2780239 10:21:16 Removing intermediate container 98f8e2780239 10:21:16 ---> fd83b862f123 10:21:16 Step 19/23 : ENTRYPOINT ["/device-modbus"] 10:21:16 ---> Running in 79023fadfbb4 10:21:16 Removing intermediate container 79023fadfbb4 10:21:16 ---> 0f5ad3b9ff41 10:21:16 Step 20/23 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:21:16 ---> Running in 60cc6e42f35b 10:21:16 Removing intermediate container 60cc6e42f35b 10:21:16 ---> c5b4f4bbe76c 10:21:16 Step 21/23 : LABEL arch=arm64 10:21:16 ---> Running in bac4175626f4 10:21:16 Removing intermediate container bac4175626f4 10:21:16 ---> c263a85063d3 10:21:16 Step 22/23 : LABEL git_sha=b9a734cf70b4c7f63f44c3fe01c824107cf172b0 10:21:17 ---> Running in af46e4046419 10:21:17 Removing intermediate container af46e4046419 10:21:17 ---> b2317e13e502 10:21:17 Step 23/23 : LABEL version=4.1.0-dev.1 10:21:17 ---> Running in 2a64b9083315 10:21:17 Removing intermediate container 2a64b9083315 10:21:17 ---> 0185f552ea6a 10:21:17 [Warning] One or more build-args [ARCH] were not consumed 10:21:17 Successfully built 0185f552ea6a 10:21:17 Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:17 provisioning config files... 10:21:17 copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/188@tmp/config17667368461606194113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:21:18 ---> ****-login.sh 10:21:18 nexus3.edgexfoundry.org:10001 10:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:18 Configure a credential helper to remove this warning. See 10:21:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:18 10:21:18 Login Succeeded 10:21:18 nexus3.edgexfoundry.org:10002 10:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:18 Configure a credential helper to remove this warning. See 10:21:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:18 10:21:18 Login Succeeded 10:21:18 nexus3.edgexfoundry.org:10003 10:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:19 Configure a credential helper to remove this warning. See 10:21:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:19 10:21:19 Login Succeeded 10:21:19 nexus3.edgexfoundry.org:10004 10:21:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:19 Configure a credential helper to remove this warning. See 10:21:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:19 10:21:19 Login Succeeded 10:21:19 ****.io 10:21:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:21:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:21:19 Configure a credential helper to remove this warning. See 10:21:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:21:19 10:21:19 Login Succeeded 10:21:19 ---> ****-login.sh ends [Pipeline] } 10:21:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:21:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 10:21:20 [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: 10:21:20 b9a734cf70b4c7f63f44c3fe01c824107cf172b0 10:21:20 latest 10:21:20 4.1.0-dev.1 10:21:20 b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 10:21:20 main 10:21:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:20 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b9a734cf70b4c7f63f44c3fe01c824107cf172b0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:20 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b9a734cf70b4c7f63f44c3fe01c824107cf172b0 10:21:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:21:20 989f717d5927: Preparing 10:21:20 20e4f02a3e10: Preparing 10:21:20 cba589ff3ad0: Preparing 10:21:20 97c63df28339: Preparing 10:21:20 e77d790ae875: Preparing 10:21:20 dd9c8f8612c8: Preparing 10:21:20 dd9c8f8612c8: Waiting 10:21:21 97c63df28339: Pushed 10:21:21 989f717d5927: Pushed 10:21:21 20e4f02a3e10: Pushed 10:21:21 e77d790ae875: Pushed 10:21:21 dd9c8f8612c8: Layer already exists 10:21:27 cba589ff3ad0: Pushed 10:21:27 b9a734cf70b4c7f63f44c3fe01c824107cf172b0: digest: sha256:7023e4442296e64885e183118180a806856bc109bde1233d26ca191317f59944 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:28 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:28 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:21:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:21:28 989f717d5927: Preparing 10:21:28 20e4f02a3e10: Preparing 10:21:28 cba589ff3ad0: Preparing 10:21:28 97c63df28339: Preparing 10:21:28 e77d790ae875: Preparing 10:21:28 dd9c8f8612c8: Preparing 10:21:28 dd9c8f8612c8: Waiting 10:21:28 989f717d5927: Layer already exists 10:21:28 cba589ff3ad0: Layer already exists 10:21:28 97c63df28339: Layer already exists 10:21:28 e77d790ae875: Layer already exists 10:21:28 20e4f02a3e10: Layer already exists 10:21:28 dd9c8f8612c8: Layer already exists 10:21:28 latest: digest: sha256:7023e4442296e64885e183118180a806856bc109bde1233d26ca191317f59944 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:29 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.1 10:21:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:21:29 989f717d5927: Preparing 10:21:29 20e4f02a3e10: Preparing 10:21:29 cba589ff3ad0: Preparing 10:21:29 97c63df28339: Preparing 10:21:29 e77d790ae875: Preparing 10:21:29 dd9c8f8612c8: Preparing 10:21:29 dd9c8f8612c8: Waiting 10:21:29 cba589ff3ad0: Layer already exists 10:21:29 97c63df28339: Layer already exists 10:21:29 e77d790ae875: Layer already exists 10:21:29 20e4f02a3e10: Layer already exists 10:21:29 989f717d5927: Layer already exists 10:21:29 dd9c8f8612c8: Layer already exists 10:21:29 4.1.0-dev.1: digest: sha256:7023e4442296e64885e183118180a806856bc109bde1233d26ca191317f59944 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:29 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:30 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 10:21:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:21:30 989f717d5927: Preparing 10:21:30 20e4f02a3e10: Preparing 10:21:30 cba589ff3ad0: Preparing 10:21:30 97c63df28339: Preparing 10:21:30 e77d790ae875: Preparing 10:21:30 dd9c8f8612c8: Preparing 10:21:30 dd9c8f8612c8: Waiting 10:21:30 cba589ff3ad0: Layer already exists 10:21:30 97c63df28339: Layer already exists 10:21:30 989f717d5927: Layer already exists 10:21:30 e77d790ae875: Layer already exists 10:21:30 20e4f02a3e10: Layer already exists 10:21:30 dd9c8f8612c8: Layer already exists 10:21:30 b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1: digest: sha256:7023e4442296e64885e183118180a806856bc109bde1233d26ca191317f59944 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:30 + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:31 + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main 10:21:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] 10:21:31 989f717d5927: Preparing 10:21:31 20e4f02a3e10: Preparing 10:21:31 cba589ff3ad0: Preparing 10:21:31 97c63df28339: Preparing 10:21:31 e77d790ae875: Preparing 10:21:31 dd9c8f8612c8: Preparing 10:21:31 dd9c8f8612c8: Waiting 10:21:31 e77d790ae875: Layer already exists 10:21:31 989f717d5927: Layer already exists 10:21:31 cba589ff3ad0: Layer already exists 10:21:31 97c63df28339: Layer already exists 10:21:31 20e4f02a3e10: Layer already exists 10:21:31 dd9c8f8612c8: Layer already exists 10:21:31 main: digest: sha256:7023e4442296e64885e183118180a806856bc109bde1233d26ca191317f59944 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:21:31 ===================================================== [Pipeline] echo 10:21:31 taggedImages: 10:21:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b9a734cf70b4c7f63f44c3fe01c824107cf172b0 10:21:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest 10:21:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.1 10:21:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 10:21:31 - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] echo 10:21:31 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:b9a734cf70b4c7f63f44c3fe01c824107cf172b0 [Pipeline] echo 10:21:31 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] echo 10:21:31 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:4.1.0-dev.1 [Pipeline] echo 10:21:31 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:b9a734cf70b4c7f63f44c3fe01c824107cf172b0-4.1.0-dev.1 [Pipeline] echo 10:21:31 Skip building multi-arch image for nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:32 10:21:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:32 arm64: Pulling from edgex-lftools-log-publisher 10:21:32 8998bd30e6a1: Pulling fs layer 10:21:32 04944245beec: Pulling fs layer 10:21:32 699f458cf7ca: Pulling fs layer 10:21:32 765212b225bb: Pulling fs layer 10:21:32 f23df028b6ca: Pulling fs layer 10:21:32 d65c8cfc05b1: Pulling fs layer 10:21:32 2437ff75d9bd: Pulling fs layer 10:21:32 f23df028b6ca: Waiting 10:21:32 765212b225bb: Waiting 10:21:32 d65c8cfc05b1: Waiting 10:21:32 2437ff75d9bd: Waiting 10:21:32 04944245beec: Verifying Checksum 10:21:32 04944245beec: Download complete 10:21:32 765212b225bb: Verifying Checksum 10:21:32 765212b225bb: Download complete 10:21:32 f23df028b6ca: Verifying Checksum 10:21:32 f23df028b6ca: Download complete 10:21:32 d65c8cfc05b1: Verifying Checksum 10:21:32 d65c8cfc05b1: Download complete 10:21:32 699f458cf7ca: Verifying Checksum 10:21:32 699f458cf7ca: Download complete 10:21:33 8998bd30e6a1: Download complete 10:21:35 2437ff75d9bd: Verifying Checksum 10:21:35 2437ff75d9bd: Download complete 10:21:37 8998bd30e6a1: Pull complete 10:21:38 04944245beec: Pull complete 10:21:39 699f458cf7ca: Pull complete 10:21:39 765212b225bb: Pull complete 10:21:40 f23df028b6ca: Pull complete 10:21:40 d65c8cfc05b1: Pull complete 10:21:58 2437ff75d9bd: Pull complete 10:21:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:21:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:21:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:59 prd-ubuntu20.04-docker-arm64-4c-16g-4842 does not seem to be running inside a container 10:21:59 $ 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/188 -v /w/workspace/device-modbus-go/188:/w/workspace/device-modbus-go/188:rw,z -v /w/workspace/device-modbus-go/188@tmp:/w/workspace/device-modbus-go/188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:22:01 $ docker top c80c8b6da765fb1afd95b566ed87672d86f61c8f74a3697ac1638db333d4db48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:22:02 ---> job-cost.sh 10:22:02 lf-activate-venv: SKIPPING 10:22:02 INFO: No Stack... 10:22:02 INFO: Retrieving Pricing Info for: v3-standard-4 10:22:03 INFO: Archiving Costs [Pipeline] sh 10:22:04 + cat /w/workspace/device-modbus-go/188/archives/cost.csv 10:22:04 + cut -d, -f6 [Pipeline] lock 10:22:04 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-188-stack-cost] 10:22:04 Resource [jenkins-edgexfoundry-device-modbus-go-main-188-stack-cost] did not exist. Created. 10:22:04 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-188-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:22:05 + echo total: 0.10999999940395355 [Pipeline] stash 10:22:05 Stashed 1 file(s) [Pipeline] } 10:22:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-188-stack-cost] [Pipeline] // lock [Pipeline] } 10:22:05 $ docker stop --time=1 c80c8b6da765fb1afd95b566ed87672d86f61c8f74a3697ac1638db333d4db48 10:22:07 $ docker rm -f --volumes c80c8b6da765fb1afd95b566ed87672d86f61c8f74a3697ac1638db333d4db48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:07:30 Cancelling nested steps due to timeout 16:07:30 Sending interrupt signal to process 16:07:36 script returned exit code 143 [Pipeline] } 16:07:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] error [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:07:37 + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 16:07:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:07:38 ---> package-listing.sh 16:07:38 ++ facter osfamily 16:07:38 ++ tr '[:upper:]' '[:lower:]' 16:07:38 + OS_FAMILY=redhat 16:07:38 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 16:07:38 + START_PACKAGES=/tmp/packages_start.txt 16:07:38 + END_PACKAGES=/tmp/packages_end.txt 16:07:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:07:38 + PACKAGES=/tmp/packages_start.txt 16:07:38 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 16:07:38 + PACKAGES=/tmp/packages_end.txt 16:07:38 + case "${OS_FAMILY}" in 16:07:38 + sort 16:07:38 + rpm -qa 16:07:39 + '[' -f /tmp/packages_start.txt ']' 16:07:39 + '[' -f /tmp/packages_end.txt ']' 16:07:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:07:39 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 16:07:39 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 16:07:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 16:07:39 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:07:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:40 16:07:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:40 latest: Pulling from edgex-lftools-log-publisher 16:07:40 5eb5b503b376: Pulling fs layer 16:07:40 5c69ac0246d0: Pulling fs layer 16:07:40 ec43610c2a17: Pulling fs layer 16:07:40 3a2ae6a8a46f: Pulling fs layer 16:07:40 33b1e0a273af: Pulling fs layer 16:07:40 5d3b04190fa2: Pulling fs layer 16:07:40 2f39f015ded8: Pulling fs layer 16:07:40 3a2ae6a8a46f: Waiting 16:07:40 33b1e0a273af: Waiting 16:07:40 5d3b04190fa2: Waiting 16:07:40 2f39f015ded8: Waiting 16:07:40 5c69ac0246d0: Verifying Checksum 16:07:40 5c69ac0246d0: Download complete 16:07:40 3a2ae6a8a46f: Verifying Checksum 16:07:40 3a2ae6a8a46f: Download complete 16:07:40 33b1e0a273af: Verifying Checksum 16:07:40 33b1e0a273af: Download complete 16:07:40 ec43610c2a17: Verifying Checksum 16:07:40 ec43610c2a17: Download complete 16:07:40 5d3b04190fa2: Verifying Checksum 16:07:40 5d3b04190fa2: Download complete 16:07:40 5eb5b503b376: Verifying Checksum 16:07:40 5eb5b503b376: Download complete 16:07:41 2f39f015ded8: Verifying Checksum 16:07:41 2f39f015ded8: Download complete 16:07:42 5eb5b503b376: Pull complete 16:07:42 5c69ac0246d0: Pull complete 16:07:42 ec43610c2a17: Pull complete 16:07:42 3a2ae6a8a46f: Pull complete 16:07:42 33b1e0a273af: Pull complete 16:07:42 5d3b04190fa2: Pull complete 16:07:47 2f39f015ded8: Pull complete 16:07:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:07:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:47 prd-centos7-docker-4c-2g-4843 does not seem to be running inside a container 16:07:47 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:07:51 $ docker top e5a4de6db319011feba9eaacc4679a96ee64210b98c25bfccccedc6a37f06f1f -eo pid,comm [Pipeline] { [Pipeline] sh 16:07:52 + touch /tmp/pre-build-complete [Pipeline] sh 16:07:52 + mkdir -p /var/log/sysstat [Pipeline] sh 16:07:52 + ls /var/log/sa-host 16:07:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:07:52 provisioning config files... 16:07:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6812998048868133795tmp [Pipeline] { [Pipeline] echo 16:07:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:07:53 ---> create-netrc.sh [Pipeline] } 16:07:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:07:53 ---> python-tools-install.sh [Pipeline] echo 16:07:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:07:53 ---> sudo-logs.sh 16:07:53 Archiving 'sudo' log.. 16:07:53 sudo: unable to resolve host prd-centos7-docker-4c-2g-4843.novalocal: Name or service not known 16:07:53 sudo: unable to resolve host prd-centos7-docker-4c-2g-4843.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 16:07:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:07:54 ---> job-cost.sh 16:07:54 lf-activate-venv: SKIPPING 16:07:54 DEBUG: total: 0.10999999940395355 16:07:54 INFO: Retrieving Stack Cost... 16:07:54 INFO: Retrieving Pricing Info for: v3-standard-2 16:07:55 INFO: Archiving Costs [Pipeline] echo 16:07:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:07:55 ---> logs-deploy.sh 16:07:55 lf-activate-venv: SKIPPING 16:07:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/188 16:07:55 INFO: archiving workspace using pattern(s): 16:07:56 Archives upload complete. 16:07:56 INFO: archiving logs to Nexus 16:07:56 ---> uname -a: 16:07:56 Linux prd-centos7-docker-4c-2g-4843.novalocal 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 GNU/Linux 16:07:56 16:07:56 16:07:57 ---> lscpu: 16:07:57 Architecture: x86_64 16:07:57 CPU op-mode(s): 32-bit, 64-bit 16:07:57 Byte Order: Little Endian 16:07:57 Address sizes: 40 bits physical, 48 bits virtual 16:07:57 CPU(s): 2 16:07:57 On-line CPU(s) list: 0,1 16:07:57 Thread(s) per core: 1 16:07:57 Core(s) per socket: 1 16:07:57 Socket(s): 2 16:07:57 NUMA node(s): 1 16:07:57 Vendor ID: AuthenticAMD 16:07:57 CPU family: 23 16:07:57 Model: 49 16:07:57 Model name: AMD EPYC-Rome Processor 16:07:57 Stepping: 0 16:07:57 CPU MHz: 2800.000 16:07:57 BogoMIPS: 5600.00 16:07:57 Virtualization: AMD-V 16:07:57 Hypervisor vendor: KVM 16:07:57 Virtualization type: full 16:07:57 L1d cache: 64 KiB 16:07:57 L1i cache: 64 KiB 16:07:57 L2 cache: 1 MiB 16:07:57 L3 cache: 32 MiB 16:07:57 NUMA node0 CPU(s): 0,1 16:07:57 Vulnerability Itlb multihit: Not affected 16:07:57 Vulnerability L1tf: Not affected 16:07:57 Vulnerability Mds: Not affected 16:07:57 Vulnerability Meltdown: Not affected 16:07:57 Vulnerability Mmio stale data: Not affected 16:07:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:07:57 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 16:07:57 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 16:07:57 Vulnerability Srbds: Not affected 16:07:57 Vulnerability Tsx async abort: Not affected 16:07:57 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 16:07:57 16:07:57 16:07:57 ---> nproc: 16:07:57 2 16:07:57 16:07:57 16:07:57 ---> df -h: 16:07:57 Filesystem Size Used Avail Use% Mounted on 16:07:57 overlay 40G 6.8G 34G 17% / 16:07:57 tmpfs 64M 0 64M 0% /dev 16:07:57 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 16:07:57 shm 64M 0 64M 0% /dev/shm 16:07:57 /dev/vda1 40G 6.8G 34G 17% /facter-os 16:07:57 16:07:57 16:07:57 Cannot open /var/log/sysstat/sa09: No such file or directory 16:07:57 Please check if data collecting is enabled 16:07:57 subprocess.CalledProcessError: Command '['sar', '-b', '-r', '-n', 'DEV']' returned non-zero exit status 2. [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:57 [edgeXInfraPublish] An error occurred while publishing logs: script returned exit code 1 [Pipeline] } 16:07:57 $ docker stop --time=1 e5a4de6db319011feba9eaacc4679a96ee64210b98c25bfccccedc6a37f06f1f 16:07:58 $ docker rm -f --volumes e5a4de6db319011feba9eaacc4679a96ee64210b98c25bfccccedc6a37f06f1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] cleanWs 16:07:58 [WS-CLEANUP] Deleting project workspace... 16:07:58 [WS-CLEANUP] Deferred wipeout is used... 16:07:58 [WS-CLEANUP] done [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:59 16:07:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:59 latest: Pulling from edgex-lftools-log-publisher 16:07:59 5eb5b503b376: Pulling fs layer 16:07:59 5c69ac0246d0: Pulling fs layer 16:07:59 ec43610c2a17: Pulling fs layer 16:07:59 3a2ae6a8a46f: Pulling fs layer 16:07:59 33b1e0a273af: Pulling fs layer 16:07:59 5d3b04190fa2: Pulling fs layer 16:07:59 2f39f015ded8: Pulling fs layer 16:07:59 5d3b04190fa2: Waiting 16:07:59 33b1e0a273af: Waiting 16:07:59 2f39f015ded8: Waiting 16:07:59 3a2ae6a8a46f: Waiting 16:07:59 5c69ac0246d0: Download complete 16:07:59 3a2ae6a8a46f: Verifying Checksum 16:07:59 3a2ae6a8a46f: Download complete 16:07:59 33b1e0a273af: Verifying Checksum 16:07:59 33b1e0a273af: Download complete 16:07:59 5d3b04190fa2: Verifying Checksum 16:07:59 5d3b04190fa2: Download complete 16:07:59 ec43610c2a17: Verifying Checksum 16:07:59 ec43610c2a17: Download complete 16:07:59 5eb5b503b376: Verifying Checksum 16:07:59 5eb5b503b376: Download complete 16:08:00 2f39f015ded8: Verifying Checksum 16:08:00 2f39f015ded8: Download complete 16:08:01 5eb5b503b376: Pull complete 16:08:01 5c69ac0246d0: Pull complete 16:08:03 ec43610c2a17: Pull complete 16:08:03 3a2ae6a8a46f: Pull complete 16:08:03 33b1e0a273af: Pull complete 16:08:03 5d3b04190fa2: Pull complete 16:08:09 2f39f015ded8: Pull complete 16:08:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:08:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:09 prd-ubuntu20.04-docker-8c-8g-4839 does not seem to be running inside a container 16:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:08:11 $ docker top aeb979daf230b5399f4ce68d520a24c9f5c4aaf03dfc93a1ceca7baa0885bce7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:11 ---> job-cost.sh 16:08:11 lf-activate-venv: SKIPPING 16:08:11 INFO: No Stack... 16:08:11 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:12 INFO: Archiving Costs [Pipeline] sh 16:08:12 + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv 16:08:12 + cut -d, -f6 [Pipeline] lock 16:08:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-modbus-go-main-188-stack-cost] 16:08:12 Resource [jenkins-edgexfoundry-device-modbus-go-main-188-stack-cost] did not exist. Created. 16:08:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-modbus-go-main-188-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:12 /w/workspace/gexfoundry_device-modbus-go_main@tmp/durable-01a7a3ce/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:08:13 + echo total: 1.5299999713897705 [Pipeline] stash 16:08:13 Warning: overwriting stash ‘stack-cost’ 16:08:13 Stashed 1 file(s) [Pipeline] } 16:08:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-modbus-go-main-188-stack-cost] [Pipeline] // lock [Pipeline] } 16:08:13 $ docker stop --time=1 aeb979daf230b5399f4ce68d520a24c9f5c4aaf03dfc93a1ceca7baa0885bce7 16:08:14 $ docker rm -f --volumes aeb979daf230b5399f4ce68d520a24c9f5c4aaf03dfc93a1ceca7baa0885bce7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:08:14 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:08:15 + [ -d /w/workspace/gexfoundry_device-modbus-go_main/archives ] 16:08:15 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 16:08:15 total 16 16:08:15 drwxr-xr-x 3 root root 4096 Jul 9 16:08 . 16:08:15 drwxrwxr-x 10 jenkins jenkins 4096 Jul 9 16:08 .. 16:08:15 drwxr-xr-x 2 root root 4096 Jul 9 16:08 cost 16:08:15 -rw-r--r-- 1 root root 90 Jul 9 16:08 cost.csv 16:08:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives 16:08:15 + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives 16:08:15 total 16 16:08:15 drwxr-xr-x 3 jenkins jenkins 4096 Jul 9 16:08 . 16:08:15 drwxrwxr-x 10 jenkins jenkins 4096 Jul 9 16:08 .. 16:08:15 drwxr-xr-x 2 jenkins jenkins 4096 Jul 9 16:08 cost 16:08:15 -rw-r--r-- 1 jenkins jenkins 90 Jul 9 16:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:08:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:08:17 ---> package-listing.sh 16:08:17 ++ facter osfamily 16:08:17 ++ tr '[:upper:]' '[:lower:]' 16:08:17 + OS_FAMILY=debian 16:08:17 + workspace=/w/workspace/gexfoundry_device-modbus-go_main 16:08:17 + START_PACKAGES=/tmp/packages_start.txt 16:08:17 + END_PACKAGES=/tmp/packages_end.txt 16:08:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:08:17 + PACKAGES=/tmp/packages_start.txt 16:08:17 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 16:08:17 + PACKAGES=/tmp/packages_end.txt 16:08:17 + case "${OS_FAMILY}" in 16:08:17 + grep '^ii' 16:08:17 + dpkg -l 16:08:17 + '[' -f /tmp/packages_start.txt ']' 16:08:17 + '[' -f /tmp/packages_end.txt ']' 16:08:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:08:17 + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' 16:08:17 + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ 16:08:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo 16:08:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:08:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:18 prd-ubuntu20.04-docker-8c-8g-4839 does not seem to be running inside a container 16:08:18 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:08:18 $ docker top 61b3562f3810d5b5441d94390d165561f42835cdc2b0b543f322aeca53d76cbf -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:18 + touch /tmp/pre-build-complete [Pipeline] sh 16:08:19 + mkdir -p /var/log/sysstat [Pipeline] sh 16:08:19 + ls /var/log/sa-host 16:08:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:19 provisioning config files... 16:08:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3947672268585456327tmp [Pipeline] { [Pipeline] echo 16:08:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:08:19 ---> create-netrc.sh [Pipeline] } 16:08:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:08:20 ---> python-tools-install.sh [Pipeline] echo 16:08:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:08:20 ---> sudo-logs.sh 16:08:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:08:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:08:20 ---> job-cost.sh 16:08:20 lf-activate-venv: SKIPPING 16:08:20 DEBUG: total: 1.5299999713897705 16:08:20 INFO: Retrieving Stack Cost... 16:08:20 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:20 INFO: Archiving Costs [Pipeline] echo 16:08:20 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:08:21 ---> logs-deploy.sh 16:08:21 lf-activate-venv: SKIPPING 16:08:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/188 16:08:21 INFO: archiving workspace using pattern(s): 16:08:22 Archives upload complete. 16:08:22 INFO: archiving logs to Nexus