Pull request #25 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 whxtpbnl for edgexfoundry/device-s7 Loading trusted files from base branch main at 8abf73570ad6030a87cde2867b8b9b061b07feca rather than 832f1d4a7310ea8b84b041179f9d75309b2292cb Obtained Jenkinsfile from 8abf73570ad6030a87cde2867b8b9b061b07feca 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-ssh13404907673373134683.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-ssh8815830866237560609.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-25/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-25/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4029945018097122830.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-ssh4958051663020422004.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-25/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-25/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6552767870760185407.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 ‘prd-centos7-blackbox-4c-2g-34669’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-34883’ is offline Running on prd-ubuntu20.04-docker-8c-8g-34884 in /w/workspace/edgexfoundry_device-s7_PR-25 [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-25 # 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 8abf73570ad6030a87cde2867b8b9b061b07feca into PR head commit 832f1d4a7310ea8b84b041179f9d75309b2292cb Merge succeeded, producing 832f1d4a7310ea8b84b041179f9d75309b2292cb Checking out Revision 832f1d4a7310ea8b84b041179f9d75309b2292cb (PR-25) > 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/25/head:refs/remotes/origin/PR-25 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 832f1d4a7310ea8b84b041179f9d75309b2292cb # 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 8abf73570ad6030a87cde2867b8b9b061b07feca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 832f1d4a7310ea8b84b041179f9d75309b2292cb # timeout=10 Commit message: "feat: add test" First time build. Skipping changelog. > git rev-list --no-walk 72f0d5be7eb8271e3656acc646643e1a142e56ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:29:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:29:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:29:34 ========================================================= 01:29:34 EdgeX Global Pipelines Version Info 01:29:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:29:35 ------------------- 01:29:35 stable info: 01:29:35 ------------------- 01:29:35 Commited By: Cherry Wang cherry@iotechsys.com 01:29:35 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:29:35 Message: update stable to v1.0.269 01:29:35 ------------------- 01:29:35 experimental info: 01:29:35 ------------------- 01:29:35 Commited By: **** collab-it+edgex@linuxfoundation.org 01:29:35 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:29:35 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:29:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-25 [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-25 [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-25 [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 832f1d4a7310ea8b84b041179f9d75309b2292cb [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 832f1d4 [Pipeline] echo 01:29:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:36 provisioning config files... 01:29:36 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-25@tmp/config11247212120375849391tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:36 ---> ****-login.sh 01:29:36 nexus3.edgexfoundry.org:10001 01:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:36 Configure a credential helper to remove this warning. See 01:29:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:36 01:29:36 Login Succeeded 01:29:36 nexus3.edgexfoundry.org:10002 01:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:36 Configure a credential helper to remove this warning. See 01:29:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:36 01:29:36 Login Succeeded 01:29:36 nexus3.edgexfoundry.org:10003 01:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:37 Configure a credential helper to remove this warning. See 01:29:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:37 01:29:37 Login Succeeded 01:29:37 nexus3.edgexfoundry.org:10004 01:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:37 Configure a credential helper to remove this warning. See 01:29:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:37 01:29:37 Login Succeeded 01:29:37 ****.io 01:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:37 Configure a credential helper to remove this warning. See 01:29:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:37 01:29:37 Login Succeeded 01:29:37 ---> ****-login.sh ends [Pipeline] } 01:29:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:29:37 + git rev-list -1 --merges 832f1d4a7310ea8b84b041179f9d75309b2292cb~1..832f1d4a7310ea8b84b041179f9d75309b2292cb [Pipeline] echo 01:29:37 -----------> git rev-list -1 --merges 832f1d4a7310ea8b84b041179f9d75309b2292cb~1..832f1d4a7310ea8b84b041179f9d75309b2292cb 832f1d4a7310ea8b84b041179f9d75309b2292cb [false] [Pipeline] sh 01:29:38 + git log --format=format:%s -1 832f1d4a7310ea8b84b041179f9d75309b2292cb [Pipeline] echo 01:29:38 ========================================================= 01:29:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:29:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:38 + git log --format=format:%s -1 832f1d4a7310ea8b84b041179f9d75309b2292cb [Pipeline] echo 01:29:38 [semverPrep] GIT_COMMIT: 832f1d4a7310ea8b84b041179f9d75309b2292cb, Commit Message: feat: add test [Pipeline] echo 01:29:38 [semverPrep] This is not a build commit. [Pipeline] sh 01:29:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:29:38 + grep -v github /etc/ssh/ssh_known_hosts 01:29:38 + [ -e /tmp/ssh_known_hosts ] 01:29:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:29:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:29:38 + sudo tee -a /etc/ssh/ssh_known_hosts 01:29:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:39 01:29:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:39 0.1.4: Pulling from edgex-devops/py-git-semver 01:29:39 b85a868b505f: Pulling fs layer 01:29:39 e2be974225ed: Pulling fs layer 01:29:39 339a4e72a1f5: Pulling fs layer 01:29:39 988bab9f4d93: Pulling fs layer 01:29:39 1469e6f7b9e6: Pulling fs layer 01:29:39 eaf3925da568: Pulling fs layer 01:29:39 bab4dde63d76: Pulling fs layer 01:29:39 bde34c3a00c8: Pulling fs layer 01:29:39 b352a97aabf1: Pulling fs layer 01:29:39 4872d77fe225: Pulling fs layer 01:29:39 5851b861e8e6: Pulling fs layer 01:29:39 b352a97aabf1: Waiting 01:29:39 4872d77fe225: Waiting 01:29:39 1469e6f7b9e6: Waiting 01:29:39 eaf3925da568: Waiting 01:29:39 5851b861e8e6: Waiting 01:29:39 bab4dde63d76: Waiting 01:29:39 bde34c3a00c8: Waiting 01:29:39 988bab9f4d93: Waiting 01:29:39 988bab9f4d93: Download complete 01:29:39 1469e6f7b9e6: Verifying Checksum 01:29:39 1469e6f7b9e6: Download complete 01:29:39 eaf3925da568: Download complete 01:29:39 339a4e72a1f5: Verifying Checksum 01:29:39 339a4e72a1f5: Download complete 01:29:39 bde34c3a00c8: Verifying Checksum 01:29:39 bde34c3a00c8: Download complete 01:29:39 b352a97aabf1: Download complete 01:29:39 4872d77fe225: Download complete 01:29:39 5851b861e8e6: Download complete 01:29:39 b85a868b505f: Verifying Checksum 01:29:39 b85a868b505f: Download complete 01:29:40 bab4dde63d76: Verifying Checksum 01:29:40 bab4dde63d76: Download complete 01:29:41 b85a868b505f: Pull complete 01:29:41 e2be974225ed: Pull complete 01:29:41 339a4e72a1f5: Pull complete 01:29:41 988bab9f4d93: Pull complete 01:29:42 1469e6f7b9e6: Pull complete 01:29:42 eaf3925da568: Pull complete 01:29:44 bab4dde63d76: Pull complete 01:29:44 bde34c3a00c8: Pull complete 01:29:44 b352a97aabf1: Pull complete 01:29:44 4872d77fe225: Pull complete 01:29:44 5851b861e8e6: Pull complete 01:29:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:29:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:44 prd-ubuntu20.04-docker-8c-8g-34884 does not seem to be running inside a container 01:29:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-25 -v /w/workspace/edgexfoundry_device-s7_PR-25:/w/workspace/edgexfoundry_device-s7_PR-25:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-25@tmp:/w/workspace/edgexfoundry_device-s7_PR-25@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:29:47 $ docker top eeaffd5d4b7ad7d2dbcc3cc44331923a2a74d387588a8f0d7d1287546e1d3a81 -eo pid,comm 01:29: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). 01:29:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:29:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:47 [ssh-agent] Looking for ssh-agent implementation... 01:29:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:47 $ docker exec eeaffd5d4b7ad7d2dbcc3cc44331923a2a74d387588a8f0d7d1287546e1d3a81 ssh-agent 01:29:47 SSH_AUTH_SOCK=/tmp/ssh-zAKjTSeuSZCN/agent.32 01:29:47 SSH_AGENT_PID=38 01:29:47 Running ssh-add (command line suppressed) 01:29:48 Identity added: /w/workspace/edgexfoundry_device-s7_PR-25@tmp/private_key_980852500286534101.key (/w/workspace/edgexfoundry_device-s7_PR-25@tmp/private_key_980852500286534101.key) 01:29:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:29:48 + git tag --points-at HEAD [Pipeline] } 01:29:48 $ docker exec --env ******** --env ******** eeaffd5d4b7ad7d2dbcc3cc44331923a2a74d387588a8f0d7d1287546e1d3a81 ssh-agent -k 01:29:48 unset SSH_AUTH_SOCK; 01:29:48 unset SSH_AGENT_PID; 01:29:48 echo Agent pid 38 killed; 01:29:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:29:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:48 [ssh-agent] Looking for ssh-agent implementation... 01:29:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:48 $ docker exec eeaffd5d4b7ad7d2dbcc3cc44331923a2a74d387588a8f0d7d1287546e1d3a81 ssh-agent 01:29:48 SSH_AUTH_SOCK=/tmp/ssh-SpkUceNU0nT5/agent.71 01:29:48 SSH_AGENT_PID=77 01:29:48 Running ssh-add (command line suppressed) 01:29:48 Identity added: /w/workspace/edgexfoundry_device-s7_PR-25@tmp/private_key_16597751887405098801.key (/w/workspace/edgexfoundry_device-s7_PR-25@tmp/private_key_16597751887405098801.key) 01:29:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:29:49 + git semver init 01:29:49 2024-12-11 01:29:49,370 [run_init] DEBUG init version:0.0.0 force:False 01:29:49 2024-12-11 01:29:49,370 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-25/.semver 01:29:49 2024-12-11 01:29:49,371 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-25/.semver 01:29:49 2024-12-11 01:29:49,371 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-25/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-25, universal_newlines=False, shell=None, istream=None) 01:29:50 2024-12-11 01:29:50,086 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-25/.git/info/exclude 01:29:50 2024-12-11 01:29:50,087 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-25/.semver/PR-25 with force:False 01:29:50 2024-12-11 01:29:50,087 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-25/.semver/PR-25 01:29:50 2024-12-11 01:29:50,091 [execute] INFO git cat-file --batch-check 01:29:50 2024-12-11 01:29:50,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-25/.semver, universal_newlines=False, shell=None, istream=) 01:29:50 2024-12-11 01:29:50,098 [execute] INFO git cat-file --batch 01:29:50 2024-12-11 01:29:50,098 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-25/.semver, universal_newlines=False, shell=None, istream=) 01:29:50 2024-12-11 01:29:50,104 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-25/.semver/PR-25 01:29:50 0.0.0 [Pipeline] } 01:29:50 $ docker exec --env ******** --env ******** eeaffd5d4b7ad7d2dbcc3cc44331923a2a74d387588a8f0d7d1287546e1d3a81 ssh-agent -k 01:29:50 unset SSH_AUTH_SOCK; 01:29:50 unset SSH_AGENT_PID; 01:29:50 echo Agent pid 77 killed; 01:29:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:29:50 + git semver [Pipeline] } 01:29:51 $ docker stop --time=1 eeaffd5d4b7ad7d2dbcc3cc44331923a2a74d387588a8f0d7d1287546e1d3a81 01:29:52 $ docker rm -f --volumes eeaffd5d4b7ad7d2dbcc3cc44331923a2a74d387588a8f0d7d1287546e1d3a81 [Pipeline] // withDockerContainer [Pipeline] sh 01:29:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:29:53 Stashed 1 file(s) [Pipeline] echo 01:29:53 [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 01:29:53 provisioning config files... [Pipeline] // stage [Pipeline] } 01:29:53 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-25@tmp/config5285883307327229949tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 01:29:53 ---> ****-login.sh 01:29:53 nexus3.edgexfoundry.org:10001 01:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:53 Configure a credential helper to remove this warning. See 01:29:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:53 01:29:53 Login Succeeded 01:29:53 nexus3.edgexfoundry.org:10002 01:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:53 Configure a credential helper to remove this warning. See 01:29:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:53 01:29:53 Login Succeeded 01:29:53 nexus3.edgexfoundry.org:10003 01:29:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:53 Configure a credential helper to remove this warning. See 01:29:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:53 01:29:53 Login Succeeded 01:29:53 nexus3.edgexfoundry.org:10004 01:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:54 Configure a credential helper to remove this warning. See 01:29:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:54 01:29:54 Login Succeeded 01:29:54 ****.io 01:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:54 Configure a credential helper to remove this warning. See 01:29:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:54 01:29:54 Login Succeeded 01:29:54 ---> ****-login.sh ends [Pipeline] } 01:29:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:29:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:29:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:29:54 ========================================================= 01:29:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:29:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29: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 . 01:29:54 Sending build context to Docker daemon 686.6kB 01:29:54 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 01:29:54 Step 2/10 : FROM ${BASE} AS builder 01:29:54 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:29:54 43c4264eed91: Pulling fs layer 01:29:54 4cc291be95ef: Pulling fs layer 01:29:54 2ac1f1163629: Pulling fs layer 01:29:54 5c3c966382ef: Pulling fs layer 01:29:54 4f4fb700ef54: Pulling fs layer 01:29:54 5d5c8e513c77: Pulling fs layer 01:29:54 9f66e0745190: Pulling fs layer 01:29:54 f49a43e4bbc0: Pulling fs layer 01:29:54 561ebcabdf7f: Pulling fs layer 01:29:54 9f66e0745190: Waiting 01:29:54 f49a43e4bbc0: Waiting 01:29:54 5c3c966382ef: Waiting 01:29:54 561ebcabdf7f: Waiting 01:29:54 4f4fb700ef54: Waiting 01:29:54 4cc291be95ef: Verifying Checksum 01:29:54 4cc291be95ef: Download complete 01:29:54 5c3c966382ef: Download complete 01:29:54 4f4fb700ef54: Verifying Checksum 01:29:54 4f4fb700ef54: Download complete 01:29:54 5d5c8e513c77: Verifying Checksum 01:29:54 5d5c8e513c77: Download complete 01:29:54 43c4264eed91: Download complete 01:29:55 9f66e0745190: Verifying Checksum 01:29:55 9f66e0745190: Download complete 01:29:55 43c4264eed91: Pull complete 01:29:55 561ebcabdf7f: Verifying Checksum 01:29:55 561ebcabdf7f: Download complete 01:29:55 4cc291be95ef: Pull complete 01:29:55 2ac1f1163629: Download complete 01:29:55 f49a43e4bbc0: Verifying Checksum 01:29:55 f49a43e4bbc0: Download complete 01:29:58 2ac1f1163629: Pull complete 01:29:58 5c3c966382ef: Pull complete 01:29:58 4f4fb700ef54: Pull complete 01:29:58 5d5c8e513c77: Pull complete 01:29:58 9f66e0745190: Pull complete 01:30:01 f49a43e4bbc0: Pull complete 01:30:01 561ebcabdf7f: Pull complete 01:30:01 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 01:30:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:30:01 ---> 3a752c3f9dda 01:30:01 Step 3/10 : ARG MAKE=make build 01:30:07 ---> Running in c75df51ee685 01:30:07 Removing intermediate container c75df51ee685 01:30:07 ---> 2d97c2f80f01 01:30:07 Step 4/10 : WORKDIR /device-s7 01:30:07 ---> Running in 756b90f792ec 01:30:07 Removing intermediate container 756b90f792ec 01:30:07 ---> 0e7d5a1bf37c 01:30:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 01:30:07 ---> Running in ad0231e335cd 01:30:07 Removing intermediate container ad0231e335cd 01:30:07 ---> 457e677fc09b 01:30:07 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 01:30:07 ---> Running in 8ec3ab448603 01:30:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:30:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:30:07 OK: 246 MiB in 54 packages 01:30:08 Removing intermediate container 8ec3ab448603 01:30:08 ---> dd1225602449 01:30:08 Step 7/10 : COPY go.mod vendor* ./ 01:30:08 ---> b584f15171dc 01:30:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:08 ---> Running in 7745f507a9c4 01:31:06 Removing intermediate container 7745f507a9c4 01:31:06 ---> d5c1dfbd9f17 01:31:06 Step 9/10 : COPY . . 01:31:07 ---> 525e46843acf 01:31:07 Step 10/10 : RUN ${MAKE} 01:31:07 ---> Running in 8dc35b2d34dd 01:31:07 noop 01:31:07 Removing intermediate container 8dc35b2d34dd 01:31:07 ---> 80e0d9dd873e 01:31:07 Successfully built 80e0d9dd873e 01:31:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:07 + docker inspect -f . ci-base-image-x86_64 01:31:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:07 prd-ubuntu20.04-docker-8c-8g-34884 does not seem to be running inside a container 01:31:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-25 -v /w/workspace/edgexfoundry_device-s7_PR-25:/w/workspace/edgexfoundry_device-s7_PR-25:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-25@tmp:/w/workspace/edgexfoundry_device-s7_PR-25@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 ******** ci-base-image-x86_64 cat 01:31:08 $ docker top 788cd77daef07afb499da172ce565b27a6843fc89dd81c233168d05d12432ed8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:08 + go version 01:31:08 go version go1.23.2 linux/amd64 [Pipeline] } 01:31:08 $ docker stop --time=1 788cd77daef07afb499da172ce565b27a6843fc89dd81c233168d05d12432ed8 01:31:09 $ docker rm -f --volumes 788cd77daef07afb499da172ce565b27a6843fc89dd81c233168d05d12432ed8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:10 + docker inspect -f . ci-base-image-x86_64 01:31:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:10 prd-ubuntu20.04-docker-8c-8g-34884 does not seem to be running inside a container 01:31:10 $ 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-25 -v /w/workspace/edgexfoundry_device-s7_PR-25:/w/workspace/edgexfoundry_device-s7_PR-25:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-25@tmp:/w/workspace/edgexfoundry_device-s7_PR-25@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 ******** ci-base-image-x86_64 cat 01:31:10 $ docker top 6d68f673704a3eb67cccced6b15a4683fca4c9051ceabb2a574bec68451b32d9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:10 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-25 [Pipeline] fileExists [Pipeline] sh 01:31:11 + make test 01:31:11 go test -race -coverprofile=coverage.out ./... 01:31:19 ? github.com/edgexfoundry/device-s7 [no test files] 01:31:42 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 01:31:42 ok github.com/edgexfoundry/device-s7/internal/driver 1.021s coverage: 7.0% of statements 01:32:14 go vet ./... 01:32:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:32:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:32:20 ./bin/test-attribution-txt.sh [Pipeline] echo 01:32:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:32:20 $ docker stop --time=1 6d68f673704a3eb67cccced6b15a4683fca4c9051ceabb2a574bec68451b32d9 01:32:25 $ docker rm -f --volumes 6d68f673704a3eb67cccced6b15a4683fca4c9051ceabb2a574bec68451b32d9 [Pipeline] // withDockerContainer [Pipeline] sh 01:32:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:32:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:32:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:32:26 + ls -al . 01:32:26 total 228 01:32:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 11 01:31 . 01:32:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 11 01:29 .. 01:32:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 11 01:31 .git 01:32:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 01:29 .github 01:32:26 -rw-rw-r-- 1 jenkins jenkins 237 Dec 11 01:29 .gitignore 01:32:26 -rw-rw-r-- 1 jenkins jenkins 42 Dec 11 01:29 .golangci.yml 01:32:26 drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 01:29 .semver 01:32:26 -rw-rw-r-- 1 jenkins jenkins 19679 Dec 11 01:29 Attribution.txt 01:32:26 -rw-rw-r-- 1 jenkins jenkins 1579 Dec 11 01:29 Dockerfile 01:32:26 -rw-rw-r-- 1 jenkins jenkins 643 Dec 11 01:29 Jenkinsfile 01:32:26 -rw-rw-r-- 1 jenkins jenkins 10947 Dec 11 01:29 LICENSE 01:32:26 -rw-rw-r-- 1 jenkins jenkins 1903 Dec 11 01:29 Makefile 01:32:26 -rw-rw-r-- 1 jenkins jenkins 614 Dec 11 01:29 OWNERS.md 01:32:26 -rw-rw-r-- 1 jenkins jenkins 2393 Dec 11 01:29 README.md 01:32:26 -rw-rw-r-- 1 jenkins jenkins 5 Dec 11 01:29 VERSION 01:32:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 11 01:29 bin 01:32:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 11 01:29 cmd 01:32:26 -rw-r--r-- 1 jenkins jenkins 18630 Dec 11 01:31 coverage.out 01:32:26 -rw-rw-r-- 1 jenkins jenkins 6929 Dec 11 01:29 go.mod 01:32:26 -rw-rw-r-- 1 jenkins jenkins 100385 Dec 11 01:29 go.sum 01:32:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 11 01:29 internal 01:32:26 -rw-rw-r-- 1 jenkins jenkins 223 Dec 11 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:27 + 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=832f1d4a7310ea8b84b041179f9d75309b2292cb --label arch=amd64 --label version=0.0.0 . 01:32:27 Sending build context to Docker daemon 706kB 01:32:27 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 01:32:27 Step 2/24 : FROM ${BASE} AS builder 01:32:27 ---> 80e0d9dd873e 01:32:27 Step 3/24 : ARG MAKE=make build 01:32:27 ---> Running in c9532f890e75 01:32:27 Removing intermediate container c9532f890e75 01:32:27 ---> d6e05002a168 01:32:27 Step 4/24 : WORKDIR /device-s7 01:32:27 ---> Running in 688e1305f6db 01:32:27 Removing intermediate container 688e1305f6db 01:32:27 ---> 11d20782eb32 01:32:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 01:32:27 ---> Running in d02dde291b28 01:32:27 Removing intermediate container d02dde291b28 01:32:27 ---> d71ec219e519 01:32:27 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 01:32:27 ---> Running in 48df7c46a367 01:32:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:32:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:32:28 OK: 246 MiB in 54 packages 01:32:28 Removing intermediate container 48df7c46a367 01:32:28 ---> fbc337ed29f5 01:32:28 Step 7/24 : COPY go.mod vendor* ./ 01:32:28 ---> 3fb85faa7354 01:32:28 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:28 ---> Running in b59b7efad9fa 01:32:29 Removing intermediate container b59b7efad9fa 01:32:29 ---> b7cab64ac64a 01:32:29 Step 9/24 : COPY . . 01:32:29 ---> 790239947135 01:32:29 Step 10/24 : RUN ${MAKE} 01:32:30 ---> Running in 4261edba93dc 01:32:30 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.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 01:33:09 Removing intermediate container 4261edba93dc 01:33:09 ---> 40c07d696ee6 01:33:09 Step 11/24 : FROM alpine:3.20 01:33:09 3.20: Pulling from library/alpine 01:33:09 da9db072f522: Pulling fs layer 01:33:09 da9db072f522: Verifying Checksum 01:33:09 da9db072f522: Download complete 01:33:09 da9db072f522: Pull complete 01:33:09 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 01:33:09 Status: Downloaded newer image for alpine:3.20 01:33:09 ---> 63b790fccc90 01:33:09 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 01:33:09 ---> Running in cecd0888cd58 01:33:09 Removing intermediate container cecd0888cd58 01:33:09 ---> a667b5994e0e 01:33:09 Step 13/24 : RUN apk add --update --no-cache dumb-init 01:33:09 ---> Running in f678f71a421b 01:33:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:33:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:33:09 (1/1) Installing dumb-init (1.2.5-r3) 01:33:09 Executing busybox-1.36.1-r29.trigger 01:33:09 OK: 8 MiB in 15 packages 01:33:09 Removing intermediate container f678f71a421b 01:33:09 ---> 20016a822ea1 01:33:09 Step 14/24 : RUN apk --no-cache upgrade 01:33:09 ---> Running in f4547dba86a9 01:33:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:33:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:33:09 Upgrading critical system libraries and apk-tools: 01:33:09 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 01:33:09 Executing busybox-1.36.1-r29.trigger 01:33:09 Continuing the upgrade transaction with new apk-tools: 01:33:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:33:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:33:09 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 01:33:09 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 01:33:09 OK: 8 MiB in 15 packages 01:33:09 Removing intermediate container f4547dba86a9 01:33:09 ---> 2f11a5ca7d9e 01:33:09 Step 15/24 : WORKDIR / 01:33:09 ---> Running in c854d3db3035 01:33:09 Removing intermediate container c854d3db3035 01:33:09 ---> 216c6976303e 01:33:09 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 01:33:09 ---> 6db6680e4ba6 01:33:09 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 01:33:10 ---> 450f68b1f8b0 01:33:10 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 01:33:10 ---> 6b5e4140fdb0 01:33:10 Step 19/24 : EXPOSE 59994 01:33:10 ---> Running in 0af94b661926 01:33:10 Removing intermediate container 0af94b661926 01:33:10 ---> 19e68058885c 01:33:10 Step 20/24 : ENTRYPOINT ["/device-s7"] 01:33:10 ---> Running in 6fd67afa2d39 01:33:10 Removing intermediate container 6fd67afa2d39 01:33:10 ---> 6b8716c61c58 01:33:10 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:33:10 ---> Running in a7a056d7ba84 01:33:11 Removing intermediate container a7a056d7ba84 01:33:11 ---> a5ba70898910 01:33:11 Step 22/24 : LABEL arch=amd64 01:33:11 ---> Running in 9630e038397a 01:33:11 Removing intermediate container 9630e038397a 01:33:11 ---> b96dbb5b62b7 01:33:11 Step 23/24 : LABEL git_sha=832f1d4a7310ea8b84b041179f9d75309b2292cb 01:33:11 ---> Running in f438f7e6823c 01:33:11 Removing intermediate container f438f7e6823c 01:33:11 ---> 5d4f4efc4cac 01:33:11 Step 24/24 : LABEL version=0.0.0 01:33:11 ---> Running in bce541315d74 01:33:11 Removing intermediate container bce541315d74 01:33:11 ---> 5e7553718715 01:33:11 [Warning] One or more build-args [ARCH] were not consumed 01:33:11 Successfully built 5e7553718715 01:33:11 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 01:33:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:11 01:33:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:12 latest: Pulling from edgex-lftools-log-publisher 01:33:12 5eb5b503b376: Pulling fs layer 01:33:12 5c69ac0246d0: Pulling fs layer 01:33:12 ec43610c2a17: Pulling fs layer 01:33:12 3a2ae6a8a46f: Pulling fs layer 01:33:12 33b1e0a273af: Pulling fs layer 01:33:12 5d3b04190fa2: Pulling fs layer 01:33:12 2f39f015ded8: Pulling fs layer 01:33:12 3a2ae6a8a46f: Waiting 01:33:12 5d3b04190fa2: Waiting 01:33:12 33b1e0a273af: Waiting 01:33:12 2f39f015ded8: Waiting 01:33:12 5c69ac0246d0: Download complete 01:33:12 3a2ae6a8a46f: Verifying Checksum 01:33:12 3a2ae6a8a46f: Download complete 01:33:12 33b1e0a273af: Verifying Checksum 01:33:12 33b1e0a273af: Download complete 01:33:12 5d3b04190fa2: Verifying Checksum 01:33:12 5d3b04190fa2: Download complete 01:33:12 ec43610c2a17: Verifying Checksum 01:33:12 ec43610c2a17: Download complete 01:33:12 5eb5b503b376: Verifying Checksum 01:33:12 5eb5b503b376: Download complete 01:33:12 2f39f015ded8: Download complete 01:33:13 5eb5b503b376: Pull complete 01:33:13 5c69ac0246d0: Pull complete 01:33:14 ec43610c2a17: Pull complete 01:33:14 3a2ae6a8a46f: Pull complete 01:33:14 33b1e0a273af: Pull complete 01:33:14 5d3b04190fa2: Pull complete 01:33:18 2f39f015ded8: Pull complete 01:33:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:33:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:18 prd-ubuntu20.04-docker-8c-8g-34884 does not seem to be running inside a container 01:33:19 $ 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-25 -v /w/workspace/edgexfoundry_device-s7_PR-25:/w/workspace/edgexfoundry_device-s7_PR-25:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-25@tmp:/w/workspace/edgexfoundry_device-s7_PR-25@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 01:33:23 $ docker top 5cf6461e885bb60dde5a1bd93d0ea76226bf7456b411564b721d5bf04dcb95ac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:24 ---> job-cost.sh 01:33:24 lf-activate-venv: SKIPPING 01:33:24 INFO: No Stack... 01:33:24 INFO: Retrieving Pricing Info for: v3-standard-8 01:33:24 INFO: Archiving Costs [Pipeline] sh 01:33:24 + + cat /w/workspace/edgexfoundry_device-s7_PR-25/archives/cost.csv 01:33:24 cut -d, -f6 [Pipeline] lock 01:33:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-25-4-stack-cost] 01:33:24 Resource [jenkins-edgexfoundry-device-s7-PR-25-4-stack-cost] did not exist. Created. 01:33:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-25-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:33:25 + echo total: 0.2199999988079071 [Pipeline] stash 01:33:25 Stashed 1 file(s) [Pipeline] } 01:33:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-25-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:33:25 $ docker stop --time=1 5cf6461e885bb60dde5a1bd93d0ea76226bf7456b411564b721d5bf04dcb95ac 01:33:26 $ docker rm -f --volumes 5cf6461e885bb60dde5a1bd93d0ea76226bf7456b411564b721d5bf04dcb95ac [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 01:33:26 provisioning config files... 01:33:26 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-25@tmp/config12712064572988960994tmp [Pipeline] { [Pipeline] sh 01:33:26 + set +x 01:33:26 + curl -s https://codecov.io/bash 01:33:26 + bash -s -- 01:33:27 01:33:27 _____ _ 01:33:27 / ____| | | 01:33:27 | | ___ __| | ___ ___ _____ __ 01:33:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:33:27 | |___| (_) | (_| | __/ (_| (_) \ V / 01:33:27 \_____\___/ \__,_|\___|\___\___/ \_/ 01:33:27 Bash-1.0.6 01:33:27 01:33:27 01:33:27 ==> git version 2.25.1 found 01:33:27 ==> 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 01:33:27 Release-Date: 2020-01-08 01:33:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:33:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:33:27 ==> Jenkins CI detected. 01:33:27 current dir:  /w/workspace/edgexfoundry_device-s7_PR-25 01:33:27 project root: . 01:33:27 --> token set from env 01:33:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:33:27 ==> Running gcov in . (disable via -X gcov) 01:33:27 ==> Python coveragepy not found 01:33:27 ==> Searching for coverage reports in: 01:33:27 + . 01:33:27 -> Found 1 reports 01:33:27 ==> Detecting git/mercurial file structure 01:33:27 ==> Reading reports 01:33:27 + ./coverage.out bytes=18630 01:33:27 ==> Appending adjustments 01:33:27 https://docs.codecov.io/docs/fixing-reports 01:33:27 + Found adjustments 01:33:27 ==> Gzipping contents 01:33:27 4.0K /tmp/codecov.ztT6Yw.gz 01:33:27 ==> Uploading reports 01:33:27 url: https://codecov.io 01:33:27 query: branch=PR-25&commit=832f1d4a7310ea8b84b041179f9d75309b2292cb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-25%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=25&job=&cmd_args= 01:33:27 -> Pinging Codecov 01:33:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-25&commit=832f1d4a7310ea8b84b041179f9d75309b2292cb&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-25%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=25&job=&cmd_args= 01:33:27 -> Uploading to 01:33:27 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/832f1d4a7310ea8b84b041179f9d75309b2292cb/f6dd9fd5-f6e1-44f6-838c-47af56e51c8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241211%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241211T013327Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=18dbc2b7fce1a42ff52aeaaf6c5a652384d933107c10635a0c5502fce9dd4d15 01:33:27 % Total % Received % Xferd Average Speed Time Time Time Current 01:33:27 Dload Upload Total Spent Left Speed 01:33:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2790 0 0 100 2790 0 18116 --:--:-- --:--:-- --:--:-- 18116 01:33:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/832f1d4a7310ea8b84b041179f9d75309b2292cb [Pipeline] } 01:33:27 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 01:33:28 + [ -d /w/workspace/edgexfoundry_device-s7_PR-25/archives ] 01:33:28 + ls -al /w/workspace/edgexfoundry_device-s7_PR-25/archives 01:33:28 total 16 01:33:28 drwxr-xr-x 3 root root 4096 Dec 11 01:33 . 01:33:28 drwxrwxr-x 9 jenkins jenkins 4096 Dec 11 01:33 .. 01:33:28 drwxr-xr-x 2 root root 4096 Dec 11 01:33 cost 01:33:28 -rw-r--r-- 1 root root 80 Dec 11 01:33 cost.csv 01:33:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-25/archives 01:33:28 + ls -al /w/workspace/edgexfoundry_device-s7_PR-25/archives 01:33:28 total 16 01:33:28 drwxr-xr-x 3 jenkins jenkins 4096 Dec 11 01:33 . 01:33:28 drwxrwxr-x 9 jenkins jenkins 4096 Dec 11 01:33 .. 01:33:28 drwxr-xr-x 2 jenkins jenkins 4096 Dec 11 01:33 cost 01:33:28 -rw-r--r-- 1 jenkins jenkins 80 Dec 11 01:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:33:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:33:29 ---> package-listing.sh 01:33:29 ++ facter osfamily 01:33:29 ++ tr '[:upper:]' '[:lower:]' 01:33:29 + OS_FAMILY=debian 01:33:29 + workspace=/w/workspace/edgexfoundry_device-s7_PR-25 01:33:29 + START_PACKAGES=/tmp/packages_start.txt 01:33:29 + END_PACKAGES=/tmp/packages_end.txt 01:33:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:33:29 + PACKAGES=/tmp/packages_start.txt 01:33:29 + '[' /w/workspace/edgexfoundry_device-s7_PR-25 ']' 01:33:29 + PACKAGES=/tmp/packages_end.txt 01:33:29 + case "${OS_FAMILY}" in 01:33:29 + dpkg -l 01:33:29 + grep '^ii' 01:33:29 + '[' -f /tmp/packages_start.txt ']' 01:33:29 + '[' -f /tmp/packages_end.txt ']' 01:33:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:33:29 + '[' /w/workspace/edgexfoundry_device-s7_PR-25 ']' 01:33:29 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-25/archives/ 01:33:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-25/archives/ [Pipeline] echo 01:33:29 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-25/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:33:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:30 prd-ubuntu20.04-docker-8c-8g-34884 does not seem to be running inside a container 01:33:31 $ 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-25/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-25 -v /w/workspace/edgexfoundry_device-s7_PR-25:/w/workspace/edgexfoundry_device-s7_PR-25:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-25@tmp:/w/workspace/edgexfoundry_device-s7_PR-25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:33:31 $ docker top 63e41d10dbdb94edaa00d40dbb12b1f326efe2cdf88f25b8eaccc9cb988ed0fa -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:31 + touch /tmp/pre-build-complete [Pipeline] sh 01:33:31 + mkdir -p /var/log/sysstat [Pipeline] sh 01:33:32 + ls /var/log/sa-host 01:33:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:32 provisioning config files... 01:33:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-25@tmp/config3186448991659805374tmp [Pipeline] { [Pipeline] echo 01:33:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:33:32 ---> create-netrc.sh [Pipeline] } 01:33:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:33:33 ---> python-tools-install.sh [Pipeline] echo 01:33:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:33:33 ---> sudo-logs.sh 01:33:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:33:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:33:33 ---> job-cost.sh 01:33:33 lf-activate-venv: SKIPPING 01:33:33 DEBUG: total: 0.2199999988079071 01:33:33 INFO: Retrieving Stack Cost... 01:33:33 INFO: Retrieving Pricing Info for: v3-standard-8 01:33:33 INFO: Archiving Costs [Pipeline] echo 01:33:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:33:34 ---> logs-deploy.sh 01:33:34 lf-activate-venv: SKIPPING 01:33:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-25/4 01:33:34 INFO: archiving workspace using pattern(s): 01:33:35 Archives upload complete. 01:33:35 INFO: archiving logs to Nexus 01:33:35 ---> uname -a: 01:33:35 Linux prd-ubuntu20-04-docker-8c-8g-34884 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:33:35 01:33:35 01:33:35 ---> lscpu: 01:33:35 Architecture: x86_64 01:33:35 CPU op-mode(s): 32-bit, 64-bit 01:33:35 Byte Order: Little Endian 01:33:35 Address sizes: 40 bits physical, 48 bits virtual 01:33:35 CPU(s): 8 01:33:35 On-line CPU(s) list: 0-7 01:33:35 Thread(s) per core: 1 01:33:35 Core(s) per socket: 1 01:33:35 Socket(s): 8 01:33:35 NUMA node(s): 1 01:33:35 Vendor ID: AuthenticAMD 01:33:35 CPU family: 23 01:33:35 Model: 49 01:33:35 Model name: AMD EPYC-Rome Processor 01:33:35 Stepping: 0 01:33:35 CPU MHz: 2799.998 01:33:35 BogoMIPS: 5599.99 01:33:35 Virtualization: AMD-V 01:33:35 Hypervisor vendor: KVM 01:33:35 Virtualization type: full 01:33:35 L1d cache: 256 KiB 01:33:35 L1i cache: 256 KiB 01:33:35 L2 cache: 4 MiB 01:33:35 L3 cache: 128 MiB 01:33:35 NUMA node0 CPU(s): 0-7 01:33:35 Vulnerability Itlb multihit: Not affected 01:33:35 Vulnerability L1tf: Not affected 01:33:35 Vulnerability Mds: Not affected 01:33:35 Vulnerability Meltdown: Not affected 01:33:35 Vulnerability Mmio stale data: Not affected 01:33:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:33:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:33:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:33:35 Vulnerability Srbds: Not affected 01:33:35 Vulnerability Tsx async abort: Not affected 01:33:35 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 01:33:35 01:33:35 01:33:35 ---> nproc: 01:33:35 8 01:33:35 01:33:35 01:33:35 ---> df -h: 01:33:35 Filesystem Size Used Avail Use% Mounted on 01:33:35 overlay 155G 12G 144G 8% / 01:33:35 tmpfs 64M 0 64M 0% /dev 01:33:35 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:33:35 shm 64M 0 64M 0% /dev/shm 01:33:35 /dev/vda1 155G 12G 144G 8% /facter-os 01:33:35 01:33:35 01:33:35 ---> sar -b -r -n DEV: 01:33:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34884) 12/11/24 _x86_64_ (8 CPU) 01:33:35 01:33:35 01:28:52 LINUX RESTART (8 CPU) 01:33:35 01:33:35 01:29:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:33:35 01:30:02 368.76 48.48 320.28 0.00 5452.96 138001.67 0.00 01:33:35 01:31:01 268.85 2.32 266.53 0.00 23.04 78003.46 0.00 01:33:35 01:32:01 83.12 0.08 83.03 0.00 5.07 28142.40 0.00 01:33:35 01:33:01 98.13 0.17 97.97 0.00 2.67 36452.07 0.00 01:33:35 Average: 204.46 12.80 191.65 0.00 1376.52 70119.46 0.00 01:33:35 01:33:35 01:29:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:33:35 01:30:02 29252344 31554540 773232 2.35 74540 2499448 1844008 5.43 1000400 2248696 490904 01:33:35 01:31:01 26989364 31529188 776704 2.36 186832 4408628 1877700 5.53 1319464 3955448 462796 01:33:35 01:32:01 26643580 31410328 890136 2.71 193096 4642832 2051564 6.05 1749560 3884192 879968 01:33:35 01:33:01 27095200 31527840 776900 2.36 196272 4324700 1879796 5.54 1365952 3834864 367224 01:33:35 Average: 27495122 31505474 804243 2.45 162685 3968902 1913267 5.64 1358844 3480800 550223 01:33:35 01:33:35 01:29:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:33:35 01:30:02 docker0 1.08 1.45 0.12 2.69 0.00 0.00 0.00 0.00 01:33:35 01:30:02 ens3 513.40 342.54 5615.39 92.06 0.00 0.00 0.00 0.00 01:33:35 01:30:02 lo 7.07 7.07 0.69 0.69 0.00 0.00 0.00 0.00 01:33:35 01:31:01 docker0 354.06 566.09 29.72 3373.96 0.00 0.00 0.00 0.00 01:33:35 01:31:01 ens3 576.33 359.90 3390.02 38.61 0.00 0.00 0.00 0.00 01:33:35 01:31:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:33:35 01:32:01 docker0 0.00 0.10 0.00 0.01 0.00 0.00 0.00 0.00 01:33:35 01:32:01 ens3 29.88 18.65 28.80 11.94 0.00 0.00 0.00 0.00 01:33:35 01:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:33:35 01:32:01 vethda82f79 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 01:33:35 01:33:01 docker0 1.73 2.78 0.10 38.15 0.00 0.00 0.00 0.00 01:33:35 01:33:01 ens3 20.06 11.93 54.72 7.67 0.00 0.00 0.00 0.00 01:33:35 01:33:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 01:33:35 Average: docker0 88.14 140.87 7.39 843.41 0.00 0.00 0.00 0.00 01:33:35 Average: ens3 283.74 182.54 2267.75 37.57 0.00 0.00 0.00 0.00 01:33:35 Average: lo 1.94 1.94 0.19 0.19 0.00 0.00 0.00 0.00 01:33:35 01:33:35 01:33:35 ---> sar -P ALL: 01:33:35 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-34884) 12/11/24 _x86_64_ (8 CPU) 01:33:35 01:33:35 01:28:52 LINUX RESTART (8 CPU) 01:33:35 01:33:35 01:29:01 CPU %user %nice %system %iowait %steal %idle 01:33:35 01:30:02 all 9.38 0.00 3.23 2.32 0.06 85.01 01:33:35 01:30:02 0 5.94 0.00 2.85 0.24 0.05 90.92 01:33:35 01:30:02 1 12.31 0.00 3.70 0.37 0.07 83.56 01:33:35 01:30:02 2 8.85 0.00 3.90 5.08 0.07 82.10 01:33:35 01:30:02 3 9.44 0.00 2.88 1.26 0.07 86.36 01:33:35 01:30:02 4 13.36 0.00 2.32 1.23 0.05 83.04 01:33:35 01:30:02 5 11.67 0.00 2.61 0.35 0.05 85.32 01:33:35 01:30:02 6 7.19 0.00 3.38 6.04 0.07 83.32 01:33:35 01:30:02 7 6.21 0.00 4.25 4.03 0.07 85.44 01:33:35 01:31:01 all 6.60 0.00 3.33 4.46 0.06 85.55 01:33:35 01:31:01 0 7.05 0.00 2.72 1.13 0.05 89.05 01:33:35 01:31:01 1 5.26 0.00 4.32 1.30 0.05 89.07 01:33:35 01:31:01 2 6.23 0.00 4.64 20.51 0.09 68.54 01:33:35 01:31:01 3 6.66 0.00 2.47 1.39 0.07 89.41 01:33:35 01:31:01 4 6.69 0.00 3.17 0.78 0.03 89.32 01:33:35 01:31:01 5 6.98 0.00 3.06 0.69 0.05 89.22 01:33:35 01:31:01 6 7.42 0.00 2.91 0.38 0.07 89.22 01:33:35 01:31:01 7 6.52 0.00 3.35 9.67 0.05 80.41 01:33:35 01:32:01 all 49.63 0.00 7.12 1.36 0.10 41.78 01:33:35 01:32:01 0 49.99 0.00 7.30 1.01 0.10 41.60 01:33:35 01:32:01 1 50.05 0.00 7.20 0.10 0.12 42.53 01:33:35 01:32:01 2 49.67 0.00 7.11 5.49 0.08 37.64 01:33:35 01:32:01 3 46.64 0.00 8.55 0.35 0.10 44.35 01:33:35 01:32:01 4 49.35 0.00 6.75 1.53 0.08 42.28 01:33:35 01:32:01 5 49.19 0.00 6.54 0.32 0.10 43.85 01:33:35 01:32:01 6 50.04 0.00 6.78 0.76 0.10 42.32 01:33:35 01:32:01 7 52.11 0.00 6.73 1.36 0.10 39.69 01:33:35 01:33:01 all 42.79 0.00 6.46 1.71 0.08 48.96 01:33:35 01:33:01 0 43.68 0.00 6.10 1.26 0.08 48.88 01:33:35 01:33:01 1 41.71 0.00 6.04 0.03 0.07 52.15 01:33:35 01:33:01 2 43.06 0.00 5.56 0.08 0.10 51.20 01:33:35 01:33:01 3 42.52 0.00 7.20 5.28 0.08 44.92 01:33:35 01:33:01 4 42.01 0.00 7.31 1.01 0.10 49.56 01:33:35 01:33:01 5 42.50 0.00 6.57 0.08 0.07 50.78 01:33:35 01:33:01 6 42.64 0.00 5.99 1.35 0.08 49.94 01:33:35 01:33:01 7 44.17 0.00 6.94 4.61 0.08 44.19 01:33:35 Average: all 27.20 0.00 5.05 2.45 0.08 65.22 01:33:35 Average: 0 26.75 0.00 4.75 0.91 0.07 67.51 01:33:35 Average: 1 27.41 0.00 5.32 0.45 0.08 66.75 01:33:35 Average: 2 27.11 0.00 5.30 7.70 0.08 59.80 01:33:35 Average: 3 26.40 0.00 5.29 2.07 0.08 66.16 01:33:35 Average: 4 27.92 0.00 4.89 1.14 0.07 65.97 01:33:35 Average: 5 27.70 0.00 4.70 0.36 0.07 67.17 01:33:35 Average: 6 26.94 0.00 4.77 2.14 0.08 66.06 01:33:35 Average: 7 27.40 0.00 5.33 4.89 0.08 62.30 01:33:35 01:33:35 01:33:35