Started by upstream project "edgexfoundry/cd-management/release-lts" build number 100 originally caused by: Started by user Cloud Tsai Replayed #97 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 508faf986280dc0da9ba280550182af76d638037 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-ssh9765429347118106466.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-ssh2432633637058100111.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-ssh15630041813818866093.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-ssh6770674009038098696.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-ssh16572174035395912958.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-40618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-40619’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-41143’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-41144’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41145’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41146’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41147’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41148’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41149’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41150’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41155’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41158 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 Avoid second fetch Checking out Revision 508faf986280dc0da9ba280550182af76d638037 (odessa) Commit message: "ci(lts-release): LTS release v4.0.0 @3111427" > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 508faf986280dc0da9ba280550182af76d638037 # timeout=10 > git rev-list --no-walk 508faf986280dc0da9ba280550182af76d638037 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:11:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:11:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:11:10 ========================================================= 11:11:10 EdgeX Global Pipelines Version Info 11:11:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:11:11 ------------------- 11:11:11 stable info: 11:11:11 ------------------- 11:11:11 Commited By: Cherry Wang cherry@iotechsys.com 11:11:11 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 11:11:11 Message: update stable to v1.0.271 11:11:12 ------------------- 11:11:12 experimental info: 11:11:12 ------------------- 11:11:12 Commited By: **** collab-it+edgex@linuxfoundation.org 11:11:12 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 11:11:12 Message: update experimental to v1.0.272 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:11:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 11:11:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 11:11:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 11:11:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 508faf986280dc0da9ba280550182af76d638037 [Pipeline] echo 11:11:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 508faf9 [Pipeline] echo 11:11:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:11:13 provisioning config files... 11:11:13 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config12704991098598297421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:11:13 ---> ****-login.sh 11:11:13 nexus3.edgexfoundry.org:10001 11:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:13 Configure a credential helper to remove this warning. See 11:11:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:13 11:11:13 Login Succeeded 11:11:13 nexus3.edgexfoundry.org:10002 11:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:13 Configure a credential helper to remove this warning. See 11:11:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:13 11:11:13 Login Succeeded 11:11:13 nexus3.edgexfoundry.org:10003 11:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:14 Configure a credential helper to remove this warning. See 11:11:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:14 11:11:14 Login Succeeded 11:11:14 nexus3.edgexfoundry.org:10004 11:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:14 Configure a credential helper to remove this warning. See 11:11:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:14 11:11:14 Login Succeeded 11:11:14 ****.io 11:11:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:14 Configure a credential helper to remove this warning. See 11:11:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:14 11:11:14 Login Succeeded 11:11:14 ---> ****-login.sh ends [Pipeline] } 11:11:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:11:14 + git rev-list -1 --merges 508faf986280dc0da9ba280550182af76d638037~1..508faf986280dc0da9ba280550182af76d638037 [Pipeline] echo 11:11:14 -----------> git rev-list -1 --merges 508faf986280dc0da9ba280550182af76d638037~1..508faf986280dc0da9ba280550182af76d638037 508faf986280dc0da9ba280550182af76d638037 [false] [Pipeline] sh 11:11:15 + git log --format=format:%s -1 508faf986280dc0da9ba280550182af76d638037 [Pipeline] echo 11:11:15 ========================================================= 11:11:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 11:11:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:11:15 + git log --format=format:%s -1 508faf986280dc0da9ba280550182af76d638037 [Pipeline] echo 11:11:15 [semverPrep] GIT_COMMIT: 508faf986280dc0da9ba280550182af76d638037, Commit Message: ci(lts-release): LTS release v4.0.0 @3111427 [Pipeline] echo 11:11:15 [semverPrep] This is not a build commit. [Pipeline] sh 11:11:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:11:15 + grep -v github /etc/ssh/ssh_known_hosts 11:11:15 + [ -e /tmp/ssh_known_hosts ] 11:11:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:11:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:11:15 + sudo tee -a /etc/ssh/ssh_known_hosts 11:11:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:11:16 11:11:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:11:16 0.1.4: Pulling from edgex-devops/py-git-semver 11:11:16 b85a868b505f: Pulling fs layer 11:11:16 e2be974225ed: Pulling fs layer 11:11:16 339a4e72a1f5: Pulling fs layer 11:11:16 988bab9f4d93: Pulling fs layer 11:11:16 1469e6f7b9e6: Pulling fs layer 11:11:16 eaf3925da568: Pulling fs layer 11:11:16 bab4dde63d76: Pulling fs layer 11:11:16 bde34c3a00c8: Pulling fs layer 11:11:16 b352a97aabf1: Pulling fs layer 11:11:16 4872d77fe225: Pulling fs layer 11:11:16 5851b861e8e6: Pulling fs layer 11:11:16 988bab9f4d93: Waiting 11:11:16 1469e6f7b9e6: Waiting 11:11:16 eaf3925da568: Waiting 11:11:16 bab4dde63d76: Waiting 11:11:16 bde34c3a00c8: Waiting 11:11:16 b352a97aabf1: Waiting 11:11:16 4872d77fe225: Waiting 11:11:16 e2be974225ed: Download complete 11:11:16 988bab9f4d93: Download complete 11:11:16 1469e6f7b9e6: Verifying Checksum 11:11:16 1469e6f7b9e6: Download complete 11:11:16 eaf3925da568: Verifying Checksum 11:11:16 eaf3925da568: Download complete 11:11:16 339a4e72a1f5: Download complete 11:11:16 bde34c3a00c8: Verifying Checksum 11:11:16 bde34c3a00c8: Download complete 11:11:16 b352a97aabf1: Verifying Checksum 11:11:16 4872d77fe225: Verifying Checksum 11:11:16 4872d77fe225: Download complete 11:11:16 5851b861e8e6: Verifying Checksum 11:11:16 5851b861e8e6: Download complete 11:11:16 b85a868b505f: Verifying Checksum 11:11:16 b85a868b505f: Download complete 11:11:17 bab4dde63d76: Verifying Checksum 11:11:17 bab4dde63d76: Download complete 11:11:17 b85a868b505f: Pull complete 11:11:17 e2be974225ed: Pull complete 11:11:18 339a4e72a1f5: Pull complete 11:11:18 988bab9f4d93: Pull complete 11:11:18 1469e6f7b9e6: Pull complete 11:11:18 eaf3925da568: Pull complete 11:11:20 bab4dde63d76: Pull complete 11:11:20 bde34c3a00c8: Pull complete 11:11:20 b352a97aabf1: Pull complete 11:11:20 4872d77fe225: Pull complete 11:11:20 5851b861e8e6: Pull complete 11:11:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:11:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:11:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:20 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:11:20 $ 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 11:11:22 $ docker top 1d03792adcf7652ee37b6d26ba090c6c29332053b5de03f8e925ab83d96fedcc -eo pid,comm 11:11:22 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). 11:11:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:11:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:22 [ssh-agent] Looking for ssh-agent implementation... 11:11:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:22 $ docker exec 1d03792adcf7652ee37b6d26ba090c6c29332053b5de03f8e925ab83d96fedcc ssh-agent 11:11:22 SSH_AUTH_SOCK=/tmp/ssh-XGHy9SWbytjU/agent.33 11:11:22 SSH_AGENT_PID=39 11:11:22 Running ssh-add (command line suppressed) 11:11:22 Identity added: /w/workspace/edgexfoundry_device-s7_odessa@tmp/private_key_4104674060073623830.key (/w/workspace/edgexfoundry_device-s7_odessa@tmp/private_key_4104674060073623830.key) 11:11:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:23 + git tag --points-at 508faf986280dc0da9ba280550182af76d638037 [Pipeline] } 11:11:23 $ docker exec --env ******** --env ******** 1d03792adcf7652ee37b6d26ba090c6c29332053b5de03f8e925ab83d96fedcc ssh-agent -k 11:11:23 unset SSH_AUTH_SOCK; 11:11:23 unset SSH_AGENT_PID; 11:11:23 echo Agent pid 39 killed; 11:11:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:11:23 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 11:11:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:11:23 [ssh-agent] Looking for ssh-agent implementation... 11:11:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:11:23 $ docker exec 1d03792adcf7652ee37b6d26ba090c6c29332053b5de03f8e925ab83d96fedcc ssh-agent 11:11:23 SSH_AUTH_SOCK=/tmp/ssh-sknYEfvnoybq/agent.71 11:11:23 SSH_AGENT_PID=77 11:11:23 Running ssh-add (command line suppressed) 11:11:23 Identity added: /w/workspace/edgexfoundry_device-s7_odessa@tmp/private_key_18128980714756757577.key (/w/workspace/edgexfoundry_device-s7_odessa@tmp/private_key_18128980714756757577.key) 11:11:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:11:23 + git semver init 11:11:24 2025-03-12 11:11:24,011 [run_init] DEBUG init version:0.0.0 force:False 11:11:24 2025-03-12 11:11:24,011 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_odessa/.semver 11:11:24 2025-03-12 11:11:24,012 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_odessa/.semver 11:11:24 2025-03-12 11:11:24,012 [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) 11:11:25 2025-03-12 11:11:25,063 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_odessa/.git/info/exclude 11:11:25 2025-03-12 11:11:25,064 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_odessa/.semver/odessa with force:False 11:11:25 2025-03-12 11:11:25,064 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_odessa/.semver/odessa 11:11:25 2025-03-12 11:11:25,064 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_odessa/.semver/odessa 11:11:25 4.0.0 [Pipeline] } 11:11:25 $ docker exec --env ******** --env ******** 1d03792adcf7652ee37b6d26ba090c6c29332053b5de03f8e925ab83d96fedcc ssh-agent -k 11:11:25 unset SSH_AUTH_SOCK; 11:11:25 unset SSH_AGENT_PID; 11:11:25 echo Agent pid 77 killed; 11:11:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:11:25 + git semver [Pipeline] } 11:11:26 $ docker stop --time=1 1d03792adcf7652ee37b6d26ba090c6c29332053b5de03f8e925ab83d96fedcc 11:11:27 $ docker rm -f --volumes 1d03792adcf7652ee37b6d26ba090c6c29332053b5de03f8e925ab83d96fedcc [Pipeline] // withDockerContainer [Pipeline] sh 11:11:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:11:28 Stashed 1 file(s) [Pipeline] echo 11:11:28 [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 11:11:28 + git checkout 508faf986280dc0da9ba280550182af76d638037 11:11:28 HEAD is now at 508faf9 ci(lts-release): LTS release v4.0.0 @3111427 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:11:28 provisioning config files... 11:11:28 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config6113941191032426034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:11:28 ---> ****-login.sh 11:11:28 nexus3.edgexfoundry.org:10001 11:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:28 Configure a credential helper to remove this warning. See 11:11:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:28 11:11:28 Login Succeeded 11:11:28 nexus3.edgexfoundry.org:10002 11:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:28 Configure a credential helper to remove this warning. See 11:11:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:28 11:11:28 Login Succeeded 11:11:28 nexus3.edgexfoundry.org:10003 11:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:29 Configure a credential helper to remove this warning. See 11:11:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:29 11:11:29 Login Succeeded 11:11:29 nexus3.edgexfoundry.org:10004 11:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:29 Configure a credential helper to remove this warning. See 11:11:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:29 11:11:29 Login Succeeded 11:11:29 ****.io 11:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:11:29 Configure a credential helper to remove this warning. See 11:11:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:11:29 11:11:29 Login Succeeded 11:11:29 ---> ****-login.sh ends [Pipeline] } 11:11:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:11:29 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:11:29 + grep ^go [0-9].[0-9]* go.mod 11:11:29 + cut -d -f 2 [Pipeline] echo 11:11:29 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:11:29 ========================================================= 11:11:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 11:11:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:30 + 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 . 11:11:30 Sending build context to Docker daemon 56.33MB 11:11:30 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 11:11:30 Step 2/10 : FROM ${BASE} AS builder 11:11:30 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 11:11:30 0a9a5dfd008f: Pulling fs layer 11:11:30 8833042f23b5: Pulling fs layer 11:11:30 6ca661eb024f: Pulling fs layer 11:11:30 b5acb76e9680: Pulling fs layer 11:11:30 4f4fb700ef54: Pulling fs layer 11:11:30 012bb1f9d321: Pulling fs layer 11:11:30 97255f1bc79d: Pulling fs layer 11:11:30 454448c9edf9: Pulling fs layer 11:11:30 15f87924ceaf: Pulling fs layer 11:11:30 97255f1bc79d: Waiting 11:11:30 454448c9edf9: Waiting 11:11:30 15f87924ceaf: Waiting 11:11:30 012bb1f9d321: Waiting 11:11:30 4f4fb700ef54: Waiting 11:11:30 b5acb76e9680: Waiting 11:11:30 8833042f23b5: Verifying Checksum 11:11:30 8833042f23b5: Download complete 11:11:30 b5acb76e9680: Verifying Checksum 11:11:30 b5acb76e9680: Download complete 11:11:30 4f4fb700ef54: Verifying Checksum 11:11:30 4f4fb700ef54: Download complete 11:11:30 012bb1f9d321: Verifying Checksum 11:11:30 012bb1f9d321: Download complete 11:11:30 0a9a5dfd008f: Verifying Checksum 11:11:30 97255f1bc79d: Verifying Checksum 11:11:30 97255f1bc79d: Download complete 11:11:31 0a9a5dfd008f: Pull complete 11:11:31 8833042f23b5: Pull complete 11:11:31 15f87924ceaf: Verifying Checksum 11:11:31 15f87924ceaf: Download complete 11:11:31 6ca661eb024f: Download complete 11:11:31 454448c9edf9: Verifying Checksum 11:11:31 454448c9edf9: Download complete 11:11:34 6ca661eb024f: Pull complete 11:11:34 b5acb76e9680: Pull complete 11:11:34 4f4fb700ef54: Pull complete 11:11:34 012bb1f9d321: Pull complete 11:11:34 97255f1bc79d: Pull complete 11:11:36 454448c9edf9: Pull complete 11:11:37 15f87924ceaf: Pull complete 11:11:37 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 11:11:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 11:11:37 ---> bc3d7bf65e23 11:11:37 Step 3/10 : ARG MAKE=make build 11:11:39 ---> Running in 86590f0b2e79 11:11:39 Removing intermediate container 86590f0b2e79 11:11:39 ---> 6e593417727b 11:11:39 Step 4/10 : WORKDIR /device-s7 11:11:39 ---> Running in 91c29d866292 11:11:39 Removing intermediate container 91c29d866292 11:11:39 ---> dbf358db5281 11:11:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 11:11:39 ---> Running in 645a4acd47be 11:11:39 Removing intermediate container 645a4acd47be 11:11:39 ---> 25c610ae3aba 11:11:39 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 11:11:39 ---> Running in 2fbcec0eee41 11:11:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:11:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:11:40 OK: 248 MiB in 58 packages 11:11:40 Removing intermediate container 2fbcec0eee41 11:11:40 ---> e818c89f07d3 11:11:40 Step 7/10 : COPY go.mod vendor* ./ 11:11:42 ---> f0161c0dd292 11:11:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:42 ---> Running in 0bbf723a7381 11:11:43 Still waiting to schedule task 11:11:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41157’ is offline 11:12:08 Removing intermediate container 0bbf723a7381 11:12:08 ---> d873b54d6833 11:12:08 Step 9/10 : COPY . . 11:12:08 ---> 76f995c4045f 11:12:08 Step 10/10 : RUN ${MAKE} 11:12:08 ---> Running in c161782ddcf6 11:12:08 noop 11:12:09 Removing intermediate container c161782ddcf6 11:12:09 ---> d994545e571e 11:12:09 Successfully built d994545e571e 11:12:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:09 + docker inspect -f . ci-base-image-x86_64 11:12:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:09 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:12:09 $ 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 11:12:09 $ docker top 7080d6571bfcf3b928687b191243d32bbcbee1cde5866aa98ab48e85693e9f03 -eo pid,comm [Pipeline] { [Pipeline] sh 11:12:10 + go version 11:12:10 go version go1.23.7 linux/amd64 [Pipeline] } 11:12:10 $ docker stop --time=1 7080d6571bfcf3b928687b191243d32bbcbee1cde5866aa98ab48e85693e9f03 11:12:11 $ docker rm -f --volumes 7080d6571bfcf3b928687b191243d32bbcbee1cde5866aa98ab48e85693e9f03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:11 + docker inspect -f . ci-base-image-x86_64 11:12:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:12 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:12:12 $ 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 11:12:12 $ docker top c429a0b4a009e2dde01c1a4eb9cc9004a90391b9f255bca3e8684a44ae63222a -eo pid,comm [Pipeline] { [Pipeline] sh 11:12:12 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_odessa [Pipeline] fileExists [Pipeline] sh 11:12:13 + make test 11:12:13 go test -race -coverprofile=coverage.out ./... 11:12:21 ? github.com/edgexfoundry/device-s7 [no test files] 11:12:43 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 11:12:43 ok github.com/edgexfoundry/device-s7/internal/driver 1.023s coverage: 6.8% of statements 11:13:09 go vet ./... 11:13:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:13:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:13:12 ./bin/test-attribution-txt.sh [Pipeline] echo 11:13:13 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:13:13 + go mod tidy [Pipeline] } 11:13:14 $ docker stop --time=1 c429a0b4a009e2dde01c1a4eb9cc9004a90391b9f255bca3e8684a44ae63222a 11:13:16 $ docker rm -f --volumes c429a0b4a009e2dde01c1a4eb9cc9004a90391b9f255bca3e8684a44ae63222a [Pipeline] // withDockerContainer [Pipeline] sh 11:13:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:13:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:13:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:13:17 + ls -al . 11:13:17 total 224 11:13:17 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 11:12 . 11:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:11 .. 11:13:17 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:12 .git 11:13:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:11 .github 11:13:17 -rw-rw-r-- 1 jenkins jenkins 229 Mar 12 11:11 .gitignore 11:13:17 -rw-rw-r-- 1 jenkins jenkins 42 Mar 12 11:11 .golangci.yml 11:13:17 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:11 .semver 11:13:17 -rw-rw-r-- 1 jenkins jenkins 19679 Mar 12 11:11 Attribution.txt 11:13:17 -rw-rw-r-- 1 jenkins jenkins 1668 Mar 12 11:11 CHANGLOG.md 11:13:17 -rw-rw-r-- 1 jenkins jenkins 1579 Mar 12 11:11 Dockerfile 11:13:17 -rw-rw-r-- 1 jenkins jenkins 643 Mar 12 11:11 Jenkinsfile 11:13:17 -rw-rw-r-- 1 jenkins jenkins 10947 Mar 12 11:11 LICENSE 11:13:17 -rw-rw-r-- 1 jenkins jenkins 1903 Mar 12 11:11 Makefile 11:13:17 -rw-rw-r-- 1 jenkins jenkins 614 Mar 12 11:11 OWNERS.md 11:13:17 -rw-rw-r-- 1 jenkins jenkins 2393 Mar 12 11:11 README.md 11:13:17 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:11 VERSION 11:13:17 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:11 bin 11:13:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:11 cmd 11:13:17 -rw-r--r-- 1 jenkins jenkins 19094 Mar 12 11:12 coverage.out 11:13:17 -rw-rw-r-- 1 jenkins jenkins 6073 Mar 12 11:11 go.mod 11:13:17 -rw-rw-r-- 1 jenkins jenkins 86755 Mar 12 11:11 go.sum 11:13:17 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:11 internal 11:13:17 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:11 vendor 11:13:17 -rw-rw-r-- 1 jenkins jenkins 223 Mar 12 11:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:18 + 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=508faf986280dc0da9ba280550182af76d638037 --label arch=amd64 --label version=4.0.0 . 11:13:18 Sending build context to Docker daemon 56.35MB 11:13:18 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 11:13:18 Step 2/24 : FROM ${BASE} AS builder 11:13:18 ---> d994545e571e 11:13:18 Step 3/24 : ARG MAKE=make build 11:13:18 ---> Running in c8e386a51526 11:13:19 Removing intermediate container c8e386a51526 11:13:19 ---> 90a002e2d4bf 11:13:19 Step 4/24 : WORKDIR /device-s7 11:13:19 ---> Running in 32c643821a2e 11:13:19 Removing intermediate container 32c643821a2e 11:13:19 ---> 53c34da04aff 11:13:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 11:13:19 ---> Running in 1feba1be1673 11:13:19 Removing intermediate container 1feba1be1673 11:13:19 ---> 5a59b18f6a27 11:13:19 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 11:13:19 ---> Running in 9124aedfa3de 11:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:13:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:13:19 OK: 248 MiB in 58 packages 11:13:20 Removing intermediate container 9124aedfa3de 11:13:20 ---> 4c10ad4c2984 11:13:20 Step 7/24 : COPY go.mod vendor* ./ 11:13:22 ---> 6d14021ac321 11:13:22 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:13:22 ---> Running in 4230dba10c45 11:13:22 skipping... 11:13:22 Removing intermediate container 4230dba10c45 11:13:22 ---> feed4b7396f1 11:13:22 Step 9/24 : COPY . . 11:13:24 ---> d70dbd40f537 11:13:24 Step 10/24 : RUN ${MAKE} 11:13:24 ---> Running in fcec0fc8b81b 11:13:25 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 11:13:51 Removing intermediate container fcec0fc8b81b 11:13:51 ---> 3c73eab22c26 11:13:51 Step 11/24 : FROM alpine:3.20 11:13:51 3.20: Pulling from library/alpine 11:13:51 0a9a5dfd008f: Already exists 11:13:51 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:13:51 Status: Downloaded newer image for alpine:3.20 11:13:51 ---> ff221270b9fb 11:13:51 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 11:13:51 ---> Running in 5ae726dd26d9 11:13:51 Removing intermediate container 5ae726dd26d9 11:13:51 ---> ced7cdc894cb 11:13:51 Step 13/24 : RUN apk add --update --no-cache dumb-init 11:13:51 ---> Running in 7be8f5e27c81 11:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:13:52 (1/1) Installing dumb-init (1.2.5-r3) 11:13:52 Executing busybox-1.36.1-r29.trigger 11:13:52 OK: 8 MiB in 15 packages 11:13:52 Removing intermediate container 7be8f5e27c81 11:13:52 ---> 51705bcf850b 11:13:52 Step 14/24 : RUN apk --no-cache upgrade 11:13:52 ---> Running in 1eedf2bf6cae 11:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:13:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:13:52 OK: 8 MiB in 15 packages 11:13:53 Removing intermediate container 1eedf2bf6cae 11:13:53 ---> 5e40e19f9408 11:13:53 Step 15/24 : WORKDIR / 11:13:53 ---> Running in bfe1a20e7570 11:13:53 Removing intermediate container bfe1a20e7570 11:13:53 ---> 255c080567a9 11:13:53 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 11:13:53 ---> dbc2a87b26ed 11:13:53 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 11:13:54 ---> 89a7c3c975aa 11:13:54 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 11:13:54 ---> 01b7753ddbee 11:13:54 Step 19/24 : EXPOSE 59994 11:13:54 ---> Running in 5ccdc806e7b9 11:13:54 Removing intermediate container 5ccdc806e7b9 11:13:54 ---> 78df710fc6e7 11:13:54 Step 20/24 : ENTRYPOINT ["/device-s7"] 11:13:54 ---> Running in 1a19dace4290 11:13:54 Removing intermediate container 1a19dace4290 11:13:54 ---> df8fa9e3dc98 11:13:54 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:13:54 ---> Running in 3d12a984da22 11:13:54 Removing intermediate container 3d12a984da22 11:13:54 ---> 1657ad9e46dd 11:13:54 Step 22/24 : LABEL arch=amd64 11:13:54 ---> Running in 500c689ba643 11:13:54 Removing intermediate container 500c689ba643 11:13:54 ---> 5c2ef43a86fa 11:13:54 Step 23/24 : LABEL git_sha=508faf986280dc0da9ba280550182af76d638037 11:13:54 ---> Running in e68ca4f95230 11:13:54 Removing intermediate container e68ca4f95230 11:13:54 ---> fbb348c628d7 11:13:54 Step 24/24 : LABEL version=4.0.0 11:13:54 ---> Running in d21d7e2de164 11:13:54 Removing intermediate container d21d7e2de164 11:13:54 ---> f2e74bec6fae 11:13:54 [Warning] One or more build-args [ARCH] were not consumed 11:13:54 Successfully built f2e74bec6fae 11:13:54 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:54 provisioning config files... 11:13:54 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config16720101436177280778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:55 ---> ****-login.sh 11:13:55 nexus3.edgexfoundry.org:10001 11:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:55 Configure a credential helper to remove this warning. See 11:13:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:55 11:13:55 Login Succeeded 11:13:55 nexus3.edgexfoundry.org:10002 11:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:55 Configure a credential helper to remove this warning. See 11:13:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:55 11:13:55 Login Succeeded 11:13:55 nexus3.edgexfoundry.org:10003 11:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:55 Configure a credential helper to remove this warning. See 11:13:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:55 11:13:55 Login Succeeded 11:13:55 nexus3.edgexfoundry.org:10004 11:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:55 Configure a credential helper to remove this warning. See 11:13:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:55 11:13:55 Login Succeeded 11:13:55 ****.io 11:13:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:55 Configure a credential helper to remove this warning. See 11:13:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:55 11:13:55 Login Succeeded 11:13:55 ---> ****-login.sh ends [Pipeline] } 11:13:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:13:55 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:13:55 [edgeXDocker.push] Tagging docker image device-s7 with the following tags: 11:13:55 508faf986280dc0da9ba280550182af76d638037 11:13:55 4.0.0 11:13:55 508faf986280dc0da9ba280550182af76d638037-4.0.0 11:13:55 odessa 11:13:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:56 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:508faf986280dc0da9ba280550182af76d638037 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:56 + docker push nexus3.edgexfoundry.org:10004/device-s7:508faf986280dc0da9ba280550182af76d638037 11:13:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 11:13:56 8b96dc8857a2: Preparing 11:13:56 07e803b5b4ee: Preparing 11:13:56 01b974fe9c6e: Preparing 11:13:56 f924220b1211: Preparing 11:13:56 bb8f6205b437: Preparing 11:13:56 994456c4fd7b: Preparing 11:13:56 994456c4fd7b: Waiting 11:13:56 bb8f6205b437: Pushed 11:13:56 f924220b1211: Pushed 11:13:56 8b96dc8857a2: Pushed 11:13:56 01b974fe9c6e: Pushed 11:13:56 994456c4fd7b: Layer already exists 11:14:00 07e803b5b4ee: Pushed 11:14:00 508faf986280dc0da9ba280550182af76d638037: digest: sha256:8abb06937d76081f3a7f570970e952d76ebdbace46023e5867927254f0ef3702 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:01 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:01 + docker push nexus3.edgexfoundry.org:10004/device-s7:4.0.0 11:14:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 11:14:01 8b96dc8857a2: Preparing 11:14:01 07e803b5b4ee: Preparing 11:14:01 01b974fe9c6e: Preparing 11:14:01 f924220b1211: Preparing 11:14:01 bb8f6205b437: Preparing 11:14:01 994456c4fd7b: Preparing 11:14:01 994456c4fd7b: Waiting 11:14:01 01b974fe9c6e: Layer already exists 11:14:01 bb8f6205b437: Layer already exists 11:14:01 f924220b1211: Layer already exists 11:14:01 07e803b5b4ee: Layer already exists 11:14:01 8b96dc8857a2: Layer already exists 11:14:01 994456c4fd7b: Layer already exists 11:14:01 4.0.0: digest: sha256:8abb06937d76081f3a7f570970e952d76ebdbace46023e5867927254f0ef3702 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:01 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:508faf986280dc0da9ba280550182af76d638037-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:02 + docker push nexus3.edgexfoundry.org:10004/device-s7:508faf986280dc0da9ba280550182af76d638037-4.0.0 11:14:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 11:14:02 8b96dc8857a2: Preparing 11:14:02 07e803b5b4ee: Preparing 11:14:02 01b974fe9c6e: Preparing 11:14:02 f924220b1211: Preparing 11:14:02 bb8f6205b437: Preparing 11:14:02 994456c4fd7b: Preparing 11:14:02 994456c4fd7b: Waiting 11:14:02 bb8f6205b437: Layer already exists 11:14:02 f924220b1211: Layer already exists 11:14:02 8b96dc8857a2: Layer already exists 11:14:02 07e803b5b4ee: Layer already exists 11:14:02 01b974fe9c6e: Layer already exists 11:14:02 994456c4fd7b: Layer already exists 11:14:02 508faf986280dc0da9ba280550182af76d638037-4.0.0: digest: sha256:8abb06937d76081f3a7f570970e952d76ebdbace46023e5867927254f0ef3702 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:02 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:02 + docker push nexus3.edgexfoundry.org:10004/device-s7:odessa 11:14:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 11:14:02 8b96dc8857a2: Preparing 11:14:02 07e803b5b4ee: Preparing 11:14:02 01b974fe9c6e: Preparing 11:14:02 f924220b1211: Preparing 11:14:02 bb8f6205b437: Preparing 11:14:02 994456c4fd7b: Preparing 11:14:02 01b974fe9c6e: Layer already exists 11:14:02 07e803b5b4ee: Layer already exists 11:14:02 8b96dc8857a2: Layer already exists 11:14:02 bb8f6205b437: Layer already exists 11:14:02 f924220b1211: Layer already exists 11:14:02 994456c4fd7b: Layer already exists 11:14:02 odessa: digest: sha256:8abb06937d76081f3a7f570970e952d76ebdbace46023e5867927254f0ef3702 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:14:02 ===================================================== [Pipeline] echo 11:14:02 taggedImages: 11:14:02 - nexus3.edgexfoundry.org:10004/device-s7:508faf986280dc0da9ba280550182af76d638037 11:14:02 - nexus3.edgexfoundry.org:10004/device-s7:4.0.0 11:14:02 - nexus3.edgexfoundry.org:10004/device-s7:508faf986280dc0da9ba280550182af76d638037-4.0.0 11:14:02 - 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 11:14:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:14:03 11:14:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:14:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:14:03 latest: Pulling from edgex-lftools-log-publisher 11:14:03 5eb5b503b376: Pulling fs layer 11:14:03 5c69ac0246d0: Pulling fs layer 11:14:03 ec43610c2a17: Pulling fs layer 11:14:03 3a2ae6a8a46f: Pulling fs layer 11:14:03 33b1e0a273af: Pulling fs layer 11:14:03 5d3b04190fa2: Pulling fs layer 11:14:03 2f39f015ded8: Pulling fs layer 11:14:03 3a2ae6a8a46f: Waiting 11:14:03 33b1e0a273af: Waiting 11:14:03 5c69ac0246d0: Verifying Checksum 11:14:03 5c69ac0246d0: Download complete 11:14:03 3a2ae6a8a46f: Download complete 11:14:03 ec43610c2a17: Verifying Checksum 11:14:03 33b1e0a273af: Verifying Checksum 11:14:03 33b1e0a273af: Download complete 11:14:03 ec43610c2a17: Download complete 11:14:03 5d3b04190fa2: Verifying Checksum 11:14:03 5d3b04190fa2: Download complete 11:14:03 5eb5b503b376: Verifying Checksum 11:14:03 5eb5b503b376: Download complete 11:14:04 2f39f015ded8: Download complete 11:14:04 5eb5b503b376: Pull complete 11:14:04 5c69ac0246d0: Pull complete 11:14:05 ec43610c2a17: Pull complete 11:14:05 3a2ae6a8a46f: Pull complete 11:14:05 33b1e0a273af: Pull complete 11:14:05 5d3b04190fa2: Pull complete 11:14:09 2f39f015ded8: Pull complete 11:14:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:14:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:14:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:14:10 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:14:10 $ 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 11:14:11 $ docker top f9af45c54aeab40c938047b869ae572b78040c0f825df8627d78b8b445702cbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:14:11 ---> job-cost.sh 11:14:11 lf-activate-venv: SKIPPING 11:14:11 INFO: No Stack... 11:14:12 INFO: Retrieving Pricing Info for: v3-standard-8 11:14:12 INFO: Archiving Costs [Pipeline] sh 11:14:13 + cat /w/workspace/edgexfoundry_device-s7_odessa/archives/cost.csv 11:14:13 + cut -d, -f6 [Pipeline] lock 11:14:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-odessa-4-stack-cost] 11:14:13 Resource [jenkins-edgexfoundry-device-s7-odessa-4-stack-cost] did not exist. Created. 11:14:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:14:13 + echo total: 0.2199999988079071 [Pipeline] stash 11:14:13 Stashed 1 file(s) [Pipeline] } 11:14:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:14:13 $ docker stop --time=1 f9af45c54aeab40c938047b869ae572b78040c0f825df8627d78b8b445702cbc 11:14:14 $ docker rm -f --volumes f9af45c54aeab40c938047b869ae572b78040c0f825df8627d78b8b445702cbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:14:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41164 in /w/workspace/edgexfoundry_device-s7_odessa [Pipeline] { [Pipeline] ws 11:14:52 Running in /w/workspace/device-s7/4 [Pipeline] { [Pipeline] checkout 11:14:55 Selected Git installation does not exist. Using Default 11:14:55 The recommended git tool is: NONE 11:15:03 using credential edgex-jenkins-ssh 11:15:03 Cloning the remote Git repository 11:15:03 Cloning repository git@github.com:edgexfoundry/device-s7.git 11:15:03 > git init /w/workspace/device-s7/4 # timeout=10 11:15:03 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 11:15:03 > git --version # timeout=10 11:15:03 > git --version # 'git version 2.25.1' 11:15:03 using GIT_SSH to set credentials SSH Credentials for GitHub 11:15:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:15:06 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 11:15:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:15:08 Avoid second fetch 11:15:08 Checking out Revision 508faf986280dc0da9ba280550182af76d638037 (odessa) 11:15:08 > git config core.sparsecheckout # timeout=10 11:15:08 > git checkout -f 508faf986280dc0da9ba280550182af76d638037 # timeout=10 11:15:10 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 11:15:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:15:16 % Total % Received % Xferd Average Speed Time Time Time Current 11:15:16 Dload Upload Total Spent Left Speed 11:15:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 164k 0 --:--:-- --:--:-- --:--:-- 167k [Pipeline] sh 11:15:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:15:16 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 11:15:16 tee /etc/docker/daemon.new 11:15:16 { 11:15:16 "registry-mirrors": [ 11:15:16 "https://nexus3.edgexfoundry.org:10001" 11:15:16 ], 11:15:16 "bip": "10.250.0.254/24", 11:15:16 "hosts": [ 11:15:16 "tcp://0.0.0.0:5555", 11:15:16 "unix:///var/run/docker.sock" 11:15:16 ], 11:15:16 "mtu": 1458, 11:15:16 "selinux-enabled": true, 11:15:16 "seccomp-profile": "/etc/docker/seccomp.json" 11:15:16 } [Pipeline] sh 11:15:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:15:17 + sudo service docker restart [Pipeline] sh 11:15:36 + git checkout 508faf986280dc0da9ba280550182af76d638037 11:15:36 HEAD is now at 508faf9 ci(lts-release): LTS release v4.0.0 @3111427 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:15:36 provisioning config files... 11:15:36 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/4@tmp/config16070201516002860025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:37 ---> ****-login.sh 11:15:37 nexus3.edgexfoundry.org:10001 11:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:38 Configure a credential helper to remove this warning. See 11:15:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:38 11:15:38 Login Succeeded 11:15:38 nexus3.edgexfoundry.org:10002 11:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:38 Configure a credential helper to remove this warning. See 11:15:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:38 11:15:38 Login Succeeded 11:15:38 nexus3.edgexfoundry.org:10003 11:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:39 Configure a credential helper to remove this warning. See 11:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:39 11:15:39 Login Succeeded 11:15:39 nexus3.edgexfoundry.org:10004 11:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:39 Configure a credential helper to remove this warning. See 11:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:39 11:15:39 Login Succeeded 11:15:39 ****.io 11:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:15:39 Configure a credential helper to remove this warning. See 11:15:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:15:39 11:15:39 Login Succeeded 11:15:39 ---> ****-login.sh ends [Pipeline] } 11:15:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:15:40 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:15:40 + grep ^go [0-9].[0-9]* go.mod 11:15:40 + cut -d -f 2 [Pipeline] echo 11:15:40 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:15:40 ========================================================= 11:15:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 11:15:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:41 + 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 . 11:15:45 Sending build context to Docker daemon 48.48MB 11:15:45 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 11:15:45 Step 2/10 : FROM ${BASE} AS builder 11:15:45 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 11:15:45 94e9d8af2201: Pulling fs layer 11:15:45 345fe9f21930: Pulling fs layer 11:15:45 b40fc9e46828: Pulling fs layer 11:15:45 c9804373a1e5: Pulling fs layer 11:15:45 4f4fb700ef54: Pulling fs layer 11:15:45 f5a772c54f75: Pulling fs layer 11:15:45 e2dd1b2a9dca: Pulling fs layer 11:15:45 0a0502178392: Pulling fs layer 11:15:45 4f4fb700ef54: Waiting 11:15:45 f5a772c54f75: Waiting 11:15:45 e2dd1b2a9dca: Waiting 11:15:45 0a0502178392: Waiting 11:15:45 c9804373a1e5: Waiting 11:15:45 345fe9f21930: Verifying Checksum 11:15:45 345fe9f21930: Download complete 11:15:45 c9804373a1e5: Verifying Checksum 11:15:45 c9804373a1e5: Download complete 11:15:45 4f4fb700ef54: Verifying Checksum 11:15:45 4f4fb700ef54: Download complete 11:15:45 f5a772c54f75: Download complete 11:15:45 94e9d8af2201: Verifying Checksum 11:15:45 94e9d8af2201: Download complete 11:15:46 0a0502178392: Verifying Checksum 11:15:46 0a0502178392: Download complete 11:15:46 94e9d8af2201: Pull complete 11:15:47 345fe9f21930: Pull complete 11:15:47 b40fc9e46828: Verifying Checksum 11:15:47 b40fc9e46828: Download complete 11:15:48 e2dd1b2a9dca: Verifying Checksum 11:15:48 e2dd1b2a9dca: Download complete 11:16:03 b40fc9e46828: Pull complete 11:16:03 c9804373a1e5: Pull complete 11:16:03 4f4fb700ef54: Pull complete 11:16:03 f5a772c54f75: Pull complete 11:16:12 e2dd1b2a9dca: Pull complete 11:16:13 0a0502178392: Pull complete 11:16:13 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 11:16:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 11:16:13 ---> 72db82c1953f 11:16:13 Step 3/10 : ARG MAKE=make build 11:16:15 ---> Running in 02975606367c 11:16:16 Removing intermediate container 02975606367c 11:16:16 ---> 3f7ff2bd3f12 11:16:16 Step 4/10 : WORKDIR /device-s7 11:16:16 ---> Running in 66c22c1bae52 11:16:16 Removing intermediate container 66c22c1bae52 11:16:16 ---> 61359bb8a2e3 11:16:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 11:16:16 ---> Running in 8d763d671588 11:16:17 Removing intermediate container 8d763d671588 11:16:17 ---> 4714f00cd395 11:16:17 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 11:16:17 ---> Running in 6c2b7d7d155d 11:16:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:16:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:16:20 OK: 239 MiB in 58 packages 11:16:21 Removing intermediate container 6c2b7d7d155d 11:16:21 ---> a4cf182e6782 11:16:21 Step 7/10 : COPY go.mod vendor* ./ 11:16:36 ---> 26db7b9f7642 11:16:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:16:36 ---> Running in 40cdaf299b4b 11:18:43 Removing intermediate container 40cdaf299b4b 11:18:43 ---> 408609666965 11:18:43 Step 9/10 : COPY . . 11:18:44 ---> bb41115eff1e 11:18:44 Step 10/10 : RUN ${MAKE} 11:18:44 ---> Running in 27b7d5b2e345 11:18:46 noop 11:18:46 Removing intermediate container 27b7d5b2e345 11:18:46 ---> dda5e4dad6b9 11:18:47 Successfully built dda5e4dad6b9 11:18:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:48 + docker inspect -f . ci-base-image-arm64 11:18:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:48 prd-ubuntu20.04-docker-arm64-4c-16g-41164 does not seem to be running inside a container 11:18:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/4 -v /w/workspace/device-s7/4:/w/workspace/device-s7/4:rw,z -v /w/workspace/device-s7/4@tmp:/w/workspace/device-s7/4@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 11:18:50 $ docker top 98f01241d770a419a1bdd0cc90010e58e7de35c081780615a30f137b47b03445 -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:51 + go version 11:18:51 go version go1.23.7 linux/arm64 [Pipeline] } 11:18:51 $ docker stop --time=1 98f01241d770a419a1bdd0cc90010e58e7de35c081780615a30f137b47b03445 11:18:53 $ docker rm -f --volumes 98f01241d770a419a1bdd0cc90010e58e7de35c081780615a30f137b47b03445 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:53 + docker inspect -f . ci-base-image-arm64 11:18:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:54 prd-ubuntu20.04-docker-arm64-4c-16g-41164 does not seem to be running inside a container 11:18:54 $ 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/4 -v /w/workspace/device-s7/4:/w/workspace/device-s7/4:rw,z -v /w/workspace/device-s7/4@tmp:/w/workspace/device-s7/4@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 11:18:55 $ docker top e8a7bf7188b14992e7e8c2741e56f1911c99f58859546fa7d136777b11d0e816 -eo pid,comm [Pipeline] { [Pipeline] sh 11:18:56 + git config --global --add safe.directory /w/workspace/device-s7/4 [Pipeline] fileExists [Pipeline] sh 11:18:57 + make test 11:18:57 go test -race -coverprofile=coverage.out ./... 11:20:05 ? github.com/edgexfoundry/device-s7 [no test files] 11:24:42 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 11:24:43 ok github.com/edgexfoundry/device-s7/internal/driver 1.150s coverage: 6.8% of statements 11:24:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:24:44 go vet ./... 11:29:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:29:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:29:53 ./bin/test-attribution-txt.sh [Pipeline] echo 11:29:53 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:29:54 + go mod tidy [Pipeline] } 11:29:59 $ docker stop --time=1 e8a7bf7188b14992e7e8c2741e56f1911c99f58859546fa7d136777b11d0e816 11:30:02 $ docker rm -f --volumes e8a7bf7188b14992e7e8c2741e56f1911c99f58859546fa7d136777b11d0e816 [Pipeline] // withDockerContainer [Pipeline] sh 11:30:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:30:05 Warning: overwriting stash ‘coverage-report’ 11:30:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:30:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:30:07 + ls -al . 11:30:07 total 220 11:30:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:19 . 11:30:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:15 .. 11:30:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:15 .git 11:30:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:15 .github 11:30:07 -rw-rw-r-- 1 jenkins jenkins 229 Mar 12 11:15 .gitignore 11:30:07 -rw-rw-r-- 1 jenkins jenkins 42 Mar 12 11:15 .golangci.yml 11:30:07 -rw-rw-r-- 1 jenkins jenkins 19679 Mar 12 11:15 Attribution.txt 11:30:07 -rw-rw-r-- 1 jenkins jenkins 1668 Mar 12 11:15 CHANGLOG.md 11:30:07 -rw-rw-r-- 1 jenkins jenkins 1579 Mar 12 11:15 Dockerfile 11:30:07 -rw-rw-r-- 1 jenkins jenkins 643 Mar 12 11:15 Jenkinsfile 11:30:07 -rw-rw-r-- 1 jenkins jenkins 10947 Mar 12 11:15 LICENSE 11:30:07 -rw-rw-r-- 1 jenkins jenkins 1903 Mar 12 11:15 Makefile 11:30:07 -rw-rw-r-- 1 jenkins jenkins 614 Mar 12 11:15 OWNERS.md 11:30:07 -rw-rw-r-- 1 jenkins jenkins 2393 Mar 12 11:15 README.md 11:30:07 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:11 VERSION 11:30:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:15 bin 11:30:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:15 cmd 11:30:07 -rw-r--r-- 1 jenkins jenkins 19094 Mar 12 11:24 coverage.out 11:30:07 -rw-rw-r-- 1 jenkins jenkins 6073 Mar 12 11:15 go.mod 11:30:07 -rw-rw-r-- 1 jenkins jenkins 86755 Mar 12 11:15 go.sum 11:30:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:15 internal 11:30:07 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:15 vendor 11:30:07 -rw-rw-r-- 1 jenkins jenkins 223 Mar 12 11:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:07 + 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=508faf986280dc0da9ba280550182af76d638037 --label arch=arm64 --label version=4.0.0 . 11:30:12 Sending build context to Docker daemon 48.5MB 11:30:12 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 11:30:12 Step 2/24 : FROM ${BASE} AS builder 11:30:12 ---> dda5e4dad6b9 11:30:12 Step 3/24 : ARG MAKE=make build 11:30:12 ---> Running in 0a9c23da07ef 11:30:13 Removing intermediate container 0a9c23da07ef 11:30:13 ---> abd347946756 11:30:13 Step 4/24 : WORKDIR /device-s7 11:30:13 ---> Running in 05b8d8776916 11:30:13 Removing intermediate container 05b8d8776916 11:30:13 ---> f6a1d8afe6b9 11:30:13 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 11:30:13 ---> Running in 95f2effaee3a 11:30:13 Removing intermediate container 95f2effaee3a 11:30:13 ---> 1fef1af96973 11:30:13 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 11:30:14 ---> Running in f27bca899bbf 11:30:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:30:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:30:17 OK: 239 MiB in 58 packages 11:30:18 Removing intermediate container f27bca899bbf 11:30:18 ---> 0e09f1c4bac7 11:30:18 Step 7/24 : COPY go.mod vendor* ./ 11:30:33 ---> c928ab1d5c12 11:30:33 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:30:33 ---> Running in c740f3421ae9 11:30:34 skipping... 11:30:35 Removing intermediate container c740f3421ae9 11:30:35 ---> 8ba6e9e52e49 11:30:35 Step 9/24 : COPY . . 11:30:50 ---> f60186d4d3af 11:30:50 Step 10/24 : RUN ${MAKE} 11:30:50 ---> Running in 2b39a7bf315e 11:30:50 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 11:34:57 Removing intermediate container 2b39a7bf315e 11:34:57 ---> 5d346bd459d9 11:34:57 Step 11/24 : FROM alpine:3.20 11:34:57 3.20: Pulling from library/alpine 11:34:57 94e9d8af2201: Already exists 11:34:57 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:34:57 Status: Downloaded newer image for alpine:3.20 11:34:57 ---> 7aab056cecc6 11:34:57 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 11:34:57 ---> Running in 77ae3968fb57 11:34:57 Removing intermediate container 77ae3968fb57 11:34:57 ---> 885fcb02aa1e 11:34:57 Step 13/24 : RUN apk add --update --no-cache dumb-init 11:34:57 ---> Running in b03b4ca7e19b 11:34:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:34:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:35:00 (1/1) Installing dumb-init (1.2.5-r3) 11:35:00 Executing busybox-1.36.1-r29.trigger 11:35:00 OK: 9 MiB in 15 packages 11:35:01 Removing intermediate container b03b4ca7e19b 11:35:01 ---> 6f9f0da5c70e 11:35:01 Step 14/24 : RUN apk --no-cache upgrade 11:35:01 ---> Running in c2bc6dffa338 11:35:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:35:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:35:04 OK: 9 MiB in 15 packages 11:35:04 Removing intermediate container c2bc6dffa338 11:35:04 ---> 47b98e256328 11:35:04 Step 15/24 : WORKDIR / 11:35:05 ---> Running in bef4f825b693 11:35:05 Removing intermediate container bef4f825b693 11:35:05 ---> 3ba1beba2603 11:35:05 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 11:35:06 ---> 23e07b1dcbb0 11:35:06 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 11:35:08 ---> d88379aed39d 11:35:08 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 11:35:08 ---> f478857e3e0d 11:35:08 Step 19/24 : EXPOSE 59994 11:35:08 ---> Running in 94bd1a197daa 11:35:09 Removing intermediate container 94bd1a197daa 11:35:09 ---> bdc334dc3af3 11:35:09 Step 20/24 : ENTRYPOINT ["/device-s7"] 11:35:09 ---> Running in a05bfa9d7b08 11:35:09 Removing intermediate container a05bfa9d7b08 11:35:09 ---> a7f7374fd0ae 11:35:09 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:35:09 ---> Running in 29e4baef7359 11:35:09 Removing intermediate container 29e4baef7359 11:35:09 ---> 239f4058bb86 11:35:09 Step 22/24 : LABEL arch=arm64 11:35:09 ---> Running in 29dfe413fd88 11:35:10 Removing intermediate container 29dfe413fd88 11:35:10 ---> 17eb125c63f9 11:35:10 Step 23/24 : LABEL git_sha=508faf986280dc0da9ba280550182af76d638037 11:35:10 ---> Running in 39b457572056 11:35:10 Removing intermediate container 39b457572056 11:35:10 ---> 8c2940f818c6 11:35:10 Step 24/24 : LABEL version=4.0.0 11:35:10 ---> Running in 09af066ec4f7 11:35:11 Removing intermediate container 09af066ec4f7 11:35:11 ---> b91273c97fb2 11:35:11 [Warning] One or more build-args [ARCH] were not consumed 11:35:12 Successfully built b91273c97fb2 11:35:12 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 11:35:12 provisioning config files... 11:35:12 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/4@tmp/config16837649660531261625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:35:12 ---> ****-login.sh 11:35:12 nexus3.edgexfoundry.org:10001 11:35:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:35:12 Configure a credential helper to remove this warning. See 11:35:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:35:12 11:35:12 Login Succeeded 11:35:12 nexus3.edgexfoundry.org:10002 11:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:35:13 Configure a credential helper to remove this warning. See 11:35:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:35:13 11:35:13 Login Succeeded 11:35:13 nexus3.edgexfoundry.org:10003 11:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:35:13 Configure a credential helper to remove this warning. See 11:35:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:35:13 11:35:13 Login Succeeded 11:35:13 nexus3.edgexfoundry.org:10004 11:35:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:35:13 Configure a credential helper to remove this warning. See 11:35:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:35:13 11:35:13 Login Succeeded 11:35:13 ****.io 11:35:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:35:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:35:14 Configure a credential helper to remove this warning. See 11:35:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:35:14 11:35:14 Login Succeeded 11:35:14 ---> ****-login.sh ends [Pipeline] } 11:35:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:35:14 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:35:14 [edgeXDocker.push] Tagging docker image device-s7-arm64 with the following tags: 11:35:14 508faf986280dc0da9ba280550182af76d638037 11:35:14 4.0.0 11:35:14 508faf986280dc0da9ba280550182af76d638037-4.0.0 11:35:14 odessa 11:35:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:14 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:508faf986280dc0da9ba280550182af76d638037 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:15 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:508faf986280dc0da9ba280550182af76d638037 11:35:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 11:35:15 71babcd361d5: Preparing 11:35:15 ff80ccf3f11a: Preparing 11:35:15 8bfaef6f6790: Preparing 11:35:15 b7d3610ed0af: Preparing 11:35:15 e9e0fd864782: Preparing 11:35:15 dd9c8f8612c8: Preparing 11:35:15 dd9c8f8612c8: Waiting 11:35:15 71babcd361d5: Pushed 11:35:15 b7d3610ed0af: Pushed 11:35:15 8bfaef6f6790: Pushed 11:35:15 e9e0fd864782: Pushed 11:35:15 dd9c8f8612c8: Layer already exists 11:35:25 ff80ccf3f11a: Pushed 11:35:25 508faf986280dc0da9ba280550182af76d638037: digest: sha256:fb81c5bd7fdd94ea9bbbc1189e642de55c57864b4122290554ee142ee79c3e23 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:26 + 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 11:35:26 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:4.0.0 11:35:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 11:35:26 71babcd361d5: Preparing 11:35:26 ff80ccf3f11a: Preparing 11:35:26 8bfaef6f6790: Preparing 11:35:26 b7d3610ed0af: Preparing 11:35:26 e9e0fd864782: Preparing 11:35:26 dd9c8f8612c8: Preparing 11:35:26 dd9c8f8612c8: Waiting 11:35:26 e9e0fd864782: Layer already exists 11:35:26 ff80ccf3f11a: Layer already exists 11:35:26 b7d3610ed0af: Layer already exists 11:35:26 8bfaef6f6790: Layer already exists 11:35:26 71babcd361d5: Layer already exists 11:35:26 dd9c8f8612c8: Layer already exists 11:35:26 4.0.0: digest: sha256:fb81c5bd7fdd94ea9bbbc1189e642de55c57864b4122290554ee142ee79c3e23 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:27 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:508faf986280dc0da9ba280550182af76d638037-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:27 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:508faf986280dc0da9ba280550182af76d638037-4.0.0 11:35:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 11:35:27 71babcd361d5: Preparing 11:35:27 ff80ccf3f11a: Preparing 11:35:27 8bfaef6f6790: Preparing 11:35:27 b7d3610ed0af: Preparing 11:35:27 e9e0fd864782: Preparing 11:35:27 dd9c8f8612c8: Preparing 11:35:27 dd9c8f8612c8: Waiting 11:35:27 71babcd361d5: Layer already exists 11:35:27 e9e0fd864782: Layer already exists 11:35:27 b7d3610ed0af: Layer already exists 11:35:27 ff80ccf3f11a: Layer already exists 11:35:27 8bfaef6f6790: Layer already exists 11:35:27 dd9c8f8612c8: Layer already exists 11:35:27 508faf986280dc0da9ba280550182af76d638037-4.0.0: digest: sha256:fb81c5bd7fdd94ea9bbbc1189e642de55c57864b4122290554ee142ee79c3e23 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:28 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:28 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:odessa 11:35:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 11:35:28 71babcd361d5: Preparing 11:35:28 ff80ccf3f11a: Preparing 11:35:28 8bfaef6f6790: Preparing 11:35:28 b7d3610ed0af: Preparing 11:35:28 e9e0fd864782: Preparing 11:35:28 dd9c8f8612c8: Preparing 11:35:28 dd9c8f8612c8: Waiting 11:35:28 8bfaef6f6790: Layer already exists 11:35:28 ff80ccf3f11a: Layer already exists 11:35:28 71babcd361d5: Layer already exists 11:35:28 b7d3610ed0af: Layer already exists 11:35:28 e9e0fd864782: Layer already exists 11:35:28 dd9c8f8612c8: Layer already exists 11:35:28 odessa: digest: sha256:fb81c5bd7fdd94ea9bbbc1189e642de55c57864b4122290554ee142ee79c3e23 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:35:28 ===================================================== [Pipeline] echo 11:35:28 taggedImages: 11:35:28 - nexus3.edgexfoundry.org:10004/device-s7-arm64:508faf986280dc0da9ba280550182af76d638037 11:35:28 - nexus3.edgexfoundry.org:10004/device-s7-arm64:4.0.0 11:35:28 - nexus3.edgexfoundry.org:10004/device-s7-arm64:508faf986280dc0da9ba280550182af76d638037-4.0.0 11:35:28 - 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 11:35:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:35:29 11:35:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:35:29 arm64: Pulling from edgex-lftools-log-publisher 11:35:29 8998bd30e6a1: Pulling fs layer 11:35:29 04944245beec: Pulling fs layer 11:35:29 699f458cf7ca: Pulling fs layer 11:35:29 765212b225bb: Pulling fs layer 11:35:29 f23df028b6ca: Pulling fs layer 11:35:29 d65c8cfc05b1: Pulling fs layer 11:35:29 2437ff75d9bd: Pulling fs layer 11:35:29 f23df028b6ca: Waiting 11:35:29 d65c8cfc05b1: Waiting 11:35:29 2437ff75d9bd: Waiting 11:35:29 765212b225bb: Waiting 11:35:29 04944245beec: Verifying Checksum 11:35:29 04944245beec: Download complete 11:35:29 765212b225bb: Verifying Checksum 11:35:29 765212b225bb: Download complete 11:35:29 f23df028b6ca: Verifying Checksum 11:35:29 f23df028b6ca: Download complete 11:35:29 d65c8cfc05b1: Verifying Checksum 11:35:29 d65c8cfc05b1: Download complete 11:35:30 699f458cf7ca: Verifying Checksum 11:35:30 699f458cf7ca: Download complete 11:35:30 8998bd30e6a1: Verifying Checksum 11:35:30 8998bd30e6a1: Download complete 11:35:33 2437ff75d9bd: Verifying Checksum 11:35:33 2437ff75d9bd: Download complete 11:35:35 8998bd30e6a1: Pull complete 11:35:35 04944245beec: Pull complete 11:35:37 699f458cf7ca: Pull complete 11:35:37 765212b225bb: Pull complete 11:35:38 f23df028b6ca: Pull complete 11:35:38 d65c8cfc05b1: Pull complete 11:35:56 2437ff75d9bd: Pull complete 11:35:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:35:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:35:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:35:57 prd-ubuntu20.04-docker-arm64-4c-16g-41164 does not seem to be running inside a container 11:35:57 $ 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/4 -v /w/workspace/device-s7/4:/w/workspace/device-s7/4:rw,z -v /w/workspace/device-s7/4@tmp:/w/workspace/device-s7/4@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 11:36:00 $ docker top 26ed991e05def14a3e23a5f03c096de1914e9069558a04d99c45749b6d38345c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:36:01 ---> job-cost.sh 11:36:01 lf-activate-venv: SKIPPING 11:36:01 INFO: No Stack... 11:36:01 INFO: Retrieving Pricing Info for: v3-standard-4 11:36:02 INFO: Archiving Costs [Pipeline] sh 11:36:03 + cat /w/workspace/device-s7/4/archives/cost.csv 11:36:03 + cut -d, -f6 [Pipeline] lock 11:36:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-odessa-4-stack-cost] 11:36:03 Resource [jenkins-edgexfoundry-device-s7-odessa-4-stack-cost] did not exist. Created. 11:36:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:36:03 /w/workspace/device-s7/4@tmp/durable-97c5ac5c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:36:04 + echo total: 0.10999999940395355 [Pipeline] stash 11:36:04 Warning: overwriting stash ‘stack-cost’ 11:36:05 Stashed 1 file(s) [Pipeline] } 11:36:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:36:05 $ docker stop --time=1 26ed991e05def14a3e23a5f03c096de1914e9069558a04d99c45749b6d38345c 11:36:06 $ docker rm -f --volumes 26ed991e05def14a3e23a5f03c096de1914e9069558a04d99c45749b6d38345c [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 11:36:07 provisioning config files... 11:36:07 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config17444651826498869254tmp [Pipeline] { [Pipeline] sh 11:36:07 + set +x 11:36:07 + curl -s https://codecov.io/bash 11:36:07 + bash -s -- 11:36:07 11:36:07 _____ _ 11:36:07 / ____| | | 11:36:07 | | ___ __| | ___ ___ _____ __ 11:36:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:36:07 | |___| (_) | (_| | __/ (_| (_) \ V / 11:36:07 \_____\___/ \__,_|\___|\___\___/ \_/ 11:36:07 Bash-1.0.6 11:36:07 11:36:07 11:36:07 ==> git version 2.25.1 found 11:36:07 ==> 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 11:36:07 Release-Date: 2020-01-08 11:36:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:36:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:36:07 ==> Jenkins CI detected. 11:36:07 current dir:  /w/workspace/edgexfoundry_device-s7_odessa 11:36:07 project root: . 11:36:07 --> token set from env 11:36:07 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 11:36:07 ==> Running gcov in . (disable via -X gcov) 11:36:07 ==> Python coveragepy not found 11:36:07 ==> Searching for coverage reports in: 11:36:07 + . 11:36:07 -> Found 1 reports 11:36:07 ==> Detecting git/mercurial file structure 11:36:07 ==> Reading reports 11:36:07 + ./coverage.out bytes=19094 11:36:07 ==> Appending adjustments 11:36:07 https://docs.codecov.io/docs/fixing-reports 11:36:07 + Found adjustments 11:36:07 ==> Gzipping contents 11:36:07 28K /tmp/codecov.N6O0QG.gz 11:36:07 ==> Uploading reports 11:36:07 url: https://codecov.io 11:36:07 query: branch=odessa&commit=508faf986280dc0da9ba280550182af76d638037&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 11:36:07 -> Pinging Codecov 11:36:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=508faf986280dc0da9ba280550182af76d638037&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 11:36:07 -> Uploading to 11:36:07 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-s7/508faf986280dc0da9ba280550182af76d638037/7d7806ef-19e0-4610-bd07-cb00ea80f674.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T113607Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=ea17df61e0ee70e333f9a69a98567e2dd28207f5b3b0d2bfa27ec42716e30bf4 11:36:07 % Total % Received % Xferd Average Speed Time Time Time Current 11:36:07 Dload Upload Total Spent Left Speed 11:36:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 27478 0 0 100 27478 0 183k --:--:-- --:--:-- --:--:-- 185k 11:36:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/508faf986280dc0da9ba280550182af76d638037 [Pipeline] } 11:36:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:36:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:36:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:36:08 11:36:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:36:08 latest: Pulling from edgex-devops/edgex-snyk-go 11:36:08 43c4264eed91: Pulling fs layer 11:36:08 4cc291be95ef: Pulling fs layer 11:36:08 2ac1f1163629: Pulling fs layer 11:36:08 5c3c966382ef: Pulling fs layer 11:36:08 4f4fb700ef54: Pulling fs layer 11:36:08 d9c7d2e4e75e: Pulling fs layer 11:36:08 9c3e1370e548: Pulling fs layer 11:36:08 d9c7d2e4e75e: Waiting 11:36:08 5c3c966382ef: Waiting 11:36:08 4f4fb700ef54: Waiting 11:36:08 9c3e1370e548: Waiting 11:36:08 4cc291be95ef: Verifying Checksum 11:36:08 4cc291be95ef: Download complete 11:36:08 5c3c966382ef: Verifying Checksum 11:36:08 5c3c966382ef: Download complete 11:36:08 4f4fb700ef54: Verifying Checksum 11:36:08 4f4fb700ef54: Download complete 11:36:08 43c4264eed91: Download complete 11:36:09 43c4264eed91: Pull complete 11:36:09 d9c7d2e4e75e: Verifying Checksum 11:36:09 d9c7d2e4e75e: Download complete 11:36:09 4cc291be95ef: Pull complete 11:36:09 2ac1f1163629: Download complete 11:36:10 9c3e1370e548: Verifying Checksum 11:36:10 9c3e1370e548: Download complete 11:36:12 2ac1f1163629: Pull complete 11:36:12 5c3c966382ef: Pull complete 11:36:12 4f4fb700ef54: Pull complete 11:36:12 d9c7d2e4e75e: Pull complete 11:36:15 9c3e1370e548: Pull complete 11:36:15 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 11:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:36:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:15 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:36:15 $ 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 11:36:17 $ docker top 74eb58ebb58afb949e35225dff351b06f14172e18de6f3dea486ed83c125ec1c -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:18 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_odessa [Pipeline] echo 11:36:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-s7:odessa' [Pipeline] sh 11:36:18 + set -o pipefail 11:36:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-s7:odessa' 11:36:21 11:36:21 Monitoring /w/workspace/edgexfoundry_device-s7_odessa (github.com/edgexfoundry/device-s7)... 11:36:21 11:36:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/bfa2dca2-5bc5-4fa4-85d4-97a3ae9278bb/history/0c20de10-0bae-44bc-a79c-c6976f81ced2 11:36:21 11:36:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:36:21 11:36:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:36:21 11:36:21 11:36:21 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 11:36:21 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 11:36:21 $ docker stop --time=1 74eb58ebb58afb949e35225dff351b06f14172e18de6f3dea486ed83c125ec1c 11:36:23 $ docker rm -f --volumes 74eb58ebb58afb949e35225dff351b06f14172e18de6f3dea486ed83c125ec1c [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 11:36:23 + git log --format=format:%s -1 508faf986280dc0da9ba280550182af76d638037 [Pipeline] sh 11:36:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:36:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:36:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:24 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:36:24 $ 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 11:36:24 $ docker top 2db778a08be88dc09b9eb8fc06330960c3cd221a3a002dc6f18c175bdc9b27b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:36:25 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:36:25 + git semver [Pipeline] } 11:36:25 $ docker stop --time=1 2db778a08be88dc09b9eb8fc06330960c3cd221a3a002dc6f18c175bdc9b27b2 11:36:26 $ docker rm -f --volumes 2db778a08be88dc09b9eb8fc06330960c3cd221a3a002dc6f18c175bdc9b27b2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:36:27 11:36:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:36:27 0.23.1-centos7: Pulling from edgex-lftools 11:36:27 ab5ef0e58194: Pulling fs layer 11:36:27 9712f1f96733: Pulling fs layer 11:36:27 63f879dbbcfc: Pulling fs layer 11:36:27 0d9ebad4ef96: Pulling fs layer 11:36:27 e9a5061849ea: Pulling fs layer 11:36:27 d747dcd14b5f: Pulling fs layer 11:36:27 2de7ff778b66: Pulling fs layer 11:36:27 0d9ebad4ef96: Waiting 11:36:27 e9a5061849ea: Waiting 11:36:27 d747dcd14b5f: Waiting 11:36:27 9712f1f96733: Verifying Checksum 11:36:27 9712f1f96733: Download complete 11:36:27 63f879dbbcfc: Verifying Checksum 11:36:27 63f879dbbcfc: Download complete 11:36:28 e9a5061849ea: Verifying Checksum 11:36:28 e9a5061849ea: Download complete 11:36:28 d747dcd14b5f: Download complete 11:36:28 0d9ebad4ef96: Verifying Checksum 11:36:28 0d9ebad4ef96: Download complete 11:36:28 ab5ef0e58194: Verifying Checksum 11:36:28 ab5ef0e58194: Download complete 11:36:28 2de7ff778b66: Download complete 11:36:30 ab5ef0e58194: Pull complete 11:36:30 9712f1f96733: Pull complete 11:36:31 63f879dbbcfc: Pull complete 11:36:34 0d9ebad4ef96: Pull complete 11:36:34 e9a5061849ea: Pull complete 11:36:34 d747dcd14b5f: Pull complete 11:36:35 2de7ff778b66: Pull complete 11:36:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:36:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:36:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:35 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:36:36 $ 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 11:36:37 $ docker top 0f918fa202b62eb14057bad6e80966a180fc22dd4e6cb685c264209ce302fcb3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:36:38 provisioning config files... 11:36:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config13259689784408098368tmp 11:36:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config569363979313147182tmp 11:36:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config14535312878989686555tmp [Pipeline] { [Pipeline] echo 11:36:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:36:38 ---> sigul-configuration.sh 11:36:38 gpg: directory `/root/.gnupg' created 11:36:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:36:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:36:38 gpg: keyring `/root/.gnupg/secring.gpg' created 11:36:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:36:38 gpg: CAST5 encrypted data 11:36:38 gpg: encrypted with 1 passphrase 11:36:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:36:38 + mkdir /home/jenkins 11:36:38 + mkdir /home/jenkins/sigul [Pipeline] sh 11:36:38 + 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 11:36:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:36:39 ---> sigul-install.sh 11:36:39 Sigul already installed; skipping installation. [Pipeline] sh 11:36:39 + git tag --list 11:36:39 v0.0.0 11:36:39 v0.0.1-dev.1 11:36:39 v0.0.1-dev.2 11:36:39 v4.0.0 11:36:39 v4.0.0-dev.1 11:36:39 v4.0.0-dev.10 11:36:39 v4.0.0-dev.11 11:36:39 v4.0.0-dev.2 11:36:39 v4.0.0-dev.3 11:36:39 v4.0.0-dev.4 11:36:39 v4.0.0-dev.5 11:36:39 v4.0.0-dev.6 11:36:39 v4.0.0-dev.7 11:36:39 v4.0.0-dev.8 11:36:39 v4.0.0-dev.9 [Pipeline] sh 11:36:39 + lftools sign git-tag v4.0.0 11:36:40 Signing Git tag with Sigul... 11:36:40 Signing v4.0.0 [Pipeline] echo 11:36:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:36:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:36:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:36:41 $ docker stop --time=1 0f918fa202b62eb14057bad6e80966a180fc22dd4e6cb685c264209ce302fcb3 11:36:42 $ docker rm -f --volumes 0f918fa202b62eb14057bad6e80966a180fc22dd4e6cb685c264209ce302fcb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:36:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:36:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:36:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:43 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:36:43 $ 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 11:36:43 $ docker top 4bb03ba2d3af5d1de4aac87b7299c5ff6ba57797c8d662f866f018d47266363f -eo pid,comm 11:36:43 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). 11:36:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:36:43 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:36:43 + git semver [Pipeline] } 11:36:44 $ docker stop --time=1 4bb03ba2d3af5d1de4aac87b7299c5ff6ba57797c8d662f866f018d47266363f 11:36:45 $ docker rm -f --volumes 4bb03ba2d3af5d1de4aac87b7299c5ff6ba57797c8d662f866f018d47266363f [Pipeline] // withDockerContainer [Pipeline] sh 11:36:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:36:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:36:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:46 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:36:46 $ 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 11:36:46 $ docker top 493fa08a096e48891cbe37472ad1ca060385f6462a2042e3b3f2cfcd3dd72a71 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:36:46 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:36:46 + git semver [Pipeline] } 11:36:47 $ docker stop --time=1 493fa08a096e48891cbe37472ad1ca060385f6462a2042e3b3f2cfcd3dd72a71 11:36:48 $ docker rm -f --volumes 493fa08a096e48891cbe37472ad1ca060385f6462a2042e3b3f2cfcd3dd72a71 [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 11:36:49 + [ -d /w/workspace/edgexfoundry_device-s7_odessa/archives ] 11:36:49 + ls -al /w/workspace/edgexfoundry_device-s7_odessa/archives 11:36:49 total 16 11:36:49 drwxr-xr-x 3 root root 4096 Mar 12 11:14 . 11:36:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:36 .. 11:36:49 drwxr-xr-x 2 root root 4096 Mar 12 11:14 cost 11:36:49 -rw-r--r-- 1 root root 81 Mar 12 11:14 cost.csv 11:36:49 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_odessa/archives 11:36:49 + ls -al /w/workspace/edgexfoundry_device-s7_odessa/archives 11:36:49 total 16 11:36:49 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:14 . 11:36:49 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:36 .. 11:36:49 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 11:14 cost 11:36:49 -rw-r--r-- 1 jenkins jenkins 81 Mar 12 11:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:36:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:36:50 ---> package-listing.sh 11:36:50 ++ facter osfamily 11:36:50 ++ tr '[:upper:]' '[:lower:]' 11:36:50 + OS_FAMILY=debian 11:36:50 + workspace=/w/workspace/edgexfoundry_device-s7_odessa 11:36:50 + START_PACKAGES=/tmp/packages_start.txt 11:36:50 + END_PACKAGES=/tmp/packages_end.txt 11:36:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:36:50 + PACKAGES=/tmp/packages_start.txt 11:36:50 + '[' /w/workspace/edgexfoundry_device-s7_odessa ']' 11:36:50 + PACKAGES=/tmp/packages_end.txt 11:36:50 + case "${OS_FAMILY}" in 11:36:50 + dpkg -l 11:36:50 + grep '^ii' 11:36:50 + '[' -f /tmp/packages_start.txt ']' 11:36:50 + '[' -f /tmp/packages_end.txt ']' 11:36:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:36:50 + '[' /w/workspace/edgexfoundry_device-s7_odessa ']' 11:36:50 + mkdir -p /w/workspace/edgexfoundry_device-s7_odessa/archives/ 11:36:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_odessa/archives/ [Pipeline] echo 11:36:50 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 11:36:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:51 prd-ubuntu20.04-docker-8c-8g-41158 does not seem to be running inside a container 11:36:51 $ 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 11:36:51 $ docker top 24ce3d450eab4dee18b4d497d027752900ad25c465725c95866530331614f273 -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:51 + touch /tmp/pre-build-complete [Pipeline] sh 11:36:52 + mkdir -p /var/log/sysstat [Pipeline] sh 11:36:52 + ls /var/log/sa-host 11:36:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:36:52 provisioning config files... 11:36:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_odessa@tmp/config16227244636860874570tmp [Pipeline] { [Pipeline] echo 11:36:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:36:52 ---> create-netrc.sh [Pipeline] } 11:36:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:36:53 ---> python-tools-install.sh [Pipeline] echo 11:36:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:36:53 ---> sudo-logs.sh 11:36:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:36:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:36:53 ---> job-cost.sh 11:36:53 lf-activate-venv: SKIPPING 11:36:53 DEBUG: total: 0.2199999988079071 11:36:53 INFO: Retrieving Stack Cost... 11:36:54 INFO: Retrieving Pricing Info for: v3-standard-8 11:36:54 INFO: Archiving Costs [Pipeline] echo 11:36:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:36:54 ---> logs-deploy.sh 11:36:54 lf-activate-venv: SKIPPING 11:36:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/odessa/4 11:36:54 INFO: archiving workspace using pattern(s): 11:36:55 Archives upload complete. 11:36:55 INFO: archiving logs to Nexus