Pull request #26 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 yiqisoft for edgexfoundry/device-s7 Loading trusted files from base branch main at 8abf73570ad6030a87cde2867b8b9b061b07feca rather than 1a923a66095efe291882670bdbaa1fb24449db72 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-ssh12735216010875716862.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-ssh4416076218270880899.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-26/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-26/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10740719770070745061.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-ssh1707664572060559876.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-26/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-26/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4586030996668584502.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-ubuntu20.04-docker-8c-8g-35188’ is offline Running on prd-ubuntu20.04-docker-8c-8g-35189 in /w/workspace/edgexfoundry_device-s7_PR-26 [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-26 # 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 1a923a66095efe291882670bdbaa1fb24449db72 Merge succeeded, producing 1a923a66095efe291882670bdbaa1fb24449db72 Checking out Revision 1a923a66095efe291882670bdbaa1fb24449db72 (PR-26) > 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/26/head:refs/remotes/origin/PR-26 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a923a66095efe291882670bdbaa1fb24449db72 # 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 1a923a66095efe291882670bdbaa1fb24449db72 # timeout=10 Commit message: "fix: Update dependabot.yml for auto merge dependencies" First time build. Skipping changelog. > git rev-list --no-walk 8391114faaaac17632e2609ee793036b9930f584 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:50:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:50:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:50:13 ========================================================= 07:50:13 EdgeX Global Pipelines Version Info 07:50:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:50:14 ------------------- 07:50:14 stable info: 07:50:14 ------------------- 07:50:14 Commited By: Cherry Wang cherry@iotechsys.com 07:50:14 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 07:50:14 Message: update stable to v1.0.269 07:50:15 ------------------- 07:50:15 experimental info: 07:50:15 ------------------- 07:50:15 Commited By: **** collab-it+edgex@linuxfoundation.org 07:50:15 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 07:50:15 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:50:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:50:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:50:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-26 [Pipeline] echo 07:50:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-26 [Pipeline] echo 07:50:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-26 [Pipeline] echo 07:50:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a923a66095efe291882670bdbaa1fb24449db72 [Pipeline] echo 07:50:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a923a6 [Pipeline] echo 07:50:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:16 provisioning config files... 07:50:16 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-26@tmp/config16434834247895071050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:16 ---> ****-login.sh 07:50:16 nexus3.edgexfoundry.org:10001 07:50:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:16 Configure a credential helper to remove this warning. See 07:50:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:16 07:50:16 Login Succeeded 07:50:16 nexus3.edgexfoundry.org:10002 07:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:17 Configure a credential helper to remove this warning. See 07:50:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:17 07:50:17 Login Succeeded 07:50:17 nexus3.edgexfoundry.org:10003 07:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:17 Configure a credential helper to remove this warning. See 07:50:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:17 07:50:17 Login Succeeded 07:50:17 nexus3.edgexfoundry.org:10004 07:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:17 Configure a credential helper to remove this warning. See 07:50:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:17 07:50:17 Login Succeeded 07:50:17 ****.io 07:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:17 Configure a credential helper to remove this warning. See 07:50:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:17 07:50:17 Login Succeeded 07:50:17 ---> ****-login.sh ends [Pipeline] } 07:50:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:50:18 + git rev-list -1 --merges 1a923a66095efe291882670bdbaa1fb24449db72~1..1a923a66095efe291882670bdbaa1fb24449db72 [Pipeline] echo 07:50:18 -----------> git rev-list -1 --merges 1a923a66095efe291882670bdbaa1fb24449db72~1..1a923a66095efe291882670bdbaa1fb24449db72 1a923a66095efe291882670bdbaa1fb24449db72 [false] [Pipeline] sh 07:50:18 + git log --format=format:%s -1 1a923a66095efe291882670bdbaa1fb24449db72 [Pipeline] echo 07:50:18 ========================================================= 07:50:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:50:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:50:18 + git log --format=format:%s -1 1a923a66095efe291882670bdbaa1fb24449db72 [Pipeline] echo 07:50:18 [semverPrep] GIT_COMMIT: 1a923a66095efe291882670bdbaa1fb24449db72, Commit Message: fix: Update dependabot.yml for auto merge dependencies [Pipeline] echo 07:50:18 [semverPrep] This is not a build commit. [Pipeline] sh 07:50:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:50:19 + grep -v github /etc/ssh/ssh_known_hosts 07:50:19 + [ -e /tmp/ssh_known_hosts ] 07:50:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:50:19 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:50:19 sudo tee -a /etc/ssh/ssh_known_hosts 07:50:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:19 07:50:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:19 0.1.4: Pulling from edgex-devops/py-git-semver 07:50:19 b85a868b505f: Pulling fs layer 07:50:19 e2be974225ed: Pulling fs layer 07:50:19 339a4e72a1f5: Pulling fs layer 07:50:19 988bab9f4d93: Pulling fs layer 07:50:19 988bab9f4d93: Waiting 07:50:19 1469e6f7b9e6: Pulling fs layer 07:50:19 eaf3925da568: Pulling fs layer 07:50:19 bab4dde63d76: Pulling fs layer 07:50:19 1469e6f7b9e6: Waiting 07:50:19 bde34c3a00c8: Pulling fs layer 07:50:19 eaf3925da568: Waiting 07:50:19 bab4dde63d76: Waiting 07:50:19 b352a97aabf1: Pulling fs layer 07:50:19 4872d77fe225: Pulling fs layer 07:50:19 5851b861e8e6: Pulling fs layer 07:50:19 bde34c3a00c8: Waiting 07:50:19 5851b861e8e6: Waiting 07:50:19 e2be974225ed: Download complete 07:50:19 988bab9f4d93: Verifying Checksum 07:50:19 988bab9f4d93: Download complete 07:50:19 1469e6f7b9e6: Verifying Checksum 07:50:19 1469e6f7b9e6: Download complete 07:50:19 eaf3925da568: Download complete 07:50:19 339a4e72a1f5: Verifying Checksum 07:50:19 339a4e72a1f5: Download complete 07:50:19 bde34c3a00c8: Verifying Checksum 07:50:19 bde34c3a00c8: Download complete 07:50:20 b352a97aabf1: Verifying Checksum 07:50:20 b352a97aabf1: Download complete 07:50:20 4872d77fe225: Verifying Checksum 07:50:20 4872d77fe225: Download complete 07:50:20 5851b861e8e6: Verifying Checksum 07:50:20 5851b861e8e6: Download complete 07:50:20 b85a868b505f: Download complete 07:50:20 bab4dde63d76: Verifying Checksum 07:50:20 bab4dde63d76: Download complete 07:50:21 b85a868b505f: Pull complete 07:50:21 e2be974225ed: Pull complete 07:50:21 339a4e72a1f5: Pull complete 07:50:21 988bab9f4d93: Pull complete 07:50:22 1469e6f7b9e6: Pull complete 07:50:22 eaf3925da568: Pull complete 07:50:23 bab4dde63d76: Pull complete 07:50:23 bde34c3a00c8: Pull complete 07:50:23 b352a97aabf1: Pull complete 07:50:23 4872d77fe225: Pull complete 07:50:23 5851b861e8e6: Pull complete 07:50:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:50:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:24 prd-ubuntu20.04-docker-8c-8g-35189 does not seem to be running inside a container 07:50:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-26 -v /w/workspace/edgexfoundry_device-s7_PR-26:/w/workspace/edgexfoundry_device-s7_PR-26:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-26@tmp:/w/workspace/edgexfoundry_device-s7_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:50:26 $ docker top 9642dfe1a359c47a9d15af4e86ba20bdc5edf511aaf07340460f15a6efad2a85 -eo pid,comm 07:50:26 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). 07:50:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:50:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:26 [ssh-agent] Looking for ssh-agent implementation... 07:50:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:26 $ docker exec 9642dfe1a359c47a9d15af4e86ba20bdc5edf511aaf07340460f15a6efad2a85 ssh-agent 07:50:26 SSH_AUTH_SOCK=/tmp/ssh-j9gjABpOGgT0/agent.32 07:50:26 SSH_AGENT_PID=38 07:50:26 Running ssh-add (command line suppressed) 07:50:27 Identity added: /w/workspace/edgexfoundry_device-s7_PR-26@tmp/private_key_15033456688619866983.key (/w/workspace/edgexfoundry_device-s7_PR-26@tmp/private_key_15033456688619866983.key) 07:50:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:27 + git tag --points-at HEAD [Pipeline] } 07:50:27 $ docker exec --env ******** --env ******** 9642dfe1a359c47a9d15af4e86ba20bdc5edf511aaf07340460f15a6efad2a85 ssh-agent -k 07:50:27 unset SSH_AUTH_SOCK; 07:50:27 unset SSH_AGENT_PID; 07:50:27 echo Agent pid 38 killed; 07:50:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:50:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:27 [ssh-agent] Looking for ssh-agent implementation... 07:50:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:27 $ docker exec 9642dfe1a359c47a9d15af4e86ba20bdc5edf511aaf07340460f15a6efad2a85 ssh-agent 07:50:27 SSH_AUTH_SOCK=/tmp/ssh-JaQIEcJPqzV3/agent.72 07:50:27 SSH_AGENT_PID=78 07:50:27 Running ssh-add (command line suppressed) 07:50:27 Identity added: /w/workspace/edgexfoundry_device-s7_PR-26@tmp/private_key_1584718426839867453.key (/w/workspace/edgexfoundry_device-s7_PR-26@tmp/private_key_1584718426839867453.key) 07:50:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:28 + git semver init 07:50:28 2024-12-16 07:50:28,343 [run_init] DEBUG init version:0.0.0 force:False 07:50:28 2024-12-16 07:50:28,344 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-26/.semver 07:50:28 2024-12-16 07:50:28,344 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-26/.semver 07:50:28 2024-12-16 07:50:28,344 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-26/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-26, universal_newlines=False, shell=None, istream=None) 07:50:29 2024-12-16 07:50:28,902 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-26/.git/info/exclude 07:50:29 2024-12-16 07:50:28,903 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-26/.semver/PR-26 with force:False 07:50:29 2024-12-16 07:50:28,903 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-26/.semver/PR-26 07:50:29 2024-12-16 07:50:28,907 [execute] INFO git cat-file --batch-check 07:50:29 2024-12-16 07:50:28,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-26/.semver, universal_newlines=False, shell=None, istream=) 07:50:29 2024-12-16 07:50:28,914 [execute] INFO git cat-file --batch 07:50:29 2024-12-16 07:50:28,914 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-26/.semver, universal_newlines=False, shell=None, istream=) 07:50:29 2024-12-16 07:50:28,919 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-26/.semver/PR-26 07:50:29 0.0.0 [Pipeline] } 07:50:29 $ docker exec --env ******** --env ******** 9642dfe1a359c47a9d15af4e86ba20bdc5edf511aaf07340460f15a6efad2a85 ssh-agent -k 07:50:29 unset SSH_AUTH_SOCK; 07:50:29 unset SSH_AGENT_PID; 07:50:29 echo Agent pid 78 killed; 07:50:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:50:29 + git semver [Pipeline] } 07:50:29 $ docker stop --time=1 9642dfe1a359c47a9d15af4e86ba20bdc5edf511aaf07340460f15a6efad2a85 07:50:31 $ docker rm -f --volumes 9642dfe1a359c47a9d15af4e86ba20bdc5edf511aaf07340460f15a6efad2a85 [Pipeline] // withDockerContainer [Pipeline] sh 07:50:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:50:31 Stashed 1 file(s) [Pipeline] echo 07:50:31 [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 07:50:31 provisioning config files... [Pipeline] // stage [Pipeline] } 07:50:31 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-26@tmp/config571588601008417372tmp [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 07:50:32 ---> ****-login.sh 07:50:32 nexus3.edgexfoundry.org:10001 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 nexus3.edgexfoundry.org:10002 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 nexus3.edgexfoundry.org:10003 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 nexus3.edgexfoundry.org:10004 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 ****.io 07:50:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:32 Configure a credential helper to remove this warning. See 07:50:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:32 07:50:32 Login Succeeded 07:50:32 ---> ****-login.sh ends [Pipeline] } 07:50:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:50:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:50:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:50:32 ========================================================= 07:50:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:50:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:33 + 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 . 07:50:33 Sending build context to Docker daemon 665.6kB 07:50:33 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:50:33 Step 2/10 : FROM ${BASE} AS builder 07:50:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:50:33 43c4264eed91: Pulling fs layer 07:50:33 4cc291be95ef: Pulling fs layer 07:50:33 2ac1f1163629: Pulling fs layer 07:50:33 5c3c966382ef: Pulling fs layer 07:50:33 4f4fb700ef54: Pulling fs layer 07:50:33 5d5c8e513c77: Pulling fs layer 07:50:33 9f66e0745190: Pulling fs layer 07:50:33 f49a43e4bbc0: Pulling fs layer 07:50:33 561ebcabdf7f: Pulling fs layer 07:50:33 5d5c8e513c77: Waiting 07:50:33 9f66e0745190: Waiting 07:50:33 561ebcabdf7f: Waiting 07:50:33 f49a43e4bbc0: Waiting 07:50:33 5c3c966382ef: Waiting 07:50:33 4f4fb700ef54: Waiting 07:50:33 4cc291be95ef: Verifying Checksum 07:50:33 4cc291be95ef: Download complete 07:50:33 5c3c966382ef: Verifying Checksum 07:50:33 5c3c966382ef: Download complete 07:50:33 4f4fb700ef54: Download complete 07:50:33 5d5c8e513c77: Download complete 07:50:33 43c4264eed91: Download complete 07:50:33 9f66e0745190: Verifying Checksum 07:50:33 9f66e0745190: Download complete 07:50:33 43c4264eed91: Pull complete 07:50:33 561ebcabdf7f: Verifying Checksum 07:50:33 561ebcabdf7f: Download complete 07:50:33 4cc291be95ef: Pull complete 07:50:33 2ac1f1163629: Verifying Checksum 07:50:33 2ac1f1163629: Download complete 07:50:34 f49a43e4bbc0: Verifying Checksum 07:50:34 f49a43e4bbc0: Download complete 07:50:37 2ac1f1163629: Pull complete 07:50:37 5c3c966382ef: Pull complete 07:50:37 4f4fb700ef54: Pull complete 07:50:37 5d5c8e513c77: Pull complete 07:50:37 9f66e0745190: Pull complete 07:50:40 f49a43e4bbc0: Pull complete 07:50:40 561ebcabdf7f: Pull complete 07:50:40 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:50:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:50:40 ---> 3a752c3f9dda 07:50:40 Step 3/10 : ARG MAKE=make build 07:50:43 ---> Running in 2480165b8171 07:50:43 Removing intermediate container 2480165b8171 07:50:43 ---> d328dd5f394c 07:50:43 Step 4/10 : WORKDIR /device-s7 07:50:43 ---> Running in d194d81034b1 07:50:43 Removing intermediate container d194d81034b1 07:50:43 ---> e62dbf183e7b 07:50:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:50:43 ---> Running in 3b8198501a08 07:50:43 Removing intermediate container 3b8198501a08 07:50:43 ---> 0d621c2e2d12 07:50:43 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 07:50:43 ---> Running in 0a2c2124b262 07:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:50:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:50:44 OK: 246 MiB in 54 packages 07:50:44 Removing intermediate container 0a2c2124b262 07:50:44 ---> aae2c040241c 07:50:44 Step 7/10 : COPY go.mod vendor* ./ 07:50:44 ---> 7a3f362929b9 07:50:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:50:44 ---> Running in 0f58015b2a2f 07:51:31 Removing intermediate container 0f58015b2a2f 07:51:31 ---> 483158d2e02b 07:51:31 Step 9/10 : COPY . . 07:51:31 ---> c1335dcf481b 07:51:31 Step 10/10 : RUN ${MAKE} 07:51:31 ---> Running in 9140ab08a455 07:51:31 noop 07:51:31 Removing intermediate container 9140ab08a455 07:51:31 ---> 6565e7d9be64 07:51:31 Successfully built 6565e7d9be64 07:51:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:32 + docker inspect -f . ci-base-image-x86_64 07:51:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:32 prd-ubuntu20.04-docker-8c-8g-35189 does not seem to be running inside a container 07:51:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-26 -v /w/workspace/edgexfoundry_device-s7_PR-26:/w/workspace/edgexfoundry_device-s7_PR-26:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-26@tmp:/w/workspace/edgexfoundry_device-s7_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:51:32 $ docker top 5355a89151b02125194c32383449fcf4bf8024f899f697cdf5dd9859e4547bcd -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:32 + go version 07:51:32 go version go1.23.2 linux/amd64 [Pipeline] } 07:51:32 $ docker stop --time=1 5355a89151b02125194c32383449fcf4bf8024f899f697cdf5dd9859e4547bcd 07:51:34 $ docker rm -f --volumes 5355a89151b02125194c32383449fcf4bf8024f899f697cdf5dd9859e4547bcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:34 + docker inspect -f . ci-base-image-x86_64 07:51:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:34 prd-ubuntu20.04-docker-8c-8g-35189 does not seem to be running inside a container 07:51:34 $ 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-26 -v /w/workspace/edgexfoundry_device-s7_PR-26:/w/workspace/edgexfoundry_device-s7_PR-26:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-26@tmp:/w/workspace/edgexfoundry_device-s7_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:51:34 $ docker top 7a15c39607b3cfe08cfdc123f84c4b44c839f1998b254013d4ca9ce4a3ce11fb -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-26 [Pipeline] fileExists [Pipeline] sh 07:51:35 + make test 07:51:35 go test -race -coverprofile=coverage.out ./... 07:51:43 ? github.com/edgexfoundry/device-s7 [no test files] 07:52:05 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 07:52:05 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 07:52:44 go vet ./... 07:52:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:52:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:52:44 ./bin/test-attribution-txt.sh [Pipeline] echo 07:52:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:52:44 $ docker stop --time=1 7a15c39607b3cfe08cfdc123f84c4b44c839f1998b254013d4ca9ce4a3ce11fb 07:52:48 $ docker rm -f --volumes 7a15c39607b3cfe08cfdc123f84c4b44c839f1998b254013d4ca9ce4a3ce11fb [Pipeline] // withDockerContainer [Pipeline] sh 07:52:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:52:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:52:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:52:49 + ls -al . 07:52:49 total 228 07:52:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 07:51 . 07:52:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 16 07:50 .. 07:52:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 16 07:52 .git 07:52:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 07:50 .github 07:52:49 -rw-rw-r-- 1 jenkins jenkins 237 Dec 16 07:50 .gitignore 07:52:49 -rw-rw-r-- 1 jenkins jenkins 42 Dec 16 07:50 .golangci.yml 07:52:49 drwxr-xr-x 3 jenkins jenkins 4096 Dec 16 07:50 .semver 07:52:49 -rw-rw-r-- 1 jenkins jenkins 19679 Dec 16 07:50 Attribution.txt 07:52:49 -rw-rw-r-- 1 jenkins jenkins 1579 Dec 16 07:50 Dockerfile 07:52:49 -rw-rw-r-- 1 jenkins jenkins 643 Dec 16 07:50 Jenkinsfile 07:52:49 -rw-rw-r-- 1 jenkins jenkins 10947 Dec 16 07:50 LICENSE 07:52:49 -rw-rw-r-- 1 jenkins jenkins 1903 Dec 16 07:50 Makefile 07:52:49 -rw-rw-r-- 1 jenkins jenkins 614 Dec 16 07:50 OWNERS.md 07:52:49 -rw-rw-r-- 1 jenkins jenkins 2393 Dec 16 07:50 README.md 07:52:49 -rw-rw-r-- 1 jenkins jenkins 5 Dec 16 07:50 VERSION 07:52:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 16 07:50 bin 07:52:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 07:50 cmd 07:52:49 -rw-r--r-- 1 jenkins jenkins 17164 Dec 16 07:52 coverage.out 07:52:49 -rw-rw-r-- 1 jenkins jenkins 6929 Dec 16 07:50 go.mod 07:52:49 -rw-rw-r-- 1 jenkins jenkins 100385 Dec 16 07:50 go.sum 07:52:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 16 07:50 internal 07:52:49 -rw-rw-r-- 1 jenkins jenkins 223 Dec 16 07:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:50 + 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=1a923a66095efe291882670bdbaa1fb24449db72 --label arch=amd64 --label version=0.0.0 . 07:52:50 Sending build context to Docker daemon 683.5kB 07:52:50 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 07:52:50 Step 2/24 : FROM ${BASE} AS builder 07:52:50 ---> 6565e7d9be64 07:52:50 Step 3/24 : ARG MAKE=make build 07:52:50 ---> Running in c890ff05fe0c 07:52:50 Removing intermediate container c890ff05fe0c 07:52:50 ---> 11513bc417c9 07:52:50 Step 4/24 : WORKDIR /device-s7 07:52:50 ---> Running in c0161c786181 07:52:50 Removing intermediate container c0161c786181 07:52:50 ---> e83c009fd290 07:52:50 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:52:50 ---> Running in 4e2f3ed11a90 07:52:50 Removing intermediate container 4e2f3ed11a90 07:52:50 ---> 63772febb1bf 07:52:50 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 07:52:50 ---> Running in 24e76f73e101 07:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:52:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:52:51 OK: 246 MiB in 54 packages 07:52:51 Removing intermediate container 24e76f73e101 07:52:51 ---> 9f63a136e89e 07:52:51 Step 7/24 : COPY go.mod vendor* ./ 07:52:51 ---> c2c1471767ee 07:52:51 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:51 ---> Running in c646eab60010 07:52:52 Removing intermediate container c646eab60010 07:52:52 ---> 647b97989b6f 07:52:52 Step 9/24 : COPY . . 07:52:52 ---> 62f6edaa2032 07:52:52 Step 10/24 : RUN ${MAKE} 07:52:52 ---> Running in 361c06b0e6d5 07:52:52 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 07:53:31 Removing intermediate container 361c06b0e6d5 07:53:31 ---> 6416f5ba6ba8 07:53:31 Step 11/24 : FROM alpine:3.20 07:53:31 3.20: Pulling from library/alpine 07:53:31 da9db072f522: Pulling fs layer 07:53:31 da9db072f522: Download complete 07:53:31 da9db072f522: Pull complete 07:53:31 Digest: sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a 07:53:31 Status: Downloaded newer image for alpine:3.20 07:53:31 ---> 63b790fccc90 07:53:31 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:53:31 ---> Running in 4b61eeaa8ac0 07:53:31 Removing intermediate container 4b61eeaa8ac0 07:53:31 ---> 84db50f08ccc 07:53:31 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:53:31 ---> Running in 8d892d117cfc 07:53:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:53:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:53:31 (1/1) Installing dumb-init (1.2.5-r3) 07:53:31 Executing busybox-1.36.1-r29.trigger 07:53:31 OK: 8 MiB in 15 packages 07:53:31 Removing intermediate container 8d892d117cfc 07:53:31 ---> 37505dfa0baa 07:53:31 Step 14/24 : RUN apk --no-cache upgrade 07:53:31 ---> Running in 3f4eddf39b64 07:53:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:53:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:53:31 Upgrading critical system libraries and apk-tools: 07:53:31 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:53:31 Executing busybox-1.36.1-r29.trigger 07:53:31 Continuing the upgrade transaction with new apk-tools: 07:53:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:53:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:53:31 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 07:53:31 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 07:53:31 OK: 8 MiB in 15 packages 07:53:31 Removing intermediate container 3f4eddf39b64 07:53:31 ---> cfc4968a6923 07:53:31 Step 15/24 : WORKDIR / 07:53:31 ---> Running in 952df77d0296 07:53:31 Removing intermediate container 952df77d0296 07:53:31 ---> c93913614df9 07:53:31 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 07:53:31 ---> ddbfcbdb9e80 07:53:31 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 07:53:31 ---> 9dda392adf4e 07:53:31 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 07:53:31 ---> 5af4866e5b93 07:53:31 Step 19/24 : EXPOSE 59994 07:53:31 ---> Running in 8f96b1aed928 07:53:31 Removing intermediate container 8f96b1aed928 07:53:31 ---> e647cade6454 07:53:31 Step 20/24 : ENTRYPOINT ["/device-s7"] 07:53:31 ---> Running in f2d21ceab6ec 07:53:31 Removing intermediate container f2d21ceab6ec 07:53:31 ---> 1789808f2ff4 07:53:31 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:53:31 ---> Running in 1aa26d856130 07:53:31 Removing intermediate container 1aa26d856130 07:53:31 ---> 50db8d4dfc5e 07:53:31 Step 22/24 : LABEL arch=amd64 07:53:31 ---> Running in 3a7164fb9119 07:53:31 Removing intermediate container 3a7164fb9119 07:53:31 ---> 9568f5084143 07:53:31 Step 23/24 : LABEL git_sha=1a923a66095efe291882670bdbaa1fb24449db72 07:53:31 ---> Running in 28a65de1993c 07:53:31 Removing intermediate container 28a65de1993c 07:53:31 ---> 870b00349535 07:53:31 Step 24/24 : LABEL version=0.0.0 07:53:31 ---> Running in 4d0d50b1c4d4 07:53:31 Removing intermediate container 4d0d50b1c4d4 07:53:31 ---> 2f2c6614c725 07:53:31 [Warning] One or more build-args [ARCH] were not consumed 07:53:31 Successfully built 2f2c6614c725 07:53:31 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 07:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:32 07:53:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:32 latest: Pulling from edgex-lftools-log-publisher 07:53:32 5eb5b503b376: Pulling fs layer 07:53:32 5c69ac0246d0: Pulling fs layer 07:53:32 ec43610c2a17: Pulling fs layer 07:53:32 3a2ae6a8a46f: Pulling fs layer 07:53:32 33b1e0a273af: Pulling fs layer 07:53:32 5d3b04190fa2: Pulling fs layer 07:53:32 2f39f015ded8: Pulling fs layer 07:53:32 3a2ae6a8a46f: Waiting 07:53:32 5d3b04190fa2: Waiting 07:53:32 2f39f015ded8: Waiting 07:53:32 33b1e0a273af: Waiting 07:53:32 5c69ac0246d0: Verifying Checksum 07:53:32 5c69ac0246d0: Download complete 07:53:32 3a2ae6a8a46f: Verifying Checksum 07:53:32 3a2ae6a8a46f: Download complete 07:53:32 33b1e0a273af: Verifying Checksum 07:53:32 33b1e0a273af: Download complete 07:53:32 5d3b04190fa2: Verifying Checksum 07:53:32 5d3b04190fa2: Download complete 07:53:32 ec43610c2a17: Verifying Checksum 07:53:32 ec43610c2a17: Download complete 07:53:32 5eb5b503b376: Verifying Checksum 07:53:32 5eb5b503b376: Download complete 07:53:33 2f39f015ded8: Download complete 07:53:33 5eb5b503b376: Pull complete 07:53:34 5c69ac0246d0: Pull complete 07:53:34 ec43610c2a17: Pull complete 07:53:34 3a2ae6a8a46f: Pull complete 07:53:34 33b1e0a273af: Pull complete 07:53:34 5d3b04190fa2: Pull complete 07:53:38 2f39f015ded8: Pull complete 07:53:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:53:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:38 prd-ubuntu20.04-docker-8c-8g-35189 does not seem to be running inside a container 07:53:38 $ 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-26 -v /w/workspace/edgexfoundry_device-s7_PR-26:/w/workspace/edgexfoundry_device-s7_PR-26:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-26@tmp:/w/workspace/edgexfoundry_device-s7_PR-26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:53:42 $ docker top b275b2abdef9e1480bd36ccc1a4572000fb0919f5c318aa7917794937dea34fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:53:43 ---> job-cost.sh 07:53:43 lf-activate-venv: SKIPPING 07:53:43 INFO: No Stack... 07:53:43 INFO: Retrieving Pricing Info for: v3-standard-8 07:53:43 INFO: Archiving Costs [Pipeline] sh 07:53:44 + cat /w/workspace/edgexfoundry_device-s7_PR-26/archives/cost.csv 07:53:44 + cut -d, -f6 [Pipeline] lock 07:53:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-26-2-stack-cost] 07:53:44 Resource [jenkins-edgexfoundry-device-s7-PR-26-2-stack-cost] did not exist. Created. 07:53:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-26-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:53:44 + echo total: 0.2199999988079071 [Pipeline] stash 07:53:44 Stashed 1 file(s) [Pipeline] } 07:53:44 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-26-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:53:44 $ docker stop --time=1 b275b2abdef9e1480bd36ccc1a4572000fb0919f5c318aa7917794937dea34fc 07:53:45 $ docker rm -f --volumes b275b2abdef9e1480bd36ccc1a4572000fb0919f5c318aa7917794937dea34fc [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 07:53:46 provisioning config files... 07:53:46 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-26@tmp/config5586707109168316818tmp [Pipeline] { [Pipeline] sh 07:53:46 + set +x 07:53:46 + curl -s https://codecov.io/bash 07:53:46 + bash -s -- 07:53:46 07:53:46 _____ _ 07:53:46 / ____| | | 07:53:46 | | ___ __| | ___ ___ _____ __ 07:53:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:53:46 | |___| (_) | (_| | __/ (_| (_) \ V / 07:53:46 \_____\___/ \__,_|\___|\___\___/ \_/ 07:53:46 Bash-1.0.6 07:53:46 07:53:46 07:53:46 ==> git version 2.25.1 found 07:53:46 ==> 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 07:53:46 Release-Date: 2020-01-08 07:53:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:53:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:53:46 ==> Jenkins CI detected. 07:53:46 current dir:  /w/workspace/edgexfoundry_device-s7_PR-26 07:53:46 project root: . 07:53:46 --> token set from env 07:53:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:53:46 ==> Running gcov in . (disable via -X gcov) 07:53:46 ==> Python coveragepy not found 07:53:46 ==> Searching for coverage reports in: 07:53:46 + . 07:53:46 -> Found 1 reports 07:53:46 ==> Detecting git/mercurial file structure 07:53:46 ==> Reading reports 07:53:46 + ./coverage.out bytes=17164 07:53:46 ==> Appending adjustments 07:53:46 https://docs.codecov.io/docs/fixing-reports 07:53:46 + Found adjustments 07:53:46 ==> Gzipping contents 07:53:46 4.0K /tmp/codecov.NKpcW2.gz 07:53:46 ==> Uploading reports 07:53:46 url: https://codecov.io 07:53:46 query: branch=PR-26&commit=1a923a66095efe291882670bdbaa1fb24449db72&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-26%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=26&job=&cmd_args= 07:53:46 -> Pinging Codecov 07:53:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-26&commit=1a923a66095efe291882670bdbaa1fb24449db72&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-26%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=26&job=&cmd_args= 07:53:46 -> Uploading to 07:53:46 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/1a923a66095efe291882670bdbaa1fb24449db72/2b24e085-62c6-4f75-b57a-915ded27ea24.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241216%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241216T075346Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=908789b07d0f643fb5d23195e20dd25040b5535fd1e5d26ccdabfc31c200bf7c 07:53:46 % Total % Received % Xferd Average Speed Time Time Time Current 07:53:46 Dload Upload Total Spent Left Speed 07:53:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2591 0 0 100 2591 0 14314 --:--:-- --:--:-- --:--:-- 14314 07:53:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/1a923a66095efe291882670bdbaa1fb24449db72 [Pipeline] } 07:53:46 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 07:53:47 + [ -d /w/workspace/edgexfoundry_device-s7_PR-26/archives ] 07:53:47 + ls -al /w/workspace/edgexfoundry_device-s7_PR-26/archives 07:53:47 total 16 07:53:47 drwxr-xr-x 3 root root 4096 Dec 16 07:53 . 07:53:47 drwxrwxr-x 9 jenkins jenkins 4096 Dec 16 07:53 .. 07:53:47 drwxr-xr-x 2 root root 4096 Dec 16 07:53 cost 07:53:47 -rw-r--r-- 1 root root 80 Dec 16 07:53 cost.csv 07:53:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-26/archives 07:53:47 + ls -al /w/workspace/edgexfoundry_device-s7_PR-26/archives 07:53:47 total 16 07:53:47 drwxr-xr-x 3 jenkins jenkins 4096 Dec 16 07:53 . 07:53:47 drwxrwxr-x 9 jenkins jenkins 4096 Dec 16 07:53 .. 07:53:47 drwxr-xr-x 2 jenkins jenkins 4096 Dec 16 07:53 cost 07:53:47 -rw-r--r-- 1 jenkins jenkins 80 Dec 16 07:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:53:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:53:48 ---> package-listing.sh 07:53:48 ++ facter osfamily 07:53:48 ++ tr '[:upper:]' '[:lower:]' 07:53:49 + OS_FAMILY=debian 07:53:49 + workspace=/w/workspace/edgexfoundry_device-s7_PR-26 07:53:49 + START_PACKAGES=/tmp/packages_start.txt 07:53:49 + END_PACKAGES=/tmp/packages_end.txt 07:53:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:53:49 + PACKAGES=/tmp/packages_start.txt 07:53:49 + '[' /w/workspace/edgexfoundry_device-s7_PR-26 ']' 07:53:49 + PACKAGES=/tmp/packages_end.txt 07:53:49 + case "${OS_FAMILY}" in 07:53:49 + dpkg -l 07:53:49 + grep '^ii' 07:53:49 + '[' -f /tmp/packages_start.txt ']' 07:53:49 + '[' -f /tmp/packages_end.txt ']' 07:53:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:53:49 + '[' /w/workspace/edgexfoundry_device-s7_PR-26 ']' 07:53:49 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-26/archives/ 07:53:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-26/archives/ [Pipeline] echo 07:53:49 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-26/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:53:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:49 prd-ubuntu20.04-docker-8c-8g-35189 does not seem to be running inside a container 07:53:49 $ 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-26/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-26 -v /w/workspace/edgexfoundry_device-s7_PR-26:/w/workspace/edgexfoundry_device-s7_PR-26:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-26@tmp:/w/workspace/edgexfoundry_device-s7_PR-26@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 07:53:50 $ docker top e0d6aefaa376ec081f8989f244e4ea760e030148acacf41dc944b0b88f9d8a58 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:50 + touch /tmp/pre-build-complete [Pipeline] sh 07:53:50 + mkdir -p /var/log/sysstat [Pipeline] sh 07:53:51 + ls /var/log/sa-host 07:53:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:53:51 provisioning config files... 07:53:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-26@tmp/config9424224433584572295tmp [Pipeline] { [Pipeline] echo 07:53:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:53:51 ---> create-netrc.sh [Pipeline] } 07:53:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:53:51 ---> python-tools-install.sh [Pipeline] echo 07:53:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:53:52 ---> sudo-logs.sh 07:53:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:53:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:53:52 ---> job-cost.sh 07:53:52 lf-activate-venv: SKIPPING 07:53:52 DEBUG: total: 0.2199999988079071 07:53:52 INFO: Retrieving Stack Cost... 07:53:52 INFO: Retrieving Pricing Info for: v3-standard-8 07:53:52 INFO: Archiving Costs [Pipeline] echo 07:53:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:53:53 ---> logs-deploy.sh 07:53:53 lf-activate-venv: SKIPPING 07:53:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-26/2 07:53:53 INFO: archiving workspace using pattern(s): 07:53:53 Archives upload complete. 07:53:53 INFO: archiving logs to Nexus