Pull request #43 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-s7 Obtained Jenkinsfile from b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05+244f87bf88a9cbb169db06adb6cd1610c86fc46c (b2774d336121d6254d3d3d07208ef322ec096b0d) 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-ssh17746730496708442322.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-ssh13531326940742395364.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 7928b8837ad34b090831a72fcdf53bff9dae4c17 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-43/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-43/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5561341732186915620.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-ssh17226797823182964164.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-43/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-43/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14278119219423063425.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-39699 in /w/workspace/edgexfoundry_device-s7_PR-43 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-s7.git > git init /w/workspace/edgexfoundry_device-s7_PR-43 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 244f87bf88a9cbb169db06adb6cd1610c86fc46c into PR head commit b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 Merge succeeded, producing b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 Checking out Revision b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 (PR-43) > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/43/head:refs/remotes/origin/PR-43 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 # 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 244f87bf88a9cbb169db06adb6cd1610c86fc46c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 # timeout=10 Commit message: "docs: Update changelog for 4.0 release" First time build. Skipping changelog. > git rev-list --no-walk 43274ec05cf4eb1a72f100b1389667bf9bbed34e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:52:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:52:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:52:03 ========================================================= 10:52:03 EdgeX Global Pipelines Version Info 10:52:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:52:04 ------------------- 10:52:04 stable info: 10:52:04 ------------------- 10:52:04 Commited By: Cherry Wang cherry@iotechsys.com 10:52:04 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:52:04 Message: update stable to v1.0.269 10:52:05 ------------------- 10:52:05 experimental info: 10:52:05 ------------------- 10:52:05 Commited By: **** collab-it+edgex@linuxfoundation.org 10:52:05 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 10:52:05 Message: update experimental to v1.0.269 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:52:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-43 [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-43 [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-43 [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5ee6e0 [Pipeline] echo 10:52:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:52:06 provisioning config files... 10:52:06 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config4835887376996473721tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:52:06 ---> ****-login.sh 10:52:06 nexus3.edgexfoundry.org:10001 10:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:06 Configure a credential helper to remove this warning. See 10:52:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:06 10:52:06 Login Succeeded 10:52:06 nexus3.edgexfoundry.org:10002 10:52:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:07 Configure a credential helper to remove this warning. See 10:52:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:07 10:52:07 Login Succeeded 10:52:07 nexus3.edgexfoundry.org:10003 10:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:07 Configure a credential helper to remove this warning. See 10:52:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:07 10:52:07 Login Succeeded 10:52:07 nexus3.edgexfoundry.org:10004 10:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:07 Configure a credential helper to remove this warning. See 10:52:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:07 10:52:07 Login Succeeded 10:52:07 ****.io 10:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:07 Configure a credential helper to remove this warning. See 10:52:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:07 10:52:07 Login Succeeded 10:52:07 ---> ****-login.sh ends [Pipeline] } 10:52:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:52:07 + git rev-list -1 --merges b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05~1..b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 [Pipeline] echo 10:52:07 -----------> git rev-list -1 --merges b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05~1..b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 [false] [Pipeline] sh 10:52:08 + git log --format=format:%s -1 b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 [Pipeline] echo 10:52:08 ========================================================= 10:52:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:52:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:52:08 + git log --format=format:%s -1 b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 [Pipeline] echo 10:52:08 [semverPrep] GIT_COMMIT: b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05, Commit Message: docs: Update changelog for 4.0 release [Pipeline] echo 10:52:08 [semverPrep] This is not a build commit. [Pipeline] sh 10:52:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:52:08 + grep -v github /etc/ssh/ssh_known_hosts 10:52:08 + [ -e /tmp/ssh_known_hosts ] 10:52:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:52:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:52:08 + sudo tee -a /etc/ssh/ssh_known_hosts 10:52:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:09 10:52:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:09 0.1.4: Pulling from edgex-devops/py-git-semver 10:52:09 b85a868b505f: Pulling fs layer 10:52:09 e2be974225ed: Pulling fs layer 10:52:09 339a4e72a1f5: Pulling fs layer 10:52:09 988bab9f4d93: Pulling fs layer 10:52:09 1469e6f7b9e6: Pulling fs layer 10:52:09 eaf3925da568: Pulling fs layer 10:52:09 bab4dde63d76: Pulling fs layer 10:52:09 bde34c3a00c8: Pulling fs layer 10:52:09 b352a97aabf1: Pulling fs layer 10:52:09 4872d77fe225: Pulling fs layer 10:52:09 5851b861e8e6: Pulling fs layer 10:52:09 eaf3925da568: Waiting 10:52:09 bde34c3a00c8: Waiting 10:52:09 bab4dde63d76: Waiting 10:52:09 1469e6f7b9e6: Waiting 10:52:09 b352a97aabf1: Waiting 10:52:09 4872d77fe225: Waiting 10:52:09 5851b861e8e6: Waiting 10:52:09 e2be974225ed: Download complete 10:52:09 988bab9f4d93: Verifying Checksum 10:52:09 988bab9f4d93: Download complete 10:52:09 1469e6f7b9e6: Download complete 10:52:09 339a4e72a1f5: Verifying Checksum 10:52:09 339a4e72a1f5: Download complete 10:52:09 eaf3925da568: Verifying Checksum 10:52:09 eaf3925da568: Download complete 10:52:09 bde34c3a00c8: Verifying Checksum 10:52:09 bde34c3a00c8: Download complete 10:52:09 b352a97aabf1: Download complete 10:52:09 4872d77fe225: Verifying Checksum 10:52:09 4872d77fe225: Download complete 10:52:09 5851b861e8e6: Verifying Checksum 10:52:09 5851b861e8e6: Download complete 10:52:09 b85a868b505f: Verifying Checksum 10:52:09 b85a868b505f: Download complete 10:52:10 bab4dde63d76: Verifying Checksum 10:52:10 bab4dde63d76: Download complete 10:52:10 b85a868b505f: Pull complete 10:52:11 e2be974225ed: Pull complete 10:52:11 339a4e72a1f5: Pull complete 10:52:11 988bab9f4d93: Pull complete 10:52:12 1469e6f7b9e6: Pull complete 10:52:12 eaf3925da568: Pull complete 10:52:13 bab4dde63d76: Pull complete 10:52:13 bde34c3a00c8: Pull complete 10:52:13 b352a97aabf1: Pull complete 10:52:13 4872d77fe225: Pull complete 10:52:13 5851b861e8e6: Pull complete 10:52:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:52:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:52:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:14 prd-ubuntu20.04-docker-8c-8g-39699 does not seem to be running inside a container 10:52:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:52:16 $ docker top 58dea61fd5a13a9ca1fb1b1ee3a1e57c79df93a475e9f31d741e976cbb296628 -eo pid,comm 10:52:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:52:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:52:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:52:16 [ssh-agent] Looking for ssh-agent implementation... 10:52:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:52:16 $ docker exec 58dea61fd5a13a9ca1fb1b1ee3a1e57c79df93a475e9f31d741e976cbb296628 ssh-agent 10:52:16 SSH_AUTH_SOCK=/tmp/ssh-7pTWbSjEt0TS/agent.33 10:52:16 SSH_AGENT_PID=39 10:52:16 Running ssh-add (command line suppressed) 10:52:16 Identity added: /w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_4196516375994815247.key (/w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_4196516375994815247.key) 10:52:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:52:17 + git tag --points-at HEAD [Pipeline] } 10:52:17 $ docker exec --env ******** --env ******** 58dea61fd5a13a9ca1fb1b1ee3a1e57c79df93a475e9f31d741e976cbb296628 ssh-agent -k 10:52:17 unset SSH_AUTH_SOCK; 10:52:17 unset SSH_AGENT_PID; 10:52:17 echo Agent pid 39 killed; 10:52:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:52:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:52:17 [ssh-agent] Looking for ssh-agent implementation... 10:52:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:52:17 $ docker exec 58dea61fd5a13a9ca1fb1b1ee3a1e57c79df93a475e9f31d741e976cbb296628 ssh-agent 10:52:17 SSH_AUTH_SOCK=/tmp/ssh-WKArfcVmdlYj/agent.72 10:52:17 SSH_AGENT_PID=78 10:52:17 Running ssh-add (command line suppressed) 10:52:17 Identity added: /w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_2743637708313332568.key (/w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_2743637708313332568.key) 10:52:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:52:17 + git semver init 10:52:18 2025-02-25 10:52:17,991 [run_init] DEBUG init version:0.0.0 force:False 10:52:18 2025-02-25 10:52:17,992 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-43/.semver 10:52:18 2025-02-25 10:52:17,993 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-43/.semver 10:52:18 2025-02-25 10:52:17,993 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-43/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-43, universal_newlines=False, shell=None, istream=None) 10:52:18 2025-02-25 10:52:18,576 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-43/.git/info/exclude 10:52:18 2025-02-25 10:52:18,576 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-43/.semver/PR-43 with force:False 10:52:18 2025-02-25 10:52:18,576 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-43/.semver/PR-43 10:52:18 2025-02-25 10:52:18,581 [execute] INFO git cat-file --batch-check 10:52:18 2025-02-25 10:52:18,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-43/.semver, universal_newlines=False, shell=None, istream=) 10:52:18 2025-02-25 10:52:18,589 [execute] INFO git cat-file --batch 10:52:18 2025-02-25 10:52:18,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-43/.semver, universal_newlines=False, shell=None, istream=) 10:52:18 2025-02-25 10:52:18,595 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-43/.semver/PR-43 10:52:18 0.0.0 [Pipeline] } 10:52:18 $ docker exec --env ******** --env ******** 58dea61fd5a13a9ca1fb1b1ee3a1e57c79df93a475e9f31d741e976cbb296628 ssh-agent -k 10:52:18 unset SSH_AUTH_SOCK; 10:52:18 unset SSH_AGENT_PID; 10:52:18 echo Agent pid 78 killed; 10:52:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:52:19 + git semver [Pipeline] } 10:52:19 $ docker stop --time=1 58dea61fd5a13a9ca1fb1b1ee3a1e57c79df93a475e9f31d741e976cbb296628 10:52:20 $ docker rm -f --volumes 58dea61fd5a13a9ca1fb1b1ee3a1e57c79df93a475e9f31d741e976cbb296628 [Pipeline] // withDockerContainer [Pipeline] sh 10:52:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:52:21 Stashed 1 file(s) [Pipeline] echo 10:52:21 [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 10:52:21 provisioning config files... 10:52:21 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config4434809294814189855tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 10:52:21 ---> ****-login.sh 10:52:21 nexus3.edgexfoundry.org:10001 10:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:21 Configure a credential helper to remove this warning. See 10:52:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:21 10:52:21 Login Succeeded 10:52:21 nexus3.edgexfoundry.org:10002 10:52:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:21 Configure a credential helper to remove this warning. See 10:52:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:21 10:52:21 Login Succeeded 10:52:21 nexus3.edgexfoundry.org:10003 10:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:22 Configure a credential helper to remove this warning. See 10:52:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:22 10:52:22 Login Succeeded 10:52:22 nexus3.edgexfoundry.org:10004 10:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:22 Configure a credential helper to remove this warning. See 10:52:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:22 10:52:22 Login Succeeded 10:52:22 ****.io 10:52:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:52:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:52:22 Configure a credential helper to remove this warning. See 10:52:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:52:22 10:52:22 Login Succeeded 10:52:22 ---> ****-login.sh ends [Pipeline] } 10:52:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:52:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:52:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:52:22 ========================================================= 10:52:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:52:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 10:52:22 Sending build context to Docker daemon 797.2kB 10:52:22 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 10:52:22 Step 2/10 : FROM ${BASE} AS builder 10:52:22 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:52:22 da9db072f522: Pulling fs layer 10:52:22 6ef4a4ee8ca5: Pulling fs layer 10:52:22 06f05ace1117: Pulling fs layer 10:52:22 5fe327b54edc: Pulling fs layer 10:52:22 4f4fb700ef54: Pulling fs layer 10:52:22 92a5565b7b96: Pulling fs layer 10:52:22 ff9bb7016b71: Pulling fs layer 10:52:22 b67dba6c2c7d: Pulling fs layer 10:52:22 a813b0c90790: Pulling fs layer 10:52:22 ff9bb7016b71: Waiting 10:52:22 b67dba6c2c7d: Waiting 10:52:22 5fe327b54edc: Waiting 10:52:22 92a5565b7b96: Waiting 10:52:22 a813b0c90790: Waiting 10:52:22 6ef4a4ee8ca5: Verifying Checksum 10:52:22 6ef4a4ee8ca5: Download complete 10:52:22 5fe327b54edc: Verifying Checksum 10:52:22 5fe327b54edc: Download complete 10:52:22 4f4fb700ef54: Download complete 10:52:22 92a5565b7b96: Verifying Checksum 10:52:22 92a5565b7b96: Download complete 10:52:22 da9db072f522: Download complete 10:52:23 ff9bb7016b71: Verifying Checksum 10:52:23 ff9bb7016b71: Download complete 10:52:23 da9db072f522: Pull complete 10:52:23 6ef4a4ee8ca5: Pull complete 10:52:23 a813b0c90790: Verifying Checksum 10:52:23 a813b0c90790: Download complete 10:52:23 06f05ace1117: Verifying Checksum 10:52:23 06f05ace1117: Download complete 10:52:23 b67dba6c2c7d: Verifying Checksum 10:52:23 b67dba6c2c7d: Download complete 10:52:26 06f05ace1117: Pull complete 10:52:26 5fe327b54edc: Pull complete 10:52:26 4f4fb700ef54: Pull complete 10:52:26 92a5565b7b96: Pull complete 10:52:26 ff9bb7016b71: Pull complete 10:52:29 b67dba6c2c7d: Pull complete 10:52:29 a813b0c90790: Pull complete 10:52:29 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 10:52:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:52:29 ---> 3ba60ce46760 10:52:29 Step 3/10 : ARG MAKE=make build 10:52:33 ---> Running in b660736262fb 10:52:33 Removing intermediate container b660736262fb 10:52:33 ---> 5ef767b53631 10:52:33 Step 4/10 : WORKDIR /device-s7 10:52:33 ---> Running in 109e11a73f9b 10:52:33 Removing intermediate container 109e11a73f9b 10:52:33 ---> 250474166150 10:52:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 10:52:33 ---> Running in ae9858bbb54e 10:52:33 Removing intermediate container ae9858bbb54e 10:52:33 ---> a4000354df5f 10:52:33 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 10:52:34 ---> Running in 3e93268018fc 10:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:52:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:52:35 OK: 248 MiB in 58 packages 10:52:35 Removing intermediate container 3e93268018fc 10:52:35 ---> 31e4500b86fc 10:52:35 Step 7/10 : COPY go.mod vendor* ./ 10:52:35 ---> aace00496632 10:52:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:52:35 ---> Running in 8c7667941141 10:53:14 Removing intermediate container 8c7667941141 10:53:14 ---> 83707fa206ce 10:53:14 Step 9/10 : COPY . . 10:53:14 ---> 2fe9e69fa22d 10:53:14 Step 10/10 : RUN ${MAKE} 10:53:14 ---> Running in 7d03e0c0690c 10:53:14 noop 10:53:14 Removing intermediate container 7d03e0c0690c 10:53:14 ---> 525de6ff4813 10:53:14 Successfully built 525de6ff4813 10:53:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:14 + docker inspect -f . ci-base-image-x86_64 10:53:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:53:14 prd-ubuntu20.04-docker-8c-8g-39699 does not seem to be running inside a container 10:53:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:53:14 $ docker top 49e2382761440cd3c3afb04a692d538d05210c43b683c5647a8af1e5e9ffc235 -eo pid,comm [Pipeline] { [Pipeline] sh 10:53:15 + go version 10:53:15 go version go1.23.4 linux/amd64 [Pipeline] } 10:53:15 $ docker stop --time=1 49e2382761440cd3c3afb04a692d538d05210c43b683c5647a8af1e5e9ffc235 10:53:16 $ docker rm -f --volumes 49e2382761440cd3c3afb04a692d538d05210c43b683c5647a8af1e5e9ffc235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:53:16 + docker inspect -f . ci-base-image-x86_64 10:53:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:53:17 prd-ubuntu20.04-docker-8c-8g-39699 does not seem to be running inside a container 10:53:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:53:17 $ docker top c0961b43630fbe9640825e9bc8b0545326ba6776bfe9ced1e9c1a4fa4432192e -eo pid,comm [Pipeline] { [Pipeline] sh 10:53:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-43 [Pipeline] fileExists [Pipeline] sh 10:53:18 + make test 10:53:18 go test -race -coverprofile=coverage.out ./... 10:53:26 ? github.com/edgexfoundry/device-s7 [no test files] 10:53:48 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 10:53:48 ok github.com/edgexfoundry/device-s7/internal/driver 1.023s coverage: 6.8% of statements 10:54:27 go vet ./... 10:54:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:54:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:54:31 ./bin/test-attribution-txt.sh [Pipeline] echo 10:54:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:54:31 $ docker stop --time=1 c0961b43630fbe9640825e9bc8b0545326ba6776bfe9ced1e9c1a4fa4432192e 10:54:34 $ docker rm -f --volumes c0961b43630fbe9640825e9bc8b0545326ba6776bfe9ced1e9c1a4fa4432192e [Pipeline] // withDockerContainer [Pipeline] sh 10:54:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:54:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:54:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:54:35 + ls -al . 10:54:35 total 220 10:54:35 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:53 . 10:54:35 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:51 .. 10:54:35 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:53 .git 10:54:35 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:51 .github 10:54:35 -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 10:51 .gitignore 10:54:35 -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 10:51 .golangci.yml 10:54:35 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 10:52 .semver 10:54:35 -rw-rw-r-- 1 jenkins jenkins 19679 Feb 25 10:51 Attribution.txt 10:54:35 -rw-rw-r-- 1 jenkins jenkins 1601 Feb 25 10:51 CHANGLOG.md 10:54:35 -rw-rw-r-- 1 jenkins jenkins 1579 Feb 25 10:51 Dockerfile 10:54:35 -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 10:51 Jenkinsfile 10:54:35 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 10:51 LICENSE 10:54:35 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 10:51 Makefile 10:54:35 -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 10:51 OWNERS.md 10:54:35 -rw-rw-r-- 1 jenkins jenkins 2393 Feb 25 10:51 README.md 10:54:35 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 10:52 VERSION 10:54:35 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:51 bin 10:54:35 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 10:51 cmd 10:54:35 -rw-r--r-- 1 jenkins jenkins 19094 Feb 25 10:53 coverage.out 10:54:35 -rw-rw-r-- 1 jenkins jenkins 6121 Feb 25 10:51 go.mod 10:54:35 -rw-rw-r-- 1 jenkins jenkins 86851 Feb 25 10:51 go.sum 10:54:35 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 10:51 internal 10:54:35 -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 10:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:54:36 + 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=b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 --label arch=amd64 --label version=0.0.0 . 10:54:36 Sending build context to Docker daemon 817.2kB 10:54:36 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 10:54:36 Step 2/24 : FROM ${BASE} AS builder 10:54:36 ---> 525de6ff4813 10:54:36 Step 3/24 : ARG MAKE=make build 10:54:36 ---> Running in 3cfb035c9a49 10:54:36 Removing intermediate container 3cfb035c9a49 10:54:36 ---> 245b3c5f132e 10:54:36 Step 4/24 : WORKDIR /device-s7 10:54:36 ---> Running in 4a0422a8bbf9 10:54:36 Removing intermediate container 4a0422a8bbf9 10:54:36 ---> 5e4a711b616d 10:54:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 10:54:36 ---> Running in 4d81d95c0e67 10:54:36 Removing intermediate container 4d81d95c0e67 10:54:36 ---> f418a0f5a932 10:54:36 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 10:54:36 ---> Running in cc98729460da 10:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:54:37 OK: 248 MiB in 58 packages 10:54:37 Removing intermediate container cc98729460da 10:54:37 ---> 44cb7ad42523 10:54:37 Step 7/24 : COPY go.mod vendor* ./ 10:54:37 ---> ca264b1e1918 10:54:37 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:54:37 ---> Running in ba959e261439 10:54:38 Removing intermediate container ba959e261439 10:54:38 ---> 2d35fe96ab8e 10:54:38 Step 9/24 : COPY . . 10:54:38 ---> 9a7e649d77dc 10:54:38 Step 10/24 : RUN ${MAKE} 10:54:38 ---> Running in 5025f21dfb15 10:54:38 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.25" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 10:55:17 Removing intermediate container 5025f21dfb15 10:55:17 ---> 53f69956af8e 10:55:17 Step 11/24 : FROM alpine:3.20 10:55:17 3.20: Pulling from library/alpine 10:55:17 0a9a5dfd008f: Pulling fs layer 10:55:17 0a9a5dfd008f: Verifying Checksum 10:55:17 0a9a5dfd008f: Download complete 10:55:17 0a9a5dfd008f: Pull complete 10:55:17 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 10:55:17 Status: Downloaded newer image for alpine:3.20 10:55:17 ---> ff221270b9fb 10:55:17 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 10:55:17 ---> Running in 5fac83af75c6 10:55:17 Removing intermediate container 5fac83af75c6 10:55:17 ---> 9f85d7f5c8b4 10:55:17 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:55:17 ---> Running in 30696ed51cb5 10:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:55:17 (1/1) Installing dumb-init (1.2.5-r3) 10:55:17 Executing busybox-1.36.1-r29.trigger 10:55:17 OK: 8 MiB in 15 packages 10:55:17 Removing intermediate container 30696ed51cb5 10:55:17 ---> 9e08052ccc94 10:55:17 Step 14/24 : RUN apk --no-cache upgrade 10:55:17 ---> Running in acf2389931d9 10:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:55:17 OK: 8 MiB in 15 packages 10:55:17 Removing intermediate container acf2389931d9 10:55:17 ---> 23f02244908d 10:55:17 Step 15/24 : WORKDIR / 10:55:17 ---> Running in c63825e07b61 10:55:17 Removing intermediate container c63825e07b61 10:55:17 ---> f3629b67ceb5 10:55:17 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 10:55:17 ---> 1a6fd247b49f 10:55:17 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 10:55:17 ---> 61df3a0b21fd 10:55:17 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 10:55:17 ---> 1bf924780bb7 10:55:17 Step 19/24 : EXPOSE 59994 10:55:17 ---> Running in b34b9edd3f07 10:55:17 Removing intermediate container b34b9edd3f07 10:55:17 ---> 0c1f167a16b4 10:55:17 Step 20/24 : ENTRYPOINT ["/device-s7"] 10:55:17 ---> Running in d8a161a23039 10:55:17 Removing intermediate container d8a161a23039 10:55:17 ---> dc18c14252f5 10:55:17 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 10:55:17 ---> Running in 5b8c4204686d 10:55:17 Removing intermediate container 5b8c4204686d 10:55:17 ---> 9e10352d3eab 10:55:17 Step 22/24 : LABEL arch=amd64 10:55:17 ---> Running in 5f6ad0cee0d7 10:55:17 Removing intermediate container 5f6ad0cee0d7 10:55:17 ---> c1a5980e006f 10:55:17 Step 23/24 : LABEL git_sha=b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 10:55:17 ---> Running in d73b1510dc78 10:55:17 Removing intermediate container d73b1510dc78 10:55:17 ---> f93cae3c9a0f 10:55:17 Step 24/24 : LABEL version=0.0.0 10:55:17 ---> Running in 472ca102c8fe 10:55:17 Removing intermediate container 472ca102c8fe 10:55:17 ---> c75ca8e5bbe6 10:55:17 [Warning] One or more build-args [ARCH] were not consumed 10:55:17 Successfully built c75ca8e5bbe6 10:55:17 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 10:55:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:55:18 10:55:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:55:18 latest: Pulling from edgex-lftools-log-publisher 10:55:18 5eb5b503b376: Pulling fs layer 10:55:18 5c69ac0246d0: Pulling fs layer 10:55:18 ec43610c2a17: Pulling fs layer 10:55:18 3a2ae6a8a46f: Pulling fs layer 10:55:18 33b1e0a273af: Pulling fs layer 10:55:18 5d3b04190fa2: Pulling fs layer 10:55:18 2f39f015ded8: Pulling fs layer 10:55:18 33b1e0a273af: Waiting 10:55:18 5d3b04190fa2: Waiting 10:55:18 3a2ae6a8a46f: Waiting 10:55:18 2f39f015ded8: Waiting 10:55:18 5c69ac0246d0: Verifying Checksum 10:55:18 5c69ac0246d0: Download complete 10:55:18 3a2ae6a8a46f: Verifying Checksum 10:55:18 3a2ae6a8a46f: Download complete 10:55:18 33b1e0a273af: Verifying Checksum 10:55:18 33b1e0a273af: Download complete 10:55:18 5d3b04190fa2: Verifying Checksum 10:55:18 5d3b04190fa2: Download complete 10:55:18 ec43610c2a17: Verifying Checksum 10:55:18 ec43610c2a17: Download complete 10:55:18 5eb5b503b376: Verifying Checksum 10:55:18 5eb5b503b376: Download complete 10:55:19 2f39f015ded8: Download complete 10:55:19 5eb5b503b376: Pull complete 10:55:19 5c69ac0246d0: Pull complete 10:55:20 ec43610c2a17: Pull complete 10:55:20 3a2ae6a8a46f: Pull complete 10:55:20 33b1e0a273af: Pull complete 10:55:20 5d3b04190fa2: Pull complete 10:55:24 2f39f015ded8: Pull complete 10:55:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:55:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:55:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:55:25 prd-ubuntu20.04-docker-8c-8g-39699 does not seem to be running inside a container 10:55:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:55:27 $ docker top 101c1e8fb4f9391a663399745d847816d5a986aebfc9e5cecbcb97fc5d22d7c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:55:27 ---> job-cost.sh 10:55:27 lf-activate-venv: SKIPPING 10:55:27 INFO: No Stack... 10:55:28 INFO: Retrieving Pricing Info for: v3-standard-8 10:55:28 INFO: Archiving Costs [Pipeline] sh 10:55:28 + cat /w/workspace/edgexfoundry_device-s7_PR-43/archives/cost.csv 10:55:28 + cut -d, -f6 [Pipeline] lock 10:55:28 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-43-2-stack-cost] 10:55:29 Resource [jenkins-edgexfoundry-device-s7-PR-43-2-stack-cost] did not exist. Created. 10:55:29 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-43-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:55:29 + echo total: 0.2199999988079071 [Pipeline] stash 10:55:29 Stashed 1 file(s) [Pipeline] } 10:55:29 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-43-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:55:29 $ docker stop --time=1 101c1e8fb4f9391a663399745d847816d5a986aebfc9e5cecbcb97fc5d22d7c8 10:55:30 $ docker rm -f --volumes 101c1e8fb4f9391a663399745d847816d5a986aebfc9e5cecbcb97fc5d22d7c8 [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 10:55:30 provisioning config files... 10:55:30 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config8975498502944003194tmp [Pipeline] { [Pipeline] sh 10:55:31 + set +x 10:55:31 + curl -s https://codecov.io/bash 10:55:31 + bash -s -- 10:55:31 10:55:31 _____ _ 10:55:31 / ____| | | 10:55:31 | | ___ __| | ___ ___ _____ __ 10:55:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:55:31 | |___| (_) | (_| | __/ (_| (_) \ V / 10:55:31 \_____\___/ \__,_|\___|\___\___/ \_/ 10:55:31 Bash-1.0.6 10:55:31 10:55:31 10:55:31 ==> git version 2.25.1 found 10:55:31 ==> 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 10:55:31 Release-Date: 2020-01-08 10:55:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:55:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:55:31 ==> Jenkins CI detected. 10:55:31 current dir:  /w/workspace/edgexfoundry_device-s7_PR-43 10:55:31 project root: . 10:55:31 --> token set from env 10:55:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:55:31 ==> Running gcov in . (disable via -X gcov) 10:55:31 ==> Python coveragepy not found 10:55:31 ==> Searching for coverage reports in: 10:55:31 + . 10:55:31 -> Found 1 reports 10:55:31 ==> Detecting git/mercurial file structure 10:55:31 ==> Reading reports 10:55:31 + ./coverage.out bytes=19094 10:55:31 ==> Appending adjustments 10:55:31 https://docs.codecov.io/docs/fixing-reports 10:55:31 + Found adjustments 10:55:31 ==> Gzipping contents 10:55:31 4.0K /tmp/codecov.4YXBS2.gz 10:55:31 ==> Uploading reports 10:55:31 url: https://codecov.io 10:55:31 query: branch=PR-43&commit=b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-43%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=43&job=&cmd_args= 10:55:31 -> Pinging Codecov 10:55:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-43&commit=b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-43%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=43&job=&cmd_args= 10:55:31 -> Uploading to 10:55:31 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05/c8b85afb-6027-4df0-a004-7fa02e837845.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250225%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250225T105531Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=edc4d7d0f790b6cd66706fc8692bcc30680e830a9f6b611ad37dbae2cdaa015d 10:55:31 % Total % Received % Xferd Average Speed Time Time Time Current 10:55:31 Dload Upload Total Spent Left Speed 10:55:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2849 0 0 100 2849 0 22792 --:--:-- --:--:-- --:--:-- 22792 10:55:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 [Pipeline] } 10:55:31 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 10:55:32 + [ -d /w/workspace/edgexfoundry_device-s7_PR-43/archives ] 10:55:32 + ls -al /w/workspace/edgexfoundry_device-s7_PR-43/archives 10:55:32 total 16 10:55:32 drwxr-xr-x 3 root root 4096 Feb 25 10:55 . 10:55:32 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 10:55 .. 10:55:32 drwxr-xr-x 2 root root 4096 Feb 25 10:55 cost 10:55:32 -rw-r--r-- 1 root root 80 Feb 25 10:55 cost.csv 10:55:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-43/archives 10:55:32 + ls -al /w/workspace/edgexfoundry_device-s7_PR-43/archives 10:55:32 total 16 10:55:32 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 10:55 . 10:55:32 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 10:55 .. 10:55:32 drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 10:55 cost 10:55:32 -rw-r--r-- 1 jenkins jenkins 80 Feb 25 10:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:55:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:55:33 ---> package-listing.sh 10:55:33 ++ facter osfamily 10:55:33 ++ tr '[:upper:]' '[:lower:]' 10:55:33 + OS_FAMILY=debian 10:55:33 + workspace=/w/workspace/edgexfoundry_device-s7_PR-43 10:55:33 + START_PACKAGES=/tmp/packages_start.txt 10:55:33 + END_PACKAGES=/tmp/packages_end.txt 10:55:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:55:33 + PACKAGES=/tmp/packages_start.txt 10:55:33 + '[' /w/workspace/edgexfoundry_device-s7_PR-43 ']' 10:55:33 + PACKAGES=/tmp/packages_end.txt 10:55:33 + case "${OS_FAMILY}" in 10:55:33 + dpkg -l 10:55:33 + grep '^ii' 10:55:33 + '[' -f /tmp/packages_start.txt ']' 10:55:33 + '[' -f /tmp/packages_end.txt ']' 10:55:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:55:33 + '[' /w/workspace/edgexfoundry_device-s7_PR-43 ']' 10:55:33 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-43/archives/ 10:55:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-43/archives/ [Pipeline] echo 10:55:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-43/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:55:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:55:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:55:34 prd-ubuntu20.04-docker-8c-8g-39699 does not seem to be running inside a container 10:55:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-43/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-43 -v /w/workspace/edgexfoundry_device-s7_PR-43:/w/workspace/edgexfoundry_device-s7_PR-43:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-43@tmp:/w/workspace/edgexfoundry_device-s7_PR-43@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:55:35 $ docker top 66c4bd07e3b68e6051d5db0d092e5679dbc8ed7e711b774ea7ce910394e0a53d -eo pid,comm [Pipeline] { [Pipeline] sh 10:55:35 + touch /tmp/pre-build-complete [Pipeline] sh 10:55:35 + mkdir -p /var/log/sysstat [Pipeline] sh 10:55:36 + ls /var/log/sa-host 10:55:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:55:36 provisioning config files... 10:55:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config13803210437141740477tmp [Pipeline] { [Pipeline] echo 10:55:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:55:36 ---> create-netrc.sh [Pipeline] } 10:55:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:55:36 ---> python-tools-install.sh [Pipeline] echo 10:55:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:55:37 ---> sudo-logs.sh 10:55:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:55:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:55:37 ---> job-cost.sh 10:55:37 lf-activate-venv: SKIPPING 10:55:37 DEBUG: total: 0.2199999988079071 10:55:37 INFO: Retrieving Stack Cost... 10:55:37 INFO: Retrieving Pricing Info for: v3-standard-8 10:55:37 INFO: Archiving Costs [Pipeline] echo 10:55:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:55:37 ---> logs-deploy.sh 10:55:37 lf-activate-venv: SKIPPING 10:55:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-43/2 10:55:37 INFO: archiving workspace using pattern(s): 10:55:39 Archives upload complete. 10:55:39 INFO: archiving logs to Nexus