Started by upstream project "edgexfoundry/cd-management/release-lts" build number 97 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cbf10d0c0293ecee235c1101d3a1c80e29a548a6 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-ssh6426442268078724551.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh1981620836908198566.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4359323942312772103.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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-ssh1849576852805734090.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13679111033108380233.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-41082 in /w/workspace/edgexfoundry_device-s7_odessa [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_odessa # 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 Avoid second fetch Checking out Revision cbf10d0c0293ecee235c1101d3a1c80e29a548a6 (odessa) Commit message: "ci(lts-release): LTS release v4.0.0 @3111427" > git config core.sparsecheckout # timeout=10 > git checkout -f cbf10d0c0293ecee235c1101d3a1c80e29a548a6 # timeout=10 > git rev-list --no-walk cbf10d0c0293ecee235c1101d3a1c80e29a548a6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:51:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:51:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:51:42 ========================================================= 07:51:42 EdgeX Global Pipelines Version Info 07:51:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:51:43 ------------------- 07:51:43 stable info: 07:51:43 ------------------- 07:51:43 Commited By: Cherry Wang cherry@iotechsys.com 07:51:43 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:51:43 Message: update stable to v1.0.271 07:51:44 ------------------- 07:51:44 experimental info: 07:51:44 ------------------- 07:51:44 Commited By: **** collab-it+edgex@linuxfoundation.org 07:51:44 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 07:51:44 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 07:51:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [Pipeline] echo 07:51:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbf10d0 [Pipeline] echo 07:51:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:51:45 provisioning config files... 07:51:45 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config7796146387458962629tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:51:45 ---> ****-login.sh 07:51:45 nexus3.edgexfoundry.org:10001 07:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:45 Configure a credential helper to remove this warning. See 07:51:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:45 07:51:45 Login Succeeded 07:51:45 nexus3.edgexfoundry.org:10002 07:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:45 Configure a credential helper to remove this warning. See 07:51:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:45 07:51:45 Login Succeeded 07:51:45 nexus3.edgexfoundry.org:10003 07:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:45 Configure a credential helper to remove this warning. See 07:51:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:45 07:51:45 Login Succeeded 07:51:45 nexus3.edgexfoundry.org:10004 07:51:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:45 Configure a credential helper to remove this warning. See 07:51:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:45 07:51:45 Login Succeeded 07:51:45 ****.io 07:51:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:51:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:51:46 Configure a credential helper to remove this warning. See 07:51:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:51:46 07:51:46 Login Succeeded 07:51:46 ---> ****-login.sh ends [Pipeline] } 07:51:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:51:46 + git rev-list -1 --merges cbf10d0c0293ecee235c1101d3a1c80e29a548a6~1..cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [Pipeline] echo 07:51:46 -----------> git rev-list -1 --merges cbf10d0c0293ecee235c1101d3a1c80e29a548a6~1..cbf10d0c0293ecee235c1101d3a1c80e29a548a6 cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [false] [Pipeline] sh 07:51:47 + git log --format=format:%s -1 cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [Pipeline] echo 07:51:47 ========================================================= 07:51:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 07:51:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:51:47 + git log --format=format:%s -1 cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [Pipeline] echo 07:51:47 [semverPrep] GIT_COMMIT: cbf10d0c0293ecee235c1101d3a1c80e29a548a6, Commit Message: ci(lts-release): LTS release v4.0.0 @3111427 [Pipeline] echo 07:51:47 [semverPrep] This is not a build commit. [Pipeline] sh 07:51:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:51:47 + grep -v github /etc/ssh/ssh_known_hosts 07:51:47 + [ -e /tmp/ssh_known_hosts ] 07:51:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:51:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:51:47 + sudo tee -a /etc/ssh/ssh_known_hosts 07:51:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:48 07:51:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:48 0.1.4: Pulling from edgex-devops/py-git-semver 07:51:48 b85a868b505f: Pulling fs layer 07:51:48 e2be974225ed: Pulling fs layer 07:51:48 339a4e72a1f5: Pulling fs layer 07:51:48 988bab9f4d93: Pulling fs layer 07:51:48 1469e6f7b9e6: Pulling fs layer 07:51:48 eaf3925da568: Pulling fs layer 07:51:48 bab4dde63d76: Pulling fs layer 07:51:48 bde34c3a00c8: Pulling fs layer 07:51:48 b352a97aabf1: Pulling fs layer 07:51:48 4872d77fe225: Pulling fs layer 07:51:48 5851b861e8e6: Pulling fs layer 07:51:48 eaf3925da568: Waiting 07:51:48 bab4dde63d76: Waiting 07:51:48 bde34c3a00c8: Waiting 07:51:48 b352a97aabf1: Waiting 07:51:48 4872d77fe225: Waiting 07:51:48 988bab9f4d93: Waiting 07:51:48 5851b861e8e6: Waiting 07:51:48 1469e6f7b9e6: Waiting 07:51:48 e2be974225ed: Verifying Checksum 07:51:48 e2be974225ed: Download complete 07:51:48 988bab9f4d93: Verifying Checksum 07:51:48 988bab9f4d93: Download complete 07:51:48 1469e6f7b9e6: Verifying Checksum 07:51:48 1469e6f7b9e6: Download complete 07:51:48 eaf3925da568: Verifying Checksum 07:51:48 eaf3925da568: Download complete 07:51:48 339a4e72a1f5: Verifying Checksum 07:51:48 339a4e72a1f5: Download complete 07:51:48 bde34c3a00c8: Download complete 07:51:48 b352a97aabf1: Download complete 07:51:48 4872d77fe225: Verifying Checksum 07:51:48 4872d77fe225: Download complete 07:51:48 5851b861e8e6: Verifying Checksum 07:51:48 5851b861e8e6: Download complete 07:51:48 b85a868b505f: Verifying Checksum 07:51:48 b85a868b505f: Download complete 07:51:49 bab4dde63d76: Verifying Checksum 07:51:49 bab4dde63d76: Download complete 07:51:50 b85a868b505f: Pull complete 07:51:50 e2be974225ed: Pull complete 07:51:50 339a4e72a1f5: Pull complete 07:51:50 988bab9f4d93: Pull complete 07:51:50 1469e6f7b9e6: Pull complete 07:51:51 eaf3925da568: Pull complete 07:51:53 bab4dde63d76: Pull complete 07:51:53 bde34c3a00c8: Pull complete 07:51:53 b352a97aabf1: Pull complete 07:51:53 4872d77fe225: Pull complete 07:51:53 5851b861e8e6: Pull complete 07:51:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:51:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:51:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:51:53 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 07:51:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:51:56 $ docker top 075a38862e2d950e04ef6a91e57e6f68f709bcc73119960129a9d898bff01502 -eo pid,comm 07:51:56 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:51:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:51:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:56 [ssh-agent] Looking for ssh-agent implementation... 07:51:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:56 $ docker exec 075a38862e2d950e04ef6a91e57e6f68f709bcc73119960129a9d898bff01502 ssh-agent 07:51:56 SSH_AUTH_SOCK=/tmp/ssh-e1LylpnAYerG/agent.33 07:51:56 SSH_AGENT_PID=39 07:51:56 Running ssh-add (command line suppressed) 07:51:56 Identity added: /w/workspace/edgexfoundry_device-s7_odessa@tmp/private_key_10916924139457298892.key (/w/workspace/edgexfoundry_device-s7_odessa@tmp/private_key_10916924139457298892.key) 07:51:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:56 + git tag --points-at cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [Pipeline] } 07:51:56 $ docker exec --env ******** --env ******** 075a38862e2d950e04ef6a91e57e6f68f709bcc73119960129a9d898bff01502 ssh-agent -k 07:51:57 unset SSH_AUTH_SOCK; 07:51:57 unset SSH_AGENT_PID; 07:51:57 echo Agent pid 39 killed; 07:51:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 07:51:57 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 07:51:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:51:57 [ssh-agent] Looking for ssh-agent implementation... 07:51:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:51:57 $ docker exec 075a38862e2d950e04ef6a91e57e6f68f709bcc73119960129a9d898bff01502 ssh-agent 07:51:57 SSH_AUTH_SOCK=/tmp/ssh-UF1CH2DrQnKY/agent.73 07:51:57 SSH_AGENT_PID=79 07:51:57 Running ssh-add (command line suppressed) 07:51:57 Identity added: /w/workspace/edgexfoundry_device-s7_odessa@tmp/private_key_12631881345015730011.key (/w/workspace/edgexfoundry_device-s7_odessa@tmp/private_key_12631881345015730011.key) 07:51:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:51:57 + git semver init 07:51:58 2025-03-12 07:51:57,889 [run_init] DEBUG init version:0.0.0 force:False 07:51:58 2025-03-12 07:51:57,890 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_odessa/.semver 07:51:58 2025-03-12 07:51:57,890 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_odessa/.semver 07:51:58 2025-03-12 07:51:57,891 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_odessa/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_odessa, universal_newlines=False, shell=None, istream=None) 07:51:59 2025-03-12 07:51:58,980 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_odessa/.git/info/exclude 07:51:59 2025-03-12 07:51:58,981 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_odessa/.semver/odessa with force:False 07:51:59 2025-03-12 07:51:58,981 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_odessa/.semver/odessa 07:51:59 2025-03-12 07:51:58,981 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_odessa/.semver/odessa 07:51:59 4.0.0 [Pipeline] } 07:51:59 $ docker exec --env ******** --env ******** 075a38862e2d950e04ef6a91e57e6f68f709bcc73119960129a9d898bff01502 ssh-agent -k 07:51:59 unset SSH_AUTH_SOCK; 07:51:59 unset SSH_AGENT_PID; 07:51:59 echo Agent pid 79 killed; 07:51:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:51:59 + git semver [Pipeline] } 07:52:00 $ docker stop --time=1 075a38862e2d950e04ef6a91e57e6f68f709bcc73119960129a9d898bff01502 07:52:01 $ docker rm -f --volumes 075a38862e2d950e04ef6a91e57e6f68f709bcc73119960129a9d898bff01502 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:52:02 Stashed 1 file(s) [Pipeline] echo 07:52:02 [edgeXSemver]: initialized semver on version 4.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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:02 + git checkout cbf10d0c0293ecee235c1101d3a1c80e29a548a6 07:52:03 HEAD is now at cbf10d0 ci(lts-release): LTS release v4.0.0 @3111427 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:03 provisioning config files... 07:52:03 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config17122470008452601008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:03 ---> ****-login.sh 07:52:03 nexus3.edgexfoundry.org:10001 07:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:03 Configure a credential helper to remove this warning. See 07:52:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:03 07:52:03 Login Succeeded 07:52:03 nexus3.edgexfoundry.org:10002 07:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:03 Configure a credential helper to remove this warning. See 07:52:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:03 07:52:03 Login Succeeded 07:52:03 nexus3.edgexfoundry.org:10003 07:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:03 Configure a credential helper to remove this warning. See 07:52:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:03 07:52:03 Login Succeeded 07:52:03 nexus3.edgexfoundry.org:10004 07:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:03 Configure a credential helper to remove this warning. See 07:52:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:03 07:52:03 Login Succeeded 07:52:03 ****.io 07:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:52:04 Configure a credential helper to remove this warning. See 07:52:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:52:04 07:52:04 Login Succeeded 07:52:04 ---> ****-login.sh ends [Pipeline] } 07:52:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:52:04 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:52:04 + grep ^go [0-9].[0-9]* go.mod 07:52:04 + cut -d -f 2 [Pipeline] echo 07:52:04 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:52:04 ========================================================= 07:52:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 07:52:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:52:05 Sending build context to Docker daemon 56.28MB 07:52:05 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:52:05 Step 2/10 : FROM ${BASE} AS builder 07:52:05 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 07:52:05 0a9a5dfd008f: Pulling fs layer 07:52:05 8833042f23b5: Pulling fs layer 07:52:05 6ca661eb024f: Pulling fs layer 07:52:05 b5acb76e9680: Pulling fs layer 07:52:05 4f4fb700ef54: Pulling fs layer 07:52:05 012bb1f9d321: Pulling fs layer 07:52:05 97255f1bc79d: Pulling fs layer 07:52:05 454448c9edf9: Pulling fs layer 07:52:05 15f87924ceaf: Pulling fs layer 07:52:05 4f4fb700ef54: Waiting 07:52:05 012bb1f9d321: Waiting 07:52:05 97255f1bc79d: Waiting 07:52:05 454448c9edf9: Waiting 07:52:05 15f87924ceaf: Waiting 07:52:05 8833042f23b5: Verifying Checksum 07:52:05 8833042f23b5: Download complete 07:52:05 b5acb76e9680: Verifying Checksum 07:52:05 b5acb76e9680: Download complete 07:52:05 4f4fb700ef54: Verifying Checksum 07:52:05 4f4fb700ef54: Download complete 07:52:05 012bb1f9d321: Verifying Checksum 07:52:05 012bb1f9d321: Download complete 07:52:05 0a9a5dfd008f: Download complete 07:52:05 97255f1bc79d: Verifying Checksum 07:52:05 97255f1bc79d: Download complete 07:52:05 0a9a5dfd008f: Pull complete 07:52:05 15f87924ceaf: Verifying Checksum 07:52:05 15f87924ceaf: Download complete 07:52:05 8833042f23b5: Pull complete 07:52:06 6ca661eb024f: Download complete 07:52:06 454448c9edf9: Verifying Checksum 07:52:06 454448c9edf9: Download complete 07:52:09 6ca661eb024f: Pull complete 07:52:09 b5acb76e9680: Pull complete 07:52:09 4f4fb700ef54: Pull complete 07:52:09 012bb1f9d321: Pull complete 07:52:10 97255f1bc79d: Pull complete 07:52:12 454448c9edf9: Pull complete 07:52:12 15f87924ceaf: Pull complete 07:52:12 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 07:52:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 07:52:12 ---> bc3d7bf65e23 07:52:12 Step 3/10 : ARG MAKE=make build 07:52:17 Still waiting to schedule task 07:52:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-41068’ 07:52:18 ---> Running in 77a118ed4290 07:52:18 Removing intermediate container 77a118ed4290 07:52:18 ---> c4e17bc0442e 07:52:18 Step 4/10 : WORKDIR /device-s7 07:52:18 ---> Running in a75a4b434543 07:52:18 Removing intermediate container a75a4b434543 07:52:18 ---> 3397876b3c9c 07:52:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:52:18 ---> Running in f3f456ebbdc6 07:52:18 Removing intermediate container f3f456ebbdc6 07:52:18 ---> 5d3dc8d9a375 07:52:18 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 07:52:18 ---> Running in 7559b5818bb7 07:52:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:52:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:52:18 OK: 248 MiB in 58 packages 07:52:18 Removing intermediate container 7559b5818bb7 07:52:18 ---> 80ee3476c745 07:52:18 Step 7/10 : COPY go.mod vendor* ./ 07:52:24 ---> 92abff5aa183 07:52:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:24 ---> Running in 60c6f9201a43 07:53:10 Removing intermediate container 60c6f9201a43 07:53:10 ---> d9be191aa73c 07:53:10 Step 9/10 : COPY . . 07:53:10 ---> ddc4ff3d09fc 07:53:10 Step 10/10 : RUN ${MAKE} 07:53:10 ---> Running in 80cba6a23392 07:53:10 noop 07:53:10 Removing intermediate container 80cba6a23392 07:53:10 ---> 1a3757c19f0f 07:53:10 Successfully built 1a3757c19f0f 07:53:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:11 + docker inspect -f . ci-base-image-x86_64 07:53:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:11 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 07:53:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** ci-base-image-x86_64 cat 07:53:11 $ docker top f5fac228df754a78ac9162e675ebbc065b0b67e6ad9ad7fd5419cd05791d4d7b -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:12 + go version 07:53:12 go version go1.23.7 linux/amd64 [Pipeline] } 07:53:12 $ docker stop --time=1 f5fac228df754a78ac9162e675ebbc065b0b67e6ad9ad7fd5419cd05791d4d7b 07:53:13 $ docker rm -f --volumes f5fac228df754a78ac9162e675ebbc065b0b67e6ad9ad7fd5419cd05791d4d7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:53:14 + docker inspect -f . ci-base-image-x86_64 07:53:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:53:14 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 07:53:14 $ 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_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** ci-base-image-x86_64 cat 07:53:15 $ docker top b7d8e7a694ce530866f55d8e286db0b8ed2f0b7b579b69928ba805aa1436eb5b -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:16 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_odessa [Pipeline] fileExists [Pipeline] sh 07:53:16 + make test 07:53:16 go test -race -coverprofile=coverage.out ./... 07:53:24 ? github.com/edgexfoundry/device-s7 [no test files] 07:53:50 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 07:53:50 ok github.com/edgexfoundry/device-s7/internal/driver 1.021s coverage: 6.8% of statements 07:54:12 go vet ./... 07:54:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:54:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:54:18 ./bin/test-attribution-txt.sh [Pipeline] echo 07:54:18 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 07:54:18 + go mod tidy [Pipeline] } 07:54:19 $ docker stop --time=1 b7d8e7a694ce530866f55d8e286db0b8ed2f0b7b579b69928ba805aa1436eb5b 07:54:25 $ docker rm -f --volumes b7d8e7a694ce530866f55d8e286db0b8ed2f0b7b579b69928ba805aa1436eb5b [Pipeline] // withDockerContainer [Pipeline] sh 07:54:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:54:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:54:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:54:27 + ls -al . 07:54:27 total 224 07:54:27 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 07:53 . 07:54:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:51 .. 07:54:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:53 .git 07:54:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:51 .github 07:54:27 -rw-rw-r-- 1 jenkins jenkins 229 Mar 12 07:51 .gitignore 07:54:27 -rw-rw-r-- 1 jenkins jenkins 42 Mar 12 07:51 .golangci.yml 07:54:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:51 .semver 07:54:27 -rw-rw-r-- 1 jenkins jenkins 19679 Mar 12 07:51 Attribution.txt 07:54:27 -rw-rw-r-- 1 jenkins jenkins 1668 Mar 12 07:51 CHANGLOG.md 07:54:27 -rw-rw-r-- 1 jenkins jenkins 1579 Mar 12 07:51 Dockerfile 07:54:27 -rw-rw-r-- 1 jenkins jenkins 643 Mar 12 07:51 Jenkinsfile 07:54:27 -rw-rw-r-- 1 jenkins jenkins 10947 Mar 12 07:51 LICENSE 07:54:27 -rw-rw-r-- 1 jenkins jenkins 1903 Mar 12 07:51 Makefile 07:54:27 -rw-rw-r-- 1 jenkins jenkins 614 Mar 12 07:51 OWNERS.md 07:54:27 -rw-rw-r-- 1 jenkins jenkins 2393 Mar 12 07:51 README.md 07:54:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:52 VERSION 07:54:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:51 bin 07:54:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:51 cmd 07:54:27 -rw-r--r-- 1 jenkins jenkins 19094 Mar 12 07:53 coverage.out 07:54:27 -rw-rw-r-- 1 jenkins jenkins 6073 Mar 12 07:51 go.mod 07:54:27 -rw-rw-r-- 1 jenkins jenkins 86755 Mar 12 07:51 go.sum 07:54:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:51 internal 07:54:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:51 vendor 07:54:27 -rw-rw-r-- 1 jenkins jenkins 223 Mar 12 07:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:27 + docker build -t device-s7 -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=cbf10d0c0293ecee235c1101d3a1c80e29a548a6 --label arch=amd64 --label version=4.0.0 . 07:54:27 Sending build context to Docker daemon 56.3MB 07:54:27 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 07:54:27 Step 2/24 : FROM ${BASE} AS builder 07:54:27 ---> 1a3757c19f0f 07:54:27 Step 3/24 : ARG MAKE=make build 07:54:28 ---> Running in 76620e524e4f 07:54:28 Removing intermediate container 76620e524e4f 07:54:28 ---> 4bce9736f387 07:54:28 Step 4/24 : WORKDIR /device-s7 07:54:28 ---> Running in 785e9e678ec3 07:54:28 Removing intermediate container 785e9e678ec3 07:54:28 ---> bdafdffa5939 07:54:28 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:54:28 ---> Running in ba6ccad4ae73 07:54:28 Removing intermediate container ba6ccad4ae73 07:54:28 ---> 4247d7352313 07:54:28 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 07:54:28 ---> Running in 4b5a677b234e 07:54:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:54:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:54:29 OK: 248 MiB in 58 packages 07:54:29 Removing intermediate container 4b5a677b234e 07:54:29 ---> 590ded134517 07:54:29 Step 7/24 : COPY go.mod vendor* ./ 07:54:33 ---> 023ca7f38573 07:54:33 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:54:33 ---> Running in 82d8be70fa10 07:54:33 skipping... 07:54:33 Removing intermediate container 82d8be70fa10 07:54:33 ---> 0d0ad3dd4472 07:54:33 Step 9/24 : COPY . . 07:54:37 ---> deb1121bd6d6 07:54:37 Step 10/24 : RUN ${MAKE} 07:54:37 ---> Running in df17e9e9f956 07:54:37 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 07:55:24 Removing intermediate container df17e9e9f956 07:55:24 ---> 91c5479f4db3 07:55:24 Step 11/24 : FROM alpine:3.20 07:55:24 3.20: Pulling from library/alpine 07:55:24 0a9a5dfd008f: Already exists 07:55:24 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 07:55:24 Status: Downloaded newer image for alpine:3.20 07:55:24 ---> ff221270b9fb 07:55:24 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:55:24 ---> Running in 1a43fc9a04c8 07:55:24 Removing intermediate container 1a43fc9a04c8 07:55:24 ---> 0985eac6ec51 07:55:24 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:55:24 ---> Running in 7160dca705c8 07:55:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:55:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:55:24 (1/1) Installing dumb-init (1.2.5-r3) 07:55:24 Executing busybox-1.36.1-r29.trigger 07:55:24 OK: 8 MiB in 15 packages 07:55:24 Removing intermediate container 7160dca705c8 07:55:24 ---> f5a9cca6d073 07:55:24 Step 14/24 : RUN apk --no-cache upgrade 07:55:24 ---> Running in 0fa683d45be2 07:55:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:55:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:55:24 OK: 8 MiB in 15 packages 07:55:24 Removing intermediate container 0fa683d45be2 07:55:24 ---> df9a6111fdd9 07:55:24 Step 15/24 : WORKDIR / 07:55:24 ---> Running in 4fbe972a577c 07:55:24 Removing intermediate container 4fbe972a577c 07:55:24 ---> 33fa5b12fe12 07:55:24 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 07:55:24 ---> 61e986ebded1 07:55:24 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 07:55:24 ---> ef17db914599 07:55:24 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 07:55:24 ---> 0f120eb4ee16 07:55:24 Step 19/24 : EXPOSE 59994 07:55:24 ---> Running in 7028ef290f7a 07:55:24 Removing intermediate container 7028ef290f7a 07:55:24 ---> d1eb9d09fdd9 07:55:24 Step 20/24 : ENTRYPOINT ["/device-s7"] 07:55:24 ---> Running in c70738121aab 07:55:25 Removing intermediate container c70738121aab 07:55:25 ---> 5a3d02b83bf1 07:55:25 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 07:55:25 ---> Running in 88f834160559 07:55:25 Removing intermediate container 88f834160559 07:55:25 ---> a4767dce05c7 07:55:25 Step 22/24 : LABEL arch=amd64 07:55:25 ---> Running in 9aaa23801030 07:55:25 Removing intermediate container 9aaa23801030 07:55:25 ---> 6070309e0eb0 07:55:25 Step 23/24 : LABEL git_sha=cbf10d0c0293ecee235c1101d3a1c80e29a548a6 07:55:25 ---> Running in e910cb21c1f2 07:55:25 Removing intermediate container e910cb21c1f2 07:55:25 ---> a0d25aa950db 07:55:25 Step 24/24 : LABEL version=4.0.0 07:55:25 ---> Running in 648cb0d196ca 07:55:25 Removing intermediate container 648cb0d196ca 07:55:25 ---> c2d6c1f78c32 07:55:25 [Warning] One or more build-args [ARCH] were not consumed 07:55:25 Successfully built c2d6c1f78c32 07:55:25 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:25 provisioning config files... 07:55:25 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config680297451139538255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:26 ---> ****-login.sh 07:55:26 nexus3.edgexfoundry.org:10001 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 nexus3.edgexfoundry.org:10002 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 nexus3.edgexfoundry.org:10003 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 nexus3.edgexfoundry.org:10004 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 ****.io 07:55:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:55:26 Configure a credential helper to remove this warning. See 07:55:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:55:26 07:55:26 Login Succeeded 07:55:26 ---> ****-login.sh ends [Pipeline] } 07:55:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:55:26 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:55:26 [edgeXDocker.push] Tagging docker image device-s7 with the following tags: 07:55:26 cbf10d0c0293ecee235c1101d3a1c80e29a548a6 07:55:26 4.0.0 07:55:26 cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0 07:55:26 odessa 07:55:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:27 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:27 + docker push nexus3.edgexfoundry.org:10004/device-s7:cbf10d0c0293ecee235c1101d3a1c80e29a548a6 07:55:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 07:55:27 b13caab17baa: Preparing 07:55:27 ef4b46267143: Preparing 07:55:27 e3de398eea87: Preparing 07:55:27 aebb9992cdc7: Preparing 07:55:27 ebdfd77566bd: Preparing 07:55:27 994456c4fd7b: Preparing 07:55:27 994456c4fd7b: Waiting 07:55:27 aebb9992cdc7: Pushed 07:55:27 994456c4fd7b: Layer already exists 07:55:27 b13caab17baa: Pushed 07:55:27 ebdfd77566bd: Pushed 07:55:27 e3de398eea87: Pushed 07:55:32 ef4b46267143: Pushed 07:55:32 cbf10d0c0293ecee235c1101d3a1c80e29a548a6: digest: sha256:7844a43cbb1b8fc93328adc199fb670313af418e79583b82c84c947c6c6ab1af size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:33 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:33 + docker push nexus3.edgexfoundry.org:10004/device-s7:4.0.0 07:55:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 07:55:33 b13caab17baa: Preparing 07:55:33 ef4b46267143: Preparing 07:55:33 e3de398eea87: Preparing 07:55:33 aebb9992cdc7: Preparing 07:55:33 ebdfd77566bd: Preparing 07:55:33 994456c4fd7b: Preparing 07:55:33 994456c4fd7b: Waiting 07:55:33 b13caab17baa: Layer already exists 07:55:33 ebdfd77566bd: Layer already exists 07:55:33 e3de398eea87: Layer already exists 07:55:33 ef4b46267143: Layer already exists 07:55:33 aebb9992cdc7: Layer already exists 07:55:33 994456c4fd7b: Layer already exists 07:55:33 4.0.0: digest: sha256:7844a43cbb1b8fc93328adc199fb670313af418e79583b82c84c947c6c6ab1af size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:33 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:34 + docker push nexus3.edgexfoundry.org:10004/device-s7:cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0 07:55:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 07:55:34 b13caab17baa: Preparing 07:55:34 ef4b46267143: Preparing 07:55:34 e3de398eea87: Preparing 07:55:34 aebb9992cdc7: Preparing 07:55:34 ebdfd77566bd: Preparing 07:55:34 994456c4fd7b: Preparing 07:55:34 994456c4fd7b: Waiting 07:55:34 ef4b46267143: Layer already exists 07:55:34 aebb9992cdc7: Layer already exists 07:55:34 ebdfd77566bd: Layer already exists 07:55:34 b13caab17baa: Layer already exists 07:55:34 e3de398eea87: Layer already exists 07:55:34 994456c4fd7b: Layer already exists 07:55:34 cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0: digest: sha256:7844a43cbb1b8fc93328adc199fb670313af418e79583b82c84c947c6c6ab1af size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:34 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:34 + docker push nexus3.edgexfoundry.org:10004/device-s7:odessa 07:55:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 07:55:34 b13caab17baa: Preparing 07:55:34 ef4b46267143: Preparing 07:55:34 e3de398eea87: Preparing 07:55:34 aebb9992cdc7: Preparing 07:55:34 ebdfd77566bd: Preparing 07:55:34 994456c4fd7b: Preparing 07:55:34 994456c4fd7b: Waiting 07:55:34 e3de398eea87: Layer already exists 07:55:34 aebb9992cdc7: Layer already exists 07:55:34 ef4b46267143: Layer already exists 07:55:34 b13caab17baa: Layer already exists 07:55:34 ebdfd77566bd: Layer already exists 07:55:34 994456c4fd7b: Layer already exists 07:55:34 odessa: digest: sha256:7844a43cbb1b8fc93328adc199fb670313af418e79583b82c84c947c6c6ab1af size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:55:34 ===================================================== [Pipeline] echo 07:55:34 taggedImages: 07:55:34 - nexus3.edgexfoundry.org:10004/device-s7:cbf10d0c0293ecee235c1101d3a1c80e29a548a6 07:55:34 - nexus3.edgexfoundry.org:10004/device-s7:4.0.0 07:55:34 - nexus3.edgexfoundry.org:10004/device-s7:cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0 07:55:34 - nexus3.edgexfoundry.org:10004/device-s7:odessa [Pipeline] } [Pipeline] // script [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:55:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:35 07:55:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:35 latest: Pulling from edgex-lftools-log-publisher 07:55:35 5eb5b503b376: Pulling fs layer 07:55:35 5c69ac0246d0: Pulling fs layer 07:55:35 ec43610c2a17: Pulling fs layer 07:55:35 3a2ae6a8a46f: Pulling fs layer 07:55:35 33b1e0a273af: Pulling fs layer 07:55:35 5d3b04190fa2: Pulling fs layer 07:55:35 2f39f015ded8: Pulling fs layer 07:55:35 3a2ae6a8a46f: Waiting 07:55:35 33b1e0a273af: Waiting 07:55:35 5d3b04190fa2: Waiting 07:55:35 5c69ac0246d0: Download complete 07:55:35 3a2ae6a8a46f: Download complete 07:55:35 33b1e0a273af: Verifying Checksum 07:55:35 33b1e0a273af: Download complete 07:55:35 ec43610c2a17: Verifying Checksum 07:55:35 ec43610c2a17: Download complete 07:55:35 5d3b04190fa2: Verifying Checksum 07:55:35 5d3b04190fa2: Download complete 07:55:35 5eb5b503b376: Verifying Checksum 07:55:35 5eb5b503b376: Download complete 07:55:36 2f39f015ded8: Download complete 07:55:36 5eb5b503b376: Pull complete 07:55:36 5c69ac0246d0: Pull complete 07:55:37 ec43610c2a17: Pull complete 07:55:37 3a2ae6a8a46f: Pull complete 07:55:37 33b1e0a273af: Pull complete 07:55:37 5d3b04190fa2: Pull complete 07:55:41 2f39f015ded8: Pull complete 07:55:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:55:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:55:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:42 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 07:55:42 $ 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_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:55:47 $ docker top a2fbf5c8c0c269af977687cddc8e8a044fc00858f33ab9d07d36c1d41e1e584c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:47 ---> job-cost.sh 07:55:47 lf-activate-venv: SKIPPING 07:55:47 INFO: No Stack... 07:55:48 INFO: Retrieving Pricing Info for: v3-standard-8 07:55:48 INFO: Archiving Costs [Pipeline] sh 07:55:48 + cat /w/workspace/edgexfoundry_device-s7_odessa/archives/cost.csv 07:55:48 + cut -d, -f6 [Pipeline] lock 07:55:49 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-odessa-2-stack-cost] 07:55:49 Resource [jenkins-edgexfoundry-device-s7-odessa-2-stack-cost] did not exist. Created. 07:55:49 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:55:49 + echo total: 0.2199999988079071 [Pipeline] stash 07:55:49 Stashed 1 file(s) [Pipeline] } 07:55:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:55:49 $ docker stop --time=1 a2fbf5c8c0c269af977687cddc8e8a044fc00858f33ab9d07d36c1d41e1e584c 07:55:50 $ docker rm -f --volumes a2fbf5c8c0c269af977687cddc8e8a044fc00858f33ab9d07d36c1d41e1e584c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:57:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41087 in /w/workspace/edgexfoundry_device-s7_odessa [Pipeline] { [Pipeline] ws 07:57:09 Running in /w/workspace/device-s7/2 [Pipeline] { [Pipeline] checkout 07:57:10 Selected Git installation does not exist. Using Default 07:57:10 The recommended git tool is: NONE 07:57:18 using credential edgex-jenkins-ssh 07:57:18 Cloning the remote Git repository 07:57:18 Cloning repository git@github.com:edgexfoundry/device-s7.git 07:57:18 > git init /w/workspace/device-s7/2 # timeout=10 07:57:18 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 07:57:18 > git --version # timeout=10 07:57:18 > git --version # 'git version 2.25.1' 07:57:18 using GIT_SSH to set credentials SSH Credentials for GitHub 07:57:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:57:20 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 07:57:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:57:22 Avoid second fetch 07:57:22 Checking out Revision cbf10d0c0293ecee235c1101d3a1c80e29a548a6 (odessa) 07:57:22 > git config core.sparsecheckout # timeout=10 07:57:22 > git checkout -f cbf10d0c0293ecee235c1101d3a1c80e29a548a6 # timeout=10 07:57:25 Commit message: "ci(lts-release): LTS release v4.0.0 @3111427" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:57:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:57:30 % Total % Received % Xferd Average Speed Time Time Time Current 07:57:30 Dload Upload Total Spent Left Speed 07:57:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 07:57:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:57:30 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:57:30 sudo tee /etc/docker/daemon.new 07:57:30 { 07:57:30 "registry-mirrors": [ 07:57:30 "https://nexus3.edgexfoundry.org:10001" 07:57:30 ], 07:57:30 "bip": "10.250.0.254/24", 07:57:30 "hosts": [ 07:57:30 "tcp://0.0.0.0:5555", 07:57:30 "unix:///var/run/docker.sock" 07:57:30 ], 07:57:30 "mtu": 1458, 07:57:30 "selinux-enabled": true, 07:57:30 "seccomp-profile": "/etc/docker/seccomp.json" 07:57:30 } [Pipeline] sh 07:57:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:57:31 + sudo service docker restart [Pipeline] sh 07:57:50 + git checkout cbf10d0c0293ecee235c1101d3a1c80e29a548a6 07:57:50 HEAD is now at cbf10d0 ci(lts-release): LTS release v4.0.0 @3111427 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:57:50 provisioning config files... 07:57:50 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/2@tmp/config15620530441750681969tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:57:51 ---> ****-login.sh 07:57:51 nexus3.edgexfoundry.org:10001 07:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:51 Configure a credential helper to remove this warning. See 07:57:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:51 07:57:51 Login Succeeded 07:57:51 nexus3.edgexfoundry.org:10002 07:57:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:52 Configure a credential helper to remove this warning. See 07:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:52 07:57:52 Login Succeeded 07:57:52 nexus3.edgexfoundry.org:10003 07:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:52 Configure a credential helper to remove this warning. See 07:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:52 07:57:52 Login Succeeded 07:57:52 nexus3.edgexfoundry.org:10004 07:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:52 Configure a credential helper to remove this warning. See 07:57:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:52 07:57:52 Login Succeeded 07:57:52 ****.io 07:57:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:57:53 Configure a credential helper to remove this warning. See 07:57:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:57:53 07:57:53 Login Succeeded 07:57:53 ---> ****-login.sh ends [Pipeline] } 07:57:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:57:54 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 07:57:54 + cut -d -f 2 07:57:54 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 07:57:54 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 07:57:54 ========================================================= 07:57:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 07:57:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 07:57:59 Sending build context to Docker daemon 48.46MB 07:57:59 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:57:59 Step 2/10 : FROM ${BASE} AS builder 07:57:59 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 07:57:59 94e9d8af2201: Pulling fs layer 07:57:59 345fe9f21930: Pulling fs layer 07:57:59 b40fc9e46828: Pulling fs layer 07:57:59 c9804373a1e5: Pulling fs layer 07:57:59 4f4fb700ef54: Pulling fs layer 07:57:59 f5a772c54f75: Pulling fs layer 07:57:59 e2dd1b2a9dca: Pulling fs layer 07:57:59 0a0502178392: Pulling fs layer 07:57:59 f5a772c54f75: Waiting 07:57:59 e2dd1b2a9dca: Waiting 07:57:59 0a0502178392: Waiting 07:57:59 c9804373a1e5: Waiting 07:57:59 4f4fb700ef54: Waiting 07:57:59 345fe9f21930: Download complete 07:57:59 c9804373a1e5: Verifying Checksum 07:57:59 c9804373a1e5: Download complete 07:57:59 4f4fb700ef54: Verifying Checksum 07:57:59 4f4fb700ef54: Download complete 07:57:59 f5a772c54f75: Verifying Checksum 07:57:59 f5a772c54f75: Download complete 07:57:59 94e9d8af2201: Verifying Checksum 07:57:59 94e9d8af2201: Download complete 07:58:00 0a0502178392: Verifying Checksum 07:58:00 94e9d8af2201: Pull complete 07:58:01 345fe9f21930: Pull complete 07:58:02 b40fc9e46828: Verifying Checksum 07:58:02 b40fc9e46828: Download complete 07:58:02 e2dd1b2a9dca: Verifying Checksum 07:58:02 e2dd1b2a9dca: Download complete 07:58:18 b40fc9e46828: Pull complete 07:58:18 c9804373a1e5: Pull complete 07:58:18 4f4fb700ef54: Pull complete 07:58:19 f5a772c54f75: Pull complete 07:58:29 e2dd1b2a9dca: Pull complete 07:58:29 0a0502178392: Pull complete 07:58:29 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 07:58:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 07:58:29 ---> 72db82c1953f 07:58:29 Step 3/10 : ARG MAKE=make build 07:58:32 ---> Running in dbce163a25d3 07:58:33 Removing intermediate container dbce163a25d3 07:58:33 ---> 63893c556323 07:58:33 Step 4/10 : WORKDIR /device-s7 07:58:33 ---> Running in af51d8f4803c 07:58:33 Removing intermediate container af51d8f4803c 07:58:33 ---> 2a3c9a474f11 07:58:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:58:33 ---> Running in a57a76d52757 07:58:34 Removing intermediate container a57a76d52757 07:58:34 ---> cdbaee0147a6 07:58:34 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 07:58:34 ---> Running in 25e020590b38 07:58:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 07:58:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 07:58:37 OK: 239 MiB in 58 packages 07:58:39 Removing intermediate container 25e020590b38 07:58:39 ---> 53f2e80fbdee 07:58:39 Step 7/10 : COPY go.mod vendor* ./ 07:58:54 ---> 2cadee8231f9 07:58:54 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:58:54 ---> Running in 120800f89e99 08:00:46 Removing intermediate container 120800f89e99 08:00:46 ---> 7ab37a40f11d 08:00:46 Step 9/10 : COPY . . 08:00:51 ---> 3fbaa3f1679a 08:00:51 Step 10/10 : RUN ${MAKE} 08:00:51 ---> Running in 5266471540f6 08:00:52 noop 08:00:52 Removing intermediate container 5266471540f6 08:00:52 ---> 5c71127ddfd3 08:00:53 Successfully built 5c71127ddfd3 08:00:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:54 + docker inspect -f . ci-base-image-arm64 08:00:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:00:54 prd-ubuntu20.04-docker-arm64-4c-16g-41087 does not seem to be running inside a container 08:00:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/2 -v /w/workspace/device-s7/2:/w/workspace/device-s7/2:rw,z -v /w/workspace/device-s7/2@tmp:/w/workspace/device-s7/2@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 ******** ci-base-image-arm64 cat 08:00:55 $ docker top bf1631ae5a5e0eedd17f5e45f997403cc1eaa1452823b6460bb820e0746f0c14 -eo pid,comm [Pipeline] { [Pipeline] sh 08:00:56 + go version 08:00:56 go version go1.23.7 linux/arm64 [Pipeline] } 08:00:56 $ docker stop --time=1 bf1631ae5a5e0eedd17f5e45f997403cc1eaa1452823b6460bb820e0746f0c14 08:00:58 $ docker rm -f --volumes bf1631ae5a5e0eedd17f5e45f997403cc1eaa1452823b6460bb820e0746f0c14 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:00:58 + docker inspect -f . ci-base-image-arm64 08:00:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:00:59 prd-ubuntu20.04-docker-arm64-4c-16g-41087 does not seem to be running inside a container 08:00:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/2 -v /w/workspace/device-s7/2:/w/workspace/device-s7/2:rw,z -v /w/workspace/device-s7/2@tmp:/w/workspace/device-s7/2@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 ******** ci-base-image-arm64 cat 08:01:00 $ docker top e870ab52dcc1cc7932065d41a312438989fd74b054dc4614da7ddb6571093258 -eo pid,comm [Pipeline] { [Pipeline] sh 08:01:01 + git config --global --add safe.directory /w/workspace/device-s7/2 [Pipeline] fileExists [Pipeline] sh 08:01:01 + make test 08:01:01 go test -race -coverprofile=coverage.out ./... 08:01:58 ? github.com/edgexfoundry/device-s7 [no test files] 08:06:20 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 08:06:20 ok github.com/edgexfoundry/device-s7/internal/driver 1.132s coverage: 6.8% of statements 08:06:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:06:20 go vet ./... 08:10:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:10:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:10:27 ./bin/test-attribution-txt.sh [Pipeline] echo 08:10:27 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 08:10:28 + go mod tidy [Pipeline] } 08:10:33 $ docker stop --time=1 e870ab52dcc1cc7932065d41a312438989fd74b054dc4614da7ddb6571093258 08:10:35 $ docker rm -f --volumes e870ab52dcc1cc7932065d41a312438989fd74b054dc4614da7ddb6571093258 [Pipeline] // withDockerContainer [Pipeline] sh 08:10:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:10:38 Warning: overwriting stash ‘coverage-report’ 08:10:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:10:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:10:41 + ls -al . 08:10:41 total 220 08:10:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 08:01 . 08:10:41 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 07:57 .. 08:10:41 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 07:57 .git 08:10:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:57 .github 08:10:41 -rw-rw-r-- 1 jenkins jenkins 229 Mar 12 07:57 .gitignore 08:10:41 -rw-rw-r-- 1 jenkins jenkins 42 Mar 12 07:57 .golangci.yml 08:10:41 -rw-rw-r-- 1 jenkins jenkins 19679 Mar 12 07:57 Attribution.txt 08:10:41 -rw-rw-r-- 1 jenkins jenkins 1668 Mar 12 07:57 CHANGLOG.md 08:10:41 -rw-rw-r-- 1 jenkins jenkins 1579 Mar 12 07:57 Dockerfile 08:10:41 -rw-rw-r-- 1 jenkins jenkins 643 Mar 12 07:57 Jenkinsfile 08:10:41 -rw-rw-r-- 1 jenkins jenkins 10947 Mar 12 07:57 LICENSE 08:10:41 -rw-rw-r-- 1 jenkins jenkins 1903 Mar 12 07:57 Makefile 08:10:41 -rw-rw-r-- 1 jenkins jenkins 614 Mar 12 07:57 OWNERS.md 08:10:41 -rw-rw-r-- 1 jenkins jenkins 2393 Mar 12 07:57 README.md 08:10:41 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 07:52 VERSION 08:10:41 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 07:57 bin 08:10:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:57 cmd 08:10:41 -rw-r--r-- 1 jenkins jenkins 19094 Mar 12 08:06 coverage.out 08:10:41 -rw-rw-r-- 1 jenkins jenkins 6073 Mar 12 07:57 go.mod 08:10:41 -rw-rw-r-- 1 jenkins jenkins 86755 Mar 12 07:57 go.sum 08:10:41 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 07:57 internal 08:10:41 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 07:57 vendor 08:10:41 -rw-rw-r-- 1 jenkins jenkins 223 Mar 12 07:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:10:41 + docker build -t device-s7-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cbf10d0c0293ecee235c1101d3a1c80e29a548a6 --label arch=arm64 --label version=4.0.0 . 08:10:45 Sending build context to Docker daemon 48.48MB 08:10:45 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 08:10:45 Step 2/24 : FROM ${BASE} AS builder 08:10:45 ---> 5c71127ddfd3 08:10:45 Step 3/24 : ARG MAKE=make build 08:10:46 ---> Running in 8ed85c73334f 08:10:46 Removing intermediate container 8ed85c73334f 08:10:46 ---> 2c91f545c9de 08:10:46 Step 4/24 : WORKDIR /device-s7 08:10:46 ---> Running in ab1f8925597e 08:10:47 Removing intermediate container ab1f8925597e 08:10:47 ---> 36536bd7a0ac 08:10:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 08:10:47 ---> Running in 4dedfcaaaf9b 08:10:47 Removing intermediate container 4dedfcaaaf9b 08:10:47 ---> bf99cfc55424 08:10:47 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 08:10:47 ---> Running in a207f9706be4 08:10:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:10:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:10:51 OK: 239 MiB in 58 packages 08:10:52 Removing intermediate container a207f9706be4 08:10:52 ---> dec560b49f28 08:10:52 Step 7/24 : COPY go.mod vendor* ./ 08:11:07 ---> ad1eb3714a32 08:11:07 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:11:07 ---> Running in 5ac56fda4d80 08:11:08 skipping... 08:11:09 Removing intermediate container 5ac56fda4d80 08:11:09 ---> a8c8c16b8fdd 08:11:09 Step 9/24 : COPY . . 08:11:24 ---> e9bf2687c348 08:11:24 Step 10/24 : RUN ${MAKE} 08:11:24 ---> Running in 5e9a0b1f6e62 08:11:24 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 08:15:16 Removing intermediate container 5e9a0b1f6e62 08:15:16 ---> 655da818aaae 08:15:16 Step 11/24 : FROM alpine:3.20 08:15:16 3.20: Pulling from library/alpine 08:15:16 94e9d8af2201: Already exists 08:15:16 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 08:15:16 Status: Downloaded newer image for alpine:3.20 08:15:16 ---> 7aab056cecc6 08:15:16 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 08:15:16 ---> Running in 1c3223bb640d 08:15:16 Removing intermediate container 1c3223bb640d 08:15:16 ---> e36f7a2d57bd 08:15:16 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:15:16 ---> Running in d437cee8eba2 08:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:15:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:15:16 (1/1) Installing dumb-init (1.2.5-r3) 08:15:16 Executing busybox-1.36.1-r29.trigger 08:15:16 OK: 9 MiB in 15 packages 08:15:17 Removing intermediate container d437cee8eba2 08:15:17 ---> 0f0db4c32bc3 08:15:17 Step 14/24 : RUN apk --no-cache upgrade 08:15:17 ---> Running in a110d27a8351 08:15:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 08:15:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 08:15:20 OK: 9 MiB in 15 packages 08:15:21 Removing intermediate container a110d27a8351 08:15:21 ---> 08e70865f556 08:15:21 Step 15/24 : WORKDIR / 08:15:21 ---> Running in 99ca74e4543a 08:15:21 Removing intermediate container 99ca74e4543a 08:15:21 ---> 4df2e1cfbd20 08:15:21 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 08:15:21 ---> 51d9563b4d70 08:15:21 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 08:15:24 ---> d7a5cf85ca12 08:15:24 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 08:15:24 ---> bc2d05262139 08:15:24 Step 19/24 : EXPOSE 59994 08:15:24 ---> Running in 65a2eac82e81 08:15:24 Removing intermediate container 65a2eac82e81 08:15:24 ---> e3117971a086 08:15:24 Step 20/24 : ENTRYPOINT ["/device-s7"] 08:15:24 ---> Running in 8f4bbd69a75d 08:15:25 Removing intermediate container 8f4bbd69a75d 08:15:25 ---> 403daaa96bce 08:15:25 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 08:15:25 ---> Running in 0840afc8f76c 08:15:25 Removing intermediate container 0840afc8f76c 08:15:25 ---> 998867914e5f 08:15:25 Step 22/24 : LABEL arch=arm64 08:15:25 ---> Running in c104b596f803 08:15:25 Removing intermediate container c104b596f803 08:15:25 ---> f8940af10222 08:15:25 Step 23/24 : LABEL git_sha=cbf10d0c0293ecee235c1101d3a1c80e29a548a6 08:15:25 ---> Running in cb5e131af559 08:15:26 Removing intermediate container cb5e131af559 08:15:26 ---> 9f46fdeb6b7f 08:15:26 Step 24/24 : LABEL version=4.0.0 08:15:26 ---> Running in ab8ca0f0ce8e 08:15:26 Removing intermediate container ab8ca0f0ce8e 08:15:26 ---> ac0894c5fcc4 08:15:26 [Warning] One or more build-args [ARCH] were not consumed 08:15:26 Successfully built ac0894c5fcc4 08:15:26 Successfully tagged device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:27 provisioning config files... 08:15:27 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/2@tmp/config16015382031372021860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:27 ---> ****-login.sh 08:15:27 nexus3.edgexfoundry.org:10001 08:15:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:27 Configure a credential helper to remove this warning. See 08:15:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:27 08:15:27 Login Succeeded 08:15:27 nexus3.edgexfoundry.org:10002 08:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:28 Configure a credential helper to remove this warning. See 08:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:28 08:15:28 Login Succeeded 08:15:28 nexus3.edgexfoundry.org:10003 08:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:28 Configure a credential helper to remove this warning. See 08:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:28 08:15:28 Login Succeeded 08:15:28 nexus3.edgexfoundry.org:10004 08:15:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:28 Configure a credential helper to remove this warning. See 08:15:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:28 08:15:28 Login Succeeded 08:15:28 ****.io 08:15:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:29 Configure a credential helper to remove this warning. See 08:15:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:29 08:15:29 Login Succeeded 08:15:29 ---> ****-login.sh ends [Pipeline] } 08:15:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:15:29 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 08:15:29 [edgeXDocker.push] Tagging docker image device-s7-arm64 with the following tags: 08:15:29 cbf10d0c0293ecee235c1101d3a1c80e29a548a6 08:15:29 4.0.0 08:15:29 cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0 08:15:29 odessa 08:15:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:29 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:30 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:cbf10d0c0293ecee235c1101d3a1c80e29a548a6 08:15:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 08:15:30 3d1b9b8d3153: Preparing 08:15:30 96d80fd3838b: Preparing 08:15:30 630321a1dd56: Preparing 08:15:30 e20ad37e4725: Preparing 08:15:30 9b903fe087cf: Preparing 08:15:30 dd9c8f8612c8: Preparing 08:15:30 dd9c8f8612c8: Waiting 08:15:30 3d1b9b8d3153: Pushed 08:15:30 630321a1dd56: Pushed 08:15:30 e20ad37e4725: Pushed 08:15:30 9b903fe087cf: Pushed 08:15:30 dd9c8f8612c8: Layer already exists 08:15:40 96d80fd3838b: Pushed 08:15:40 cbf10d0c0293ecee235c1101d3a1c80e29a548a6: digest: sha256:98cd189d93815f73d93b89e0105a4e537e61b727ead97183802d3827440534d6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:41 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:41 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:4.0.0 08:15:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 08:15:41 3d1b9b8d3153: Preparing 08:15:41 96d80fd3838b: Preparing 08:15:41 630321a1dd56: Preparing 08:15:41 e20ad37e4725: Preparing 08:15:41 9b903fe087cf: Preparing 08:15:41 dd9c8f8612c8: Preparing 08:15:41 dd9c8f8612c8: Waiting 08:15:41 630321a1dd56: Layer already exists 08:15:41 3d1b9b8d3153: Layer already exists 08:15:41 9b903fe087cf: Layer already exists 08:15:41 e20ad37e4725: Layer already exists 08:15:41 96d80fd3838b: Layer already exists 08:15:41 dd9c8f8612c8: Layer already exists 08:15:41 4.0.0: digest: sha256:98cd189d93815f73d93b89e0105a4e537e61b727ead97183802d3827440534d6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:41 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:42 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0 08:15:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 08:15:42 3d1b9b8d3153: Preparing 08:15:42 96d80fd3838b: Preparing 08:15:42 630321a1dd56: Preparing 08:15:42 e20ad37e4725: Preparing 08:15:42 9b903fe087cf: Preparing 08:15:42 dd9c8f8612c8: Preparing 08:15:42 dd9c8f8612c8: Waiting 08:15:42 630321a1dd56: Layer already exists 08:15:42 9b903fe087cf: Layer already exists 08:15:42 3d1b9b8d3153: Layer already exists 08:15:42 96d80fd3838b: Layer already exists 08:15:42 e20ad37e4725: Layer already exists 08:15:42 dd9c8f8612c8: Layer already exists 08:15:42 cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0: digest: sha256:98cd189d93815f73d93b89e0105a4e537e61b727ead97183802d3827440534d6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:42 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:43 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:odessa 08:15:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 08:15:43 3d1b9b8d3153: Preparing 08:15:43 96d80fd3838b: Preparing 08:15:43 630321a1dd56: Preparing 08:15:43 e20ad37e4725: Preparing 08:15:43 9b903fe087cf: Preparing 08:15:43 dd9c8f8612c8: Preparing 08:15:43 dd9c8f8612c8: Waiting 08:15:43 e20ad37e4725: Layer already exists 08:15:43 96d80fd3838b: Layer already exists 08:15:43 630321a1dd56: Layer already exists 08:15:43 9b903fe087cf: Layer already exists 08:15:43 3d1b9b8d3153: Layer already exists 08:15:43 dd9c8f8612c8: Layer already exists 08:15:43 odessa: digest: sha256:98cd189d93815f73d93b89e0105a4e537e61b727ead97183802d3827440534d6 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 08:15:43 ===================================================== [Pipeline] echo 08:15:43 taggedImages: 08:15:43 - nexus3.edgexfoundry.org:10004/device-s7-arm64:cbf10d0c0293ecee235c1101d3a1c80e29a548a6 08:15:43 - nexus3.edgexfoundry.org:10004/device-s7-arm64:4.0.0 08:15:43 - nexus3.edgexfoundry.org:10004/device-s7-arm64:cbf10d0c0293ecee235c1101d3a1c80e29a548a6-4.0.0 08:15:43 - nexus3.edgexfoundry.org:10004/device-s7-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:15:43 08:15:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:15:44 arm64: Pulling from edgex-lftools-log-publisher 08:15:44 8998bd30e6a1: Pulling fs layer 08:15:44 04944245beec: Pulling fs layer 08:15:44 699f458cf7ca: Pulling fs layer 08:15:44 765212b225bb: Pulling fs layer 08:15:44 f23df028b6ca: Pulling fs layer 08:15:44 d65c8cfc05b1: Pulling fs layer 08:15:44 765212b225bb: Waiting 08:15:44 f23df028b6ca: Waiting 08:15:44 d65c8cfc05b1: Waiting 08:15:44 2437ff75d9bd: Pulling fs layer 08:15:44 2437ff75d9bd: Waiting 08:15:44 04944245beec: Verifying Checksum 08:15:44 04944245beec: Download complete 08:15:44 765212b225bb: Verifying Checksum 08:15:44 765212b225bb: Download complete 08:15:44 f23df028b6ca: Verifying Checksum 08:15:44 f23df028b6ca: Download complete 08:15:44 d65c8cfc05b1: Verifying Checksum 08:15:44 d65c8cfc05b1: Download complete 08:15:44 699f458cf7ca: Verifying Checksum 08:15:44 699f458cf7ca: Download complete 08:15:45 8998bd30e6a1: Verifying Checksum 08:15:45 8998bd30e6a1: Download complete 08:15:47 2437ff75d9bd: Verifying Checksum 08:15:47 2437ff75d9bd: Download complete 08:15:49 8998bd30e6a1: Pull complete 08:15:50 04944245beec: Pull complete 08:15:51 699f458cf7ca: Pull complete 08:15:51 765212b225bb: Pull complete 08:15:52 f23df028b6ca: Pull complete 08:15:52 d65c8cfc05b1: Pull complete 08:16:11 2437ff75d9bd: Pull complete 08:16:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:16:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:16:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:11 prd-ubuntu20.04-docker-arm64-4c-16g-41087 does not seem to be running inside a container 08:16:11 $ 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/device-s7/2 -v /w/workspace/device-s7/2:/w/workspace/device-s7/2:rw,z -v /w/workspace/device-s7/2@tmp:/w/workspace/device-s7/2@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:16:13 $ docker top 74027cb4a830f354b0d0daa37b115f5590cfc1f2b5d481a48209e1d0b70db00e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:14 ---> job-cost.sh 08:16:14 lf-activate-venv: SKIPPING 08:16:14 INFO: No Stack... 08:16:14 INFO: Retrieving Pricing Info for: v3-standard-4 08:16:15 INFO: Archiving Costs [Pipeline] sh 08:16:16 + cat /w/workspace/device-s7/2/archives/cost.csv 08:16:16 + cut -d, -f6 [Pipeline] lock 08:16:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-odessa-2-stack-cost] 08:16:16 Resource [jenkins-edgexfoundry-device-s7-odessa-2-stack-cost] did not exist. Created. 08:16:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-odessa-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:16:16 /w/workspace/device-s7/2@tmp/durable-f77e7539/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:16:17 + echo total: 0.10999999940395355 [Pipeline] stash 08:16:17 Warning: overwriting stash ‘stack-cost’ 08:16:18 Stashed 1 file(s) [Pipeline] } 08:16:18 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-odessa-2-stack-cost] [Pipeline] // lock [Pipeline] } 08:16:18 $ docker stop --time=1 74027cb4a830f354b0d0daa37b115f5590cfc1f2b5d481a48209e1d0b70db00e 08:16:19 $ docker rm -f --volumes 74027cb4a830f354b0d0daa37b115f5590cfc1f2b5d481a48209e1d0b70db00e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 08:16:20 provisioning config files... 08:16:20 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config2036919156958327195tmp [Pipeline] { [Pipeline] sh 08:16:20 + set +x 08:16:20 + curl -s https://codecov.io/bash 08:16:20 + bash -s -- 08:16:20 08:16:20 _____ _ 08:16:20 / ____| | | 08:16:20 | | ___ __| | ___ ___ _____ __ 08:16:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:16:20 | |___| (_) | (_| | __/ (_| (_) \ V / 08:16:20 \_____\___/ \__,_|\___|\___\___/ \_/ 08:16:20 Bash-1.0.6 08:16:20 08:16:20 08:16:20 ==> git version 2.25.1 found 08:16:20 ==> 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 08:16:20 Release-Date: 2020-01-08 08:16:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:16:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:16:20 ==> Jenkins CI detected. 08:16:20 current dir:  /w/workspace/edgexfoundry_device-s7_odessa 08:16:20 project root: . 08:16:20 --> token set from env 08:16:20 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 08:16:20 ==> Running gcov in . (disable via -X gcov) 08:16:20 ==> Python coveragepy not found 08:16:20 ==> Searching for coverage reports in: 08:16:20 + . 08:16:20 -> Found 1 reports 08:16:20 ==> Detecting git/mercurial file structure 08:16:20 ==> Reading reports 08:16:20 + ./coverage.out bytes=19094 08:16:20 ==> Appending adjustments 08:16:20 https://docs.codecov.io/docs/fixing-reports 08:16:20 + Found adjustments 08:16:20 ==> Gzipping contents 08:16:20 28K /tmp/codecov.ndQBCk.gz 08:16:20 ==> Uploading reports 08:16:20 url: https://codecov.io 08:16:20 query: branch=odessa&commit=cbf10d0c0293ecee235c1101d3a1c80e29a548a6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 08:16:20 -> Pinging Codecov 08:16:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=cbf10d0c0293ecee235c1101d3a1c80e29a548a6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fodessa%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 08:16:20 -> Uploading to 08:16:20 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/cbf10d0c0293ecee235c1101d3a1c80e29a548a6/cc241a5c-c08e-4966-bd8e-46c100dc3f42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T081620Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=16b3355e2b3d203f4d3a2943c7e850960c41cc5fdd9d442a6a5181d729a3e7a2 08:16:20 % Total % Received % Xferd Average Speed Time Time Time Current 08:16:20 Dload Upload Total Spent Left Speed 08:16:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 27478 0 0 100 27478 0 191k --:--:-- --:--:-- --:--:-- 193k 08:16:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [Pipeline] } 08:16:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 08:16:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 08:16:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:16:21 08:16:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:16:22 latest: Pulling from edgex-devops/edgex-snyk-go 08:16:22 43c4264eed91: Pulling fs layer 08:16:22 4cc291be95ef: Pulling fs layer 08:16:22 2ac1f1163629: Pulling fs layer 08:16:22 5c3c966382ef: Pulling fs layer 08:16:22 4f4fb700ef54: Pulling fs layer 08:16:22 d9c7d2e4e75e: Pulling fs layer 08:16:22 9c3e1370e548: Pulling fs layer 08:16:22 d9c7d2e4e75e: Waiting 08:16:22 5c3c966382ef: Waiting 08:16:22 4f4fb700ef54: Waiting 08:16:22 4cc291be95ef: Verifying Checksum 08:16:22 4cc291be95ef: Download complete 08:16:22 5c3c966382ef: Verifying Checksum 08:16:22 5c3c966382ef: Download complete 08:16:22 4f4fb700ef54: Verifying Checksum 08:16:22 4f4fb700ef54: Download complete 08:16:22 43c4264eed91: Download complete 08:16:22 43c4264eed91: Pull complete 08:16:22 d9c7d2e4e75e: Verifying Checksum 08:16:22 d9c7d2e4e75e: Download complete 08:16:22 4cc291be95ef: Pull complete 08:16:22 2ac1f1163629: Verifying Checksum 08:16:22 2ac1f1163629: Download complete 08:16:23 9c3e1370e548: Verifying Checksum 08:16:23 9c3e1370e548: Download complete 08:16:26 2ac1f1163629: Pull complete 08:16:26 5c3c966382ef: Pull complete 08:16:26 4f4fb700ef54: Pull complete 08:16:26 d9c7d2e4e75e: Pull complete 08:16:29 9c3e1370e548: Pull complete 08:16:29 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 08:16:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 08:16:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:29 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 08:16:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-s7_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 08:16:32 $ docker top 6b2741adc224193ba7d87cd7458044c6f45140a97f6ecb7552c5d8785ff7dde5 -eo pid,comm [Pipeline] { [Pipeline] sh 08:16:33 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_odessa [Pipeline] echo 08:16:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-s7:odessa' [Pipeline] sh 08:16:33 + set -o pipefail 08:16:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-s7:odessa' 08:16:36 08:16:36 Monitoring /w/workspace/edgexfoundry_device-s7_odessa (github.com/edgexfoundry/device-s7)... 08:16:36 08:16:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bfa2dca2-5bc5-4fa4-85d4-97a3ae9278bb/history/32f11aa8-024c-4fe0-9f4d-740847f59783 08:16:36 08:16:36 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 08:16:36 08:16:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 08:16:36 08:16:37 08:16:37 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 08:16:37 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 08:16:37 $ docker stop --time=1 6b2741adc224193ba7d87cd7458044c6f45140a97f6ecb7552c5d8785ff7dde5 08:16:39 $ docker rm -f --volumes 6b2741adc224193ba7d87cd7458044c6f45140a97f6ecb7552c5d8785ff7dde5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:16:39 + git log --format=format:%s -1 cbf10d0c0293ecee235c1101d3a1c80e29a548a6 [Pipeline] sh 08:16:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:16:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:16:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:40 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 08:16:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:16:41 $ docker top 1131dd45210038e1645ec0bf58e1046c6340fa5db274299d41368973ea395447 -eo pid,comm 08:16:41 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). 08:16:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:16:41 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:16:41 + git semver [Pipeline] } 08:16:41 $ docker stop --time=1 1131dd45210038e1645ec0bf58e1046c6340fa5db274299d41368973ea395447 08:16:43 $ docker rm -f --volumes 1131dd45210038e1645ec0bf58e1046c6340fa5db274299d41368973ea395447 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:16:43 08:16:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:16:43 0.23.1-centos7: Pulling from edgex-lftools 08:16:43 ab5ef0e58194: Pulling fs layer 08:16:43 9712f1f96733: Pulling fs layer 08:16:43 63f879dbbcfc: Pulling fs layer 08:16:43 0d9ebad4ef96: Pulling fs layer 08:16:43 e9a5061849ea: Pulling fs layer 08:16:43 d747dcd14b5f: Pulling fs layer 08:16:43 2de7ff778b66: Pulling fs layer 08:16:43 0d9ebad4ef96: Waiting 08:16:43 e9a5061849ea: Waiting 08:16:43 d747dcd14b5f: Waiting 08:16:43 2de7ff778b66: Waiting 08:16:43 9712f1f96733: Download complete 08:16:44 63f879dbbcfc: Verifying Checksum 08:16:44 63f879dbbcfc: Download complete 08:16:44 0d9ebad4ef96: Verifying Checksum 08:16:44 0d9ebad4ef96: Download complete 08:16:44 d747dcd14b5f: Download complete 08:16:44 e9a5061849ea: Verifying Checksum 08:16:44 e9a5061849ea: Download complete 08:16:44 ab5ef0e58194: Verifying Checksum 08:16:44 ab5ef0e58194: Download complete 08:16:44 2de7ff778b66: Verifying Checksum 08:16:44 2de7ff778b66: Download complete 08:16:47 ab5ef0e58194: Pull complete 08:16:47 9712f1f96733: Pull complete 08:16:47 63f879dbbcfc: Pull complete 08:16:51 0d9ebad4ef96: Pull complete 08:16:51 e9a5061849ea: Pull complete 08:16:51 d747dcd14b5f: Pull complete 08:16:52 2de7ff778b66: Pull complete 08:16:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 08:16:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 08:16:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:16:52 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 08:16:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 08:16:55 $ docker top 7609fc31806d90621ed1203e8fcac61c46e7651d43be9e389495ec4ac856d5bf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 08:16:55 provisioning config files... 08:16:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config14756106845218597535tmp 08:16:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config12954977383355475773tmp 08:16:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config18106114294408244237tmp [Pipeline] { [Pipeline] echo 08:16:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 08:16:56 ---> sigul-configuration.sh 08:16:56 gpg: directory `/root/.gnupg' created 08:16:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 08:16:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 08:16:56 gpg: keyring `/root/.gnupg/secring.gpg' created 08:16:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 08:16:56 gpg: CAST5 encrypted data 08:16:56 gpg: encrypted with 1 passphrase 08:16:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 08:16:56 + mkdir /home/jenkins 08:16:56 + mkdir /home/jenkins/sigul [Pipeline] sh 08:16:56 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 08:16:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 08:16:57 ---> sigul-install.sh 08:16:57 Sigul already installed; skipping installation. [Pipeline] sh 08:16:57 + git tag --list 08:16:57 v0.0.0 08:16:57 v0.0.1-dev.1 08:16:57 v0.0.1-dev.2 08:16:57 v4.0.0 08:16:57 v4.0.0-dev.1 08:16:57 v4.0.0-dev.10 08:16:57 v4.0.0-dev.11 08:16:57 v4.0.0-dev.2 08:16:57 v4.0.0-dev.3 08:16:57 v4.0.0-dev.4 08:16:57 v4.0.0-dev.5 08:16:57 v4.0.0-dev.6 08:16:57 v4.0.0-dev.7 08:16:57 v4.0.0-dev.8 08:16:57 v4.0.0-dev.9 [Pipeline] sh 08:16:57 + lftools sign git-tag v4.0.0 08:16:58 Signing Git tag with Sigul... 08:16:58 Signing v4.0.0 [Pipeline] echo 08:16:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 08:16:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 08:16:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 08:16:58 $ docker stop --time=1 7609fc31806d90621ed1203e8fcac61c46e7651d43be9e389495ec4ac856d5bf 08:17:00 $ docker rm -f --volumes 7609fc31806d90621ed1203e8fcac61c46e7651d43be9e389495ec4ac856d5bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 08:17:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:17:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:17:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:01 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 08:17:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:17:01 $ docker top 52dcd1aa0fb994e5ca7a5064894143a2473401bb1c38dd5f320a8f1d029316a5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:17:01 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:17:01 + git semver [Pipeline] } 08:17:02 $ docker stop --time=1 52dcd1aa0fb994e5ca7a5064894143a2473401bb1c38dd5f320a8f1d029316a5 08:17:03 $ docker rm -f --volumes 52dcd1aa0fb994e5ca7a5064894143a2473401bb1c38dd5f320a8f1d029316a5 [Pipeline] // withDockerContainer [Pipeline] sh 08:17:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:17:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:17:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:04 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 08:17:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:17:04 $ docker top fbdbaddb06aebd40154f8afb3779c3e43f81ca9c0df9c64ac1d7b9274f300e98 -eo pid,comm 08:17:04 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). 08:17:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:17:04 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:17:05 + git semver [Pipeline] } 08:17:05 $ docker stop --time=1 fbdbaddb06aebd40154f8afb3779c3e43f81ca9c0df9c64ac1d7b9274f300e98 08:17:06 $ docker rm -f --volumes fbdbaddb06aebd40154f8afb3779c3e43f81ca9c0df9c64ac1d7b9274f300e98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 08:17:07 + [ -d /w/workspace/edgexfoundry_device-s7_odessa/archives ] 08:17:07 + ls -al /w/workspace/edgexfoundry_device-s7_odessa/archives 08:17:07 total 16 08:17:07 drwxr-xr-x 3 root root 4096 Mar 12 07:55 . 08:17:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 08:16 .. 08:17:07 drwxr-xr-x 2 root root 4096 Mar 12 07:55 cost 08:17:07 -rw-r--r-- 1 root root 81 Mar 12 07:55 cost.csv 08:17:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_odessa/archives 08:17:07 + ls -al /w/workspace/edgexfoundry_device-s7_odessa/archives 08:17:07 total 16 08:17:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 07:55 . 08:17:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 08:16 .. 08:17:07 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 07:55 cost 08:17:07 -rw-r--r-- 1 jenkins jenkins 81 Mar 12 07:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:17:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:17:08 ---> package-listing.sh 08:17:08 ++ tr '[:upper:]' '[:lower:]' 08:17:08 ++ facter osfamily 08:17:08 + OS_FAMILY=debian 08:17:08 + workspace=/w/workspace/edgexfoundry_device-s7_odessa 08:17:08 + START_PACKAGES=/tmp/packages_start.txt 08:17:08 + END_PACKAGES=/tmp/packages_end.txt 08:17:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:17:08 + PACKAGES=/tmp/packages_start.txt 08:17:08 + '[' /w/workspace/edgexfoundry_device-s7_odessa ']' 08:17:08 + PACKAGES=/tmp/packages_end.txt 08:17:08 + case "${OS_FAMILY}" in 08:17:08 + dpkg -l 08:17:08 + grep '^ii' 08:17:08 + '[' -f /tmp/packages_start.txt ']' 08:17:08 + '[' -f /tmp/packages_end.txt ']' 08:17:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:17:08 + '[' /w/workspace/edgexfoundry_device-s7_odessa ']' 08:17:08 + mkdir -p /w/workspace/edgexfoundry_device-s7_odessa/archives/ 08:17:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_odessa/archives/ [Pipeline] echo 08:17:08 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_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:17:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:17:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:09 prd-ubuntu20.04-docker-8c-8g-41082 does not seem to be running inside a container 08:17:09 $ 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_odessa/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_odessa -v /w/workspace/edgexfoundry_device-s7_odessa:/w/workspace/edgexfoundry_device-s7_odessa:rw,z -v /w/workspace/edgexfoundry_device-s7_odessa@tmp:/w/workspace/edgexfoundry_device-s7_odessa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:17:09 $ docker top e6c3385c1eeba6dd469b68e7dff2680fde74bdd8a19908c0d10a671726c4d512 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:10 + touch /tmp/pre-build-complete [Pipeline] sh 08:17:10 + mkdir -p /var/log/sysstat [Pipeline] sh 08:17:10 + ls /var/log/sa-host 08:17:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:17:11 provisioning config files... 08:17:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config14045138299997538311tmp [Pipeline] { [Pipeline] echo 08:17:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:17:11 ---> create-netrc.sh [Pipeline] } 08:17:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:17:11 ---> python-tools-install.sh [Pipeline] echo 08:17:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:17:11 ---> sudo-logs.sh 08:17:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:17:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:17:12 ---> job-cost.sh 08:17:12 lf-activate-venv: SKIPPING 08:17:12 DEBUG: total: 0.2199999988079071 08:17:12 INFO: Retrieving Stack Cost... 08:17:12 INFO: Retrieving Pricing Info for: v3-standard-8 08:17:13 INFO: Archiving Costs [Pipeline] echo 08:17:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:17:13 ---> logs-deploy.sh 08:17:13 lf-activate-venv: SKIPPING 08:17:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/odessa/2 08:17:13 INFO: archiving workspace using pattern(s): 08:17:14 Archives upload complete. 08:17:14 INFO: archiving logs to Nexus