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 d7dbc80190352443c94e93a4564552467daf091d+244f87bf88a9cbb169db06adb6cd1610c86fc46c (5e2527e419c119fa247898d91fab1ed9433dca7e) 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-ssh16507586217468975756.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-ssh16248619861592375225.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-ssh14627312146989298876.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-ssh3973110139643780472.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-ssh12022260653056517102.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-39763 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 > 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 244f87bf88a9cbb169db06adb6cd1610c86fc46c into PR head commit d7dbc80190352443c94e93a4564552467daf091d Merge succeeded, producing d7dbc80190352443c94e93a4564552467daf091d Checking out Revision d7dbc80190352443c94e93a4564552467daf091d (PR-43) > 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 d7dbc80190352443c94e93a4564552467daf091d # 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 d7dbc80190352443c94e93a4564552467daf091d # timeout=10 Commit message: "docs: Update changelog for 4.0 release" First time build. Skipping changelog. > git rev-list --no-walk b5ee6e0e831aa26512f8b0a2de6a1ceeb1a7bb05 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:50:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:50:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:50:03 ========================================================= 07:50:03 EdgeX Global Pipelines Version Info 07:50:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:50:04 ------------------- 07:50:04 stable info: 07:50:04 ------------------- 07:50:04 Commited By: Cherry Wang cherry@iotechsys.com 07:50:04 Commit SHA: 7928b8837ad34b090831a72fcdf53bff9dae4c17 07:50:04 Message: update stable to v1.0.269 07:50:04 ------------------- 07:50:04 experimental info: 07:50:04 ------------------- 07:50:04 Commited By: Ginny Guan ginny@iotechsys.com 07:50:04 Commit SHA: 1703ef559799a65fc8681547e11ba578c37e64df 07:50:04 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:50:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 07:50:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 07:50:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:50:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:50:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-43 [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-43 [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-43 [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d7dbc80190352443c94e93a4564552467daf091d [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d7dbc80 [Pipeline] echo 07:50:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:05 provisioning config files... 07:50:05 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config4987823025255419533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:06 ---> ****-login.sh 07:50:06 nexus3.edgexfoundry.org:10001 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 nexus3.edgexfoundry.org:10002 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 nexus3.edgexfoundry.org:10003 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 nexus3.edgexfoundry.org:10004 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 ****.io 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 ---> ****-login.sh ends [Pipeline] } 07:50:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:50:07 + git rev-list -1 --merges d7dbc80190352443c94e93a4564552467daf091d~1..d7dbc80190352443c94e93a4564552467daf091d [Pipeline] echo 07:50:07 -----------> git rev-list -1 --merges d7dbc80190352443c94e93a4564552467daf091d~1..d7dbc80190352443c94e93a4564552467daf091d d7dbc80190352443c94e93a4564552467daf091d [false] [Pipeline] sh 07:50:07 + git log --format=format:%s -1 d7dbc80190352443c94e93a4564552467daf091d [Pipeline] echo 07:50:07 ========================================================= 07:50:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:50:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:50:08 + git log --format=format:%s -1 d7dbc80190352443c94e93a4564552467daf091d [Pipeline] echo 07:50:08 [semverPrep] GIT_COMMIT: d7dbc80190352443c94e93a4564552467daf091d, Commit Message: docs: Update changelog for 4.0 release [Pipeline] echo 07:50:08 [semverPrep] This is not a build commit. [Pipeline] sh 07:50:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:50:08 + grep -v github /etc/ssh/ssh_known_hosts 07:50:08 + [ -e /tmp/ssh_known_hosts ] 07:50:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:50:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:50:08 + sudo tee -a /etc/ssh/ssh_known_hosts 07:50:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:08 07:50:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:09 0.1.4: Pulling from edgex-devops/py-git-semver 07:50:09 b85a868b505f: Pulling fs layer 07:50:09 e2be974225ed: Pulling fs layer 07:50:09 339a4e72a1f5: Pulling fs layer 07:50:09 988bab9f4d93: Pulling fs layer 07:50:09 1469e6f7b9e6: Pulling fs layer 07:50:09 eaf3925da568: Pulling fs layer 07:50:09 bab4dde63d76: Pulling fs layer 07:50:09 bde34c3a00c8: Pulling fs layer 07:50:09 b352a97aabf1: Pulling fs layer 07:50:09 4872d77fe225: Pulling fs layer 07:50:09 5851b861e8e6: Pulling fs layer 07:50:09 988bab9f4d93: Waiting 07:50:09 1469e6f7b9e6: Waiting 07:50:09 bde34c3a00c8: Waiting 07:50:09 b352a97aabf1: Waiting 07:50:09 5851b861e8e6: Waiting 07:50:09 eaf3925da568: Waiting 07:50:09 bab4dde63d76: Waiting 07:50:09 e2be974225ed: Download complete 07:50:09 988bab9f4d93: Verifying Checksum 07:50:09 988bab9f4d93: Download complete 07:50:09 1469e6f7b9e6: Verifying Checksum 07:50:09 1469e6f7b9e6: Download complete 07:50:09 339a4e72a1f5: Verifying Checksum 07:50:09 339a4e72a1f5: Download complete 07:50:09 eaf3925da568: Download complete 07:50:09 bde34c3a00c8: Download complete 07:50:09 b352a97aabf1: Verifying Checksum 07:50:09 b352a97aabf1: Download complete 07:50:09 4872d77fe225: Download complete 07:50:09 b85a868b505f: Verifying Checksum 07:50:09 b85a868b505f: Download complete 07:50:09 bab4dde63d76: Verifying Checksum 07:50:09 bab4dde63d76: Download complete 07:50:10 b85a868b505f: Pull complete 07:50:10 e2be974225ed: Pull complete 07:50:11 339a4e72a1f5: Pull complete 07:50:11 988bab9f4d93: Pull complete 07:50:11 1469e6f7b9e6: Pull complete 07:50:11 eaf3925da568: Pull complete 07:50:13 bab4dde63d76: Pull complete 07:50:13 bde34c3a00c8: Pull complete 07:50:13 b352a97aabf1: Pull complete 07:50:13 4872d77fe225: Pull complete 07:50:13 5851b861e8e6: Pull complete 07:50:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:50:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:50:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:50:13 prd-ubuntu20.04-docker-8c-8g-39763 does not seem to be running inside a container 07:50:13 $ 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 07:50:15 $ docker top 218585fda1fe4daf27621f46671efd6cc3cde7af231e6e8c825cf1c584158a97 -eo pid,comm 07:50:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:50:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:50:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:15 [ssh-agent] Looking for ssh-agent implementation... 07:50:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:15 $ docker exec 218585fda1fe4daf27621f46671efd6cc3cde7af231e6e8c825cf1c584158a97 ssh-agent 07:50:15 SSH_AUTH_SOCK=/tmp/ssh-imz0vXUjeRq7/agent.33 07:50:15 SSH_AGENT_PID=39 07:50:15 Running ssh-add (command line suppressed) 07:50:15 Identity added: /w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_10541250891458088645.key (/w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_10541250891458088645.key) 07:50:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:16 + git tag --points-at HEAD [Pipeline] } 07:50:16 $ docker exec --env ******** --env ******** 218585fda1fe4daf27621f46671efd6cc3cde7af231e6e8c825cf1c584158a97 ssh-agent -k 07:50:16 unset SSH_AUTH_SOCK; 07:50:16 unset SSH_AGENT_PID; 07:50:16 echo Agent pid 39 killed; 07:50:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:50:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:16 [ssh-agent] Looking for ssh-agent implementation... 07:50:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:16 $ docker exec 218585fda1fe4daf27621f46671efd6cc3cde7af231e6e8c825cf1c584158a97 ssh-agent 07:50:16 SSH_AUTH_SOCK=/tmp/ssh-7hhh2TeKt85a/agent.73 07:50:16 SSH_AGENT_PID=79 07:50:16 Running ssh-add (command line suppressed) 07:50:16 Identity added: /w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_4948246385718544066.key (/w/workspace/edgexfoundry_device-s7_PR-43@tmp/private_key_4948246385718544066.key) 07:50:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:16 + git semver init 07:50:17 2025-02-26 07:50:17,016 [run_init] DEBUG init version:0.0.0 force:False 07:50:17 2025-02-26 07:50:17,017 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-43/.semver 07:50:17 2025-02-26 07:50:17,018 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-43/.semver 07:50:17 2025-02-26 07:50:17,018 [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) 07:50:17 2025-02-26 07:50:17,612 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-43/.git/info/exclude 07:50:17 2025-02-26 07:50:17,612 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-43/.semver/PR-43 with force:False 07:50:17 2025-02-26 07:50:17,613 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-43/.semver/PR-43 07:50:17 2025-02-26 07:50:17,617 [execute] INFO git cat-file --batch-check 07:50:17 2025-02-26 07:50:17,617 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-43/.semver, universal_newlines=False, shell=None, istream=) 07:50:17 2025-02-26 07:50:17,624 [execute] INFO git cat-file --batch 07:50:17 2025-02-26 07:50:17,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-43/.semver, universal_newlines=False, shell=None, istream=) 07:50:17 2025-02-26 07:50:17,630 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-43/.semver/PR-43 07:50:17 0.0.0 [Pipeline] } 07:50:17 $ docker exec --env ******** --env ******** 218585fda1fe4daf27621f46671efd6cc3cde7af231e6e8c825cf1c584158a97 ssh-agent -k 07:50:17 unset SSH_AUTH_SOCK; 07:50:17 unset SSH_AGENT_PID; 07:50:17 echo Agent pid 79 killed; 07:50:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:50:18 + git semver [Pipeline] } 07:50:18 $ docker stop --time=1 218585fda1fe4daf27621f46671efd6cc3cde7af231e6e8c825cf1c584158a97 07:50:19 $ docker rm -f --volumes 218585fda1fe4daf27621f46671efd6cc3cde7af231e6e8c825cf1c584158a97 [Pipeline] // withDockerContainer [Pipeline] sh 07:50:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:50:20 Stashed 1 file(s) [Pipeline] echo 07:50:20 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:20 provisioning config files... 07:50:20 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config13310790555851339909tmp [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 07:50:20 ---> ****-login.sh 07:50:20 nexus3.edgexfoundry.org:10001 07:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:20 Configure a credential helper to remove this warning. See 07:50:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:20 07:50:20 Login Succeeded 07:50:20 nexus3.edgexfoundry.org:10002 07:50:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:20 Configure a credential helper to remove this warning. See 07:50:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:20 07:50:20 Login Succeeded 07:50:20 nexus3.edgexfoundry.org:10003 07:50:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:21 Configure a credential helper to remove this warning. See 07:50:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:21 07:50:21 Login Succeeded 07:50:21 nexus3.edgexfoundry.org:10004 07:50:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:21 Configure a credential helper to remove this warning. See 07:50:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:21 07:50:21 Login Succeeded 07:50:21 ****.io 07:50:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:50:21 Configure a credential helper to remove this warning. See 07:50:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:50:21 07:50:21 Login Succeeded 07:50:21 ---> ****-login.sh ends [Pipeline] } 07:50:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:50:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:50:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:50:21 ========================================================= 07:50:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:50:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:50:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 07:50:21 Sending build context to Docker daemon 797.7kB 07:50:21 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:50:21 Step 2/10 : FROM ${BASE} AS builder 07:50:21 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:50:21 da9db072f522: Pulling fs layer 07:50:21 6ef4a4ee8ca5: Pulling fs layer 07:50:21 06f05ace1117: Pulling fs layer 07:50:21 5fe327b54edc: Pulling fs layer 07:50:21 4f4fb700ef54: Pulling fs layer 07:50:21 92a5565b7b96: Pulling fs layer 07:50:21 ff9bb7016b71: Pulling fs layer 07:50:21 b67dba6c2c7d: Pulling fs layer 07:50:21 a813b0c90790: Pulling fs layer 07:50:21 5fe327b54edc: Waiting 07:50:21 4f4fb700ef54: Waiting 07:50:21 92a5565b7b96: Waiting 07:50:21 b67dba6c2c7d: Waiting 07:50:21 a813b0c90790: Waiting 07:50:21 ff9bb7016b71: Waiting 07:50:21 6ef4a4ee8ca5: Download complete 07:50:21 5fe327b54edc: Download complete 07:50:21 4f4fb700ef54: Verifying Checksum 07:50:21 4f4fb700ef54: Download complete 07:50:21 92a5565b7b96: Verifying Checksum 07:50:21 92a5565b7b96: Download complete 07:50:21 da9db072f522: Download complete 07:50:22 ff9bb7016b71: Verifying Checksum 07:50:22 ff9bb7016b71: Download complete 07:50:22 da9db072f522: Pull complete 07:50:22 a813b0c90790: Verifying Checksum 07:50:22 a813b0c90790: Download complete 07:50:22 6ef4a4ee8ca5: Pull complete 07:50:22 06f05ace1117: Verifying Checksum 07:50:23 b67dba6c2c7d: Verifying Checksum 07:50:23 b67dba6c2c7d: Download complete 07:50:25 06f05ace1117: Pull complete 07:50:25 5fe327b54edc: Pull complete 07:50:25 4f4fb700ef54: Pull complete 07:50:25 92a5565b7b96: Pull complete 07:50:25 ff9bb7016b71: Pull complete 07:50:28 b67dba6c2c7d: Pull complete 07:50:28 a813b0c90790: Pull complete 07:50:28 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 07:50:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:50:28 ---> 3ba60ce46760 07:50:28 Step 3/10 : ARG MAKE=make build 07:50:30 ---> Running in 9792b146f29f 07:50:30 Removing intermediate container 9792b146f29f 07:50:30 ---> 0151584891a3 07:50:30 Step 4/10 : WORKDIR /device-s7 07:50:30 ---> Running in 67283531f33d 07:50:30 Removing intermediate container 67283531f33d 07:50:30 ---> c8d613e55091 07:50:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:50:30 ---> Running in 994da6ebf6f5 07:50:30 Removing intermediate container 994da6ebf6f5 07:50:30 ---> 9ac5b81bba08 07:50:30 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 07:50:30 ---> Running in 1162be399733 07:50:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:50:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:50:31 OK: 248 MiB in 58 packages 07:50:31 Removing intermediate container 1162be399733 07:50:31 ---> f43c06442a12 07:50:31 Step 7/10 : COPY go.mod vendor* ./ 07:50:31 ---> 1e13df8c0275 07:50:31 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:50:31 ---> Running in 854e757e7f68 07:51:10 Removing intermediate container 854e757e7f68 07:51:10 ---> df6e581cd32e 07:51:10 Step 9/10 : COPY . . 07:51:10 ---> 63f55bdd983e 07:51:10 Step 10/10 : RUN ${MAKE} 07:51:10 ---> Running in 3e15ca8e3ef3 07:51:10 noop 07:51:10 Removing intermediate container 3e15ca8e3ef3 07:51:10 ---> 7e5c6c191ddd 07:51:10 Successfully built 7e5c6c191ddd 07:51:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:10 + docker inspect -f . ci-base-image-x86_64 07:51:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:11 prd-ubuntu20.04-docker-8c-8g-39763 does not seem to be running inside a container 07:51:11 $ 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 07:51:11 $ docker top 8c9518e1df5a0faef351353612a87758c9ed066d1dae40f3f5f12c6ff5f96f42 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:11 + go version 07:51:11 go version go1.23.4 linux/amd64 [Pipeline] } 07:51:11 $ docker stop --time=1 8c9518e1df5a0faef351353612a87758c9ed066d1dae40f3f5f12c6ff5f96f42 07:51:13 $ docker rm -f --volumes 8c9518e1df5a0faef351353612a87758c9ed066d1dae40f3f5f12c6ff5f96f42 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:13 + docker inspect -f . ci-base-image-x86_64 07:51:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:13 prd-ubuntu20.04-docker-8c-8g-39763 does not seem to be running inside a container 07:51:13 $ 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 07:51:13 $ docker top ce6347a1e5819bc6a951c33bb202e75b2857062ff6880d138836eb978f5f9735 -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:14 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-43 [Pipeline] fileExists [Pipeline] sh 07:51:14 + make test 07:51:14 go test -race -coverprofile=coverage.out ./... 07:51:22 ? github.com/edgexfoundry/device-s7 [no test files] 07:51:44 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 07:51:45 ok github.com/edgexfoundry/device-s7/internal/driver 1.023s coverage: 6.8% of statements 07:52:24 go vet ./... 07:52:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:52:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:52:24 ./bin/test-attribution-txt.sh [Pipeline] echo 07:52:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:52:24 $ docker stop --time=1 ce6347a1e5819bc6a951c33bb202e75b2857062ff6880d138836eb978f5f9735 07:52:26 $ docker rm -f --volumes ce6347a1e5819bc6a951c33bb202e75b2857062ff6880d138836eb978f5f9735 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:52:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:52:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:52:28 + ls -al . 07:52:28 total 220 07:52:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 26 07:51 . 07:52:28 drwxrwxr-x 4 jenkins jenkins 4096 Feb 26 07:49 .. 07:52:28 drwxrwxr-x 8 jenkins jenkins 4096 Feb 26 07:51 .git 07:52:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 26 07:49 .github 07:52:28 -rw-rw-r-- 1 jenkins jenkins 237 Feb 26 07:49 .gitignore 07:52:28 -rw-rw-r-- 1 jenkins jenkins 42 Feb 26 07:49 .golangci.yml 07:52:28 drwxr-xr-x 3 jenkins jenkins 4096 Feb 26 07:50 .semver 07:52:28 -rw-rw-r-- 1 jenkins jenkins 19679 Feb 26 07:49 Attribution.txt 07:52:28 -rw-rw-r-- 1 jenkins jenkins 1672 Feb 26 07:49 CHANGLOG.md 07:52:28 -rw-rw-r-- 1 jenkins jenkins 1579 Feb 26 07:49 Dockerfile 07:52:28 -rw-rw-r-- 1 jenkins jenkins 643 Feb 26 07:49 Jenkinsfile 07:52:28 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 26 07:49 LICENSE 07:52:28 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 26 07:49 Makefile 07:52:28 -rw-rw-r-- 1 jenkins jenkins 614 Feb 26 07:49 OWNERS.md 07:52:28 -rw-rw-r-- 1 jenkins jenkins 2393 Feb 26 07:49 README.md 07:52:28 -rw-rw-r-- 1 jenkins jenkins 5 Feb 26 07:50 VERSION 07:52:28 drwxrwxr-x 2 jenkins jenkins 4096 Feb 26 07:49 bin 07:52:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 26 07:49 cmd 07:52:28 -rw-r--r-- 1 jenkins jenkins 19094 Feb 26 07:51 coverage.out 07:52:28 -rw-rw-r-- 1 jenkins jenkins 6121 Feb 26 07:49 go.mod 07:52:28 -rw-rw-r-- 1 jenkins jenkins 86851 Feb 26 07:49 go.sum 07:52:28 drwxrwxr-x 3 jenkins jenkins 4096 Feb 26 07:49 internal 07:52:28 -rw-rw-r-- 1 jenkins jenkins 223 Feb 26 07:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:28 + 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=d7dbc80190352443c94e93a4564552467daf091d --label arch=amd64 --label version=0.0.0 . 07:52:28 Sending build context to Docker daemon 817.7kB 07:52:28 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 07:52:28 Step 2/24 : FROM ${BASE} AS builder 07:52:28 ---> 7e5c6c191ddd 07:52:28 Step 3/24 : ARG MAKE=make build 07:52:28 ---> Running in c007fa5275a5 07:52:28 Removing intermediate container c007fa5275a5 07:52:28 ---> a19ab780e048 07:52:28 Step 4/24 : WORKDIR /device-s7 07:52:28 ---> Running in d188cadde87f 07:52:28 Removing intermediate container d188cadde87f 07:52:28 ---> 084273bba13f 07:52:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:52:28 ---> Running in c53e54649dc6 07:52:28 Removing intermediate container c53e54649dc6 07:52:28 ---> 9f5bec133711 07:52:28 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 07:52:28 ---> Running in 564fdefbabde 07:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:52:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:52:29 OK: 248 MiB in 58 packages 07:52:30 Removing intermediate container 564fdefbabde 07:52:30 ---> 4f459304fcc6 07:52:30 Step 7/24 : COPY go.mod vendor* ./ 07:52:30 ---> 143f671b4cc7 07:52:30 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:30 ---> Running in 15bebdb7233d 07:52:31 Removing intermediate container 15bebdb7233d 07:52:31 ---> 475150e7b5fe 07:52:31 Step 9/24 : COPY . . 07:52:31 ---> 8b810dcd2d47 07:52:31 Step 10/24 : RUN ${MAKE} 07:52:31 ---> Running in 464228e1db83 07:52:31 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 07:53:03 Removing intermediate container 464228e1db83 07:53:03 ---> e49457b6bd64 07:53:03 Step 11/24 : FROM alpine:3.20 07:53:03 3.20: Pulling from library/alpine 07:53:03 0a9a5dfd008f: Pulling fs layer 07:53:03 0a9a5dfd008f: Verifying Checksum 07:53:03 0a9a5dfd008f: Download complete 07:53:03 0a9a5dfd008f: Pull complete 07:53:03 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 07:53:03 Status: Downloaded newer image for alpine:3.20 07:53:03 ---> ff221270b9fb 07:53:03 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:53:03 ---> Running in bb75e53b623c 07:53:03 Removing intermediate container bb75e53b623c 07:53:03 ---> f9ddebf12bba 07:53:03 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:53:03 ---> Running in 4db44e9a86b9 07:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:53:03 (1/1) Installing dumb-init (1.2.5-r3) 07:53:03 Executing busybox-1.36.1-r29.trigger 07:53:03 OK: 8 MiB in 15 packages 07:53:03 Removing intermediate container 4db44e9a86b9 07:53:03 ---> fc6d104bf7af 07:53:03 Step 14/24 : RUN apk --no-cache upgrade 07:53:03 ---> Running in a2c0d3fb8dae 07:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:53:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:53:03 OK: 8 MiB in 15 packages 07:53:03 Removing intermediate container a2c0d3fb8dae 07:53:03 ---> 58d750eeb197 07:53:03 Step 15/24 : WORKDIR / 07:53:03 ---> Running in 7934d6744f56 07:53:04 Removing intermediate container 7934d6744f56 07:53:04 ---> 13306e8ef022 07:53:04 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 07:53:04 ---> 02ae73201674 07:53:04 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 07:53:05 ---> fa8f3ceefa9f 07:53:05 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 07:53:05 ---> 5887135beda9 07:53:05 Step 19/24 : EXPOSE 59994 07:53:05 ---> Running in db7331c4318a 07:53:05 Removing intermediate container db7331c4318a 07:53:05 ---> 0dcf1e385f00 07:53:05 Step 20/24 : ENTRYPOINT ["/device-s7"] 07:53:05 ---> Running in 2fd6e2008883 07:53:05 Removing intermediate container 2fd6e2008883 07:53:05 ---> 745fed5996fb 07:53:05 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:53:05 ---> Running in 09318fc6dafc 07:53:05 Removing intermediate container 09318fc6dafc 07:53:05 ---> 26e6416835a1 07:53:05 Step 22/24 : LABEL arch=amd64 07:53:05 ---> Running in 3ecbeaaff1fb 07:53:05 Removing intermediate container 3ecbeaaff1fb 07:53:05 ---> 5e2e7e8056b7 07:53:05 Step 23/24 : LABEL git_sha=d7dbc80190352443c94e93a4564552467daf091d 07:53:05 ---> Running in 39af5217a4b1 07:53:05 Removing intermediate container 39af5217a4b1 07:53:05 ---> 4a138fc307cd 07:53:05 Step 24/24 : LABEL version=0.0.0 07:53:05 ---> Running in 25ac76f07a7a 07:53:05 Removing intermediate container 25ac76f07a7a 07:53:05 ---> 1f481696fb5b 07:53:05 [Warning] One or more build-args [ARCH] were not consumed 07:53:05 Successfully built 1f481696fb5b 07:53:05 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:06 07:53:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:06 latest: Pulling from edgex-lftools-log-publisher 07:53:06 5eb5b503b376: Pulling fs layer 07:53:06 5c69ac0246d0: Pulling fs layer 07:53:06 ec43610c2a17: Pulling fs layer 07:53:06 3a2ae6a8a46f: Pulling fs layer 07:53:06 33b1e0a273af: Pulling fs layer 07:53:06 5d3b04190fa2: Pulling fs layer 07:53:06 2f39f015ded8: Pulling fs layer 07:53:06 3a2ae6a8a46f: Waiting 07:53:06 33b1e0a273af: Waiting 07:53:06 5d3b04190fa2: Waiting 07:53:06 2f39f015ded8: Waiting 07:53:06 5c69ac0246d0: Verifying Checksum 07:53:06 5c69ac0246d0: Download complete 07:53:06 3a2ae6a8a46f: Download complete 07:53:06 33b1e0a273af: Verifying Checksum 07:53:06 33b1e0a273af: Download complete 07:53:06 5d3b04190fa2: Verifying Checksum 07:53:06 5d3b04190fa2: Download complete 07:53:06 ec43610c2a17: Verifying Checksum 07:53:06 ec43610c2a17: Download complete 07:53:06 5eb5b503b376: Verifying Checksum 07:53:06 5eb5b503b376: Download complete 07:53:07 2f39f015ded8: Download complete 07:53:08 5eb5b503b376: Pull complete 07:53:08 5c69ac0246d0: Pull complete 07:53:08 ec43610c2a17: Pull complete 07:53:08 3a2ae6a8a46f: Pull complete 07:53:09 33b1e0a273af: Pull complete 07:53:09 5d3b04190fa2: Pull complete 07:53:14 2f39f015ded8: Pull complete 07:53:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:53:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:14 prd-ubuntu20.04-docker-8c-8g-39763 does not seem to be running inside a container 07:53:14 $ 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 07:53:15 $ docker top c75fe9fb4b3c603a5a9840d31e401e8b70822089350963a1743e1c232f883e21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:53:16 ---> job-cost.sh 07:53:16 lf-activate-venv: SKIPPING 07:53:16 INFO: No Stack... 07:53:16 INFO: Retrieving Pricing Info for: v3-standard-8 07:53:16 INFO: Archiving Costs [Pipeline] sh 07:53:17 + cat /w/workspace/edgexfoundry_device-s7_PR-43/archives/cost.csv 07:53:17 + cut -d, -f6 [Pipeline] lock 07:53:17 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-43-3-stack-cost] 07:53:17 Resource [jenkins-edgexfoundry-device-s7-PR-43-3-stack-cost] did not exist. Created. 07:53:17 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-43-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:53:17 + echo total: 0.2199999988079071 [Pipeline] stash 07:53:17 Stashed 1 file(s) [Pipeline] } 07:53:17 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-43-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:53:17 $ docker stop --time=1 c75fe9fb4b3c603a5a9840d31e401e8b70822089350963a1743e1c232f883e21 07:53:18 $ docker rm -f --volumes c75fe9fb4b3c603a5a9840d31e401e8b70822089350963a1743e1c232f883e21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 07:53:18 provisioning config files... 07:53:18 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config15698539843440769505tmp [Pipeline] { [Pipeline] sh 07:53:19 + set +x 07:53:19 + curl -s https://codecov.io/bash 07:53:19 + bash -s -- 07:53:19 07:53:19 _____ _ 07:53:19 / ____| | | 07:53:19 | | ___ __| | ___ ___ _____ __ 07:53:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:53:19 | |___| (_) | (_| | __/ (_| (_) \ V / 07:53:19 \_____\___/ \__,_|\___|\___\___/ \_/ 07:53:19 Bash-1.0.6 07:53:19 07:53:19 07:53:19 ==> git version 2.25.1 found 07:53:19 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 07:53:19 Release-Date: 2020-01-08 07:53:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:53:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:53:19 ==> Jenkins CI detected. 07:53:19 current dir:  /w/workspace/edgexfoundry_device-s7_PR-43 07:53:19 project root: . 07:53:19 --> token set from env 07:53:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:53:19 ==> Running gcov in . (disable via -X gcov) 07:53:19 ==> Python coveragepy not found 07:53:19 ==> Searching for coverage reports in: 07:53:19 + . 07:53:19 -> Found 1 reports 07:53:19 ==> Detecting git/mercurial file structure 07:53:19 ==> Reading reports 07:53:19 + ./coverage.out bytes=19094 07:53:19 ==> Appending adjustments 07:53:19 https://docs.codecov.io/docs/fixing-reports 07:53:19 + Found adjustments 07:53:19 ==> Gzipping contents 07:53:19 4.0K /tmp/codecov.l4pe9T.gz 07:53:19 ==> Uploading reports 07:53:19 url: https://codecov.io 07:53:19 query: branch=PR-43&commit=d7dbc80190352443c94e93a4564552467daf091d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-43%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=43&job=&cmd_args= 07:53:19 -> Pinging Codecov 07:53:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-43&commit=d7dbc80190352443c94e93a4564552467daf091d&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-43%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=43&job=&cmd_args= 07:53:19 -> Uploading to 07:53:19 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/d7dbc80190352443c94e93a4564552467daf091d/dc1f2fe6-7b56-44a4-99c1-f743c0dd49c4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250226%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250226T075319Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=39a3a9f6c2bbf4ef384a24eadcd4e934b5d0b9d54518e14a423cff7991957203 07:53:19 % Total % Received % Xferd Average Speed Time Time Time Current 07:53:19 Dload Upload Total Spent Left Speed 07:53:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2849 0 0 100 2849 0 18146 --:--:-- --:--:-- --:--:-- 18146 07:53:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/d7dbc80190352443c94e93a4564552467daf091d [Pipeline] } 07:53:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 07:53:20 + [ -d /w/workspace/edgexfoundry_device-s7_PR-43/archives ] 07:53:20 + ls -al /w/workspace/edgexfoundry_device-s7_PR-43/archives 07:53:20 total 16 07:53:20 drwxr-xr-x 3 root root 4096 Feb 26 07:53 . 07:53:20 drwxrwxr-x 9 jenkins jenkins 4096 Feb 26 07:53 .. 07:53:20 drwxr-xr-x 2 root root 4096 Feb 26 07:53 cost 07:53:20 -rw-r--r-- 1 root root 80 Feb 26 07:53 cost.csv 07:53:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-43/archives 07:53:20 + ls -al /w/workspace/edgexfoundry_device-s7_PR-43/archives 07:53:20 total 16 07:53:20 drwxr-xr-x 3 jenkins jenkins 4096 Feb 26 07:53 . 07:53:20 drwxrwxr-x 9 jenkins jenkins 4096 Feb 26 07:53 .. 07:53:20 drwxr-xr-x 2 jenkins jenkins 4096 Feb 26 07:53 cost 07:53:20 -rw-r--r-- 1 jenkins jenkins 80 Feb 26 07:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:53:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:53:22 ---> package-listing.sh 07:53:22 ++ facter osfamily 07:53:22 ++ tr '[:upper:]' '[:lower:]' 07:53:22 + OS_FAMILY=debian 07:53:22 + workspace=/w/workspace/edgexfoundry_device-s7_PR-43 07:53:22 + START_PACKAGES=/tmp/packages_start.txt 07:53:22 + END_PACKAGES=/tmp/packages_end.txt 07:53:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:53:22 + PACKAGES=/tmp/packages_start.txt 07:53:22 + '[' /w/workspace/edgexfoundry_device-s7_PR-43 ']' 07:53:22 + PACKAGES=/tmp/packages_end.txt 07:53:22 + case "${OS_FAMILY}" in 07:53:22 + dpkg -l 07:53:22 + grep '^ii' 07:53:22 + '[' -f /tmp/packages_start.txt ']' 07:53:22 + '[' -f /tmp/packages_end.txt ']' 07:53:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:53:22 + '[' /w/workspace/edgexfoundry_device-s7_PR-43 ']' 07:53:22 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-43/archives/ 07:53:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-43/archives/ [Pipeline] echo 07:53:22 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 07:53:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:53:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:23 prd-ubuntu20.04-docker-8c-8g-39763 does not seem to be running inside a container 07:53:23 $ 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 07:53:23 $ docker top d8021ce925e6c930549f5eedeb4c1de463fd5b415fb88f63f434bae66e2a97e6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:23 + touch /tmp/pre-build-complete [Pipeline] sh 07:53:24 + mkdir -p /var/log/sysstat [Pipeline] sh 07:53:24 + ls /var/log/sa-host 07:53:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:53:24 provisioning config files... 07:53:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-43@tmp/config5191879408528575730tmp [Pipeline] { [Pipeline] echo 07:53:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:53:24 ---> create-netrc.sh [Pipeline] } 07:53:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:53:25 ---> python-tools-install.sh [Pipeline] echo 07:53:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:53:25 ---> sudo-logs.sh 07:53:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:53:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:53:25 ---> job-cost.sh 07:53:25 lf-activate-venv: SKIPPING 07:53:25 DEBUG: total: 0.2199999988079071 07:53:25 INFO: Retrieving Stack Cost... 07:53:25 INFO: Retrieving Pricing Info for: v3-standard-8 07:53:26 INFO: Archiving Costs [Pipeline] echo 07:53:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:53:26 ---> logs-deploy.sh 07:53:26 lf-activate-venv: SKIPPING 07:53:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-43/3 07:53:26 INFO: archiving workspace using pattern(s): 07:53:27 Archives upload complete. 07:53:27 INFO: archiving logs to Nexus