jinlinGuan commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97+2d83bb8572707f71b91caf73b01df10f3019136c (c23063eb2e9022aa1354c40874938e1bcb854bd1) 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-ssh4177533399368726195.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-ssh12755429522285342898.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-36/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-36/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13952582931492947612.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-ssh560930869257082841.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-36/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-36/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7641256464423191592.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-37187 in /w/workspace/edgexfoundry_device-s7_PR-36 [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-36 # 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 > 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 Merging remotes/origin/main commit 2d83bb8572707f71b91caf73b01df10f3019136c into PR head commit 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 Merge succeeded, producing 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 Checking out Revision 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 (PR-36) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v4" > 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/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 # 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 2d83bb8572707f71b91caf73b01df10f3019136c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 # timeout=10 > git rev-list --no-walk 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:44:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:44:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:44:48 ========================================================= 01:44:48 EdgeX Global Pipelines Version Info 01:44:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:44:48 ------------------- 01:44:48 stable info: 01:44:48 ------------------- 01:44:48 Commited By: Cherry Wang cherry@iotechsys.com 01:44:48 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:44:48 Message: update stable to v1.0.269 01:44:49 ------------------- 01:44:49 experimental info: 01:44:49 ------------------- 01:44:49 Commited By: **** collab-it+edgex@linuxfoundation.org 01:44:49 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 01:44:49 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:44:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-36 [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-36 [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-36 [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5185ea8 [Pipeline] echo 01:44:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:50 provisioning config files... 01:44:50 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-36@tmp/config17871601971199172273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:50 ---> ****-login.sh 01:44:50 nexus3.edgexfoundry.org:10001 01:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:51 Configure a credential helper to remove this warning. See 01:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:51 01:44:51 Login Succeeded 01:44:51 nexus3.edgexfoundry.org:10002 01:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:51 Configure a credential helper to remove this warning. See 01:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:51 01:44:51 Login Succeeded 01:44:51 nexus3.edgexfoundry.org:10003 01:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:51 Configure a credential helper to remove this warning. See 01:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:51 01:44:51 Login Succeeded 01:44:51 nexus3.edgexfoundry.org:10004 01:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:51 Configure a credential helper to remove this warning. See 01:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:51 01:44:51 Login Succeeded 01:44:51 ****.io 01:44:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:44:51 Configure a credential helper to remove this warning. See 01:44:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:44:51 01:44:51 Login Succeeded 01:44:51 ---> ****-login.sh ends [Pipeline] } 01:44:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:44:52 + git rev-list -1 --merges 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97~1..5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 [Pipeline] echo 01:44:52 -----------> git rev-list -1 --merges 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97~1..5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 [false] [Pipeline] sh 01:44:52 + git log --format=format:%s -1 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 [Pipeline] echo 01:44:52 ========================================================= 01:44:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:44:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:52 + git log --format=format:%s -1 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 [Pipeline] echo 01:44:52 [semverPrep] GIT_COMMIT: 5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v4 [Pipeline] echo 01:44:52 [semverPrep] This is not a build commit. [Pipeline] sh 01:44:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:44:53 + grep -v github /etc/ssh/ssh_known_hosts 01:44:53 + [ -e /tmp/ssh_known_hosts ] 01:44:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:44:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:44:53 + sudo tee -a /etc/ssh/ssh_known_hosts 01:44:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:44:53 01:44:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:44:54 0.1.4: Pulling from edgex-devops/py-git-semver 01:44:54 b85a868b505f: Pulling fs layer 01:44:54 e2be974225ed: Pulling fs layer 01:44:54 339a4e72a1f5: Pulling fs layer 01:44:54 988bab9f4d93: Pulling fs layer 01:44:54 1469e6f7b9e6: Pulling fs layer 01:44:54 eaf3925da568: Pulling fs layer 01:44:54 bab4dde63d76: Pulling fs layer 01:44:54 bde34c3a00c8: Pulling fs layer 01:44:54 b352a97aabf1: Pulling fs layer 01:44:54 4872d77fe225: Pulling fs layer 01:44:54 5851b861e8e6: Pulling fs layer 01:44:54 988bab9f4d93: Waiting 01:44:54 1469e6f7b9e6: Waiting 01:44:54 eaf3925da568: Waiting 01:44:54 bab4dde63d76: Waiting 01:44:54 bde34c3a00c8: Waiting 01:44:54 b352a97aabf1: Waiting 01:44:54 4872d77fe225: Waiting 01:44:54 5851b861e8e6: Waiting 01:44:54 e2be974225ed: Verifying Checksum 01:44:54 e2be974225ed: Download complete 01:44:54 988bab9f4d93: Verifying Checksum 01:44:54 988bab9f4d93: Download complete 01:44:54 1469e6f7b9e6: Verifying Checksum 01:44:54 1469e6f7b9e6: Download complete 01:44:54 eaf3925da568: Download complete 01:44:54 339a4e72a1f5: Verifying Checksum 01:44:54 339a4e72a1f5: Download complete 01:44:54 bde34c3a00c8: Download complete 01:44:54 b352a97aabf1: Download complete 01:44:54 4872d77fe225: Download complete 01:44:54 5851b861e8e6: Download complete 01:44:54 b85a868b505f: Download complete 01:44:54 bab4dde63d76: Verifying Checksum 01:44:54 bab4dde63d76: Download complete 01:44:55 b85a868b505f: Pull complete 01:44:55 e2be974225ed: Pull complete 01:44:56 339a4e72a1f5: Pull complete 01:44:56 988bab9f4d93: Pull complete 01:44:56 1469e6f7b9e6: Pull complete 01:44:56 eaf3925da568: Pull complete 01:44:58 bab4dde63d76: Pull complete 01:44:58 bde34c3a00c8: Pull complete 01:44:58 b352a97aabf1: Pull complete 01:44:58 4872d77fe225: Pull complete 01:44:58 5851b861e8e6: Pull complete 01:44:58 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:44:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:44:58 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:58 prd-ubuntu20.04-docker-8c-8g-37187 does not seem to be running inside a container 01:44:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-36 -v /w/workspace/edgexfoundry_device-s7_PR-36:/w/workspace/edgexfoundry_device-s7_PR-36:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-36@tmp:/w/workspace/edgexfoundry_device-s7_PR-36@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:45:01 $ docker top ce6e4e597c093b5df7f90d61bac9d01b1b368d1ad0cd40679495c154adb5984f -eo pid,comm 01:45:01 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:45:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:45:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:01 [ssh-agent] Looking for ssh-agent implementation... 01:45:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:01 $ docker exec ce6e4e597c093b5df7f90d61bac9d01b1b368d1ad0cd40679495c154adb5984f ssh-agent 01:45:01 SSH_AUTH_SOCK=/tmp/ssh-75rwztAbO4kq/agent.32 01:45:01 SSH_AGENT_PID=38 01:45:01 Running ssh-add (command line suppressed) 01:45:02 Identity added: /w/workspace/edgexfoundry_device-s7_PR-36@tmp/private_key_17409208191890084640.key (/w/workspace/edgexfoundry_device-s7_PR-36@tmp/private_key_17409208191890084640.key) 01:45:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:02 + git tag --points-at HEAD [Pipeline] } 01:45:02 $ docker exec --env ******** --env ******** ce6e4e597c093b5df7f90d61bac9d01b1b368d1ad0cd40679495c154adb5984f ssh-agent -k 01:45:02 unset SSH_AUTH_SOCK; 01:45:02 unset SSH_AGENT_PID; 01:45:02 echo Agent pid 38 killed; 01:45:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:45:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:45:02 [ssh-agent] Looking for ssh-agent implementation... 01:45:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:45:02 $ docker exec ce6e4e597c093b5df7f90d61bac9d01b1b368d1ad0cd40679495c154adb5984f ssh-agent 01:45:02 SSH_AUTH_SOCK=/tmp/ssh-ZMiIKURCIZkb/agent.71 01:45:02 SSH_AGENT_PID=77 01:45:02 Running ssh-add (command line suppressed) 01:45:02 Identity added: /w/workspace/edgexfoundry_device-s7_PR-36@tmp/private_key_9693063029392759935.key (/w/workspace/edgexfoundry_device-s7_PR-36@tmp/private_key_9693063029392759935.key) 01:45:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:45:03 + git semver init 01:45:03 2025-01-20 01:45:03,361 [run_init] DEBUG init version:0.0.0 force:False 01:45:03 2025-01-20 01:45:03,362 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-36/.semver 01:45:03 2025-01-20 01:45:03,362 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-36/.semver 01:45:03 2025-01-20 01:45:03,362 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-36/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-36, universal_newlines=False, shell=None, istream=None) 01:45:04 2025-01-20 01:45:03,948 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-36/.git/info/exclude 01:45:04 2025-01-20 01:45:03,949 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-36/.semver/PR-36 with force:False 01:45:04 2025-01-20 01:45:03,949 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-36/.semver/PR-36 01:45:04 2025-01-20 01:45:03,953 [execute] INFO git cat-file --batch-check 01:45:04 2025-01-20 01:45:03,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-36/.semver, universal_newlines=False, shell=None, istream=) 01:45:04 2025-01-20 01:45:03,958 [execute] INFO git cat-file --batch 01:45:04 2025-01-20 01:45:03,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-36/.semver, universal_newlines=False, shell=None, istream=) 01:45:04 2025-01-20 01:45:03,963 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-36/.semver/PR-36 01:45:04 0.0.0 [Pipeline] } 01:45:04 $ docker exec --env ******** --env ******** ce6e4e597c093b5df7f90d61bac9d01b1b368d1ad0cd40679495c154adb5984f ssh-agent -k 01:45:04 unset SSH_AUTH_SOCK; 01:45:04 unset SSH_AGENT_PID; 01:45:04 echo Agent pid 77 killed; 01:45:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:45:04 + git semver [Pipeline] } 01:45:04 $ docker stop --time=1 ce6e4e597c093b5df7f90d61bac9d01b1b368d1ad0cd40679495c154adb5984f 01:45:06 $ docker rm -f --volumes ce6e4e597c093b5df7f90d61bac9d01b1b368d1ad0cd40679495c154adb5984f [Pipeline] // withDockerContainer [Pipeline] sh 01:45:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:45:06 Stashed 1 file(s) [Pipeline] echo 01:45:06 [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:45:06 provisioning config files... 01:45:06 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-36@tmp/config18164641089381436657tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 01:45:07 ---> ****-login.sh 01:45:07 nexus3.edgexfoundry.org:10001 01:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:07 Configure a credential helper to remove this warning. See 01:45:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:07 01:45:07 Login Succeeded 01:45:07 nexus3.edgexfoundry.org:10002 01:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:07 Configure a credential helper to remove this warning. See 01:45:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:07 01:45:07 Login Succeeded 01:45:07 nexus3.edgexfoundry.org:10003 01:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:07 Configure a credential helper to remove this warning. See 01:45:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:07 01:45:07 Login Succeeded 01:45:07 nexus3.edgexfoundry.org:10004 01:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:07 Configure a credential helper to remove this warning. See 01:45:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:07 01:45:07 Login Succeeded 01:45:07 ****.io 01:45:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:45:07 Configure a credential helper to remove this warning. See 01:45:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:45:07 01:45:07 Login Succeeded 01:45:07 ---> ****-login.sh ends [Pipeline] } 01:45:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:45:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:45:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:45:07 ========================================================= 01:45:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:45:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:08 + 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:45:08 Sending build context to Docker daemon 773.1kB 01:45:08 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 01:45:08 Step 2/10 : FROM ${BASE} AS builder 01:45:08 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:45:08 da9db072f522: Pulling fs layer 01:45:08 6ef4a4ee8ca5: Pulling fs layer 01:45:08 06f05ace1117: Pulling fs layer 01:45:08 5fe327b54edc: Pulling fs layer 01:45:08 4f4fb700ef54: Pulling fs layer 01:45:08 92a5565b7b96: Pulling fs layer 01:45:08 ff9bb7016b71: Pulling fs layer 01:45:08 b67dba6c2c7d: Pulling fs layer 01:45:08 a813b0c90790: Pulling fs layer 01:45:08 5fe327b54edc: Waiting 01:45:08 4f4fb700ef54: Waiting 01:45:08 92a5565b7b96: Waiting 01:45:08 b67dba6c2c7d: Waiting 01:45:08 ff9bb7016b71: Waiting 01:45:08 a813b0c90790: Waiting 01:45:08 6ef4a4ee8ca5: Verifying Checksum 01:45:08 6ef4a4ee8ca5: Download complete 01:45:08 5fe327b54edc: Verifying Checksum 01:45:08 5fe327b54edc: Download complete 01:45:08 4f4fb700ef54: Download complete 01:45:08 92a5565b7b96: Verifying Checksum 01:45:08 92a5565b7b96: Download complete 01:45:08 da9db072f522: Download complete 01:45:08 ff9bb7016b71: Verifying Checksum 01:45:08 ff9bb7016b71: Download complete 01:45:09 a813b0c90790: Verifying Checksum 01:45:09 a813b0c90790: Download complete 01:45:09 da9db072f522: Pull complete 01:45:09 6ef4a4ee8ca5: Pull complete 01:45:09 06f05ace1117: Verifying Checksum 01:45:09 06f05ace1117: Download complete 01:45:09 b67dba6c2c7d: Verifying Checksum 01:45:09 b67dba6c2c7d: Download complete 01:45:12 06f05ace1117: Pull complete 01:45:12 5fe327b54edc: Pull complete 01:45:12 4f4fb700ef54: Pull complete 01:45:12 92a5565b7b96: Pull complete 01:45:12 ff9bb7016b71: Pull complete 01:45:15 b67dba6c2c7d: Pull complete 01:45:15 a813b0c90790: Pull complete 01:45:15 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 01:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:45:15 ---> 3ba60ce46760 01:45:15 Step 3/10 : ARG MAKE=make build 01:45:20 ---> Running in 4f1b1c213fd0 01:45:20 Removing intermediate container 4f1b1c213fd0 01:45:20 ---> f7ac4f4092f4 01:45:20 Step 4/10 : WORKDIR /device-s7 01:45:20 ---> Running in e64971dcbc2b 01:45:20 Removing intermediate container e64971dcbc2b 01:45:20 ---> 719549f07764 01:45:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 01:45:20 ---> Running in ab01d123192b 01:45:20 Removing intermediate container ab01d123192b 01:45:20 ---> f1999cf389a8 01:45:20 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 01:45:20 ---> Running in e1af63ca9d22 01:45:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:45:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:45:21 OK: 248 MiB in 58 packages 01:45:21 Removing intermediate container e1af63ca9d22 01:45:21 ---> 52bf9ea51bef 01:45:21 Step 7/10 : COPY go.mod vendor* ./ 01:45:22 ---> 8d43d19b1e36 01:45:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:22 ---> Running in edcee9cfc754 01:46:18 Removing intermediate container edcee9cfc754 01:46:18 ---> 94fd4b48b77e 01:46:18 Step 9/10 : COPY . . 01:46:18 ---> 48f4a72f245f 01:46:18 Step 10/10 : RUN ${MAKE} 01:46:18 ---> Running in 7edb6b283825 01:46:18 noop 01:46:18 Removing intermediate container 7edb6b283825 01:46:18 ---> fbdc553c6608 01:46:18 Successfully built fbdc553c6608 01:46:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:18 + docker inspect -f . ci-base-image-x86_64 01:46:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:18 prd-ubuntu20.04-docker-8c-8g-37187 does not seem to be running inside a container 01:46:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-36 -v /w/workspace/edgexfoundry_device-s7_PR-36:/w/workspace/edgexfoundry_device-s7_PR-36:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-36@tmp:/w/workspace/edgexfoundry_device-s7_PR-36@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 ******** ci-base-image-x86_64 cat 01:46:19 $ docker top f49d5996cb45218c3fb945882d54504f2dfef8f107669366c6b4830a846e7a77 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:19 + go version 01:46:19 go version go1.23.4 linux/amd64 [Pipeline] } 01:46:19 $ docker stop --time=1 f49d5996cb45218c3fb945882d54504f2dfef8f107669366c6b4830a846e7a77 01:46:20 $ docker rm -f --volumes f49d5996cb45218c3fb945882d54504f2dfef8f107669366c6b4830a846e7a77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:21 + docker inspect -f . ci-base-image-x86_64 01:46:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:21 prd-ubuntu20.04-docker-8c-8g-37187 does not seem to be running inside a container 01:46:21 $ 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-36 -v /w/workspace/edgexfoundry_device-s7_PR-36:/w/workspace/edgexfoundry_device-s7_PR-36:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-36@tmp:/w/workspace/edgexfoundry_device-s7_PR-36@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 ******** ci-base-image-x86_64 cat 01:46:21 $ docker top 3bfa257ebc0a5027c528f8723ceb05d546018ee171db88d63e45736b706668ed -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-36 [Pipeline] fileExists [Pipeline] sh 01:46:22 + make test 01:46:22 go test -race -coverprofile=coverage.out ./... 01:46:30 ? github.com/edgexfoundry/device-s7 [no test files] 01:46:57 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 01:46:57 ok github.com/edgexfoundry/device-s7/internal/driver 1.028s coverage: 6.8% of statements 01:47:29 go vet ./... 01:47:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:47:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:47:35 ./bin/test-attribution-txt.sh [Pipeline] echo 01:47:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:47:35 $ docker stop --time=1 3bfa257ebc0a5027c528f8723ceb05d546018ee171db88d63e45736b706668ed 01:47:40 $ docker rm -f --volumes 3bfa257ebc0a5027c528f8723ceb05d546018ee171db88d63e45736b706668ed [Pipeline] // withDockerContainer [Pipeline] sh 01:47:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:47:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:47:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:47:41 + ls -al . 01:47:41 total 216 01:47:41 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:46 . 01:47:41 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 01:44 .. 01:47:41 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 01:46 .git 01:47:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:44 .github 01:47:41 -rw-rw-r-- 1 jenkins jenkins 237 Jan 20 01:44 .gitignore 01:47:41 -rw-rw-r-- 1 jenkins jenkins 42 Jan 20 01:44 .golangci.yml 01:47:41 drwxr-xr-x 3 jenkins jenkins 4096 Jan 20 01:45 .semver 01:47:41 -rw-rw-r-- 1 jenkins jenkins 19679 Jan 20 01:44 Attribution.txt 01:47:41 -rw-rw-r-- 1 jenkins jenkins 1579 Jan 20 01:44 Dockerfile 01:47:41 -rw-rw-r-- 1 jenkins jenkins 643 Jan 20 01:44 Jenkinsfile 01:47:41 -rw-rw-r-- 1 jenkins jenkins 10947 Jan 20 01:44 LICENSE 01:47:41 -rw-rw-r-- 1 jenkins jenkins 1903 Jan 20 01:44 Makefile 01:47:41 -rw-rw-r-- 1 jenkins jenkins 614 Jan 20 01:44 OWNERS.md 01:47:41 -rw-rw-r-- 1 jenkins jenkins 2393 Jan 20 01:44 README.md 01:47:41 -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 01:45 VERSION 01:47:41 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 01:44 bin 01:47:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:44 cmd 01:47:41 -rw-r--r-- 1 jenkins jenkins 19094 Jan 20 01:46 coverage.out 01:47:41 -rw-rw-r-- 1 jenkins jenkins 6168 Jan 20 01:44 go.mod 01:47:41 -rw-rw-r-- 1 jenkins jenkins 86857 Jan 20 01:44 go.sum 01:47:41 drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 01:44 internal 01:47:41 -rw-rw-r-- 1 jenkins jenkins 223 Jan 20 01:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:42 + 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=5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 --label arch=amd64 --label version=0.0.0 . 01:47:42 Sending build context to Docker daemon 793.1kB 01:47:42 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 01:47:42 Step 2/24 : FROM ${BASE} AS builder 01:47:42 ---> fbdc553c6608 01:47:42 Step 3/24 : ARG MAKE=make build 01:47:42 ---> Running in 64daf55f96cf 01:47:42 Removing intermediate container 64daf55f96cf 01:47:42 ---> 59dccf4f340d 01:47:42 Step 4/24 : WORKDIR /device-s7 01:47:42 ---> Running in c391f1541f31 01:47:42 Removing intermediate container c391f1541f31 01:47:42 ---> c44af7c312a9 01:47:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 01:47:42 ---> Running in 5a403d3bfc56 01:47:42 Removing intermediate container 5a403d3bfc56 01:47:42 ---> 041b6feffbf3 01:47:42 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 01:47:42 ---> Running in 4a97f0a24f8c 01:47:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:47:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:47:43 OK: 248 MiB in 58 packages 01:47:43 Removing intermediate container 4a97f0a24f8c 01:47:43 ---> 7ed82de566f2 01:47:43 Step 7/24 : COPY go.mod vendor* ./ 01:47:43 ---> 0ba96dd219b2 01:47:43 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:44 ---> Running in 5cae0d9d4504 01:47:44 Removing intermediate container 5cae0d9d4504 01:47:44 ---> a68f35a689cf 01:47:44 Step 9/24 : COPY . . 01:47:44 ---> 7d787cdfd2ba 01:47:44 Step 10/24 : RUN ${MAKE} 01:47:44 ---> Running in a54ce47bcd4c 01:47:45 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.19" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 01:48:24 Removing intermediate container a54ce47bcd4c 01:48:24 ---> 89dfbb02ff9c 01:48:24 Step 11/24 : FROM alpine:3.20 01:48:24 3.20: Pulling from library/alpine 01:48:24 66a3d608f3fa: Pulling fs layer 01:48:24 66a3d608f3fa: Verifying Checksum 01:48:24 66a3d608f3fa: Download complete 01:48:24 66a3d608f3fa: Pull complete 01:48:24 Digest: sha256:31687a2fdd021f85955bf2d0c2682e9c0949827560e1db546358ea094f740f12 01:48:24 Status: Downloaded newer image for alpine:3.20 01:48:24 ---> e29df9b510ff 01:48:24 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 01:48:24 ---> Running in aa2983675a37 01:48:24 Removing intermediate container aa2983675a37 01:48:24 ---> f6acd2d3bff2 01:48:24 Step 13/24 : RUN apk add --update --no-cache dumb-init 01:48:24 ---> Running in 20755ff4ed7e 01:48:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:48:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:48:24 (1/1) Installing dumb-init (1.2.5-r3) 01:48:24 Executing busybox-1.36.1-r29.trigger 01:48:24 OK: 8 MiB in 15 packages 01:48:24 Removing intermediate container 20755ff4ed7e 01:48:24 ---> 2662178e09a5 01:48:24 Step 14/24 : RUN apk --no-cache upgrade 01:48:24 ---> Running in f47164d4cf4c 01:48:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:48:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:48:24 OK: 8 MiB in 15 packages 01:48:24 Removing intermediate container f47164d4cf4c 01:48:24 ---> ee2573fc17ff 01:48:24 Step 15/24 : WORKDIR / 01:48:24 ---> Running in 3809e2b0dec6 01:48:24 Removing intermediate container 3809e2b0dec6 01:48:24 ---> 32f048ea5d5b 01:48:24 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 01:48:24 ---> 9f32fda4ce83 01:48:24 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 01:48:24 ---> cca22732f8b4 01:48:24 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 01:48:24 ---> 2d3e2151f7b8 01:48:24 Step 19/24 : EXPOSE 59994 01:48:24 ---> Running in cb206637c8f1 01:48:24 Removing intermediate container cb206637c8f1 01:48:24 ---> c12db5fa1406 01:48:24 Step 20/24 : ENTRYPOINT ["/device-s7"] 01:48:24 ---> Running in 25b188dfe042 01:48:24 Removing intermediate container 25b188dfe042 01:48:24 ---> ae648fa62e19 01:48:24 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:48:24 ---> Running in 358894f95566 01:48:24 Removing intermediate container 358894f95566 01:48:24 ---> 39739002f8d0 01:48:24 Step 22/24 : LABEL arch=amd64 01:48:24 ---> Running in 5d07439b6e5f 01:48:24 Removing intermediate container 5d07439b6e5f 01:48:24 ---> e7f3b3fd6b48 01:48:24 Step 23/24 : LABEL git_sha=5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 01:48:24 ---> Running in 9a58e21dc5e4 01:48:24 Removing intermediate container 9a58e21dc5e4 01:48:24 ---> b703fff5f32a 01:48:24 Step 24/24 : LABEL version=0.0.0 01:48:24 ---> Running in d39d4b3c8c4f 01:48:24 Removing intermediate container d39d4b3c8c4f 01:48:24 ---> bb876e7d2b8b 01:48:24 [Warning] One or more build-args [ARCH] were not consumed 01:48:24 Successfully built bb876e7d2b8b 01:48:24 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:48:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:25 01:48:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:25 latest: Pulling from edgex-lftools-log-publisher 01:48:25 5eb5b503b376: Pulling fs layer 01:48:25 5c69ac0246d0: Pulling fs layer 01:48:25 ec43610c2a17: Pulling fs layer 01:48:25 3a2ae6a8a46f: Pulling fs layer 01:48:25 33b1e0a273af: Pulling fs layer 01:48:25 5d3b04190fa2: Pulling fs layer 01:48:25 3a2ae6a8a46f: Waiting 01:48:25 5d3b04190fa2: Waiting 01:48:25 33b1e0a273af: Waiting 01:48:25 2f39f015ded8: Pulling fs layer 01:48:25 2f39f015ded8: Waiting 01:48:25 5c69ac0246d0: Verifying Checksum 01:48:25 5c69ac0246d0: Download complete 01:48:25 3a2ae6a8a46f: Verifying Checksum 01:48:25 3a2ae6a8a46f: Download complete 01:48:25 33b1e0a273af: Verifying Checksum 01:48:25 33b1e0a273af: Download complete 01:48:25 5d3b04190fa2: Verifying Checksum 01:48:25 5d3b04190fa2: Download complete 01:48:25 ec43610c2a17: Download complete 01:48:25 5eb5b503b376: Verifying Checksum 01:48:25 5eb5b503b376: Download complete 01:48:26 2f39f015ded8: Download complete 01:48:26 5eb5b503b376: Pull complete 01:48:27 5c69ac0246d0: Pull complete 01:48:27 ec43610c2a17: Pull complete 01:48:27 3a2ae6a8a46f: Pull complete 01:48:27 33b1e0a273af: Pull complete 01:48:27 5d3b04190fa2: Pull complete 01:48:33 2f39f015ded8: Pull complete 01:48:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:48:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:33 prd-ubuntu20.04-docker-8c-8g-37187 does not seem to be running inside a container 01:48:33 $ 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-36 -v /w/workspace/edgexfoundry_device-s7_PR-36:/w/workspace/edgexfoundry_device-s7_PR-36:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-36@tmp:/w/workspace/edgexfoundry_device-s7_PR-36@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:48:37 $ docker top 468638c67b3c17c151f67b6857173139dfa1de87b10bbb98ca317e77438cad52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:37 ---> job-cost.sh 01:48:37 lf-activate-venv: SKIPPING 01:48:37 INFO: No Stack... 01:48:37 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:38 INFO: Archiving Costs [Pipeline] sh 01:48:38 + cat /w/workspace/edgexfoundry_device-s7_PR-36/archives/cost.csv 01:48:38 + cut -d, -f6 [Pipeline] lock 01:48:38 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-36-2-stack-cost] 01:48:38 Resource [jenkins-edgexfoundry-device-s7-PR-36-2-stack-cost] did not exist. Created. 01:48:38 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-36-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:38 + echo total: 0.2199999988079071 [Pipeline] stash 01:48:38 Stashed 1 file(s) [Pipeline] } 01:48:38 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-36-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:38 $ docker stop --time=1 468638c67b3c17c151f67b6857173139dfa1de87b10bbb98ca317e77438cad52 01:48:40 $ docker rm -f --volumes 468638c67b3c17c151f67b6857173139dfa1de87b10bbb98ca317e77438cad52 [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:48:40 provisioning config files... 01:48:40 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-36@tmp/config14231117641601014528tmp [Pipeline] { [Pipeline] sh 01:48:40 + set +x 01:48:40 + + curl -s https://codecov.io/bash 01:48:40 bash -s -- 01:48:40 01:48:40 _____ _ 01:48:40 / ____| | | 01:48:40 | | ___ __| | ___ ___ _____ __ 01:48:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:48:40 | |___| (_) | (_| | __/ (_| (_) \ V / 01:48:40 \_____\___/ \__,_|\___|\___\___/ \_/ 01:48:40 Bash-1.0.6 01:48:40 01:48:40 01:48:40 ==> git version 2.25.1 found 01:48:40 ==> 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:48:40 Release-Date: 2020-01-08 01:48:40 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:48:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:48:40 ==> Jenkins CI detected. 01:48:40 current dir:  /w/workspace/edgexfoundry_device-s7_PR-36 01:48:40 project root: . 01:48:40 --> token set from env 01:48:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:48:40 ==> Running gcov in . (disable via -X gcov) 01:48:40 ==> Python coveragepy not found 01:48:40 ==> Searching for coverage reports in: 01:48:40 + . 01:48:40 -> Found 1 reports 01:48:40 ==> Detecting git/mercurial file structure 01:48:40 ==> Reading reports 01:48:40 + ./coverage.out bytes=19094 01:48:40 ==> Appending adjustments 01:48:40 https://docs.codecov.io/docs/fixing-reports 01:48:40 + Found adjustments 01:48:40 ==> Gzipping contents 01:48:40 4.0K /tmp/codecov.3w3PT4.gz 01:48:40 ==> Uploading reports 01:48:40 url: https://codecov.io 01:48:40 query: branch=PR-36&commit=5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-36%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=36&job=&cmd_args= 01:48:40 -> Pinging Codecov 01:48:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-36&commit=5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-36%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=36&job=&cmd_args= 01:48:41 -> Uploading to 01:48:41 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97/f52ad225-4551-4bcb-8107-1d98f8281dc1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250120%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250120T014840Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=4d995ac59d5295cd7e8aacadeef3cd3a43b9ef3797028caaedffccb5e1190db7 01:48:41 % Total % Received % Xferd Average Speed Time Time Time Current 01:48:41 Dload Upload Total Spent Left Speed 01:48:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2849 0 0 100 2849 0 18500 --:--:-- --:--:-- --:--:-- 18500 01:48:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/5185ea81e56bd6e3a17a563de6c1d2ab0ca09e97 [Pipeline] } 01:48:41 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:48:41 + [ -d /w/workspace/edgexfoundry_device-s7_PR-36/archives ] 01:48:41 + ls -al /w/workspace/edgexfoundry_device-s7_PR-36/archives 01:48:41 total 16 01:48:41 drwxr-xr-x 3 root root 4096 Jan 20 01:48 . 01:48:41 drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 01:48 .. 01:48:41 drwxr-xr-x 2 root root 4096 Jan 20 01:48 cost 01:48:41 -rw-r--r-- 1 root root 80 Jan 20 01:48 cost.csv 01:48:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-36/archives 01:48:41 + ls -al /w/workspace/edgexfoundry_device-s7_PR-36/archives 01:48:41 total 16 01:48:41 drwxr-xr-x 3 jenkins jenkins 4096 Jan 20 01:48 . 01:48:41 drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 01:48 .. 01:48:41 drwxr-xr-x 2 jenkins jenkins 4096 Jan 20 01:48 cost 01:48:41 -rw-r--r-- 1 jenkins jenkins 80 Jan 20 01:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:48:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:48:43 ---> package-listing.sh 01:48:43 ++ facter osfamily 01:48:43 ++ tr '[:upper:]' '[:lower:]' 01:48:43 + OS_FAMILY=debian 01:48:43 + workspace=/w/workspace/edgexfoundry_device-s7_PR-36 01:48:43 + START_PACKAGES=/tmp/packages_start.txt 01:48:43 + END_PACKAGES=/tmp/packages_end.txt 01:48:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:48:43 + PACKAGES=/tmp/packages_start.txt 01:48:43 + '[' /w/workspace/edgexfoundry_device-s7_PR-36 ']' 01:48:43 + PACKAGES=/tmp/packages_end.txt 01:48:43 + case "${OS_FAMILY}" in 01:48:43 + dpkg -l 01:48:43 + grep '^ii' 01:48:43 + '[' -f /tmp/packages_start.txt ']' 01:48:43 + '[' -f /tmp/packages_end.txt ']' 01:48:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:48:43 + '[' /w/workspace/edgexfoundry_device-s7_PR-36 ']' 01:48:43 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-36/archives/ 01:48:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-36/archives/ [Pipeline] echo 01:48:43 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-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:48:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:44 prd-ubuntu20.04-docker-8c-8g-37187 does not seem to be running inside a container 01:48:44 $ 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-36/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-36 -v /w/workspace/edgexfoundry_device-s7_PR-36:/w/workspace/edgexfoundry_device-s7_PR-36:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-36@tmp:/w/workspace/edgexfoundry_device-s7_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:48:44 $ docker top ead9f777fd249b7f578564b5f402d3f3f4455451fb7a53b7642747b35825ece5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:45 + touch /tmp/pre-build-complete [Pipeline] sh 01:48:45 + mkdir -p /var/log/sysstat [Pipeline] sh 01:48:45 + ls /var/log/sa-host 01:48:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:45 provisioning config files... 01:48:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-36@tmp/config5686658547105340437tmp [Pipeline] { [Pipeline] echo 01:48:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:48:46 ---> create-netrc.sh [Pipeline] } 01:48:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:48:46 ---> python-tools-install.sh [Pipeline] echo 01:48:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:48:46 ---> sudo-logs.sh 01:48:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:48:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:48:46 ---> job-cost.sh 01:48:46 lf-activate-venv: SKIPPING 01:48:46 DEBUG: total: 0.2199999988079071 01:48:46 INFO: Retrieving Stack Cost... 01:48:46 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:47 INFO: Archiving Costs [Pipeline] echo 01:48:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:48:47 ---> logs-deploy.sh 01:48:47 lf-activate-venv: SKIPPING 01:48:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-36/2 01:48:47 INFO: archiving workspace using pattern(s): 01:48:48 Archives upload complete. 01:48:48 INFO: archiving logs to Nexus