Pull request #9 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of yiqisoft for edgexfoundry/device-s7 Loading trusted files from base branch main at 1b057092ee19ade1a8316e5cb795699e1e50525a rather than be9287983f4b92c8cae0f409beca0b13e4ebd156 Obtained Jenkinsfile from 1b057092ee19ade1a8316e5cb795699e1e50525a 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-ssh6932377776233866270.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15799886561712215836.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7161310503840536506.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh9563118257397513285.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-s7/branches/PR-9/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8251966733608619697.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.21 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-ubuntu20.04-docker-8c-8g-1671’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1673 in /w/workspace/edgexfoundry_device-s7_PR-9 [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-9 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit be9287983f4b92c8cae0f409beca0b13e4ebd156 Merge succeeded, producing be9287983f4b92c8cae0f409beca0b13e4ebd156 Checking out Revision be9287983f4b92c8cae0f409beca0b13e4ebd156 (PR-9) > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # 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 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 Commit message: "fix: fix test process" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:58:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:58:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:58:47 ========================================================= 09:58:47 EdgeX Global Pipelines Version Info 09:58:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk ca3c6fef86d15399994874e9b28bb0d668ad098d # timeout=10 09:58:48 ------------------- 09:58:48 stable info: 09:58:48 ------------------- 09:58:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:58:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:58:48 Message: update stable to v1.0.258 09:58:50 ------------------- 09:58:50 experimental info: 09:58:50 ------------------- 09:58:50 Commited By: **** collab-it+edgex@linuxfoundation.org 09:58:50 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:58:50 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:58:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be92879 [Pipeline] echo 09:58:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:58:51 provisioning config files... 09:58:51 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config7848733207915420324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:58:52 ---> ****-login.sh 09:58:52 nexus3.edgexfoundry.org:10001 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:52 Configure a credential helper to remove this warning. See 09:58:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:52 09:58:52 Login Succeeded 09:58:52 nexus3.edgexfoundry.org:10002 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:52 Configure a credential helper to remove this warning. See 09:58:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:52 09:58:52 Login Succeeded 09:58:52 nexus3.edgexfoundry.org:10003 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:52 Configure a credential helper to remove this warning. See 09:58:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:52 09:58:52 Login Succeeded 09:58:52 nexus3.edgexfoundry.org:10004 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:52 Configure a credential helper to remove this warning. See 09:58:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:52 09:58:52 Login Succeeded 09:58:52 ****.io 09:58:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:58:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:58:53 Configure a credential helper to remove this warning. See 09:58:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:58:53 09:58:53 Login Succeeded 09:58:53 ---> ****-login.sh ends [Pipeline] } 09:58:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:58:53 + git rev-list -1 --merges be9287983f4b92c8cae0f409beca0b13e4ebd156~1..be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo 09:58:53 -----------> git rev-list -1 --merges be9287983f4b92c8cae0f409beca0b13e4ebd156~1..be9287983f4b92c8cae0f409beca0b13e4ebd156 be9287983f4b92c8cae0f409beca0b13e4ebd156 [false] [Pipeline] sh 09:58:53 + git log --format=format:%s -1 be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo 09:58:53 ========================================================= 09:58:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:58:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:58:54 + git log --format=format:%s -1 be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo 09:58:54 [semverPrep] GIT_COMMIT: be9287983f4b92c8cae0f409beca0b13e4ebd156, Commit Message: fix: fix test process [Pipeline] echo 09:58:54 [semverPrep] This is not a build commit. [Pipeline] sh 09:58:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:58:54 + grep -v github /etc/ssh/ssh_known_hosts 09:58:54 + [ -e /tmp/ssh_known_hosts ] 09:58:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:58:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:58:54 + sudo tee -a /etc/ssh/ssh_known_hosts 09:58:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:58:55 09:58:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:58:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:58:55 0.1.4: Pulling from edgex-devops/py-git-semver 09:58:55 b85a868b505f: Pulling fs layer 09:58:55 e2be974225ed: Pulling fs layer 09:58:55 339a4e72a1f5: Pulling fs layer 09:58:55 988bab9f4d93: Pulling fs layer 09:58:55 1469e6f7b9e6: Pulling fs layer 09:58:55 eaf3925da568: Pulling fs layer 09:58:55 bab4dde63d76: Pulling fs layer 09:58:55 bde34c3a00c8: Pulling fs layer 09:58:55 b352a97aabf1: Pulling fs layer 09:58:55 4872d77fe225: Pulling fs layer 09:58:55 5851b861e8e6: Pulling fs layer 09:58:55 1469e6f7b9e6: Waiting 09:58:55 bab4dde63d76: Waiting 09:58:55 4872d77fe225: Waiting 09:58:55 988bab9f4d93: Waiting 09:58:55 b352a97aabf1: Waiting 09:58:55 bde34c3a00c8: Waiting 09:58:55 5851b861e8e6: Waiting 09:58:55 eaf3925da568: Waiting 09:58:55 e2be974225ed: Download complete 09:58:55 988bab9f4d93: Verifying Checksum 09:58:55 988bab9f4d93: Download complete 09:58:55 1469e6f7b9e6: Verifying Checksum 09:58:55 1469e6f7b9e6: Download complete 09:58:55 eaf3925da568: Verifying Checksum 09:58:55 eaf3925da568: Download complete 09:58:55 339a4e72a1f5: Verifying Checksum 09:58:55 339a4e72a1f5: Download complete 09:58:55 bde34c3a00c8: Download complete 09:58:55 b352a97aabf1: Verifying Checksum 09:58:55 b352a97aabf1: Download complete 09:58:55 4872d77fe225: Verifying Checksum 09:58:55 4872d77fe225: Download complete 09:58:55 5851b861e8e6: Verifying Checksum 09:58:55 5851b861e8e6: Download complete 09:58:55 b85a868b505f: Verifying Checksum 09:58:55 b85a868b505f: Download complete 09:58:56 bab4dde63d76: Verifying Checksum 09:58:56 bab4dde63d76: Download complete 09:58:56 b85a868b505f: Pull complete 09:58:57 e2be974225ed: Pull complete 09:58:57 339a4e72a1f5: Pull complete 09:58:57 988bab9f4d93: Pull complete 09:58:58 1469e6f7b9e6: Pull complete 09:58:58 eaf3925da568: Pull complete 09:58:59 bab4dde63d76: Pull complete 09:59:00 bde34c3a00c8: Pull complete 09:59:00 b352a97aabf1: Pull complete 09:59:00 4872d77fe225: Pull complete 09:59:00 5851b861e8e6: Pull complete 09:59:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:59:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:00 prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container 09:59:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:59:04 $ docker top 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 -eo pid,comm 09:59:04 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 09:59:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:59:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:04 [ssh-agent] Looking for ssh-agent implementation... 09:59:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:04 $ docker exec 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 ssh-agent 09:59:04 SSH_AUTH_SOCK=/tmp/ssh-1QyIJarh6Ht2/agent.32 09:59:04 SSH_AGENT_PID=39 09:59:04 Running ssh-add (command line suppressed) 09:59:04 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_12350329445476230093.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_12350329445476230093.key) 09:59:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:04 + git tag --points-at HEAD [Pipeline] } 09:59:05 $ docker exec --env ******** --env ******** 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 ssh-agent -k 09:59:05 unset SSH_AUTH_SOCK; 09:59:05 unset SSH_AGENT_PID; 09:59:05 echo Agent pid 39 killed; 09:59:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:59:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:05 [ssh-agent] Looking for ssh-agent implementation... 09:59:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:05 $ docker exec 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 ssh-agent 09:59:05 SSH_AUTH_SOCK=/tmp/ssh-0TZjhdbj3Fi9/agent.70 09:59:05 SSH_AGENT_PID=76 09:59:05 Running ssh-add (command line suppressed) 09:59:05 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_15271211029361946043.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_15271211029361946043.key) 09:59:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:05 + git semver init 09:59:06 2024-02-25 09:59:06,016 [run_init] DEBUG init version:0.0.0 force:False 09:59:06 2024-02-25 09:59:06,017 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver 09:59:06 2024-02-25 09:59:06,017 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver 09:59:06 2024-02-25 09:59:06,018 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_PR-9/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9, universal_newlines=False, shell=None, istream=None) 09:59:06 2024-02-25 09:59:06,632 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude 09:59:06 2024-02-25 09:59:06,632 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 with force:False 09:59:06 2024-02-25 09:59:06,632 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 09:59:06 2024-02-25 09:59:06,636 [execute] INFO git cat-file --batch-check 09:59:06 2024-02-25 09:59:06,637 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 09:59:06 2024-02-25 09:59:06,644 [execute] INFO git cat-file --batch 09:59:06 2024-02-25 09:59:06,644 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 09:59:06 2024-02-25 09:59:06,649 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 09:59:06 0.0.0 [Pipeline] } 09:59:06 $ docker exec --env ******** --env ******** 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 ssh-agent -k 09:59:07 unset SSH_AUTH_SOCK; 09:59:07 unset SSH_AGENT_PID; 09:59:07 echo Agent pid 76 killed; 09:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:59:07 + git semver [Pipeline] } 09:59:07 $ docker stop --time=1 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 09:59:08 $ docker rm -f --volumes 2f1f085bc7751fc182b5e9b9dfbcb2981b047d7a247afb8b512d78a57f8f37f1 [Pipeline] // withDockerContainer [Pipeline] sh 09:59:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:59:09 Stashed 1 file(s) [Pipeline] echo 09:59:09 [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) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:59:09 provisioning config files... 09:59:09 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config11769915308044481049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:59:10 ---> ****-login.sh 09:59:10 nexus3.edgexfoundry.org:10001 09:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:10 Configure a credential helper to remove this warning. See 09:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:10 09:59:10 Login Succeeded 09:59:10 nexus3.edgexfoundry.org:10002 09:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:10 Configure a credential helper to remove this warning. See 09:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:10 09:59:10 Login Succeeded 09:59:10 nexus3.edgexfoundry.org:10003 09:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:10 Configure a credential helper to remove this warning. See 09:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:10 09:59:10 Login Succeeded 09:59:10 nexus3.edgexfoundry.org:10004 09:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:10 Configure a credential helper to remove this warning. See 09:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:10 09:59:10 Login Succeeded 09:59:10 ****.io 09:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:59:10 Configure a credential helper to remove this warning. See 09:59:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:59:10 09:59:10 Login Succeeded 09:59:10 ---> ****-login.sh ends [Pipeline] } 09:59:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:59:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:59:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:59:11 ========================================================= 09:59:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:59:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 09:59:11 Sending build context to Docker daemon 558.6kB 09:59:11 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:59:11 Step 2/10 : FROM ${BASE} AS builder 09:59:11 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:59:11 7264a8db6415: Pulling fs layer 09:59:11 c4d48a809fc2: Pulling fs layer 09:59:11 4f1c88b9dad5: Pulling fs layer 09:59:11 ad3a456e5733: Pulling fs layer 09:59:11 69c7f0334f64: Pulling fs layer 09:59:11 1f1c1a5573a3: Pulling fs layer 09:59:11 ce7588e14bc9: Pulling fs layer 09:59:11 b5e4710f87ac: Pulling fs layer 09:59:11 1f1c1a5573a3: Waiting 09:59:11 ce7588e14bc9: Waiting 09:59:11 b5e4710f87ac: Waiting 09:59:11 ad3a456e5733: Waiting 09:59:11 69c7f0334f64: Waiting 09:59:11 c4d48a809fc2: Verifying Checksum 09:59:11 c4d48a809fc2: Download complete 09:59:11 ad3a456e5733: Verifying Checksum 09:59:11 ad3a456e5733: Download complete 09:59:11 69c7f0334f64: Verifying Checksum 09:59:11 69c7f0334f64: Download complete 09:59:11 7264a8db6415: Download complete 09:59:11 1f1c1a5573a3: Verifying Checksum 09:59:11 1f1c1a5573a3: Download complete 09:59:11 7264a8db6415: Pull complete 09:59:11 b5e4710f87ac: Verifying Checksum 09:59:11 b5e4710f87ac: Download complete 09:59:11 c4d48a809fc2: Pull complete 09:59:11 4f1c88b9dad5: Verifying Checksum 09:59:11 4f1c88b9dad5: Download complete 09:59:12 ce7588e14bc9: Verifying Checksum 09:59:12 ce7588e14bc9: Download complete 09:59:15 4f1c88b9dad5: Pull complete 09:59:15 ad3a456e5733: Pull complete 09:59:15 69c7f0334f64: Pull complete 09:59:15 1f1c1a5573a3: Pull complete 09:59:17 ce7588e14bc9: Pull complete 09:59:18 b5e4710f87ac: Pull complete 09:59:18 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 09:59:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:59:18 ---> 88b5674ff536 09:59:18 Step 3/10 : ARG MAKE=make build 09:59:23 ---> Running in 3347825d485a 09:59:23 Removing intermediate container 3347825d485a 09:59:23 ---> 9d07385dd4cb 09:59:23 Step 4/10 : WORKDIR /device-s7 09:59:23 ---> Running in b642ed025cc3 09:59:23 Removing intermediate container b642ed025cc3 09:59:23 ---> 15c62a0471c4 09:59:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:59:23 ---> Running in 5e0d0dae6ebf 09:59:23 Removing intermediate container 5e0d0dae6ebf 09:59:23 ---> f5ff2777b32c 09:59:23 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 09:59:23 ---> Running in a9aa2f71ef43 09:59:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:59:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:59:23 OK: 264 MiB in 52 packages 09:59:24 Removing intermediate container a9aa2f71ef43 09:59:24 ---> 674a5a8b317e 09:59:24 Step 7/10 : COPY go.mod vendor* ./ 09:59:24 ---> a1524a4ba57e 09:59:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:59:24 ---> Running in 23628ce2029d 09:59:24 Still waiting to schedule task 09:59:24 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1672’ is offline 10:00:03 Removing intermediate container 23628ce2029d 10:00:03 ---> 24e7937762c5 10:00:03 Step 9/10 : COPY . . 10:00:03 ---> 54ed0df5b0f8 10:00:03 Step 10/10 : RUN ${MAKE} 10:00:03 ---> Running in 2fc61891f9f8 10:00:03 noop 10:00:03 Removing intermediate container 2fc61891f9f8 10:00:03 ---> b635327665e9 10:00:03 Successfully built b635327665e9 10:00:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:03 + docker inspect -f . ci-base-image-x86_64 10:00:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:03 prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container 10:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:00:03 $ docker top fd01e743cb508749f58ff70ba46c68a9080083a71a1283fef2d51db6019d71a4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:00:04 + go version 10:00:04 go version go1.21.0 linux/amd64 [Pipeline] } 10:00:04 $ docker stop --time=1 fd01e743cb508749f58ff70ba46c68a9080083a71a1283fef2d51db6019d71a4 10:00:05 $ docker rm -f --volumes fd01e743cb508749f58ff70ba46c68a9080083a71a1283fef2d51db6019d71a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:06 + docker inspect -f . ci-base-image-x86_64 10:00:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:06 prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container 10:00:06 $ 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-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:00:06 $ docker top a18e96f32c656392cf6a9516d3ba04b35b053fe7dfee76578f7d2e87f9723a25 -eo pid,comm [Pipeline] { [Pipeline] sh 10:00:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh 10:00:07 + make test 10:00:07 go test -race -coverprofile=coverage.out ./... 10:00:13 ? github.com/edgexfoundry/device-s7 [no test files] 10:00:25 ? github.com/edgexfoundry/device-s7/cmd [no test files] 10:00:25 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 10:00:42 go vet ./... 10:00:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:00:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:00:44 ./bin/test-attribution-txt.sh [Pipeline] echo 10:00:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:00:44 $ docker stop --time=1 a18e96f32c656392cf6a9516d3ba04b35b053fe7dfee76578f7d2e87f9723a25 10:00:49 $ docker rm -f --volumes a18e96f32c656392cf6a9516d3ba04b35b053fe7dfee76578f7d2e87f9723a25 [Pipeline] // withDockerContainer [Pipeline] sh 10:00:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:00:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:00:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:00:50 + ls -al . 10:00:50 total 136 10:00:50 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:00 . 10:00:50 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:58 .. 10:00:50 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:00 .git 10:00:50 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:58 .github 10:00:50 -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:58 .gitignore 10:00:50 -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:58 .golangci.yml 10:00:50 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:59 .semver 10:00:50 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:58 Attribution.txt 10:00:50 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:58 Dockerfile 10:00:50 -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:58 Jenkinsfile 10:00:50 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:58 LICENSE 10:00:50 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:58 Makefile 10:00:50 -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:58 OWNERS.md 10:00:50 -rw-rw-r-- 1 jenkins jenkins 2393 Feb 25 09:58 README.md 10:00:50 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:59 VERSION 10:00:50 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:58 bin 10:00:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:58 cmd 10:00:50 -rw-r--r-- 1 jenkins jenkins 13 Feb 25 10:00 coverage.out 10:00:50 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:58 go.mod 10:00:50 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:58 go.sum 10:00:50 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:58 internal 10:00:50 -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:51 + 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=be9287983f4b92c8cae0f409beca0b13e4ebd156 --label arch=amd64 --label version=0.0.0 . 10:00:51 Sending build context to Docker daemon 559.6kB 10:00:51 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 10:00:51 Step 2/24 : FROM ${BASE} AS builder 10:00:51 ---> b635327665e9 10:00:51 Step 3/24 : ARG MAKE=make build 10:00:51 ---> Running in df9bdbaed12e 10:00:51 Removing intermediate container df9bdbaed12e 10:00:51 ---> c426556ccc3a 10:00:51 Step 4/24 : WORKDIR /device-s7 10:00:51 ---> Running in e8e33204fdc7 10:00:51 Removing intermediate container e8e33204fdc7 10:00:51 ---> f41e1f478f74 10:00:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 10:00:51 ---> Running in c4c6a2eb2ca1 10:00:51 Removing intermediate container c4c6a2eb2ca1 10:00:51 ---> 8206311f855a 10:00:51 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 10:00:51 ---> Running in b545e5fa1f2f 10:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:00:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:00:52 OK: 264 MiB in 52 packages 10:00:52 Removing intermediate container b545e5fa1f2f 10:00:52 ---> f6358a80161f 10:00:52 Step 7/24 : COPY go.mod vendor* ./ 10:00:52 ---> e908b82d900c 10:00:52 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:00:52 ---> Running in cb9160f4e7ae 10:00:53 Removing intermediate container cb9160f4e7ae 10:00:53 ---> f18c99396cb5 10:00:53 Step 9/24 : COPY . . 10:00:53 ---> b217a381ef8f 10:00:53 Step 10/24 : RUN ${MAKE} 10:00:53 ---> Running in 2d9140b96417 10:00:54 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 10:01:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1674 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] ws 10:01:03 Running in /w/workspace/device-s7/7 [Pipeline] { [Pipeline] checkout 10:01:06 Selected Git installation does not exist. Using Default 10:01:06 The recommended git tool is: NONE 10:01:10 using credential edgex-jenkins-ssh 10:01:10 Cloning the remote Git repository 10:01:10 Cloning repository git@github.com:edgexfoundry/device-s7.git 10:01:10 > git init /w/workspace/device-s7/7 # timeout=10 10:01:11 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 10:01:11 > git --version # timeout=10 10:01:11 > git --version # 'git version 2.25.1' 10:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 10:01:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:01:11 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 10:01:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:01:13 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 10:01:13 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 10:01:13 using GIT_SSH to set credentials SSH Credentials for GitHub 10:01:15 Removing intermediate container 2d9140b96417 10:01:15 ---> da458eba0a71 10:01:15 Step 11/24 : FROM alpine:3.18 10:01:15 3.18: Pulling from library/alpine 10:01:15 619be1103602: Pulling fs layer 10:01:15 619be1103602: Verifying Checksum 10:01:15 619be1103602: Download complete 10:01:15 619be1103602: Pull complete 10:01:15 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 10:01:15 Status: Downloaded newer image for alpine:3.18 10:01:15 ---> d3782b16ccc9 10:01:15 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 10:01:15 ---> Running in 4429614792cc 10:01:15 Removing intermediate container 4429614792cc 10:01:15 ---> 89699cca785b 10:01:15 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:01:15 ---> Running in 1a727b1a23c3 10:01:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:01:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:01:15 (1/1) Installing dumb-init (1.2.5-r2) 10:01:15 Executing busybox-1.36.1-r5.trigger 10:01:15 OK: 7 MiB in 16 packages 10:01:16 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit be9287983f4b92c8cae0f409beca0b13e4ebd156 10:01:16 Removing intermediate container 1a727b1a23c3 10:01:16 ---> e2e971054400 10:01:16 Step 14/24 : RUN apk --no-cache upgrade 10:01:16 ---> Running in f6b7669f0759 10:01:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:01:16 > git config core.sparsecheckout # timeout=10 10:01:16 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 10:01:16 Merge succeeded, producing be9287983f4b92c8cae0f409beca0b13e4ebd156 10:01:16 Checking out Revision be9287983f4b92c8cae0f409beca0b13e4ebd156 (PR-9) 10:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 10:01:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 10:01:16 OK: 7 MiB in 16 packages 10:01:17 Removing intermediate container f6b7669f0759 10:01:17 ---> ccbe9b332757 10:01:17 Step 15/24 : WORKDIR / 10:01:17 ---> Running in 598b78be6f82 10:01:17 Removing intermediate container 598b78be6f82 10:01:17 ---> 47cbacbdadc9 10:01:17 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 10:01:17 ---> 8b58f44463c1 10:01:17 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 10:01:16 > git remote # timeout=10 10:01:16 > git config --get remote.origin.url # timeout=10 10:01:16 using GIT_SSH to set credentials SSH Credentials for GitHub 10:01:16 > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 10:01:16 > git rev-parse HEAD^{commit} # timeout=10 10:01:16 > git config core.sparsecheckout # timeout=10 10:01:16 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 10:01:18 ---> 7e272f1820bd 10:01:18 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 10:01:18 ---> dc98cb654bcb 10:01:18 Step 19/24 : EXPOSE 59994 10:01:18 ---> Running in 3ec6b41a52fa 10:01:18 Removing intermediate container 3ec6b41a52fa 10:01:18 ---> 464445fc77df 10:01:18 Step 20/24 : ENTRYPOINT ["/device-s7"] 10:01:18 ---> Running in b88cccf54bf6 10:01:18 Removing intermediate container b88cccf54bf6 10:01:18 ---> 3fe45828ddb3 10:01:18 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:01:18 ---> Running in f7d2a48fdc9c 10:01:18 Removing intermediate container f7d2a48fdc9c 10:01:18 ---> 3e6d0e7b1126 10:01:18 Step 22/24 : LABEL arch=amd64 10:01:18 ---> Running in b6409d47f057 10:01:18 Removing intermediate container b6409d47f057 10:01:18 ---> 7308d4223dc2 10:01:18 Step 23/24 : LABEL git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 10:01:18 ---> Running in 27a2d1f48484 10:01:18 Removing intermediate container 27a2d1f48484 10:01:18 ---> bca5d2960273 10:01:18 Step 24/24 : LABEL version=0.0.0 10:01:18 ---> Running in aeceee6743f8 10:01:18 Removing intermediate container aeceee6743f8 10:01:18 ---> ff491ed0eb7f 10:01:18 [Warning] One or more build-args [ARCH] were not consumed 10:01:18 Successfully built ff491ed0eb7f 10:01:18 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:19 10:01:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:19 Commit message: "fix: fix test process" 10:01:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:19 latest: Pulling from edgex-lftools-log-publisher 10:01:19 5eb5b503b376: Pulling fs layer 10:01:19 5c69ac0246d0: Pulling fs layer 10:01:19 ec43610c2a17: Pulling fs layer 10:01:19 3a2ae6a8a46f: Pulling fs layer 10:01:19 33b1e0a273af: Pulling fs layer 10:01:19 5d3b04190fa2: Pulling fs layer 10:01:19 2f39f015ded8: Pulling fs layer 10:01:19 5d3b04190fa2: Waiting 10:01:19 33b1e0a273af: Waiting 10:01:19 2f39f015ded8: Waiting 10:01:19 3a2ae6a8a46f: Waiting 10:01:19 5c69ac0246d0: Download complete 10:01:19 3a2ae6a8a46f: Verifying Checksum 10:01:19 3a2ae6a8a46f: Download complete 10:01:19 33b1e0a273af: Verifying Checksum 10:01:19 33b1e0a273af: Download complete 10:01:19 ec43610c2a17: Verifying Checksum 10:01:19 ec43610c2a17: Download complete 10:01:19 5d3b04190fa2: Verifying Checksum 10:01:19 5d3b04190fa2: Download complete 10:01:20 5eb5b503b376: Verifying Checksum 10:01:20 5eb5b503b376: Download complete 10:01:20 10:01:20 GitHub has been notified of this commit’s build result 10:01:20 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:20 2f39f015ded8: Verifying Checksum 10:01:20 2f39f015ded8: Download complete 10:01:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:01:21 % Total % Received % Xferd Average Speed Time Time Time Current 10:01:21 Dload Upload Total Spent Left Speed 10:01:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 125k 0 --:--:-- --:--:-- --:--:-- 125k [Pipeline] sh 10:01:21 5eb5b503b376: Pull complete 10:01:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:01:21 5c69ac0246d0: Pull complete 10:01:21 + sudo tee /etc/docker/daemon.new 10:01:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:01:21 { 10:01:21 "registry-mirrors": [ 10:01:21 "https://nexus3.edgexfoundry.org:10001" 10:01:21 ], 10:01:21 "bip": "10.250.0.254/24", 10:01:21 "hosts": [ 10:01:21 "tcp://0.0.0.0:5555", 10:01:21 "unix:///var/run/docker.sock" 10:01:21 ], 10:01:21 "mtu": 1458, 10:01:21 "selinux-enabled": true, 10:01:21 "seccomp-profile": "/etc/docker/seccomp.json" 10:01:21 } [Pipeline] sh 10:01:21 ec43610c2a17: Pull complete 10:01:22 3a2ae6a8a46f: Pull complete 10:01:22 33b1e0a273af: Pull complete 10:01:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:01:22 5d3b04190fa2: Pull complete 10:01:22 + sudo service docker restart 10:01:26 2f39f015ded8: Pull complete 10:01:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:01:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:26 prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container 10:01:26 $ 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-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:01:31 $ docker top c78bf97b94028f56b2ead43e1d70a854d68b1763bef8d2752813496f309d379e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:31 ---> job-cost.sh 10:01:31 lf-activate-venv: SKIPPING 10:01:31 INFO: No Stack... 10:01:32 INFO: Retrieving Pricing Info for: v3-standard-8 10:01:32 INFO: Archiving Costs [Pipeline] sh 10:01:32 + cat /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv 10:01:32 + cut -d, -f6 [Pipeline] lock 10:01:32 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] 10:01:32 Resource [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] did not exist. Created. 10:01:32 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:01:33 + echo total: 0.2199999988079071 [Pipeline] stash 10:01:33 Stashed 1 file(s) [Pipeline] } 10:01:33 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [Pipeline] // lock [Pipeline] } 10:01:33 $ docker stop --time=1 c78bf97b94028f56b2ead43e1d70a854d68b1763bef8d2752813496f309d379e 10:01:34 $ docker rm -f --volumes c78bf97b94028f56b2ead43e1d70a854d68b1763bef8d2752813496f309d379e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:40 provisioning config files... 10:01:40 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/7@tmp/config4928700740216431545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:41 ---> ****-login.sh 10:01:41 nexus3.edgexfoundry.org:10001 10:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:41 Configure a credential helper to remove this warning. See 10:01:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:41 10:01:41 Login Succeeded 10:01:41 nexus3.edgexfoundry.org:10002 10:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:42 Configure a credential helper to remove this warning. See 10:01:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:42 10:01:42 Login Succeeded 10:01:42 nexus3.edgexfoundry.org:10003 10:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:42 Configure a credential helper to remove this warning. See 10:01:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:42 10:01:42 Login Succeeded 10:01:42 nexus3.edgexfoundry.org:10004 10:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:43 Configure a credential helper to remove this warning. See 10:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:43 10:01:43 Login Succeeded 10:01:43 ****.io 10:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:43 Configure a credential helper to remove this warning. See 10:01:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:43 10:01:43 Login Succeeded 10:01:43 ---> ****-login.sh ends [Pipeline] } 10:01:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:01:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:01:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:01:44 ========================================================= 10:01:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 10:01:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:44 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 10:01:44 Sending build context to Docker daemon 419.8kB 10:01:44 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 10:01:44 Step 2/10 : FROM ${BASE} AS builder 10:01:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:01:45 9fda8d8052c6: Pulling fs layer 10:01:45 5d54e960e981: Pulling fs layer 10:01:45 c4a7e357bf2a: Pulling fs layer 10:01:45 f0e02332f6b5: Pulling fs layer 10:01:45 872ee5b61b7b: Pulling fs layer 10:01:45 0c6a40ed1a82: Pulling fs layer 10:01:45 94ae7d8d031c: Pulling fs layer 10:01:45 872ee5b61b7b: Waiting 10:01:45 0c6a40ed1a82: Waiting 10:01:45 94ae7d8d031c: Waiting 10:01:45 f0e02332f6b5: Waiting 10:01:45 5d54e960e981: Verifying Checksum 10:01:45 5d54e960e981: Download complete 10:01:45 f0e02332f6b5: Verifying Checksum 10:01:45 f0e02332f6b5: Download complete 10:01:45 872ee5b61b7b: Verifying Checksum 10:01:45 872ee5b61b7b: Download complete 10:01:45 9fda8d8052c6: Verifying Checksum 10:01:45 9fda8d8052c6: Download complete 10:01:45 94ae7d8d031c: Verifying Checksum 10:01:45 94ae7d8d031c: Download complete 10:01:45 9fda8d8052c6: Pull complete 10:01:46 5d54e960e981: Pull complete 10:01:46 c4a7e357bf2a: Verifying Checksum 10:01:46 c4a7e357bf2a: Download complete 10:01:47 0c6a40ed1a82: Verifying Checksum 10:01:47 0c6a40ed1a82: Download complete 10:02:00 c4a7e357bf2a: Pull complete 10:02:00 f0e02332f6b5: Pull complete 10:02:00 872ee5b61b7b: Pull complete 10:02:08 0c6a40ed1a82: Pull complete 10:02:09 94ae7d8d031c: Pull complete 10:02:09 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 10:02:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 10:02:09 ---> 86de565de09d 10:02:09 Step 3/10 : ARG MAKE=make build 10:02:11 ---> Running in a246b236e04a 10:02:11 Removing intermediate container a246b236e04a 10:02:11 ---> bf0978b7a999 10:02:11 Step 4/10 : WORKDIR /device-s7 10:02:11 ---> Running in 96ac11ed2b2f 10:02:12 Removing intermediate container 96ac11ed2b2f 10:02:12 ---> 4cdb15e9ea4b 10:02:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 10:02:12 ---> Running in 47633518247c 10:02:12 Removing intermediate container 47633518247c 10:02:12 ---> e5e5c3c1c794 10:02:12 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 10:02:12 ---> Running in a4c3b23f65d2 10:02:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:02:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:02:15 OK: 266 MiB in 52 packages 10:02:16 Removing intermediate container a4c3b23f65d2 10:02:16 ---> 405278393a4f 10:02:16 Step 7/10 : COPY go.mod vendor* ./ 10:02:16 ---> 3f339293c429 10:02:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:02:16 ---> Running in d4a86deb4e2f 10:03:40 Removing intermediate container d4a86deb4e2f 10:03:40 ---> b1529ec51d92 10:03:40 Step 9/10 : COPY . . 10:03:40 ---> 34fdd04d94c2 10:03:40 Step 10/10 : RUN ${MAKE} 10:03:40 ---> Running in a7c7c54791ce 10:03:40 noop 10:03:40 Removing intermediate container a7c7c54791ce 10:03:40 ---> b46edd856279 10:03:40 Successfully built b46edd856279 10:03:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:41 + docker inspect -f . ci-base-image-arm64 10:03:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:41 prd-ubuntu20.04-docker-arm64-4c-16g-1674 does not seem to be running inside a container 10:03:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:03:46 $ docker top 44c7f5116c88d822ae3e8758d6aeddf7c2601a6e1f50b8c03d15f3c277dc0e0d -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:47 + go version 10:03:47 go version go1.21.0 linux/arm64 [Pipeline] } 10:03:47 $ docker stop --time=1 44c7f5116c88d822ae3e8758d6aeddf7c2601a6e1f50b8c03d15f3c277dc0e0d 10:03:49 $ docker rm -f --volumes 44c7f5116c88d822ae3e8758d6aeddf7c2601a6e1f50b8c03d15f3c277dc0e0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:49 + docker inspect -f . ci-base-image-arm64 10:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:50 prd-ubuntu20.04-docker-arm64-4c-16g-1674 does not seem to be running inside a container 10:03:50 $ 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/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:03:51 $ docker top 34723b5fd2f469854317a37fc96ba0127310933209cd6879f78dd50556409dcc -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:51 + git config --global --add safe.directory /w/workspace/device-s7/7 [Pipeline] fileExists [Pipeline] sh 10:03:52 + make test 10:03:52 go test -race -coverprofile=coverage.out ./... 10:04:24 ? github.com/edgexfoundry/device-s7 [no test files] 10:06:05 ? github.com/edgexfoundry/device-s7/cmd [no test files] 10:06:05 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 10:06:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:06:05 go vet ./... 10:07:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:07:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:07:57 ./bin/test-attribution-txt.sh [Pipeline] echo 10:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:07:57 $ docker stop --time=1 34723b5fd2f469854317a37fc96ba0127310933209cd6879f78dd50556409dcc 10:07:59 $ docker rm -f --volumes 34723b5fd2f469854317a37fc96ba0127310933209cd6879f78dd50556409dcc [Pipeline] // withDockerContainer [Pipeline] sh 10:08:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:08:01 Warning: overwriting stash ‘coverage-report’ 10:08:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:08:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:08:02 + ls -al . 10:08:02 total 132 10:08:02 drwxrwxr-x 7 jenkins jenkins 4096 Feb 25 10:03 . 10:08:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 10:01 .. 10:08:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 10:01 .git 10:08:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:01 .github 10:08:02 -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 10:01 .gitignore 10:08:02 -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 10:01 .golangci.yml 10:08:02 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 10:01 Attribution.txt 10:08:02 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 10:01 Dockerfile 10:08:02 -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 10:01 Jenkinsfile 10:08:02 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 10:01 LICENSE 10:08:02 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 10:01 Makefile 10:08:02 -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 10:01 OWNERS.md 10:08:02 -rw-rw-r-- 1 jenkins jenkins 2393 Feb 25 10:01 README.md 10:08:02 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:59 VERSION 10:08:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 10:01 bin 10:08:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 10:01 cmd 10:08:02 -rw-r--r-- 1 jenkins jenkins 13 Feb 25 10:03 coverage.out 10:08:02 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 10:01 go.mod 10:08:02 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 10:01 go.sum 10:08:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 10:01 internal 10:08:02 -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 10:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:03 + 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=be9287983f4b92c8cae0f409beca0b13e4ebd156 --label arch=arm64 --label version=0.0.0 . 10:08:03 Sending build context to Docker daemon 420.9kB 10:08:03 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 10:08:03 Step 2/24 : FROM ${BASE} AS builder 10:08:03 ---> b46edd856279 10:08:03 Step 3/24 : ARG MAKE=make build 10:08:03 ---> Running in c7c1d77fd8cf 10:08:03 Removing intermediate container c7c1d77fd8cf 10:08:03 ---> bae8131e6132 10:08:03 Step 4/24 : WORKDIR /device-s7 10:08:03 ---> Running in d92745b7425c 10:08:04 Removing intermediate container d92745b7425c 10:08:04 ---> 3b1415455697 10:08:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 10:08:04 ---> Running in 946019cb8fec 10:08:04 Removing intermediate container 946019cb8fec 10:08:04 ---> 5538bbd6b18f 10:08:04 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 10:08:04 ---> Running in b2e90e9416bf 10:08:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:08:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:08:06 OK: 266 MiB in 52 packages 10:08:07 Removing intermediate container b2e90e9416bf 10:08:07 ---> 751a7ff0d295 10:08:07 Step 7/24 : COPY go.mod vendor* ./ 10:08:11 ---> 2f1386aca86a 10:08:11 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:08:11 ---> Running in 03c305c17d02 10:08:13 Removing intermediate container 03c305c17d02 10:08:13 ---> 500b3f0637f2 10:08:13 Step 9/24 : COPY . . 10:08:14 ---> 178df3920d4c 10:08:14 Step 10/24 : RUN ${MAKE} 10:08:14 ---> Running in 91709a29cb2f 10:08:15 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 10:10:07 Removing intermediate container 91709a29cb2f 10:10:07 ---> 79cc6dc1e9f6 10:10:07 Step 11/24 : FROM alpine:3.18 10:10:07 3.18: Pulling from library/alpine 10:10:07 c6b39de5b339: Pulling fs layer 10:10:07 c6b39de5b339: Download complete 10:10:07 c6b39de5b339: Pull complete 10:10:07 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 10:10:07 Status: Downloaded newer image for alpine:3.18 10:10:07 ---> 33abbf032149 10:10:07 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 10:10:07 ---> Running in 212d76220c2d 10:10:07 Removing intermediate container 212d76220c2d 10:10:07 ---> e6831ac7a573 10:10:07 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:10:07 ---> Running in 7b5c90396ae3 10:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:10:07 (1/1) Installing dumb-init (1.2.5-r2) 10:10:07 Executing busybox-1.36.1-r5.trigger 10:10:07 OK: 8 MiB in 16 packages 10:10:07 Removing intermediate container 7b5c90396ae3 10:10:07 ---> 55d66df3ef7b 10:10:07 Step 14/24 : RUN apk --no-cache upgrade 10:10:07 ---> Running in 72ee9b83486f 10:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 10:10:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 10:10:07 OK: 8 MiB in 16 packages 10:10:07 Removing intermediate container 72ee9b83486f 10:10:07 ---> c77938e6b315 10:10:07 Step 15/24 : WORKDIR / 10:10:07 ---> Running in f94500474a57 10:10:07 Removing intermediate container f94500474a57 10:10:07 ---> bccb5d9f583c 10:10:07 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 10:10:10 ---> d3c13bd60dd7 10:10:10 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 10:10:12 ---> 6947b943e537 10:10:12 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 10:10:12 ---> d88fdab4f3c3 10:10:12 Step 19/24 : EXPOSE 59994 10:10:12 ---> Running in 9bbaa89b5436 10:10:12 Removing intermediate container 9bbaa89b5436 10:10:12 ---> e2c53fa4c139 10:10:12 Step 20/24 : ENTRYPOINT ["/device-s7"] 10:10:12 ---> Running in 7a579275e616 10:10:13 Removing intermediate container 7a579275e616 10:10:13 ---> fbbf2f7c8a2f 10:10:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:10:13 ---> Running in 30c67e99b262 10:10:13 Removing intermediate container 30c67e99b262 10:10:13 ---> c22ff8e4d2aa 10:10:13 Step 22/24 : LABEL arch=arm64 10:10:13 ---> Running in 58beacd1e239 10:10:14 Removing intermediate container 58beacd1e239 10:10:14 ---> 668dae81eb8d 10:10:14 Step 23/24 : LABEL git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 10:10:14 ---> Running in 5cb2276f45d7 10:10:14 Removing intermediate container 5cb2276f45d7 10:10:14 ---> 53b95aeca011 10:10:14 Step 24/24 : LABEL version=0.0.0 10:10:14 ---> Running in 422127dd7479 10:10:14 Removing intermediate container 422127dd7479 10:10:14 ---> 034e4cf14991 10:10:14 [Warning] One or more build-args [ARCH] were not consumed 10:10:14 Successfully built 034e4cf14991 10:10:14 Successfully tagged device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:15 10:10:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:15 arm64: Pulling from edgex-lftools-log-publisher 10:10:15 8998bd30e6a1: Pulling fs layer 10:10:15 04944245beec: Pulling fs layer 10:10:15 699f458cf7ca: Pulling fs layer 10:10:15 765212b225bb: Pulling fs layer 10:10:15 f23df028b6ca: Pulling fs layer 10:10:15 d65c8cfc05b1: Pulling fs layer 10:10:15 2437ff75d9bd: Pulling fs layer 10:10:15 765212b225bb: Waiting 10:10:15 d65c8cfc05b1: Waiting 10:10:15 2437ff75d9bd: Waiting 10:10:15 f23df028b6ca: Waiting 10:10:16 04944245beec: Verifying Checksum 10:10:16 04944245beec: Download complete 10:10:16 765212b225bb: Download complete 10:10:16 f23df028b6ca: Verifying Checksum 10:10:16 f23df028b6ca: Download complete 10:10:16 d65c8cfc05b1: Verifying Checksum 10:10:16 d65c8cfc05b1: Download complete 10:10:16 699f458cf7ca: Verifying Checksum 10:10:16 699f458cf7ca: Download complete 10:10:16 8998bd30e6a1: Verifying Checksum 10:10:16 8998bd30e6a1: Download complete 10:10:19 2437ff75d9bd: Verifying Checksum 10:10:21 8998bd30e6a1: Pull complete 10:10:21 04944245beec: Pull complete 10:10:25 699f458cf7ca: Pull complete 10:10:25 765212b225bb: Pull complete 10:10:25 f23df028b6ca: Pull complete 10:10:25 d65c8cfc05b1: Pull complete 10:10:43 2437ff75d9bd: Pull complete 10:10:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:10:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:10:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:44 prd-ubuntu20.04-docker-arm64-4c-16g-1674 does not seem to be running inside a container 10:10:44 $ 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/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:10:46 $ docker top c050773fabe7d0a442343bd4e11310c88f376b523f325e697fdf9e4fbd7a8bc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:47 ---> job-cost.sh 10:10:47 lf-activate-venv: SKIPPING 10:10:47 INFO: No Stack... 10:10:48 INFO: Retrieving Pricing Info for: v3-standard-4 10:10:49 INFO: Archiving Costs [Pipeline] sh 10:10:49 + cat /w/workspace/device-s7/7/archives/cost.csv 10:10:49 + cut -d, -f6 [Pipeline] lock 10:10:49 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] 10:10:49 Resource [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] did not exist. Created. 10:10:49 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:10:50 /w/workspace/device-s7/7@tmp/durable-92df4fd3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:10:50 + echo total: 0.10999999940395355 [Pipeline] stash 10:10:50 Warning: overwriting stash ‘stack-cost’ 10:10:50 Stashed 1 file(s) [Pipeline] } 10:10:50 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-7-stack-cost] [Pipeline] // lock [Pipeline] } 10:10:50 $ docker stop --time=1 c050773fabe7d0a442343bd4e11310c88f376b523f325e697fdf9e4fbd7a8bc8 10:10:55 $ docker rm -f --volumes c050773fabe7d0a442343bd4e11310c88f376b523f325e697fdf9e4fbd7a8bc8 [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 10:10:56 provisioning config files... 10:10:56 not able to provide the file [ManagedFile: id=device-s7-codecov-token, targetLocation=null, variable=CODECOV_TOKEN_FILE], can't be resolved by any provider - maybe it got deleted by an administrator? [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:10:58 + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] 10:10:58 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 10:10:58 total 16 10:10:58 drwxr-xr-x 3 root root 4096 Feb 25 10:01 . 10:10:58 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 10:01 .. 10:10:58 drwxr-xr-x 2 root root 4096 Feb 25 10:01 cost 10:10:58 -rw-r--r-- 1 root root 79 Feb 25 10:01 cost.csv 10:10:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives 10:10:58 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 10:10:58 total 16 10:10:58 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 10:01 . 10:10:58 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 10:01 .. 10:10:58 drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 10:01 cost 10:10:58 -rw-r--r-- 1 jenkins jenkins 79 Feb 25 10:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:10:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:10:59 ---> package-listing.sh 10:10:59 ++ facter osfamily 10:10:59 ++ tr '[:upper:]' '[:lower:]' 10:10:59 + OS_FAMILY=debian 10:10:59 + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 10:10:59 + START_PACKAGES=/tmp/packages_start.txt 10:10:59 + END_PACKAGES=/tmp/packages_end.txt 10:10:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:10:59 + PACKAGES=/tmp/packages_start.txt 10:10:59 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 10:10:59 + PACKAGES=/tmp/packages_end.txt 10:10:59 + case "${OS_FAMILY}" in 10:10:59 + grep '^ii' 10:10:59 + dpkg -l 10:10:59 + '[' -f /tmp/packages_start.txt ']' 10:10:59 + '[' -f /tmp/packages_end.txt ']' 10:10:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:10:59 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 10:10:59 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ 10:10:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [Pipeline] echo 10:10:59 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-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:11:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:00 prd-ubuntu20.04-docker-8c-8g-1673 does not seem to be running inside a container 10:11:00 $ 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-9/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-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:11:01 $ docker top d4ac70d69dd50c09686a492fb9591ab6e009ff865a6a23c175c8fa0767c9c190 -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:01 + touch /tmp/pre-build-complete [Pipeline] sh 10:11:01 + mkdir -p /var/log/sysstat [Pipeline] sh 10:11:02 + ls /var/log/sa-host 10:11:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:11:02 provisioning config files... 10:11:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config15545203878816134195tmp [Pipeline] { [Pipeline] echo 10:11:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:11:02 ---> create-netrc.sh [Pipeline] } 10:11:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:11:02 ---> python-tools-install.sh [Pipeline] echo 10:11:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:11:03 ---> sudo-logs.sh 10:11:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:11:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:11:03 ---> job-cost.sh 10:11:03 lf-activate-venv: SKIPPING 10:11:03 DEBUG: total: 0.2199999988079071 10:11:03 INFO: Retrieving Stack Cost... 10:11:03 INFO: Retrieving Pricing Info for: v3-standard-8 10:11:04 INFO: Archiving Costs [Pipeline] echo 10:11:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:11:04 ---> logs-deploy.sh 10:11:04 lf-activate-venv: SKIPPING 10:11:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/7 10:11:04 INFO: archiving workspace using pattern(s): 10:11:05 Archives upload complete. 10:11:05 INFO: archiving logs to Nexus