Pull request #22 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3dec46d1e45ca1f13383df1a00709ab40c3b51c2+8abf73570ad6030a87cde2867b8b9b061b07feca (2023745d837f0933faf564a35f162e5771f81dea) 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-ssh11144549166075006584.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f94fe2cf7ac1b1acfd3f6fa3b2d771c0d529625d 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-ssh4417067081181205808.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 f94fe2cf7ac1b1acfd3f6fa3b2d771c0d529625d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-22/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-22/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18050524142964938770.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-22/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9762883788116988776.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f94fe2cf7ac1b1acfd3f6fa3b2d771c0d529625d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f94fe2cf7ac1b1acfd3f6fa3b2d771c0d529625d # timeout=10 Commit message: "Merge pull request #459 from cherrycl/issue-458" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4773914637361408242.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-22/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-22/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3025837559404165956.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f94fe2cf7ac1b1acfd3f6fa3b2d771c0d529625d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-34097 in /w/workspace/edgexfoundry_device-s7_PR-22 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-s7.git > git init /w/workspace/edgexfoundry_device-s7_PR-22 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8abf73570ad6030a87cde2867b8b9b061b07feca into PR head commit 3dec46d1e45ca1f13383df1a00709ab40c3b51c2 Merge succeeded, producing 3dec46d1e45ca1f13383df1a00709ab40c3b51c2 Checking out Revision 3dec46d1e45ca1f13383df1a00709ab40c3b51c2 (PR-22) Commit message: "Bump github.com/edgexfoundry/go-mod-core-contracts/v4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f94fe2cf7ac1b1acfd3f6fa3b2d771c0d529625d > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/22/head:refs/remotes/origin/PR-22 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3dec46d1e45ca1f13383df1a00709ab40c3b51c2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8abf73570ad6030a87cde2867b8b9b061b07feca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3dec46d1e45ca1f13383df1a00709ab40c3b51c2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:34:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:34:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:34:31 ========================================================= 20:34:31 EdgeX Global Pipelines Version Info 20:34:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:34:32 ------------------- 20:34:32 stable info: 20:34:32 ------------------- 20:34:32 Commited By: Cherry Wang cherry@iotechsys.com 20:34:32 Commit SHA: f94fe2cf7ac1b1acfd3f6fa3b2d771c0d529625d 20:34:32 Message: update stable to v1.0.266 20:34:33 ------------------- 20:34:33 experimental info: 20:34:33 ------------------- 20:34:33 Commited By: Cherry Wang cherry@iotechsys.com 20:34:33 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 20:34:33 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:34:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:34:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:34:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:34:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-22 [Pipeline] echo 20:34:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-22 [Pipeline] echo 20:34:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-22 [Pipeline] echo 20:34:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3dec46d1e45ca1f13383df1a00709ab40c3b51c2 [Pipeline] echo 20:34:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3dec46d [Pipeline] echo 20:34:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:35 provisioning config files... 20:34:35 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-22@tmp/config17271670915742268381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:35 ---> ****-login.sh 20:34:35 nexus3.edgexfoundry.org:10001 20:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:36 Configure a credential helper to remove this warning. See 20:34:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:36 20:34:36 Login Succeeded 20:34:36 nexus3.edgexfoundry.org:10002 20:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:36 Configure a credential helper to remove this warning. See 20:34:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:36 20:34:36 Login Succeeded 20:34:36 nexus3.edgexfoundry.org:10003 20:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:36 Configure a credential helper to remove this warning. See 20:34:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:36 20:34:36 Login Succeeded 20:34:36 nexus3.edgexfoundry.org:10004 20:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:36 Configure a credential helper to remove this warning. See 20:34:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:36 20:34:36 Login Succeeded 20:34:36 ****.io 20:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:37 Configure a credential helper to remove this warning. See 20:34:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:37 20:34:37 Login Succeeded 20:34:37 ---> ****-login.sh ends [Pipeline] } 20:34:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:34:37 + git rev-list -1 --merges 3dec46d1e45ca1f13383df1a00709ab40c3b51c2~1..3dec46d1e45ca1f13383df1a00709ab40c3b51c2 [Pipeline] echo 20:34:37 -----------> git rev-list -1 --merges 3dec46d1e45ca1f13383df1a00709ab40c3b51c2~1..3dec46d1e45ca1f13383df1a00709ab40c3b51c2 3dec46d1e45ca1f13383df1a00709ab40c3b51c2 [false] [Pipeline] sh 20:34:38 + git log --format=format:%s -1 3dec46d1e45ca1f13383df1a00709ab40c3b51c2 [Pipeline] echo 20:34:38 ========================================================= 20:34:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:34:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:38 + git log --format=format:%s -1 3dec46d1e45ca1f13383df1a00709ab40c3b51c2 [Pipeline] echo 20:34:38 [semverPrep] GIT_COMMIT: 3dec46d1e45ca1f13383df1a00709ab40c3b51c2, Commit Message: Bump github.com/edgexfoundry/go-mod-core-contracts/v4 [Pipeline] echo 20:34:38 [semverPrep] This is not a build commit. [Pipeline] sh 20:34:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:34:39 + grep -v github /etc/ssh/ssh_known_hosts 20:34:39 + [ -e /tmp/ssh_known_hosts ] 20:34:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:34:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:34:39 + sudo tee -a /etc/ssh/ssh_known_hosts 20:34:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:34:39 20:34:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:34:40 0.1.4: Pulling from edgex-devops/py-git-semver 20:34:40 b85a868b505f: Pulling fs layer 20:34:40 e2be974225ed: Pulling fs layer 20:34:40 339a4e72a1f5: Pulling fs layer 20:34:40 988bab9f4d93: Pulling fs layer 20:34:40 1469e6f7b9e6: Pulling fs layer 20:34:40 eaf3925da568: Pulling fs layer 20:34:40 bab4dde63d76: Pulling fs layer 20:34:40 bde34c3a00c8: Pulling fs layer 20:34:40 b352a97aabf1: Pulling fs layer 20:34:40 4872d77fe225: Pulling fs layer 20:34:40 5851b861e8e6: Pulling fs layer 20:34:40 bab4dde63d76: Waiting 20:34:40 988bab9f4d93: Waiting 20:34:40 bde34c3a00c8: Waiting 20:34:40 4872d77fe225: Waiting 20:34:40 b352a97aabf1: Waiting 20:34:40 1469e6f7b9e6: Waiting 20:34:40 eaf3925da568: Waiting 20:34:40 5851b861e8e6: Waiting 20:34:40 e2be974225ed: Download complete 20:34:40 988bab9f4d93: Verifying Checksum 20:34:40 988bab9f4d93: Download complete 20:34:40 1469e6f7b9e6: Verifying Checksum 20:34:40 1469e6f7b9e6: Download complete 20:34:40 eaf3925da568: Verifying Checksum 20:34:40 eaf3925da568: Download complete 20:34:40 339a4e72a1f5: Download complete 20:34:40 bde34c3a00c8: Verifying Checksum 20:34:40 bde34c3a00c8: Download complete 20:34:40 b352a97aabf1: Download complete 20:34:40 4872d77fe225: Verifying Checksum 20:34:40 4872d77fe225: Download complete 20:34:40 5851b861e8e6: Verifying Checksum 20:34:40 5851b861e8e6: Download complete 20:34:40 b85a868b505f: Verifying Checksum 20:34:40 b85a868b505f: Download complete 20:34:41 bab4dde63d76: Verifying Checksum 20:34:41 bab4dde63d76: Download complete 20:34:41 b85a868b505f: Pull complete 20:34:42 e2be974225ed: Pull complete 20:34:42 339a4e72a1f5: Pull complete 20:34:42 988bab9f4d93: Pull complete 20:34:42 1469e6f7b9e6: Pull complete 20:34:43 eaf3925da568: Pull complete 20:34:44 bab4dde63d76: Pull complete 20:34:44 bde34c3a00c8: Pull complete 20:34:44 b352a97aabf1: Pull complete 20:34:44 4872d77fe225: Pull complete 20:34:44 5851b861e8e6: Pull complete 20:34:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:34:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:34:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:34:45 prd-ubuntu20.04-docker-8c-8g-34097 does not seem to be running inside a container 20:34:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-22 -v /w/workspace/edgexfoundry_device-s7_PR-22:/w/workspace/edgexfoundry_device-s7_PR-22:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-22@tmp:/w/workspace/edgexfoundry_device-s7_PR-22@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:34:46 $ docker top 7078bbd5ea4c30f1e841a251cac98a194f2283c4893afd2633b7bb0a1094cd6b -eo pid,comm 20:34:46 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). 20:34:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:34:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:46 [ssh-agent] Looking for ssh-agent implementation... 20:34:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:46 $ docker exec 7078bbd5ea4c30f1e841a251cac98a194f2283c4893afd2633b7bb0a1094cd6b ssh-agent 20:34:46 SSH_AUTH_SOCK=/tmp/ssh-VWGYQKF3PSNx/agent.31 20:34:46 SSH_AGENT_PID=37 20:34:46 Running ssh-add (command line suppressed) 20:34:46 Identity added: /w/workspace/edgexfoundry_device-s7_PR-22@tmp/private_key_13848928956636050934.key (/w/workspace/edgexfoundry_device-s7_PR-22@tmp/private_key_13848928956636050934.key) 20:34:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:47 + git tag --points-at HEAD [Pipeline] } 20:34:47 $ docker exec --env ******** --env ******** 7078bbd5ea4c30f1e841a251cac98a194f2283c4893afd2633b7bb0a1094cd6b ssh-agent -k 20:34:47 unset SSH_AUTH_SOCK; 20:34:47 unset SSH_AGENT_PID; 20:34:47 echo Agent pid 37 killed; 20:34:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:34:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:47 [ssh-agent] Looking for ssh-agent implementation... 20:34:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:47 $ docker exec 7078bbd5ea4c30f1e841a251cac98a194f2283c4893afd2633b7bb0a1094cd6b ssh-agent 20:34:47 SSH_AUTH_SOCK=/tmp/ssh-zxkd3Np9VSPL/agent.70 20:34:47 SSH_AGENT_PID=76 20:34:47 Running ssh-add (command line suppressed) 20:34:47 Identity added: /w/workspace/edgexfoundry_device-s7_PR-22@tmp/private_key_15567991110441092396.key (/w/workspace/edgexfoundry_device-s7_PR-22@tmp/private_key_15567991110441092396.key) 20:34:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:48 + git semver init 20:34:48 2024-12-02 20:34:48,403 [run_init] DEBUG init version:0.0.0 force:False 20:34:48 2024-12-02 20:34:48,404 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-22/.semver 20:34:48 2024-12-02 20:34:48,404 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-22/.semver 20:34:48 2024-12-02 20:34:48,405 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-22/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-22, universal_newlines=False, shell=None, istream=None) 20:34:49 2024-12-02 20:34:48,972 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-22/.git/info/exclude 20:34:49 2024-12-02 20:34:48,973 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-22/.semver/PR-22 with force:False 20:34:49 2024-12-02 20:34:48,973 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-22/.semver/PR-22 20:34:49 2024-12-02 20:34:48,977 [execute] INFO git cat-file --batch-check 20:34:49 2024-12-02 20:34:48,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-22/.semver, universal_newlines=False, shell=None, istream=) 20:34:49 2024-12-02 20:34:48,983 [execute] INFO git cat-file --batch 20:34:49 2024-12-02 20:34:48,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-22/.semver, universal_newlines=False, shell=None, istream=) 20:34:49 2024-12-02 20:34:48,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-22/.semver/PR-22 20:34:49 0.0.0 [Pipeline] } 20:34:49 $ docker exec --env ******** --env ******** 7078bbd5ea4c30f1e841a251cac98a194f2283c4893afd2633b7bb0a1094cd6b ssh-agent -k 20:34:49 unset SSH_AUTH_SOCK; 20:34:49 unset SSH_AGENT_PID; 20:34:49 echo Agent pid 76 killed; 20:34:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:34:49 + git semver [Pipeline] } 20:34:49 $ docker stop --time=1 7078bbd5ea4c30f1e841a251cac98a194f2283c4893afd2633b7bb0a1094cd6b 20:34:51 $ docker rm -f --volumes 7078bbd5ea4c30f1e841a251cac98a194f2283c4893afd2633b7bb0a1094cd6b [Pipeline] // withDockerContainer [Pipeline] sh 20:34:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:34:51 Stashed 1 file(s) [Pipeline] echo 20:34:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:53 provisioning config files... 20:34:53 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-22@tmp/config14639731353094421125tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:53 ---> ****-login.sh 20:34:53 nexus3.edgexfoundry.org:10001 20:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:53 Configure a credential helper to remove this warning. See 20:34:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:53 20:34:53 Login Succeeded 20:34:53 nexus3.edgexfoundry.org:10002 20:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:53 Configure a credential helper to remove this warning. See 20:34:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:53 20:34:53 Login Succeeded 20:34:53 nexus3.edgexfoundry.org:10003 20:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:53 Configure a credential helper to remove this warning. See 20:34:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:53 20:34:53 Login Succeeded 20:34:53 nexus3.edgexfoundry.org:10004 20:34:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:53 Configure a credential helper to remove this warning. See 20:34:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:53 20:34:53 Login Succeeded 20:34:53 ****.io 20:34:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 20:34:54 Configure a credential helper to remove this warning. See 20:34:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 20:34:54 20:34:54 Login Succeeded 20:34:54 ---> ****-login.sh ends [Pipeline] } 20:34:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:34:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:34:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 20:34:54 ========================================================= 20:34:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 20:34:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:34:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 20:34:55 Sending build context to Docker daemon 658.4kB 20:34:55 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 20:34:55 Step 2/10 : FROM ${BASE} AS builder 20:34:55 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 20:34:55 43c4264eed91: Pulling fs layer 20:34:55 4cc291be95ef: Pulling fs layer 20:34:55 2ac1f1163629: Pulling fs layer 20:34:55 5c3c966382ef: Pulling fs layer 20:34:55 4f4fb700ef54: Pulling fs layer 20:34:55 5d5c8e513c77: Pulling fs layer 20:34:55 9f66e0745190: Pulling fs layer 20:34:55 f49a43e4bbc0: Pulling fs layer 20:34:55 561ebcabdf7f: Pulling fs layer 20:34:55 f49a43e4bbc0: Waiting 20:34:55 5c3c966382ef: Waiting 20:34:55 4f4fb700ef54: Waiting 20:34:55 5d5c8e513c77: Waiting 20:34:55 561ebcabdf7f: Waiting 20:34:55 9f66e0745190: Waiting 20:34:55 4cc291be95ef: Verifying Checksum 20:34:55 4cc291be95ef: Download complete 20:34:55 5c3c966382ef: Verifying Checksum 20:34:55 5c3c966382ef: Download complete 20:34:55 4f4fb700ef54: Verifying Checksum 20:34:55 4f4fb700ef54: Download complete 20:34:55 5d5c8e513c77: Verifying Checksum 20:34:55 5d5c8e513c77: Download complete 20:34:55 43c4264eed91: Verifying Checksum 20:34:55 43c4264eed91: Download complete 20:34:55 9f66e0745190: Verifying Checksum 20:34:55 9f66e0745190: Download complete 20:34:55 43c4264eed91: Pull complete 20:34:55 4cc291be95ef: Pull complete 20:34:55 561ebcabdf7f: Verifying Checksum 20:34:55 561ebcabdf7f: Download complete 20:34:55 2ac1f1163629: Verifying Checksum 20:34:55 2ac1f1163629: Download complete 20:34:56 f49a43e4bbc0: Verifying Checksum 20:34:56 f49a43e4bbc0: Download complete 20:34:59 2ac1f1163629: Pull complete 20:34:59 5c3c966382ef: Pull complete 20:34:59 4f4fb700ef54: Pull complete 20:34:59 5d5c8e513c77: Pull complete 20:34:59 9f66e0745190: Pull complete 20:35:02 f49a43e4bbc0: Pull complete 20:35:02 561ebcabdf7f: Pull complete 20:35:02 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 20:35:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 20:35:02 ---> 3a752c3f9dda 20:35:02 Step 3/10 : ARG MAKE=make build 20:35:03 ---> Running in d024c06a1f6d 20:35:03 Removing intermediate container d024c06a1f6d 20:35:03 ---> 123fda4b00ca 20:35:03 Step 4/10 : WORKDIR /device-s7 20:35:03 ---> Running in 2d1c113c3898 20:35:03 Removing intermediate container 2d1c113c3898 20:35:03 ---> 01535224be47 20:35:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 20:35:03 ---> Running in c0e24c81642d 20:35:03 Removing intermediate container c0e24c81642d 20:35:03 ---> 97ce31ac4bcb 20:35:03 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 20:35:03 ---> Running in 8772aada32e4 20:35:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 20:35:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 20:35:04 OK: 246 MiB in 54 packages 20:35:04 Removing intermediate container 8772aada32e4 20:35:04 ---> a6fdf9724e18 20:35:04 Step 7/10 : COPY go.mod vendor* ./ 20:35:04 ---> 20e74770b553 20:35:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:04 ---> Running in 4077cd270d39 20:36:01 Removing intermediate container 4077cd270d39 20:36:01 ---> 3001957b8bcb 20:36:01 Step 9/10 : COPY . . 20:36:01 ---> 1e4e46b11d72 20:36:01 Step 10/10 : RUN ${MAKE} 20:36:01 ---> Running in 91dfefb7755f 20:36:01 noop 20:36:01 Removing intermediate container 91dfefb7755f 20:36:01 ---> 92cbbb7b71c2 20:36:01 Successfully built 92cbbb7b71c2 20:36:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:01 + docker inspect -f . ci-base-image-x86_64 20:36:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:01 prd-ubuntu20.04-docker-8c-8g-34097 does not seem to be running inside a container 20:36:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-22 -v /w/workspace/edgexfoundry_device-s7_PR-22:/w/workspace/edgexfoundry_device-s7_PR-22:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-22@tmp:/w/workspace/edgexfoundry_device-s7_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:36:02 $ docker top d24b2e643fb7f4cb85507a71c4ceeecb9fc5b2cae1ee5240027e0e1428880c68 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:02 + go version 20:36:02 go version go1.23.2 linux/amd64 [Pipeline] } 20:36:02 $ docker stop --time=1 d24b2e643fb7f4cb85507a71c4ceeecb9fc5b2cae1ee5240027e0e1428880c68 20:36:03 $ docker rm -f --volumes d24b2e643fb7f4cb85507a71c4ceeecb9fc5b2cae1ee5240027e0e1428880c68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:04 + docker inspect -f . ci-base-image-x86_64 20:36:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:04 prd-ubuntu20.04-docker-8c-8g-34097 does not seem to be running inside a container 20:36:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_PR-22 -v /w/workspace/edgexfoundry_device-s7_PR-22:/w/workspace/edgexfoundry_device-s7_PR-22:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-22@tmp:/w/workspace/edgexfoundry_device-s7_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:36:05 $ docker top c3bced2554b50f28bbd7f3635f0d2c6242f3dc1a53f5585527017c297c897b00 -eo pid,comm [Pipeline] { [Pipeline] sh 20:36:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-22 [Pipeline] fileExists [Pipeline] sh 20:36:05 + make test 20:36:05 go test -race -coverprofile=coverage.out ./... 20:36:13 ? github.com/edgexfoundry/device-s7 [no test files] 20:36:26 # github.com/edgexfoundry/go-mod-bootstrap/v4/bootstrap/container 20:36:26 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v4@v4.0.0-dev.1/bootstrap/container/clients.go:135:61: undefined: interfaces.IntervalClient 20:36:26 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v4@v4.0.0-dev.1/bootstrap/container/clients.go:138:48: undefined: interfaces.IntervalClient 20:36:26 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v4@v4.0.0-dev.1/bootstrap/container/clients.go:143:45: undefined: interfaces.IntervalClient 20:36:26 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v4@v4.0.0-dev.1/bootstrap/container/clients.go:147:67: undefined: interfaces.IntervalActionClient 20:36:26 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v4@v4.0.0-dev.1/bootstrap/container/clients.go:150:54: undefined: interfaces.IntervalActionClient 20:36:26 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v4@v4.0.0-dev.1/bootstrap/container/clients.go:155:51: undefined: interfaces.IntervalActionClient 20:36:36 FAIL github.com/edgexfoundry/device-s7/cmd [build failed] 20:36:36 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 20:36:36 FAIL 20:36:36 make: *** [Makefile:42: unittest] Error 1 [Pipeline] } 20:36:36 $ docker stop --time=1 c3bced2554b50f28bbd7f3635f0d2c6242f3dc1a53f5585527017c297c897b00 20:36:42 $ docker rm -f --volumes c3bced2554b50f28bbd7f3635f0d2c6242f3dc1a53f5585527017c297c897b00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:43 20:36:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:43 latest: Pulling from edgex-lftools-log-publisher 20:36:43 5eb5b503b376: Pulling fs layer 20:36:43 5c69ac0246d0: Pulling fs layer 20:36:43 ec43610c2a17: Pulling fs layer 20:36:43 3a2ae6a8a46f: Pulling fs layer 20:36:43 33b1e0a273af: Pulling fs layer 20:36:43 5d3b04190fa2: Pulling fs layer 20:36:43 2f39f015ded8: Pulling fs layer 20:36:43 3a2ae6a8a46f: Waiting 20:36:43 33b1e0a273af: Waiting 20:36:43 5d3b04190fa2: Waiting 20:36:43 2f39f015ded8: Waiting 20:36:44 5c69ac0246d0: Verifying Checksum 20:36:44 5c69ac0246d0: Download complete 20:36:44 3a2ae6a8a46f: Verifying Checksum 20:36:44 3a2ae6a8a46f: Download complete 20:36:44 33b1e0a273af: Verifying Checksum 20:36:44 33b1e0a273af: Download complete 20:36:44 5d3b04190fa2: Verifying Checksum 20:36:44 5d3b04190fa2: Download complete 20:36:44 ec43610c2a17: Verifying Checksum 20:36:44 ec43610c2a17: Download complete 20:36:44 5eb5b503b376: Verifying Checksum 20:36:44 5eb5b503b376: Download complete 20:36:44 2f39f015ded8: Download complete 20:36:45 5eb5b503b376: Pull complete 20:36:45 5c69ac0246d0: Pull complete 20:36:45 ec43610c2a17: Pull complete 20:36:46 3a2ae6a8a46f: Pull complete 20:36:46 33b1e0a273af: Pull complete 20:36:46 5d3b04190fa2: Pull complete 20:36:50 2f39f015ded8: Pull complete 20:36:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:36:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:36:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:50 prd-ubuntu20.04-docker-8c-8g-34097 does not seem to be running inside a container 20:36:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-22 -v /w/workspace/edgexfoundry_device-s7_PR-22:/w/workspace/edgexfoundry_device-s7_PR-22:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-22@tmp:/w/workspace/edgexfoundry_device-s7_PR-22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:36:55 $ docker top b2a2ee091dce2b012299c2ac7e01465cde03ba57b06bb5fd385abc0c4a61e58b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:56 ---> job-cost.sh 20:36:56 lf-activate-venv: SKIPPING 20:36:56 INFO: No Stack... 20:36:56 INFO: Retrieving Pricing Info for: v3-standard-8 20:36:56 INFO: Archiving Costs [Pipeline] sh 20:36:56 + cat /w/workspace/edgexfoundry_device-s7_PR-22/archives/cost.csv 20:36:56 + cut -d, -f6 [Pipeline] lock 20:36:57 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-PR-22-1-stack-cost] 20:36:57 Resource [jenkins-edgexfoundry-device-s7-PR-22-1-stack-cost] did not exist. Created. 20:36:57 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-PR-22-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:36:57 + echo total: 0.2199999988079071 [Pipeline] stash 20:36:57 Stashed 1 file(s) [Pipeline] } 20:36:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-PR-22-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:36:57 $ docker stop --time=1 b2a2ee091dce2b012299c2ac7e01465cde03ba57b06bb5fd385abc0c4a61e58b 20:36:58 $ docker rm -f --volumes b2a2ee091dce2b012299c2ac7e01465cde03ba57b06bb5fd385abc0c4a61e58b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:36:59 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 20:37:01 + [ -d /w/workspace/edgexfoundry_device-s7_PR-22/archives ] 20:37:01 + ls -al /w/workspace/edgexfoundry_device-s7_PR-22/archives 20:37:01 total 16 20:37:01 drwxr-xr-x 3 root root 4096 Dec 2 20:36 . 20:37:01 drwxrwxr-x 9 jenkins jenkins 4096 Dec 2 20:36 .. 20:37:01 drwxr-xr-x 2 root root 4096 Dec 2 20:36 cost 20:37:01 -rw-r--r-- 1 root root 80 Dec 2 20:36 cost.csv 20:37:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-22/archives 20:37:01 + ls -al /w/workspace/edgexfoundry_device-s7_PR-22/archives 20:37:01 total 16 20:37:01 drwxr-xr-x 3 jenkins jenkins 4096 Dec 2 20:36 . 20:37:01 drwxrwxr-x 9 jenkins jenkins 4096 Dec 2 20:36 .. 20:37:01 drwxr-xr-x 2 jenkins jenkins 4096 Dec 2 20:36 cost 20:37:01 -rw-r--r-- 1 jenkins jenkins 80 Dec 2 20:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:37:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:37:03 ---> package-listing.sh 20:37:03 ++ tr '[:upper:]' '[:lower:]' 20:37:03 ++ facter osfamily 20:37:03 + OS_FAMILY=debian 20:37:03 + workspace=/w/workspace/edgexfoundry_device-s7_PR-22 20:37:03 + START_PACKAGES=/tmp/packages_start.txt 20:37:03 + END_PACKAGES=/tmp/packages_end.txt 20:37:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:37:03 + PACKAGES=/tmp/packages_start.txt 20:37:03 + '[' /w/workspace/edgexfoundry_device-s7_PR-22 ']' 20:37:03 + PACKAGES=/tmp/packages_end.txt 20:37:03 + case "${OS_FAMILY}" in 20:37:03 + dpkg -l 20:37:03 + grep '^ii' 20:37:03 + '[' -f /tmp/packages_start.txt ']' 20:37:03 + '[' -f /tmp/packages_end.txt ']' 20:37:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:37:03 + '[' /w/workspace/edgexfoundry_device-s7_PR-22 ']' 20:37:03 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-22/archives/ 20:37:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-22/archives/ [Pipeline] echo 20:37:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:37:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:37:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:04 prd-ubuntu20.04-docker-8c-8g-34097 does not seem to be running inside a container 20:37:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-22/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-22 -v /w/workspace/edgexfoundry_device-s7_PR-22:/w/workspace/edgexfoundry_device-s7_PR-22:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-22@tmp:/w/workspace/edgexfoundry_device-s7_PR-22@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 20:37:04 $ docker top ce7a8ffe7c4903858759b51cd91d0a96b43dc5d7b2e7e628d68b31fbb0922fc1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:05 + touch /tmp/pre-build-complete [Pipeline] sh 20:37:05 + mkdir -p /var/log/sysstat [Pipeline] sh 20:37:05 + ls /var/log/sa-host 20:37:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:37:05 provisioning config files... 20:37:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-22@tmp/config8231854599962066500tmp [Pipeline] { [Pipeline] echo 20:37:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:37:06 ---> create-netrc.sh [Pipeline] } 20:37:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:37:06 ---> python-tools-install.sh [Pipeline] echo 20:37:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:37:07 ---> sudo-logs.sh 20:37:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:37:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:37:07 ---> job-cost.sh 20:37:07 lf-activate-venv: SKIPPING 20:37:07 DEBUG: total: 0.2199999988079071 20:37:07 INFO: Retrieving Stack Cost... 20:37:07 INFO: Retrieving Pricing Info for: v3-standard-8 20:37:07 INFO: Archiving Costs [Pipeline] echo 20:37:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:37:08 ---> logs-deploy.sh 20:37:08 lf-activate-venv: SKIPPING 20:37:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-22/1 20:37:08 INFO: archiving workspace using pattern(s): 20:37:09 Archives upload complete. 20:37:09 INFO: archiving logs to Nexus