Pull request #43 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-s7 Obtained Jenkinsfile from 227f548c0ff0d4408ab12a4dc6612d6a56f3aeef+96f93deebf67b8f2132c972ae7ff84d2d3207260 (97264b95c15c1d852989cf146d39a2c5e21e2823) 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-ssh883156646585306958.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 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-ssh10090448889021174461.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 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-43/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-s7/branches/PR-43/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17593678477576871129.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7928b8837ad34b090831a72fcdf53bff9dae4c17 # timeout=10 Commit message: "Merge pull request #462 from cherrycl/skip-arm-c-sdk-2" > 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-ssh15702134096907988488.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-s7/branches/PR-43/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-s7/branches/PR-43/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14565634453055986836.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-s7] ========================================================= [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-s7-settings PROJECT: device-s7 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-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-40284’ Running on prd-ubuntu20.04-docker-8c-8g-40285 in /w/workspace/edgexfoundry_device-s7_PR-43 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-s7.git > git init /w/workspace/edgexfoundry_device-s7_PR-43 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.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-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 96f93deebf67b8f2132c972ae7ff84d2d3207260 into PR head commit 227f548c0ff0d4408ab12a4dc6612d6a56f3aeef Merge succeeded, producing 60594b461a3653723267fe890e0952a8fda712b3 Checking out Revision 60594b461a3653723267fe890e0952a8fda712b3 (PR-43) > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 227f548c0ff0d4408ab12a4dc6612d6a56f3aeef # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 96f93deebf67b8f2132c972ae7ff84d2d3207260 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 60594b461a3653723267fe890e0952a8fda712b3 # timeout=10 Commit message: "Merge commit '96f93deebf67b8f2132c972ae7ff84d2d3207260' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 7617b369c16f7a17d9c6c57c79e993933cc992bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:55:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:55:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:55:59 ========================================================= 09:55:59 EdgeX Global Pipelines Version Info 09:55:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:56:00 ------------------- 09:56:00 stable info: 09:56:00 ------------------- 09:56:00 Commited By: Cherry Wang cherry@iotechsys.com 09:56:00 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:56:00 Message: update stable to v1.0.269 09:56:00 ------------------- 09:56:00 experimental info: 09:56:00 ------------------- 09:56:00 Commited By: Ginny Guan ginny@iotechsys.com 09:56:00 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 09:56:00 Message: update experimental to stable [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:56:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 09:56:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 09:56:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:56:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:56:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:56:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:56:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-43 [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-43 [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-43 [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60594b461a3653723267fe890e0952a8fda712b3 [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60594b4 [Pipeline] echo 09:56:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:56:01 provisioning config files... 09:56:01 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config15379100883523292763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:56:02 ---> ****-login.sh 09:56:02 nexus3.edgexfoundry.org:10001 09:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:02 Configure a credential helper to remove this warning. See 09:56:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:02 09:56:02 Login Succeeded 09:56:02 nexus3.edgexfoundry.org:10002 09:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:02 Configure a credential helper to remove this warning. See 09:56:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:02 09:56:02 Login Succeeded 09:56:02 nexus3.edgexfoundry.org:10003 09:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:02 Configure a credential helper to remove this warning. See 09:56:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:02 09:56:02 Login Succeeded 09:56:02 nexus3.edgexfoundry.org:10004 09:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:02 Configure a credential helper to remove this warning. See 09:56:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:02 09:56:02 Login Succeeded 09:56:02 ****.io 09:56:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:02 Configure a credential helper to remove this warning. See 09:56:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:02 09:56:02 Login Succeeded 09:56:02 ---> ****-login.sh ends [Pipeline] } 09:56:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:56:03 + git rev-list -1 --merges 60594b461a3653723267fe890e0952a8fda712b3~1..60594b461a3653723267fe890e0952a8fda712b3 [Pipeline] echo 09:56:03 -----------> git rev-list -1 --merges 60594b461a3653723267fe890e0952a8fda712b3~1..60594b461a3653723267fe890e0952a8fda712b3 60594b461a3653723267fe890e0952a8fda712b3 09:56:03 60594b461a3653723267fe890e0952a8fda712b3 [false] [Pipeline] sh 09:56:03 + git log --format=format:%s -1 60594b461a3653723267fe890e0952a8fda712b3 [Pipeline] echo 09:56:03 ========================================================= 09:56:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:56:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:56:03 + git log --format=format:%s -1 60594b461a3653723267fe890e0952a8fda712b3 [Pipeline] echo 09:56:03 [semverPrep] GIT_COMMIT: 60594b461a3653723267fe890e0952a8fda712b3, Commit Message: Merge commit '96f93deebf67b8f2132c972ae7ff84d2d3207260' into HEAD [Pipeline] echo 09:56:03 [semverPrep] This is not a build commit. [Pipeline] sh 09:56:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:56:04 + grep -v github /etc/ssh/ssh_known_hosts 09:56:04 + [ -e /tmp/ssh_known_hosts ] 09:56:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:56:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:56:04 + sudo tee -a /etc/ssh/ssh_known_hosts 09:56:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:56:04 09:56:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:56:04 0.1.4: Pulling from edgex-devops/py-git-semver 09:56:04 b85a868b505f: Pulling fs layer 09:56:04 e2be974225ed: Pulling fs layer 09:56:04 339a4e72a1f5: Pulling fs layer 09:56:04 988bab9f4d93: Pulling fs layer 09:56:04 1469e6f7b9e6: Pulling fs layer 09:56:04 eaf3925da568: Pulling fs layer 09:56:04 bab4dde63d76: Pulling fs layer 09:56:04 bde34c3a00c8: Pulling fs layer 09:56:04 b352a97aabf1: Pulling fs layer 09:56:04 4872d77fe225: Pulling fs layer 09:56:04 5851b861e8e6: Pulling fs layer 09:56:04 bab4dde63d76: Waiting 09:56:04 bde34c3a00c8: Waiting 09:56:04 b352a97aabf1: Waiting 09:56:04 4872d77fe225: Waiting 09:56:04 5851b861e8e6: Waiting 09:56:04 988bab9f4d93: Waiting 09:56:04 1469e6f7b9e6: Waiting 09:56:04 eaf3925da568: Waiting 09:56:04 e2be974225ed: Download complete 09:56:04 988bab9f4d93: Verifying Checksum 09:56:04 988bab9f4d93: Download complete 09:56:04 1469e6f7b9e6: Verifying Checksum 09:56:04 1469e6f7b9e6: Download complete 09:56:04 eaf3925da568: Verifying Checksum 09:56:04 eaf3925da568: Download complete 09:56:05 339a4e72a1f5: Verifying Checksum 09:56:05 339a4e72a1f5: Download complete 09:56:05 bde34c3a00c8: Download complete 09:56:05 b352a97aabf1: Verifying Checksum 09:56:05 b352a97aabf1: Download complete 09:56:05 4872d77fe225: Verifying Checksum 09:56:05 4872d77fe225: Download complete 09:56:05 5851b861e8e6: Verifying Checksum 09:56:05 5851b861e8e6: Download complete 09:56:05 b85a868b505f: Verifying Checksum 09:56:05 b85a868b505f: Download complete 09:56:05 bab4dde63d76: Verifying Checksum 09:56:05 bab4dde63d76: Download complete 09:56:06 b85a868b505f: Pull complete 09:56:06 e2be974225ed: Pull complete 09:56:07 339a4e72a1f5: Pull complete 09:56:07 988bab9f4d93: Pull complete 09:56:07 1469e6f7b9e6: Pull complete 09:56:07 eaf3925da568: Pull complete 09:56:09 bab4dde63d76: Pull complete 09:56:09 bde34c3a00c8: Pull complete 09:56:09 b352a97aabf1: Pull complete 09:56:09 4872d77fe225: Pull complete 09:56:09 5851b861e8e6: Pull complete 09:56:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:56:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:56:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:10 prd-ubuntu20.04-docker-8c-8g-40285 does not seem to be running inside a container 09:56:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:56:11 $ docker top 5bbb4f6ad87a998f1d4c27388a5c549201589df26a16afeb998ce1cc3d6b03ab -eo pid,comm 09:56:11 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). 09:56:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:56:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:56:11 [ssh-agent] Looking for ssh-agent implementation... 09:56:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:56:11 $ docker exec 5bbb4f6ad87a998f1d4c27388a5c549201589df26a16afeb998ce1cc3d6b03ab ssh-agent 09:56:11 SSH_AUTH_SOCK=/tmp/ssh-mSd6SZT3zbTd/agent.33 09:56:11 SSH_AGENT_PID=39 09:56:11 Running ssh-add (command line suppressed) 09:56:12 Identity added: /w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_12909084797320252489.key (/w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_12909084797320252489.key) 09:56:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:56:12 + git tag --points-at HEAD [Pipeline] } 09:56:12 $ docker exec --env ******** --env ******** 5bbb4f6ad87a998f1d4c27388a5c549201589df26a16afeb998ce1cc3d6b03ab ssh-agent -k 09:56:12 unset SSH_AUTH_SOCK; 09:56:12 unset SSH_AGENT_PID; 09:56:12 echo Agent pid 39 killed; 09:56:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:56:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:56:12 [ssh-agent] Looking for ssh-agent implementation... 09:56:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:56:12 $ docker exec 5bbb4f6ad87a998f1d4c27388a5c549201589df26a16afeb998ce1cc3d6b03ab ssh-agent 09:56:12 SSH_AUTH_SOCK=/tmp/ssh-U76qYErjJ5nN/agent.73 09:56:12 SSH_AGENT_PID=79 09:56:12 Running ssh-add (command line suppressed) 09:56:12 Identity added: /w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_13611094801228443962.key (/w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_13611094801228443962.key) 09:56:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:56:13 + git semver init 09:56:13 2025-03-05 09:56:13,318 [run_init] DEBUG init version:0.0.0 force:False 09:56:13 2025-03-05 09:56:13,319 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-43/.semver 09:56:13 2025-03-05 09:56:13,320 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-43/.semver 09:56:13 2025-03-05 09:56:13,320 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-43/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-43, universal_newlines=False, shell=None, istream=None) 09:56:13 2025-03-05 09:56:13,917 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-43/.git/info/exclude 09:56:13 2025-03-05 09:56:13,918 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-43/.semver/PR-43 with force:False 09:56:13 2025-03-05 09:56:13,918 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-43/.semver/PR-43 09:56:13 2025-03-05 09:56:13,922 [execute] INFO git cat-file --batch-check 09:56:13 2025-03-05 09:56:13,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-43/.semver, universal_newlines=False, shell=None, istream=) 09:56:13 2025-03-05 09:56:13,928 [execute] INFO git cat-file --batch 09:56:13 2025-03-05 09:56:13,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-43/.semver, universal_newlines=False, shell=None, istream=) 09:56:13 2025-03-05 09:56:13,933 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-43/.semver/PR-43 09:56:13 0.0.0 [Pipeline] } 09:56:13 $ docker exec --env ******** --env ******** 5bbb4f6ad87a998f1d4c27388a5c549201589df26a16afeb998ce1cc3d6b03ab ssh-agent -k 09:56:14 unset SSH_AUTH_SOCK; 09:56:14 unset SSH_AGENT_PID; 09:56:14 echo Agent pid 79 killed; 09:56:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:56:14 + git semver [Pipeline] } 09:56:14 $ docker stop --time=1 5bbb4f6ad87a998f1d4c27388a5c549201589df26a16afeb998ce1cc3d6b03ab 09:56:16 $ docker rm -f --volumes 5bbb4f6ad87a998f1d4c27388a5c549201589df26a16afeb998ce1cc3d6b03ab [Pipeline] // withDockerContainer [Pipeline] sh 09:56:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:56:16 Stashed 1 file(s) [Pipeline] echo 09:56:16 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:56:16 provisioning config files... [Pipeline] // stage [Pipeline] } 09:56:16 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config2271250498909966709tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 09:56:17 ---> ****-login.sh 09:56:17 nexus3.edgexfoundry.org:10001 09:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:17 Configure a credential helper to remove this warning. See 09:56:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:17 09:56:17 Login Succeeded 09:56:17 nexus3.edgexfoundry.org:10002 09:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:17 Configure a credential helper to remove this warning. See 09:56:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:17 09:56:17 Login Succeeded 09:56:17 nexus3.edgexfoundry.org:10003 09:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:17 Configure a credential helper to remove this warning. See 09:56:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:17 09:56:17 Login Succeeded 09:56:17 nexus3.edgexfoundry.org:10004 09:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:17 Configure a credential helper to remove this warning. See 09:56:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:17 09:56:17 Login Succeeded 09:56:17 ****.io 09:56:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:56:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:56:17 Configure a credential helper to remove this warning. See 09:56:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:56:17 09:56:17 Login Succeeded 09:56:17 ---> ****-login.sh ends [Pipeline] } 09:56:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:56:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:56:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:56:18 ========================================================= 09:56:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:56:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:18 + 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 . 09:56:18 Sending build context to Docker daemon 816.1kB 09:56:18 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:56:18 Step 2/10 : FROM ${BASE} AS builder 09:56:18 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:56:18 da9db072f522: Pulling fs layer 09:56:18 6ef4a4ee8ca5: Pulling fs layer 09:56:18 06f05ace1117: Pulling fs layer 09:56:18 5fe327b54edc: Pulling fs layer 09:56:18 4f4fb700ef54: Pulling fs layer 09:56:18 92a5565b7b96: Pulling fs layer 09:56:18 ff9bb7016b71: Pulling fs layer 09:56:18 b67dba6c2c7d: Pulling fs layer 09:56:18 a813b0c90790: Pulling fs layer 09:56:18 4f4fb700ef54: Waiting 09:56:18 92a5565b7b96: Waiting 09:56:18 5fe327b54edc: Waiting 09:56:18 b67dba6c2c7d: Waiting 09:56:18 ff9bb7016b71: Waiting 09:56:18 a813b0c90790: Waiting 09:56:18 6ef4a4ee8ca5: Download complete 09:56:18 5fe327b54edc: Verifying Checksum 09:56:18 5fe327b54edc: Download complete 09:56:18 4f4fb700ef54: Verifying Checksum 09:56:18 4f4fb700ef54: Download complete 09:56:18 92a5565b7b96: Download complete 09:56:18 da9db072f522: Verifying Checksum 09:56:18 da9db072f522: Download complete 09:56:18 ff9bb7016b71: Download complete 09:56:18 da9db072f522: Pull complete 09:56:19 a813b0c90790: Verifying Checksum 09:56:19 a813b0c90790: Download complete 09:56:19 6ef4a4ee8ca5: Pull complete 09:56:19 06f05ace1117: Verifying Checksum 09:56:19 06f05ace1117: Download complete 09:56:19 b67dba6c2c7d: Verifying Checksum 09:56:19 b67dba6c2c7d: Download complete 09:56:22 06f05ace1117: Pull complete 09:56:22 5fe327b54edc: Pull complete 09:56:22 4f4fb700ef54: Pull complete 09:56:22 92a5565b7b96: Pull complete 09:56:22 ff9bb7016b71: Pull complete 09:56:25 b67dba6c2c7d: Pull complete 09:56:26 a813b0c90790: Pull complete 09:56:26 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 09:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:56:26 ---> 3ba60ce46760 09:56:26 Step 3/10 : ARG MAKE=make build 09:56:27 ---> Running in 11957d4bcdcf 09:56:27 Removing intermediate container 11957d4bcdcf 09:56:27 ---> a25c943049d4 09:56:27 Step 4/10 : WORKDIR /device-s7 09:56:27 ---> Running in 295855c42eeb 09:56:27 Removing intermediate container 295855c42eeb 09:56:27 ---> 717a81cc0f20 09:56:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:56:27 ---> Running in 01cd43c918ef 09:56:27 Removing intermediate container 01cd43c918ef 09:56:27 ---> 61b8636a5549 09:56:27 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 09:56:27 ---> Running in 23ba7315e6eb 09:56:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:56:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:56:28 OK: 248 MiB in 58 packages 09:56:28 Removing intermediate container 23ba7315e6eb 09:56:28 ---> 5dfab4b91924 09:56:28 Step 7/10 : COPY go.mod vendor* ./ 09:56:28 ---> 21e99a40b3f4 09:56:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:56:28 ---> Running in fcfc79bd9695 09:57:00 Removing intermediate container fcfc79bd9695 09:57:00 ---> c63f715b9d24 09:57:00 Step 9/10 : COPY . . 09:57:00 ---> b38eb276a6b7 09:57:00 Step 10/10 : RUN ${MAKE} 09:57:00 ---> Running in 1b6c4adbaa85 09:57:00 noop 09:57:01 Removing intermediate container 1b6c4adbaa85 09:57:01 ---> 1053435e5da7 09:57:01 Successfully built 1053435e5da7 09:57:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:01 + docker inspect -f . ci-base-image-x86_64 09:57:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:01 prd-ubuntu20.04-docker-8c-8g-40285 does not seem to be running inside a container 09:57:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:57:01 $ docker top 75bdaddb3ad4b02eec2c06ce56b50feac63efea3ab59706f3670bd434afbb8d1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:57:02 + go version 09:57:02 go version go1.23.4 linux/amd64 [Pipeline] } 09:57:02 $ docker stop --time=1 75bdaddb3ad4b02eec2c06ce56b50feac63efea3ab59706f3670bd434afbb8d1 09:57:03 $ docker rm -f --volumes 75bdaddb3ad4b02eec2c06ce56b50feac63efea3ab59706f3670bd434afbb8d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:04 + docker inspect -f . ci-base-image-x86_64 09:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:04 prd-ubuntu20.04-docker-8c-8g-40285 does not seem to be running inside a container 09:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:57:04 $ docker top 7012c490b04e1eb265249474a96bf479c653d734adbf248aa84150903edefbf5 -eo pid,comm [Pipeline] { [Pipeline] sh 09:57:04 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-43 [Pipeline] fileExists [Pipeline] sh 09:57:05 + make test 09:57:05 go test -race -coverprofile=coverage.out ./... 09:57:13 ? github.com/edgexfoundry/device-s7 [no test files] 09:57:35 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 09:57:36 ok github.com/edgexfoundry/device-s7/internal/driver 1.022s coverage: 6.8% of statements 09:58:08 go vet ./... 09:58:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:58:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:58:15 ./bin/test-attribution-txt.sh [Pipeline] echo 09:58:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:58:15 $ docker stop --time=1 7012c490b04e1eb265249474a96bf479c653d734adbf248aa84150903edefbf5 09:58:17 $ docker rm -f --volumes 7012c490b04e1eb265249474a96bf479c653d734adbf248aa84150903edefbf5 [Pipeline] // withDockerContainer [Pipeline] sh 09:58:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:58:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:58:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:58:18 + ls -al . 09:58:18 total 220 09:58:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 09:57 . 09:58:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 5 09:55 .. 09:58:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 5 09:57 .git 09:58:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 09:55 .github 09:58:18 -rw-rw-r-- 1 jenkins jenkins 237 Mar 5 09:55 .gitignore 09:58:18 -rw-rw-r-- 1 jenkins jenkins 42 Mar 5 09:55 .golangci.yml 09:58:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 09:56 .semver 09:58:18 -rw-rw-r-- 1 jenkins jenkins 19679 Mar 5 09:55 Attribution.txt 09:58:18 -rw-rw-r-- 1 jenkins jenkins 1668 Mar 5 09:55 CHANGLOG.md 09:58:18 -rw-rw-r-- 1 jenkins jenkins 1579 Mar 5 09:55 Dockerfile 09:58:18 -rw-rw-r-- 1 jenkins jenkins 643 Mar 5 09:55 Jenkinsfile 09:58:18 -rw-rw-r-- 1 jenkins jenkins 10947 Mar 5 09:55 LICENSE 09:58:18 -rw-rw-r-- 1 jenkins jenkins 1903 Mar 5 09:55 Makefile 09:58:18 -rw-rw-r-- 1 jenkins jenkins 614 Mar 5 09:55 OWNERS.md 09:58:18 -rw-rw-r-- 1 jenkins jenkins 2393 Mar 5 09:55 README.md 09:58:18 -rw-rw-r-- 1 jenkins jenkins 5 Mar 5 09:56 VERSION 09:58:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 5 09:55 bin 09:58:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 09:55 cmd 09:58:18 -rw-r--r-- 1 jenkins jenkins 19094 Mar 5 09:57 coverage.out 09:58:18 -rw-rw-r-- 1 jenkins jenkins 6121 Mar 5 09:55 go.mod 09:58:18 -rw-rw-r-- 1 jenkins jenkins 86851 Mar 5 09:55 go.sum 09:58:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 5 09:55 internal 09:58:18 -rw-rw-r-- 1 jenkins jenkins 223 Mar 5 09:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:19 + docker build -t device-s7 -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=60594b461a3653723267fe890e0952a8fda712b3 --label arch=amd64 --label version=0.0.0 . 09:58:19 Sending build context to Docker daemon 836.1kB 09:58:19 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:58:19 Step 2/24 : FROM ${BASE} AS builder 09:58:19 ---> 1053435e5da7 09:58:19 Step 3/24 : ARG MAKE=make build 09:58:19 ---> Running in 95af13caf9d9 09:58:19 Removing intermediate container 95af13caf9d9 09:58:19 ---> ba7e3f423534 09:58:19 Step 4/24 : WORKDIR /device-s7 09:58:19 ---> Running in 92c2b8514c4b 09:58:19 Removing intermediate container 92c2b8514c4b 09:58:19 ---> 36259257a108 09:58:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:58:19 ---> Running in dcf6e358fc1a 09:58:19 Removing intermediate container dcf6e358fc1a 09:58:19 ---> e1e6f175eb2c 09:58:19 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 09:58:19 ---> Running in adaf56a53b1b 09:58:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:58:20 OK: 248 MiB in 58 packages 09:58:20 Removing intermediate container adaf56a53b1b 09:58:20 ---> 617e951d05b7 09:58:20 Step 7/24 : COPY go.mod vendor* ./ 09:58:20 ---> e22d2e3b3845 09:58:20 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:58:20 ---> Running in f45c8c56b425 09:58:21 Removing intermediate container f45c8c56b425 09:58:21 ---> 09aa1a1c82cb 09:58:21 Step 9/24 : COPY . . 09:58:21 ---> 146a2c0a88fb 09:58:21 Step 10/24 : RUN ${MAKE} 09:58:21 ---> Running in 2676f330206b 09:58:21 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 09:58:54 Removing intermediate container 2676f330206b 09:58:54 ---> 8cf9783056c3 09:58:54 Step 11/24 : FROM alpine:3.20 09:58:54 3.20: Pulling from library/alpine 09:58:54 0a9a5dfd008f: Pulling fs layer 09:58:54 0a9a5dfd008f: Verifying Checksum 09:58:54 0a9a5dfd008f: Download complete 09:58:54 0a9a5dfd008f: Pull complete 09:58:54 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 09:58:54 Status: Downloaded newer image for alpine:3.20 09:58:54 ---> ff221270b9fb 09:58:54 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:58:54 ---> Running in f55c03e70b9f 09:58:54 Removing intermediate container f55c03e70b9f 09:58:54 ---> 822ab5b3ea04 09:58:54 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:58:54 ---> Running in 2210c33d1a56 09:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:58:54 (1/1) Installing dumb-init (1.2.5-r3) 09:58:54 Executing busybox-1.36.1-r29.trigger 09:58:54 OK: 8 MiB in 15 packages 09:58:54 Removing intermediate container 2210c33d1a56 09:58:54 ---> ca5d240451c1 09:58:54 Step 14/24 : RUN apk --no-cache upgrade 09:58:54 ---> Running in 6b8b3e1df678 09:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:58:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:58:54 OK: 8 MiB in 15 packages 09:58:54 Removing intermediate container 6b8b3e1df678 09:58:54 ---> 623d66d601c0 09:58:54 Step 15/24 : WORKDIR / 09:58:54 ---> Running in 8575551426bc 09:58:55 Removing intermediate container 8575551426bc 09:58:55 ---> 9236153c393b 09:58:55 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 09:58:55 ---> 21e7a12d6413 09:58:55 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 09:58:56 ---> d7939f8ba088 09:58:56 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 09:58:56 ---> 33be4f26f575 09:58:56 Step 19/24 : EXPOSE 59994 09:58:56 ---> Running in bbd6606aaaf6 09:58:56 Removing intermediate container bbd6606aaaf6 09:58:56 ---> 77b4a1dbc31b 09:58:56 Step 20/24 : ENTRYPOINT ["/device-s7"] 09:58:56 ---> Running in 7117fa0f73e9 09:58:56 Removing intermediate container 7117fa0f73e9 09:58:56 ---> 0ab0f2385e7e 09:58:56 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 09:58:56 ---> Running in a1336fcd19e5 09:58:56 Removing intermediate container a1336fcd19e5 09:58:56 ---> bc717bd8f384 09:58:56 Step 22/24 : LABEL arch=amd64 09:58:56 ---> Running in c5456f43bdd2 09:58:56 Removing intermediate container c5456f43bdd2 09:58:56 ---> edffd3eb55e7 09:58:56 Step 23/24 : LABEL git_sha=60594b461a3653723267fe890e0952a8fda712b3 09:58:56 ---> Running in 2d016d292ef7 09:58:56 Removing intermediate container 2d016d292ef7 09:58:56 ---> 846c22392162 09:58:56 Step 24/24 : LABEL version=0.0.0 09:58:56 ---> Running in 06100a5277ea 09:58:56 Removing intermediate container 06100a5277ea 09:58:56 ---> f035a0b0c99b 09:58:56 [Warning] One or more build-args [ARCH] were not consumed 09:58:56 Successfully built f035a0b0c99b 09:58:56 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:58:57 09:58:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:58:57 latest: Pulling from edgex-lftools-log-publisher 09:58:57 5eb5b503b376: Pulling fs layer 09:58:57 5c69ac0246d0: Pulling fs layer 09:58:57 ec43610c2a17: Pulling fs layer 09:58:57 3a2ae6a8a46f: Pulling fs layer 09:58:57 33b1e0a273af: Pulling fs layer 09:58:57 5d3b04190fa2: Pulling fs layer 09:58:57 2f39f015ded8: Pulling fs layer 09:58:57 33b1e0a273af: Waiting 09:58:57 5d3b04190fa2: Waiting 09:58:57 3a2ae6a8a46f: Waiting 09:58:57 5c69ac0246d0: Download complete 09:58:57 3a2ae6a8a46f: Verifying Checksum 09:58:57 3a2ae6a8a46f: Download complete 09:58:57 33b1e0a273af: Verifying Checksum 09:58:57 33b1e0a273af: Download complete 09:58:57 ec43610c2a17: Verifying Checksum 09:58:57 ec43610c2a17: Download complete 09:58:57 5d3b04190fa2: Verifying Checksum 09:58:57 5d3b04190fa2: Download complete 09:58:57 5eb5b503b376: Verifying Checksum 09:58:57 5eb5b503b376: Download complete 09:58:58 2f39f015ded8: Download complete 09:58:59 5eb5b503b376: Pull complete 09:58:59 5c69ac0246d0: Pull complete 09:58:59 ec43610c2a17: Pull complete 09:58:59 3a2ae6a8a46f: Pull complete 09:58:59 33b1e0a273af: Pull complete 09:59:00 5d3b04190fa2: Pull complete 09:59:04 2f39f015ded8: Pull complete 09:59:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:59:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:04 prd-ubuntu20.04-docker-8c-8g-40285 does not seem to be running inside a container 09:59:04 $ 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/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:59:05 $ docker top 2299d8fb86fcb599bd47a978d77837f2d786d6a9806dca558c36a22977eaea6e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:59:06 ---> job-cost.sh 09:59:06 lf-activate-venv: SKIPPING 09:59:06 INFO: No Stack... 09:59:06 INFO: Retrieving Pricing Info for: v3-standard-8 09:59:06 INFO: Archiving Costs [Pipeline] sh 09:59:07 + cat /w/workspace/edgexfoundry_device-s7_PR-43/archives/cost.csv 09:59:07 + cut -d, -f6 [Pipeline] lock 09:59:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-43-5-stack-cost] 09:59:07 Resource [jenkins-edgexfoundry-device-s7-PR-43-5-stack-cost] did not exist. Created. 09:59:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-43-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:59:07 + echo total: 0.2199999988079071 [Pipeline] stash 09:59:07 Stashed 1 file(s) [Pipeline] } 09:59:07 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-43-5-stack-cost] [Pipeline] // lock [Pipeline] } 09:59:07 $ docker stop --time=1 2299d8fb86fcb599bd47a978d77837f2d786d6a9806dca558c36a22977eaea6e 09:59:08 $ docker rm -f --volumes 2299d8fb86fcb599bd47a978d77837f2d786d6a9806dca558c36a22977eaea6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:59:09 provisioning config files... 09:59:09 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config3413426623872689983tmp [Pipeline] { [Pipeline] sh 09:59:09 + set +x 09:59:09 + curl -s https://codecov.io/bash 09:59:09 + bash -s -- 09:59:09 09:59:09 _____ _ 09:59:09 / ____| | | 09:59:09 | | ___ __| | ___ ___ _____ __ 09:59:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:59:09 | |___| (_) | (_| | __/ (_| (_) \ V / 09:59:09 \_____\___/ \__,_|\___|\___\___/ \_/ 09:59:09 Bash-1.0.6 09:59:09 09:59:09 09:59:09 ==> git version 2.25.1 found 09:59:09 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 09:59:09 Release-Date: 2020-01-08 09:59:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:59:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:59:09 ==> Jenkins CI detected. 09:59:09 current dir:  /w/workspace/edgexfoundry_device-s7_PR-43 09:59:09 project root: . 09:59:09 --> token set from env 09:59:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:59:09 ==> Running gcov in . (disable via -X gcov) 09:59:09 ==> Python coveragepy not found 09:59:09 ==> Searching for coverage reports in: 09:59:09 + . 09:59:09 -> Found 1 reports 09:59:09 ==> Detecting git/mercurial file structure 09:59:09 ==> Reading reports 09:59:09 + ./coverage.out bytes=19094 09:59:09 ==> Appending adjustments 09:59:09 https://docs.codecov.io/docs/fixing-reports 09:59:09 + Found adjustments 09:59:09 ==> Gzipping contents 09:59:09 4.0K /tmp/codecov.AWWZsL.gz 09:59:09 ==> Uploading reports 09:59:09 url: https://codecov.io 09:59:09 query: branch=PR-43&commit=60594b461a3653723267fe890e0952a8fda712b3&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-43%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=43&job=&cmd_args= 09:59:09 -> Pinging Codecov 09:59:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-43&commit=60594b461a3653723267fe890e0952a8fda712b3&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-43%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=43&job=&cmd_args= 09:59:10 -> Uploading to 09:59:10 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/60594b461a3653723267fe890e0952a8fda712b3/5e75b655-240a-4133-b42f-1352a7ecc33a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250305%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250305T095909Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=ad80d9f921272e3e8fb4320dda5df27aeb2cbd2765014300aab55cbd8ddb8dab 09:59:10 % Total % Received % Xferd Average Speed Time Time Time Current 09:59:10 Dload Upload Total Spent Left Speed 09:59:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2849 0 0 100 2849 0 9402 --:--:-- --:--:-- --:--:-- 9433 09:59:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/60594b461a3653723267fe890e0952a8fda712b3 [Pipeline] } 09:59:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:59:11 + [ -d /w/workspace/edgexfoundry_device-s7_PR-43/archives ] 09:59:11 + ls -al /w/workspace/edgexfoundry_device-s7_PR-43/archives 09:59:11 total 16 09:59:11 drwxr-xr-x 3 root root 4096 Mar 5 09:59 . 09:59:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 09:59 .. 09:59:11 drwxr-xr-x 2 root root 4096 Mar 5 09:59 cost 09:59:11 -rw-r--r-- 1 root root 80 Mar 5 09:59 cost.csv 09:59:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-43/archives 09:59:11 + ls -al /w/workspace/edgexfoundry_device-s7_PR-43/archives 09:59:11 total 16 09:59:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 5 09:59 . 09:59:11 drwxrwxr-x 9 jenkins jenkins 4096 Mar 5 09:59 .. 09:59:11 drwxr-xr-x 2 jenkins jenkins 4096 Mar 5 09:59 cost 09:59:11 -rw-r--r-- 1 jenkins jenkins 80 Mar 5 09:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:59:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:59:12 ---> package-listing.sh 09:59:12 ++ facter osfamily 09:59:12 ++ tr '[:upper:]' '[:lower:]' 09:59:12 + OS_FAMILY=debian 09:59:12 + workspace=/w/workspace/edgexfoundry_device-s7_PR-43 09:59:12 + START_PACKAGES=/tmp/packages_start.txt 09:59:12 + END_PACKAGES=/tmp/packages_end.txt 09:59:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:59:12 + PACKAGES=/tmp/packages_start.txt 09:59:12 + '[' /w/workspace/edgexfoundry_device-s7_PR-43 ']' 09:59:12 + PACKAGES=/tmp/packages_end.txt 09:59:12 + case "${OS_FAMILY}" in 09:59:12 + dpkg -l 09:59:12 + grep '^ii' 09:59:12 + '[' -f /tmp/packages_start.txt ']' 09:59:12 + '[' -f /tmp/packages_end.txt ']' 09:59:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:59:12 + '[' /w/workspace/edgexfoundry_device-s7_PR-43 ']' 09:59:12 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-43/archives/ 09:59:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-43/archives/ [Pipeline] echo 09:59:12 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/edgexfoundry_device-s7_PR-43/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:59:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:59:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:13 prd-ubuntu20.04-docker-8c-8g-40285 does not seem to be running inside a container 09:59:13 $ 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/edgexfoundry_device-s7_PR-43/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:59:13 $ docker top 03e90860f338cc4cb3132c7ea0c0484be323882487fceae54e85b6acd59cc6e9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:59:14 + touch /tmp/pre-build-complete [Pipeline] sh 09:59:14 + mkdir -p /var/log/sysstat [Pipeline] sh 09:59:14 + ls /var/log/sa-host 09:59:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:59:14 provisioning config files... 09:59:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config1241386550319410655tmp [Pipeline] { [Pipeline] echo 09:59:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:59:15 ---> create-netrc.sh [Pipeline] } 09:59:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:59:15 ---> python-tools-install.sh [Pipeline] echo 09:59:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:59:15 ---> sudo-logs.sh 09:59:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:59:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:59:16 ---> job-cost.sh 09:59:16 lf-activate-venv: SKIPPING 09:59:16 DEBUG: total: 0.2199999988079071 09:59:16 INFO: Retrieving Stack Cost... 09:59:16 INFO: Retrieving Pricing Info for: v3-standard-8 09:59:16 INFO: Archiving Costs [Pipeline] echo 09:59:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:59:16 ---> logs-deploy.sh 09:59:16 lf-activate-venv: SKIPPING 09:59:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-43/5 09:59:16 INFO: archiving workspace using pattern(s): 09:59:17 Archives upload complete. 09:59:17 INFO: archiving logs to Nexus 09:59:18 ---> uname -a: 09:59:18 Linux prd-ubuntu20-04-docker-8c-8g-40285 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 09:59:18 09:59:18 09:59:18 ---> lscpu: 09:59:18 Architecture: x86_64 09:59:18 CPU op-mode(s): 32-bit, 64-bit 09:59:18 Byte Order: Little Endian 09:59:18 Address sizes: 40 bits physical, 48 bits virtual 09:59:18 CPU(s): 8 09:59:18 On-line CPU(s) list: 0-7 09:59:18 Thread(s) per core: 1 09:59:18 Core(s) per socket: 1 09:59:18 Socket(s): 8 09:59:18 NUMA node(s): 1 09:59:18 Vendor ID: AuthenticAMD 09:59:18 CPU family: 23 09:59:18 Model: 49 09:59:18 Model name: AMD EPYC-Rome Processor 09:59:18 Stepping: 0 09:59:18 CPU MHz: 2799.996 09:59:18 BogoMIPS: 5599.99 09:59:18 Virtualization: AMD-V 09:59:18 Hypervisor vendor: KVM 09:59:18 Virtualization type: full 09:59:18 L1d cache: 256 KiB 09:59:18 L1i cache: 256 KiB 09:59:18 L2 cache: 4 MiB 09:59:18 L3 cache: 128 MiB 09:59:18 NUMA node0 CPU(s): 0-7 09:59:18 Vulnerability Itlb multihit: Not affected 09:59:18 Vulnerability L1tf: Not affected 09:59:18 Vulnerability Mds: Not affected 09:59:18 Vulnerability Meltdown: Not affected 09:59:18 Vulnerability Mmio stale data: Not affected 09:59:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 09:59:18 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 09:59:18 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 09:59:18 Vulnerability Srbds: Not affected 09:59:18 Vulnerability Tsx async abort: Not affected 09:59:18 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 rep_good nopl cpuid extd_apicid tsc_known_freq 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 ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 09:59:18 09:59:18 09:59:18 ---> nproc: 09:59:18 8 09:59:18 09:59:18 09:59:18 ---> df -h: 09:59:18 Filesystem Size Used Avail Use% Mounted on 09:59:18 overlay 155G 12G 144G 8% / 09:59:18 tmpfs 64M 0 64M 0% /dev 09:59:18 tmpfs 16G 0 16G 0% /sys/fs/cgroup 09:59:18 shm 64M 0 64M 0% /dev/shm 09:59:18 /dev/vda1 155G 12G 144G 8% /facter-os 09:59:18 09:59:18 09:59:18 ---> sar -b -r -n DEV: 09:59:18 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40285) 03/05/25 _x86_64_ (8 CPU) 09:59:18 09:59:18 09:55:21 LINUX RESTART (8 CPU) 09:59:18 09:59:18 09:56:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 09:59:18 09:57:01 359.50 9.13 350.36 0.00 576.31 112667.55 0.00 09:59:18 09:58:01 42.29 0.08 42.20 0.00 12.00 12326.16 0.00 09:59:18 09:59:01 177.72 0.17 177.55 0.00 4.80 51617.68 0.00 09:59:18 Average: 192.23 3.09 189.14 0.00 195.58 58567.39 0.00 09:59:18 09:59:18 09:56:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 09:59:18 09:57:01 28072824 31521468 784860 2.39 182504 3426916 1944760 5.73 1138560 3159848 76 09:59:18 09:58:01 26626392 30953724 1343320 4.09 187580 4222068 2417912 7.13 1829508 3826372 482760 09:59:18 09:59:01 27159976 31502460 796596 2.42 194164 4242400 2079412 6.13 1379936 3755556 356096 09:59:18 Average: 27286397 31325884 974925 2.96 188083 3963795 2147361 6.33 1449335 3580592 279644 09:59:18 09:59:18 09:56:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 09:59:18 09:57:01 lo 6.03 6.03 0.60 0.60 0.00 0.00 0.00 0.00 09:59:18 09:57:01 docker0 299.47 477.58 25.58 2998.32 0.00 0.00 0.00 0.00 09:59:18 09:57:01 ens3 715.27 446.33 7999.17 64.18 0.00 0.00 0.00 0.00 09:59:18 09:58:01 vethf2520c4 0.00 0.22 0.00 0.02 0.00 0.00 0.00 0.00 09:59:18 09:58:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 09:59:18 09:58:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 09:59:18 09:58:01 ens3 33.06 18.94 31.97 13.08 0.00 0.00 0.00 0.00 09:59:18 09:59:01 lo 1.80 1.80 0.19 0.19 0.00 0.00 0.00 0.00 09:59:18 09:59:01 docker0 4.48 8.95 0.27 115.08 0.00 0.00 0.00 0.00 09:59:18 09:59:01 ens3 120.86 70.15 2703.65 15.61 0.00 0.00 0.00 0.00 09:59:18 Average: lo 2.66 2.66 0.26 0.26 0.00 0.00 0.00 0.00 09:59:18 Average: docker0 100.21 160.44 8.52 1026.79 0.00 0.00 0.00 0.00 09:59:18 Average: ens3 287.34 176.97 3553.37 30.77 0.00 0.00 0.00 0.00 09:59:18 09:59:18 09:59:18 ---> sar -P ALL: 09:59:18 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-40285) 03/05/25 _x86_64_ (8 CPU) 09:59:18 09:59:18 09:55:21 LINUX RESTART (8 CPU) 09:59:18 09:59:18 09:56:02 CPU %user %nice %system %iowait %steal %idle 09:59:18 09:57:01 all 12.03 0.00 6.06 1.62 0.09 80.21 09:59:18 09:57:01 0 11.18 0.00 7.17 1.72 0.09 79.85 09:59:18 09:57:01 1 12.15 0.00 6.39 0.34 0.07 81.05 09:59:18 09:57:01 2 12.82 0.00 5.50 0.69 0.09 80.90 09:59:18 09:57:01 3 11.96 0.00 6.37 0.38 0.09 81.20 09:59:18 09:57:01 4 11.74 0.00 5.29 0.34 0.09 82.54 09:59:18 09:57:01 5 12.98 0.00 5.71 4.28 0.10 76.94 09:59:18 09:57:01 6 11.12 0.00 6.62 4.88 0.09 77.30 09:59:18 09:57:01 7 12.28 0.00 5.46 0.31 0.09 81.86 09:59:18 09:58:01 all 54.05 0.00 7.78 0.11 0.09 37.97 09:59:18 09:58:01 0 55.11 0.00 7.42 0.05 0.08 37.33 09:59:18 09:58:01 1 53.26 0.00 7.57 0.17 0.08 38.92 09:59:18 09:58:01 2 53.80 0.00 7.93 0.05 0.10 38.12 09:59:18 09:58:01 3 52.66 0.00 7.80 0.02 0.08 39.44 09:59:18 09:58:01 4 53.00 0.00 7.14 0.12 0.08 39.66 09:59:18 09:58:01 5 55.22 0.00 8.08 0.27 0.08 36.35 09:59:18 09:58:01 6 52.65 0.00 8.21 0.23 0.08 38.82 09:59:18 09:58:01 7 56.70 0.00 8.13 0.00 0.08 35.09 09:59:18 09:59:01 all 39.94 0.00 7.51 0.72 0.09 51.74 09:59:18 09:59:01 0 38.40 0.00 8.03 0.12 0.08 53.37 09:59:18 09:59:01 1 41.54 0.00 7.57 0.15 0.08 50.66 09:59:18 09:59:01 2 41.25 0.00 7.45 0.03 0.08 51.18 09:59:18 09:59:01 3 38.32 0.00 7.38 0.30 0.10 53.89 09:59:18 09:59:01 4 38.38 0.00 7.05 1.24 0.08 53.24 09:59:18 09:59:01 5 41.74 0.00 7.89 3.50 0.10 46.76 09:59:18 09:59:01 6 40.75 0.00 7.53 0.35 0.08 51.29 09:59:18 09:59:01 7 39.15 0.00 7.16 0.07 0.10 53.52 09:59:18 Average: all 35.54 0.00 7.13 0.81 0.09 56.43 09:59:18 Average: 0 35.10 0.00 7.54 0.62 0.08 56.66 09:59:18 Average: 1 35.81 0.00 7.18 0.22 0.08 56.71 09:59:18 Average: 2 36.15 0.00 6.97 0.25 0.09 56.54 09:59:18 Average: 3 34.54 0.00 7.19 0.23 0.09 57.95 09:59:18 Average: 4 34.56 0.00 6.51 0.57 0.08 58.28 09:59:18 Average: 5 36.85 0.00 7.24 2.66 0.10 53.16 09:59:18 Average: 6 35.07 0.00 7.46 1.79 0.08 55.59 09:59:18 Average: 7 36.27 0.00 6.93 0.12 0.09 56.59 09:59:18 09:59:18 09:59:18