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 ca3c6fef86d15399994874e9b28bb0d668ad098d 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-ssh870737884983604334.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-ssh6494915586529130904.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-ssh14616579841992217558.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-ssh1872742935712658613.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-ssh12493329727388925082.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-1669’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1671 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 ca3c6fef86d15399994874e9b28bb0d668ad098d Merge succeeded, producing ca3c6fef86d15399994874e9b28bb0d668ad098d Checking out Revision ca3c6fef86d15399994874e9b28bb0d668ad098d (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 ca3c6fef86d15399994874e9b28bb0d668ad098d # 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 ca3c6fef86d15399994874e9b28bb0d668ad098d # 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:42:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:42:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:42:01 ========================================================= 09:42:01 EdgeX Global Pipelines Version Info 09:42:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d0b3b46500a58795089dcd695830f2888fc472e1 # timeout=10 09:42:02 ------------------- 09:42:02 stable info: 09:42:02 ------------------- 09:42:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:42:02 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:42:02 Message: update stable to v1.0.258 09:42:03 ------------------- 09:42:03 experimental info: 09:42:03 ------------------- 09:42:03 Commited By: **** collab-it+edgex@linuxfoundation.org 09:42:03 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 09:42:03 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:42:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:42:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:42:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:42:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:42:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo 09:42:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo 09:42:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo 09:42:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca3c6fef86d15399994874e9b28bb0d668ad098d [Pipeline] echo 09:42:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca3c6fe [Pipeline] echo 09:42:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:42:04 provisioning config files... 09:42:04 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config8172413848314554536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:04 ---> ****-login.sh 09:42:04 nexus3.edgexfoundry.org:10001 09:42:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:05 Configure a credential helper to remove this warning. See 09:42:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:05 09:42:05 Login Succeeded 09:42:05 nexus3.edgexfoundry.org:10002 09:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:05 Configure a credential helper to remove this warning. See 09:42:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:05 09:42:05 Login Succeeded 09:42:05 nexus3.edgexfoundry.org:10003 09:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:05 Configure a credential helper to remove this warning. See 09:42:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:05 09:42:05 Login Succeeded 09:42:05 nexus3.edgexfoundry.org:10004 09:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:05 Configure a credential helper to remove this warning. See 09:42:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:05 09:42:05 Login Succeeded 09:42:05 ****.io 09:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:05 Configure a credential helper to remove this warning. See 09:42:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:05 09:42:05 Login Succeeded 09:42:05 ---> ****-login.sh ends [Pipeline] } 09:42:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:42:06 + git rev-list -1 --merges ca3c6fef86d15399994874e9b28bb0d668ad098d~1..ca3c6fef86d15399994874e9b28bb0d668ad098d [Pipeline] echo 09:42:06 -----------> git rev-list -1 --merges ca3c6fef86d15399994874e9b28bb0d668ad098d~1..ca3c6fef86d15399994874e9b28bb0d668ad098d ca3c6fef86d15399994874e9b28bb0d668ad098d [false] [Pipeline] sh 09:42:06 + git log --format=format:%s -1 ca3c6fef86d15399994874e9b28bb0d668ad098d [Pipeline] echo 09:42:06 ========================================================= 09:42:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:42:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:42:06 + git log --format=format:%s -1 ca3c6fef86d15399994874e9b28bb0d668ad098d [Pipeline] echo 09:42:06 [semverPrep] GIT_COMMIT: ca3c6fef86d15399994874e9b28bb0d668ad098d, Commit Message: fix: fix test process [Pipeline] echo 09:42:07 [semverPrep] This is not a build commit. [Pipeline] sh 09:42:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:42:07 + grep -v github /etc/ssh/ssh_known_hosts 09:42:07 + [ -e /tmp/ssh_known_hosts ] 09:42:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:42:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:42:07 + sudo tee -a /etc/ssh/ssh_known_hosts 09:42:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:42:07 09:42:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:42:08 0.1.4: Pulling from edgex-devops/py-git-semver 09:42:08 b85a868b505f: Pulling fs layer 09:42:08 e2be974225ed: Pulling fs layer 09:42:08 339a4e72a1f5: Pulling fs layer 09:42:08 988bab9f4d93: Pulling fs layer 09:42:08 1469e6f7b9e6: Pulling fs layer 09:42:08 eaf3925da568: Pulling fs layer 09:42:08 bab4dde63d76: Pulling fs layer 09:42:08 bde34c3a00c8: Pulling fs layer 09:42:08 b352a97aabf1: Pulling fs layer 09:42:08 4872d77fe225: Pulling fs layer 09:42:08 5851b861e8e6: Pulling fs layer 09:42:08 bde34c3a00c8: Waiting 09:42:08 988bab9f4d93: Waiting 09:42:08 bab4dde63d76: Waiting 09:42:08 eaf3925da568: Waiting 09:42:08 4872d77fe225: Waiting 09:42:08 5851b861e8e6: Waiting 09:42:08 b352a97aabf1: Waiting 09:42:08 1469e6f7b9e6: Waiting 09:42:08 e2be974225ed: Verifying Checksum 09:42:08 e2be974225ed: Download complete 09:42:08 988bab9f4d93: Verifying Checksum 09:42:08 988bab9f4d93: Download complete 09:42:08 1469e6f7b9e6: Verifying Checksum 09:42:08 1469e6f7b9e6: Download complete 09:42:08 eaf3925da568: Verifying Checksum 09:42:08 eaf3925da568: Download complete 09:42:08 339a4e72a1f5: Verifying Checksum 09:42:08 339a4e72a1f5: Download complete 09:42:08 bde34c3a00c8: Verifying Checksum 09:42:08 bde34c3a00c8: Download complete 09:42:08 b352a97aabf1: Download complete 09:42:08 4872d77fe225: Download complete 09:42:08 5851b861e8e6: Verifying Checksum 09:42:08 5851b861e8e6: Download complete 09:42:08 b85a868b505f: Verifying Checksum 09:42:08 b85a868b505f: Download complete 09:42:08 bab4dde63d76: Verifying Checksum 09:42:08 bab4dde63d76: Download complete 09:42:09 b85a868b505f: Pull complete 09:42:09 e2be974225ed: Pull complete 09:42:10 339a4e72a1f5: Pull complete 09:42:10 988bab9f4d93: Pull complete 09:42:10 1469e6f7b9e6: Pull complete 09:42:10 eaf3925da568: Pull complete 09:42:12 bab4dde63d76: Pull complete 09:42:12 bde34c3a00c8: Pull complete 09:42:12 b352a97aabf1: Pull complete 09:42:12 4872d77fe225: Pull complete 09:42:12 5851b861e8e6: Pull complete 09:42:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:42:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:42:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:42:13 prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container 09:42:13 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:42:16 $ docker top 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 -eo pid,comm 09:42:16 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:42:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:42:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:42:16 [ssh-agent] Looking for ssh-agent implementation... 09:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:42:17 $ docker exec 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 ssh-agent 09:42:17 SSH_AUTH_SOCK=/tmp/ssh-svhwCi7ERIiI/agent.32 09:42:17 SSH_AGENT_PID=38 09:42:17 Running ssh-add (command line suppressed) 09:42:17 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_2164123207382582503.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_2164123207382582503.key) 09:42:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:42:17 + git tag --points-at HEAD [Pipeline] } 09:42:17 $ docker exec --env ******** --env ******** 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 ssh-agent -k 09:42:17 unset SSH_AUTH_SOCK; 09:42:17 unset SSH_AGENT_PID; 09:42:17 echo Agent pid 38 killed; 09:42:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:42:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:42:17 [ssh-agent] Looking for ssh-agent implementation... 09:42:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:42:17 $ docker exec 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 ssh-agent 09:42:17 SSH_AUTH_SOCK=/tmp/ssh-PpuCKRUptMRM/agent.70 09:42:17 SSH_AGENT_PID=76 09:42:17 Running ssh-add (command line suppressed) 09:42:18 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_10858733453497660163.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_10858733453497660163.key) 09:42:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:42:18 + git semver init 09:42:18 2024-02-25 09:42:18,561 [run_init] DEBUG init version:0.0.0 force:False 09:42:18 2024-02-25 09:42:18,561 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver 09:42:18 2024-02-25 09:42:18,562 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver 09:42:18 2024-02-25 09:42:18,562 [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:42:19 2024-02-25 09:42:19,166 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude 09:42:19 2024-02-25 09:42:19,167 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 with force:False 09:42:19 2024-02-25 09:42:19,167 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 09:42:19 2024-02-25 09:42:19,171 [execute] INFO git cat-file --batch-check 09:42:19 2024-02-25 09:42:19,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 09:42:19 2024-02-25 09:42:19,178 [execute] INFO git cat-file --batch 09:42:19 2024-02-25 09:42:19,178 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 09:42:19 2024-02-25 09:42:19,183 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 09:42:19 0.0.0 [Pipeline] } 09:42:19 $ docker exec --env ******** --env ******** 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 ssh-agent -k 09:42:19 unset SSH_AUTH_SOCK; 09:42:19 unset SSH_AGENT_PID; 09:42:19 echo Agent pid 76 killed; 09:42:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:42:19 + git semver [Pipeline] } 09:42:19 $ docker stop --time=1 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 09:42:21 $ docker rm -f --volumes 80ad7e244a7e8537f63101cf736414378ae979505f6c38986e004cc83b6ac553 [Pipeline] // withDockerContainer [Pipeline] sh 09:42:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:42:21 Stashed 1 file(s) [Pipeline] echo 09:42:21 [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:42:22 provisioning config files... 09:42:22 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config16147346369630214985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:42:22 ---> ****-login.sh 09:42:22 nexus3.edgexfoundry.org:10001 09:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:22 Configure a credential helper to remove this warning. See 09:42:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:22 09:42:22 Login Succeeded 09:42:22 nexus3.edgexfoundry.org:10002 09:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:22 Configure a credential helper to remove this warning. See 09:42:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:22 09:42:22 Login Succeeded 09:42:22 nexus3.edgexfoundry.org:10003 09:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:22 Configure a credential helper to remove this warning. See 09:42:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:22 09:42:22 Login Succeeded 09:42:22 nexus3.edgexfoundry.org:10004 09:42:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:22 Configure a credential helper to remove this warning. See 09:42:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:22 09:42:22 Login Succeeded 09:42:22 ****.io 09:42:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:42:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:42:23 Configure a credential helper to remove this warning. See 09:42:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:42:23 09:42:23 Login Succeeded 09:42:23 ---> ****-login.sh ends [Pipeline] } 09:42:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:42:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:42:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:42:23 ========================================================= 09:42:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 09:42:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:42:23 + 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:42:23 Sending build context to Docker daemon 557.6kB 09:42:23 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:42:23 Step 2/10 : FROM ${BASE} AS builder 09:42:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 09:42:23 7264a8db6415: Pulling fs layer 09:42:23 c4d48a809fc2: Pulling fs layer 09:42:23 4f1c88b9dad5: Pulling fs layer 09:42:23 ad3a456e5733: Pulling fs layer 09:42:23 69c7f0334f64: Pulling fs layer 09:42:23 1f1c1a5573a3: Pulling fs layer 09:42:23 ce7588e14bc9: Pulling fs layer 09:42:23 b5e4710f87ac: Pulling fs layer 09:42:23 69c7f0334f64: Waiting 09:42:23 1f1c1a5573a3: Waiting 09:42:23 ce7588e14bc9: Waiting 09:42:23 b5e4710f87ac: Waiting 09:42:23 ad3a456e5733: Waiting 09:42:23 c4d48a809fc2: Download complete 09:42:23 ad3a456e5733: Verifying Checksum 09:42:23 ad3a456e5733: Download complete 09:42:23 69c7f0334f64: Verifying Checksum 09:42:23 69c7f0334f64: Download complete 09:42:23 7264a8db6415: Verifying Checksum 09:42:23 7264a8db6415: Download complete 09:42:24 1f1c1a5573a3: Verifying Checksum 09:42:24 1f1c1a5573a3: Download complete 09:42:24 7264a8db6415: Pull complete 09:42:24 b5e4710f87ac: Verifying Checksum 09:42:24 b5e4710f87ac: Download complete 09:42:24 c4d48a809fc2: Pull complete 09:42:24 4f1c88b9dad5: Verifying Checksum 09:42:24 4f1c88b9dad5: Download complete 09:42:24 ce7588e14bc9: Verifying Checksum 09:42:24 ce7588e14bc9: Download complete 09:42:28 4f1c88b9dad5: Pull complete 09:42:28 ad3a456e5733: Pull complete 09:42:28 69c7f0334f64: Pull complete 09:42:28 1f1c1a5573a3: Pull complete 09:42:30 ce7588e14bc9: Pull complete 09:42:30 b5e4710f87ac: Pull complete 09:42:30 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 09:42:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 09:42:30 ---> 88b5674ff536 09:42:30 Step 3/10 : ARG MAKE=make build 09:42:34 ---> Running in 67af98768409 09:42:34 Removing intermediate container 67af98768409 09:42:34 ---> 61bf9146954c 09:42:34 Step 4/10 : WORKDIR /device-s7 09:42:34 ---> Running in 9077ae838be1 09:42:34 Removing intermediate container 9077ae838be1 09:42:34 ---> b88b9d209240 09:42:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:42:34 ---> Running in c1202f677b8c 09:42:34 Removing intermediate container c1202f677b8c 09:42:34 ---> f670b4871d34 09:42:34 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 09:42:34 ---> Running in a5a14cb8816f 09:42:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:42:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:42:35 OK: 264 MiB in 52 packages 09:42:35 Removing intermediate container a5a14cb8816f 09:42:35 ---> 602c8587be55 09:42:35 Step 7/10 : COPY go.mod vendor* ./ 09:42:36 ---> 9ea33c6018be 09:42:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:42:36 ---> Running in 942173a0556d 09:42:37 Still waiting to schedule task 09:42:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:43:33 Removing intermediate container 942173a0556d 09:43:33 ---> 41b42f70cedf 09:43:33 Step 9/10 : COPY . . 09:43:33 ---> 9024eccff9ae 09:43:33 Step 10/10 : RUN ${MAKE} 09:43:33 ---> Running in 9d3fa94688ca 09:43:33 noop 09:43:33 Removing intermediate container 9d3fa94688ca 09:43:33 ---> be2bec2009bf 09:43:33 Successfully built be2bec2009bf 09:43:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:33 + docker inspect -f . ci-base-image-x86_64 09:43:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:33 prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container 09:43:33 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:43:34 $ docker top 0043c4ee60c6d0645135d9f3e4bba7e351fe771b10d552ecfd5bc82f52a522ae -eo pid,comm [Pipeline] { [Pipeline] sh 09:43:34 + go version 09:43:34 go version go1.21.0 linux/amd64 [Pipeline] } 09:43:34 $ docker stop --time=1 0043c4ee60c6d0645135d9f3e4bba7e351fe771b10d552ecfd5bc82f52a522ae 09:43:35 $ docker rm -f --volumes 0043c4ee60c6d0645135d9f3e4bba7e351fe771b10d552ecfd5bc82f52a522ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:36 + docker inspect -f . ci-base-image-x86_64 09:43:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:43:36 prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container 09:43:36 $ 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 ******** -e ******** ci-base-image-x86_64 cat 09:43:36 $ docker top 79933fca71c180ac40e1afa5c619b562e9a8a07c130f5acb176cf8018cb38e17 -eo pid,comm [Pipeline] { [Pipeline] sh 09:43:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh 09:43:37 + make test 09:43:37 go test -race -coverprofile=coverage.out ./... 09:43:44 ? github.com/edgexfoundry/device-s7 [no test files] 09:43:56 ? github.com/edgexfoundry/device-s7/cmd [no test files] 09:43:56 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 09:44:14 go vet ./... 09:44:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:44:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:44:17 ./bin/test-attribution-txt.sh [Pipeline] echo 09:44:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:44:17 $ docker stop --time=1 79933fca71c180ac40e1afa5c619b562e9a8a07c130f5acb176cf8018cb38e17 09:44:22 $ docker rm -f --volumes 79933fca71c180ac40e1afa5c619b562e9a8a07c130f5acb176cf8018cb38e17 [Pipeline] // withDockerContainer [Pipeline] sh 09:44:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:44:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:44:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:44:23 + ls -al . 09:44:23 total 136 09:44:23 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:43 . 09:44:23 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:41 .. 09:44:23 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:43 .git 09:44:23 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:41 .github 09:44:23 -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:41 .gitignore 09:44:23 -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:41 .golangci.yml 09:44:23 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:42 .semver 09:44:23 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:41 Attribution.txt 09:44:23 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:41 Dockerfile 09:44:23 -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:41 Jenkinsfile 09:44:23 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:41 LICENSE 09:44:23 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:41 Makefile 09:44:23 -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:41 OWNERS.md 09:44:23 -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 09:41 README.md 09:44:23 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:42 VERSION 09:44:23 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:41 bin 09:44:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:41 cmd 09:44:23 -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:43 coverage.out 09:44:23 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:41 go.mod 09:44:23 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:41 go.sum 09:44:23 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:41 internal 09:44:23 -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:24 + 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=ca3c6fef86d15399994874e9b28bb0d668ad098d --label arch=amd64 --label version=0.0.0 . 09:44:24 Sending build context to Docker daemon 558.6kB 09:44:24 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 09:44:24 Step 2/24 : FROM ${BASE} AS builder 09:44:24 ---> be2bec2009bf 09:44:24 Step 3/24 : ARG MAKE=make build 09:44:24 ---> Running in 5d9edacd4c16 09:44:24 Removing intermediate container 5d9edacd4c16 09:44:24 ---> 7578db6e49f9 09:44:24 Step 4/24 : WORKDIR /device-s7 09:44:24 ---> Running in 10cc9330c829 09:44:24 Removing intermediate container 10cc9330c829 09:44:24 ---> 51a4032ca63d 09:44:24 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:44:24 ---> Running in 71447cb142a9 09:44:24 Removing intermediate container 71447cb142a9 09:44:24 ---> f336d6760563 09:44:24 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 09:44:24 ---> Running in 2b7215a4da44 09:44:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:44:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:44:25 OK: 264 MiB in 52 packages 09:44:26 Removing intermediate container 2b7215a4da44 09:44:26 ---> 1713f5e1cb44 09:44:26 Step 7/24 : COPY go.mod vendor* ./ 09:44:26 ---> 0381ab468fd1 09:44:26 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:44:26 ---> Running in 30fe45a3521b 09:44:26 Removing intermediate container 30fe45a3521b 09:44:26 ---> c83e91d2a4de 09:44:26 Step 9/24 : COPY . . 09:44:27 ---> 94ea7a74b52a 09:44:27 Step 10/24 : RUN ${MAKE} 09:44:27 ---> Running in df37ac47475e 09:44:27 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 09:44:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1672 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] ws 09:44:32 Running in /w/workspace/device-s7/6 [Pipeline] { [Pipeline] checkout 09:44:35 Selected Git installation does not exist. Using Default 09:44:35 The recommended git tool is: NONE 09:44:45 using credential edgex-jenkins-ssh 09:44:45 Cloning the remote Git repository 09:44:45 Cloning repository git@github.com:edgexfoundry/device-s7.git 09:44:46 > git init /w/workspace/device-s7/6 # timeout=10 09:44:46 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 09:44:46 > git --version # timeout=10 09:44:46 > git --version # 'git version 2.25.1' 09:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:47 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 09:44:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:48 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 09:44:48 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 09:44:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:48 > 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 09:44:49 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit ca3c6fef86d15399994874e9b28bb0d668ad098d 09:44:49 Merge succeeded, producing ca3c6fef86d15399994874e9b28bb0d668ad098d 09:44:49 Checking out Revision ca3c6fef86d15399994874e9b28bb0d668ad098d (PR-9) 09:44:50 Removing intermediate container df37ac47475e 09:44:50 ---> 18f638cb7cc7 09:44:50 Step 11/24 : FROM alpine:3.18 09:44:50 3.18: Pulling from library/alpine 09:44:50 619be1103602: Pulling fs layer 09:44:50 619be1103602: Verifying Checksum 09:44:50 619be1103602: Download complete 09:44:50 619be1103602: Pull complete 09:44:50 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:44:50 Status: Downloaded newer image for alpine:3.18 09:44:50 ---> d3782b16ccc9 09:44:50 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:44:50 ---> Running in 8d19fc72e1a1 09:44:50 Removing intermediate container 8d19fc72e1a1 09:44:50 ---> 4a6b478f528a 09:44:50 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:44:50 ---> Running in 81f839b8bb34 09:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:44:50 (1/1) Installing dumb-init (1.2.5-r2) 09:44:50 Executing busybox-1.36.1-r5.trigger 09:44:50 OK: 7 MiB in 16 packages 09:44:50 Removing intermediate container 81f839b8bb34 09:44:50 ---> 21cb8d1a225f 09:44:50 Step 14/24 : RUN apk --no-cache upgrade 09:44:50 ---> Running in 46ff7b5bc199 09:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:44:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:44:50 OK: 7 MiB in 16 packages 09:44:50 Removing intermediate container 46ff7b5bc199 09:44:50 ---> 4540e40ae788 09:44:50 Step 15/24 : WORKDIR / 09:44:50 ---> Running in 0c914b2d7591 09:44:50 Removing intermediate container 0c914b2d7591 09:44:50 ---> 9fbab29b6552 09:44:50 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 09:44:50 ---> 989b7e4bc50e 09:44:50 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 09:44:49 > git config core.sparsecheckout # timeout=10 09:44:49 > git checkout -f ca3c6fef86d15399994874e9b28bb0d668ad098d # timeout=10 09:44:49 > git remote # timeout=10 09:44:49 > git config --get remote.origin.url # timeout=10 09:44:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:49 > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 09:44:49 > git rev-parse HEAD^{commit} # timeout=10 09:44:49 > git config core.sparsecheckout # timeout=10 09:44:49 > git checkout -f ca3c6fef86d15399994874e9b28bb0d668ad098d # timeout=10 09:44:50 ---> 3c42905901d0 09:44:50 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 09:44:50 ---> 4ef6e1eda74f 09:44:50 Step 19/24 : EXPOSE 59994 09:44:50 ---> Running in 0135bf77611a 09:44:50 Removing intermediate container 0135bf77611a 09:44:50 ---> 61b81962042b 09:44:50 Step 20/24 : ENTRYPOINT ["/device-s7"] 09:44:50 ---> Running in 6a7769537031 09:44:50 Removing intermediate container 6a7769537031 09:44:50 ---> 1e2d8f7550ca 09:44:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:44:50 ---> Running in d2a2e5e4b684 09:44:50 Removing intermediate container d2a2e5e4b684 09:44:50 ---> 3737c9105645 09:44:50 Step 22/24 : LABEL arch=amd64 09:44:50 ---> Running in 276e5e8b7808 09:44:50 Removing intermediate container 276e5e8b7808 09:44:50 ---> 89e3f0208600 09:44:50 Step 23/24 : LABEL git_sha=ca3c6fef86d15399994874e9b28bb0d668ad098d 09:44:51 ---> Running in 5ee1041bf9c9 09:44:51 Removing intermediate container 5ee1041bf9c9 09:44:51 ---> b2b0961d8809 09:44:51 Step 24/24 : LABEL version=0.0.0 09:44:51 ---> Running in 0d86166e446e 09:44:51 Removing intermediate container 0d86166e446e 09:44:51 ---> cb04ae2a1225 09:44:51 [Warning] One or more build-args [ARCH] were not consumed 09:44:51 Successfully built cb04ae2a1225 09:44:51 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 09:44:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:51 09:44:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:52 latest: Pulling from edgex-lftools-log-publisher 09:44:52 5eb5b503b376: Pulling fs layer 09:44:52 5c69ac0246d0: Pulling fs layer 09:44:52 ec43610c2a17: Pulling fs layer 09:44:52 3a2ae6a8a46f: Pulling fs layer 09:44:52 33b1e0a273af: Pulling fs layer 09:44:52 5d3b04190fa2: Pulling fs layer 09:44:52 2f39f015ded8: Pulling fs layer 09:44:52 33b1e0a273af: Waiting 09:44:52 5d3b04190fa2: Waiting 09:44:52 2f39f015ded8: Waiting 09:44:52 3a2ae6a8a46f: Waiting 09:44:52 5c69ac0246d0: Download complete 09:44:52 3a2ae6a8a46f: Verifying Checksum 09:44:52 3a2ae6a8a46f: Download complete 09:44:52 33b1e0a273af: Verifying Checksum 09:44:52 33b1e0a273af: Download complete 09:44:52 ec43610c2a17: Verifying Checksum 09:44:52 ec43610c2a17: Download complete 09:44:52 5d3b04190fa2: Verifying Checksum 09:44:52 5d3b04190fa2: Download complete 09:44:52 5eb5b503b376: Verifying Checksum 09:44:52 5eb5b503b376: Download complete 09:44:52 2f39f015ded8: Download complete 09:44:53 Commit message: "fix: fix test process" 09:44:53 5eb5b503b376: Pull complete 09:44:53 5c69ac0246d0: Pull complete 09:44:53 09:44:53 GitHub has been notified of this commit’s build result 09:44:53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:54 ec43610c2a17: Pull complete 09:44:54 3a2ae6a8a46f: Pull complete 09:44:54 33b1e0a273af: Pull complete 09:44:54 5d3b04190fa2: Pull complete 09:44:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:44:57 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:57 Dload Upload Total Spent Left Speed 09:44:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k [Pipeline] sh 09:44:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:44:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:44:57 + sudo tee /etc/docker/daemon.new 09:44:57 { 09:44:57 "registry-mirrors": [ 09:44:57 "https://nexus3.edgexfoundry.org:10001" 09:44:57 ], 09:44:57 "bip": "10.250.0.254/24", 09:44:57 "hosts": [ 09:44:57 "tcp://0.0.0.0:5555", 09:44:57 "unix:///var/run/docker.sock" 09:44:57 ], 09:44:57 "mtu": 1458, 09:44:57 "selinux-enabled": true, 09:44:57 "seccomp-profile": "/etc/docker/seccomp.json" 09:44:57 } [Pipeline] sh 09:44:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:44:58 + sudo service docker restart 09:44:59 2f39f015ded8: Pull complete 09:44:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:44:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:59 prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container 09:44:59 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:45:03 $ docker top 89f38d02f2d13a9cb62da32ca10f0c9e57df37e2fad2ff4af58f7a83c97b46ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:04 ---> job-cost.sh 09:45:04 lf-activate-venv: SKIPPING 09:45:04 INFO: No Stack... 09:45:05 INFO: Retrieving Pricing Info for: v3-standard-8 09:45:05 INFO: Archiving Costs [Pipeline] sh 09:45:05 + cat /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv 09:45:05 + cut -d, -f6 [Pipeline] lock 09:45:05 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] 09:45:05 Resource [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] did not exist. Created. 09:45:05 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:45:06 + echo total: 0.2199999988079071 [Pipeline] stash 09:45:06 Stashed 1 file(s) [Pipeline] } 09:45:06 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [Pipeline] // lock [Pipeline] } 09:45:06 $ docker stop --time=1 89f38d02f2d13a9cb62da32ca10f0c9e57df37e2fad2ff4af58f7a83c97b46ff 09:45:07 $ docker rm -f --volumes 89f38d02f2d13a9cb62da32ca10f0c9e57df37e2fad2ff4af58f7a83c97b46ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:45:16 provisioning config files... 09:45:16 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/6@tmp/config11297190369911374923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:17 ---> ****-login.sh 09:45:17 nexus3.edgexfoundry.org:10001 09:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:17 Configure a credential helper to remove this warning. See 09:45:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:17 09:45:17 Login Succeeded 09:45:17 nexus3.edgexfoundry.org:10002 09:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:18 Configure a credential helper to remove this warning. See 09:45:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:18 09:45:18 Login Succeeded 09:45:18 nexus3.edgexfoundry.org:10003 09:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:18 Configure a credential helper to remove this warning. See 09:45:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:18 09:45:18 Login Succeeded 09:45:18 nexus3.edgexfoundry.org:10004 09:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:19 Configure a credential helper to remove this warning. See 09:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:19 09:45:19 Login Succeeded 09:45:19 ****.io 09:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:45:19 Configure a credential helper to remove this warning. See 09:45:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:45:19 09:45:19 Login Succeeded 09:45:19 ---> ****-login.sh ends [Pipeline] } 09:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:45:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:45:20 ========================================================= 09:45:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:45:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:20 + 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 . 09:45:20 Sending build context to Docker daemon 418.8kB 09:45:20 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:45:20 Step 2/10 : FROM ${BASE} AS builder 09:45:21 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:45:21 9fda8d8052c6: Pulling fs layer 09:45:21 5d54e960e981: Pulling fs layer 09:45:21 c4a7e357bf2a: Pulling fs layer 09:45:21 f0e02332f6b5: Pulling fs layer 09:45:21 872ee5b61b7b: Pulling fs layer 09:45:21 0c6a40ed1a82: Pulling fs layer 09:45:21 94ae7d8d031c: Pulling fs layer 09:45:21 872ee5b61b7b: Waiting 09:45:21 0c6a40ed1a82: Waiting 09:45:21 94ae7d8d031c: Waiting 09:45:21 f0e02332f6b5: Waiting 09:45:21 5d54e960e981: Download complete 09:45:21 f0e02332f6b5: Verifying Checksum 09:45:21 f0e02332f6b5: Download complete 09:45:21 872ee5b61b7b: Verifying Checksum 09:45:21 872ee5b61b7b: Download complete 09:45:21 9fda8d8052c6: Download complete 09:45:21 94ae7d8d031c: Verifying Checksum 09:45:21 94ae7d8d031c: Download complete 09:45:22 c4a7e357bf2a: Verifying Checksum 09:45:22 c4a7e357bf2a: Download complete 09:45:23 0c6a40ed1a82: Verifying Checksum 09:45:23 0c6a40ed1a82: Download complete 09:45:26 9fda8d8052c6: Pull complete 09:45:26 5d54e960e981: Pull complete 09:45:41 c4a7e357bf2a: Pull complete 09:45:41 f0e02332f6b5: Pull complete 09:45:41 872ee5b61b7b: Pull complete 09:45:50 0c6a40ed1a82: Pull complete 09:45:51 94ae7d8d031c: Pull complete 09:45:51 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 09:45:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:45:51 ---> 86de565de09d 09:45:51 Step 3/10 : ARG MAKE=make build 09:45:52 ---> Running in 93bbdcc6fe7f 09:45:52 Removing intermediate container 93bbdcc6fe7f 09:45:52 ---> edfebecabbac 09:45:52 Step 4/10 : WORKDIR /device-s7 09:45:52 ---> Running in 89693331fe20 09:45:52 Removing intermediate container 89693331fe20 09:45:52 ---> b2d622ae6d47 09:45:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:45:52 ---> Running in 59cbeaed8250 09:45:53 Removing intermediate container 59cbeaed8250 09:45:53 ---> 6496a1a516d6 09:45:53 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 09:45:53 ---> Running in 347abcde9b63 09:45:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:45:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:45:55 OK: 266 MiB in 52 packages 09:45:56 Removing intermediate container 347abcde9b63 09:45:56 ---> 2153c008b036 09:45:56 Step 7/10 : COPY go.mod vendor* ./ 09:45:57 ---> 6ce3d5a5efbf 09:45:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:57 ---> Running in 28502a49d2f5 09:47:19 Removing intermediate container 28502a49d2f5 09:47:19 ---> dfc1e0e55118 09:47:19 Step 9/10 : COPY . . 09:47:19 ---> b0f184b39912 09:47:19 Step 10/10 : RUN ${MAKE} 09:47:19 ---> Running in 4ebb6bee95cc 09:47:19 noop 09:47:19 Removing intermediate container 4ebb6bee95cc 09:47:19 ---> 1960e8513acc 09:47:19 Successfully built 1960e8513acc 09:47:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:20 + docker inspect -f . ci-base-image-arm64 09:47:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:20 prd-ubuntu20.04-docker-arm64-4c-16g-1672 does not seem to be running inside a container 09:47:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@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 09:47:25 $ docker top f7fd69f0b84df437b4ec53423123ea257b01b3f68bd160d85cdac6d3100660be -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:26 + go version 09:47:26 go version go1.21.0 linux/arm64 [Pipeline] } 09:47:26 $ docker stop --time=1 f7fd69f0b84df437b4ec53423123ea257b01b3f68bd160d85cdac6d3100660be 09:47:28 $ docker rm -f --volumes f7fd69f0b84df437b4ec53423123ea257b01b3f68bd160d85cdac6d3100660be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:47:28 + docker inspect -f . ci-base-image-arm64 09:47:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:47:29 prd-ubuntu20.04-docker-arm64-4c-16g-1672 does not seem to be running inside a container 09:47:29 $ 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/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@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 09:47:30 $ docker top b8bf381d36f4e0701f30d0e4559839d242739af156722ddb7afcd6a06f780dd6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:47:31 + git config --global --add safe.directory /w/workspace/device-s7/6 [Pipeline] fileExists [Pipeline] sh 09:47:31 + make test 09:47:31 go test -race -coverprofile=coverage.out ./... 09:48:04 ? github.com/edgexfoundry/device-s7 [no test files] 09:49:40 ? github.com/edgexfoundry/device-s7/cmd [no test files] 09:49:40 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 09:49:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:49:40 go vet ./... 09:51:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:51:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:51:17 ./bin/test-attribution-txt.sh [Pipeline] echo 09:51:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:51:17 $ docker stop --time=1 b8bf381d36f4e0701f30d0e4559839d242739af156722ddb7afcd6a06f780dd6 09:51:19 $ docker rm -f --volumes b8bf381d36f4e0701f30d0e4559839d242739af156722ddb7afcd6a06f780dd6 [Pipeline] // withDockerContainer [Pipeline] sh 09:51:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:51:20 Warning: overwriting stash ‘coverage-report’ 09:51:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:51:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:51:22 + ls -al . 09:51:22 total 132 09:51:22 drwxrwxr-x 7 jenkins jenkins 4096 Feb 25 09:47 . 09:51:22 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:44 .. 09:51:22 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:44 .git 09:51:22 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:44 .github 09:51:22 -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:44 .gitignore 09:51:22 -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:44 .golangci.yml 09:51:22 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:44 Attribution.txt 09:51:22 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:44 Dockerfile 09:51:22 -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:44 Jenkinsfile 09:51:22 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 25 09:44 LICENSE 09:51:22 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:44 Makefile 09:51:22 -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:44 OWNERS.md 09:51:22 -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 09:44 README.md 09:51:22 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 09:42 VERSION 09:51:22 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:44 bin 09:51:22 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:44 cmd 09:51:22 -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:47 coverage.out 09:51:22 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:44 go.mod 09:51:22 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:44 go.sum 09:51:22 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:44 internal 09:51:22 -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:22 + 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=ca3c6fef86d15399994874e9b28bb0d668ad098d --label arch=arm64 --label version=0.0.0 . 09:51:23 Sending build context to Docker daemon 419.8kB 09:51:23 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 09:51:23 Step 2/24 : FROM ${BASE} AS builder 09:51:23 ---> 1960e8513acc 09:51:23 Step 3/24 : ARG MAKE=make build 09:51:23 ---> Running in e36e8d99c84f 09:51:23 Removing intermediate container e36e8d99c84f 09:51:23 ---> 39c57dd31ed7 09:51:23 Step 4/24 : WORKDIR /device-s7 09:51:23 ---> Running in 3d97218798ef 09:51:23 Removing intermediate container 3d97218798ef 09:51:23 ---> 9414a8692ad1 09:51:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:51:24 ---> Running in b866286f6ef7 09:51:24 Removing intermediate container b866286f6ef7 09:51:24 ---> 64472857aaa3 09:51:24 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 09:51:24 ---> Running in 7fd86b635d1c 09:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:51:27 OK: 266 MiB in 52 packages 09:51:27 Removing intermediate container 7fd86b635d1c 09:51:27 ---> 5fe47b9d2b03 09:51:27 Step 7/24 : COPY go.mod vendor* ./ 09:51:31 ---> 990052421a6f 09:51:31 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:51:31 ---> Running in d71e11dd434f 09:51:34 Removing intermediate container d71e11dd434f 09:51:34 ---> f74aa988bab1 09:51:34 Step 9/24 : COPY . . 09:51:35 ---> 03a30388fa53 09:51:35 Step 10/24 : RUN ${MAKE} 09:51:35 ---> Running in 0963df273e5d 09:51:36 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 09:53:28 Removing intermediate container 0963df273e5d 09:53:28 ---> a9878604ebeb 09:53:28 Step 11/24 : FROM alpine:3.18 09:53:28 3.18: Pulling from library/alpine 09:53:28 c6b39de5b339: Pulling fs layer 09:53:28 c6b39de5b339: Verifying Checksum 09:53:28 c6b39de5b339: Download complete 09:53:28 c6b39de5b339: Pull complete 09:53:28 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:53:28 Status: Downloaded newer image for alpine:3.18 09:53:28 ---> 33abbf032149 09:53:28 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:53:28 ---> Running in a32fc06ad38b 09:53:28 Removing intermediate container a32fc06ad38b 09:53:28 ---> 4b204d8eeeec 09:53:28 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:53:28 ---> Running in 204bab75243c 09:53:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:53:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:53:28 (1/1) Installing dumb-init (1.2.5-r2) 09:53:28 Executing busybox-1.36.1-r5.trigger 09:53:28 OK: 8 MiB in 16 packages 09:53:28 Removing intermediate container 204bab75243c 09:53:28 ---> 133dea641643 09:53:28 Step 14/24 : RUN apk --no-cache upgrade 09:53:28 ---> Running in f07ddc8e6e87 09:53:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:53:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:53:28 OK: 8 MiB in 16 packages 09:53:29 Removing intermediate container f07ddc8e6e87 09:53:29 ---> 19dd26dabcdd 09:53:29 Step 15/24 : WORKDIR / 09:53:29 ---> Running in 4a63fb39235a 09:53:30 Removing intermediate container 4a63fb39235a 09:53:30 ---> b2f7e9c4c128 09:53:30 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 09:53:30 ---> 6df0ecefe782 09:53:30 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 09:53:32 ---> ab822b8243ed 09:53:32 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 09:53:32 ---> 79abb34333b9 09:53:32 Step 19/24 : EXPOSE 59994 09:53:32 ---> Running in f38005230e23 09:53:32 Removing intermediate container f38005230e23 09:53:32 ---> f8b77afc4b2a 09:53:32 Step 20/24 : ENTRYPOINT ["/device-s7"] 09:53:32 ---> Running in 3fda4ae7eb29 09:53:33 Removing intermediate container 3fda4ae7eb29 09:53:33 ---> 5c348ebabf91 09:53:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:53:33 ---> Running in d53a6c6b00be 09:53:33 Removing intermediate container d53a6c6b00be 09:53:33 ---> 829012830eda 09:53:33 Step 22/24 : LABEL arch=arm64 09:53:33 ---> Running in b319853c8708 09:53:33 Removing intermediate container b319853c8708 09:53:33 ---> 106990e90352 09:53:33 Step 23/24 : LABEL git_sha=ca3c6fef86d15399994874e9b28bb0d668ad098d 09:53:33 ---> Running in b4ab3eb04e22 09:53:34 Removing intermediate container b4ab3eb04e22 09:53:34 ---> 8ee570cdb14e 09:53:34 Step 24/24 : LABEL version=0.0.0 09:53:34 ---> Running in 4a0d3dfb6922 09:53:34 Removing intermediate container 4a0d3dfb6922 09:53:34 ---> 524f8464e02d 09:53:34 [Warning] One or more build-args [ARCH] were not consumed 09:53:34 Successfully built 524f8464e02d 09:53:34 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 09:53:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:35 09:53:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:35 arm64: Pulling from edgex-lftools-log-publisher 09:53:35 8998bd30e6a1: Pulling fs layer 09:53:35 04944245beec: Pulling fs layer 09:53:35 699f458cf7ca: Pulling fs layer 09:53:35 765212b225bb: Pulling fs layer 09:53:35 f23df028b6ca: Pulling fs layer 09:53:35 d65c8cfc05b1: Pulling fs layer 09:53:35 2437ff75d9bd: Pulling fs layer 09:53:35 765212b225bb: Waiting 09:53:35 f23df028b6ca: Waiting 09:53:35 2437ff75d9bd: Waiting 09:53:36 04944245beec: Verifying Checksum 09:53:36 04944245beec: Download complete 09:53:36 765212b225bb: Verifying Checksum 09:53:36 765212b225bb: Download complete 09:53:36 f23df028b6ca: Verifying Checksum 09:53:36 f23df028b6ca: Download complete 09:53:36 d65c8cfc05b1: Verifying Checksum 09:53:36 d65c8cfc05b1: Download complete 09:53:36 699f458cf7ca: Verifying Checksum 09:53:36 699f458cf7ca: Download complete 09:53:36 8998bd30e6a1: Download complete 09:53:39 2437ff75d9bd: Verifying Checksum 09:53:39 2437ff75d9bd: Download complete 09:53:41 8998bd30e6a1: Pull complete 09:53:41 04944245beec: Pull complete 09:53:43 699f458cf7ca: Pull complete 09:53:43 765212b225bb: Pull complete 09:53:44 f23df028b6ca: Pull complete 09:53:44 d65c8cfc05b1: Pull complete 09:54:03 2437ff75d9bd: Pull complete 09:54:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:54:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:54:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:03 prd-ubuntu20.04-docker-arm64-4c-16g-1672 does not seem to be running inside a container 09:54:03 $ 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/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@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 09:54:06 $ docker top 8c8c001f0eb08a9ba04660b5c36eacfb85f6f2dbc89ae8f8dd11818f9dadbc9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:07 ---> job-cost.sh 09:54:07 lf-activate-venv: SKIPPING 09:54:07 INFO: No Stack... 09:54:12 INFO: Retrieving Pricing Info for: v3-standard-4 09:54:13 INFO: Archiving Costs [Pipeline] sh 09:54:13 + cat /w/workspace/device-s7/6/archives/cost.csv 09:54:13 + cut -d, -f6 [Pipeline] lock 09:54:13 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] 09:54:13 Resource [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] did not exist. Created. 09:54:13 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:54:14 /w/workspace/device-s7/6@tmp/durable-b2ac1950/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:54:15 + echo total: 0.10999999940395355 [Pipeline] stash 09:54:15 Warning: overwriting stash ‘stack-cost’ 09:54:15 Stashed 1 file(s) [Pipeline] } 09:54:15 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-6-stack-cost] [Pipeline] // lock [Pipeline] } 09:54:15 $ docker stop --time=1 8c8c001f0eb08a9ba04660b5c36eacfb85f6f2dbc89ae8f8dd11818f9dadbc9d 09:54:16 $ docker rm -f --volumes 8c8c001f0eb08a9ba04660b5c36eacfb85f6f2dbc89ae8f8dd11818f9dadbc9d [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 09:54:18 provisioning config files... 09:54:18 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 09:54:20 + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] 09:54:20 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 09:54:20 total 16 09:54:20 drwxr-xr-x 3 root root 4096 Feb 25 09:45 . 09:54:20 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:45 .. 09:54:20 drwxr-xr-x 2 root root 4096 Feb 25 09:45 cost 09:54:20 -rw-r--r-- 1 root root 79 Feb 25 09:45 cost.csv 09:54:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives 09:54:20 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 09:54:20 total 16 09:54:20 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:45 . 09:54:20 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:45 .. 09:54:20 drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 09:45 cost 09:54:20 -rw-r--r-- 1 jenkins jenkins 79 Feb 25 09:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:54:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:54:21 ---> package-listing.sh 09:54:21 ++ facter osfamily 09:54:21 ++ tr '[:upper:]' '[:lower:]' 09:54:21 + OS_FAMILY=debian 09:54:21 + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 09:54:21 + START_PACKAGES=/tmp/packages_start.txt 09:54:21 + END_PACKAGES=/tmp/packages_end.txt 09:54:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:54:21 + PACKAGES=/tmp/packages_start.txt 09:54:21 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 09:54:21 + PACKAGES=/tmp/packages_end.txt 09:54:21 + case "${OS_FAMILY}" in 09:54:21 + dpkg -l 09:54:21 + grep '^ii' 09:54:21 + '[' -f /tmp/packages_start.txt ']' 09:54:21 + '[' -f /tmp/packages_end.txt ']' 09:54:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:54:21 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 09:54:21 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ 09:54:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [Pipeline] echo 09:54:21 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 09:54:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:22 prd-ubuntu20.04-docker-8c-8g-1671 does not seem to be running inside a container 09:54:22 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:54:22 $ docker top a7f91a70d45675c9bbd2c4d7e90a9cc2d153394d464bd7293fc7adb5f4cd6f04 -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:23 + touch /tmp/pre-build-complete [Pipeline] sh 09:54:23 + mkdir -p /var/log/sysstat [Pipeline] sh 09:54:23 + ls /var/log/sa-host 09:54:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:23 provisioning config files... 09:54:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config4462380270537385714tmp [Pipeline] { [Pipeline] echo 09:54:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:54:24 ---> create-netrc.sh [Pipeline] } 09:54:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:54:24 ---> python-tools-install.sh [Pipeline] echo 09:54:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:54:24 ---> sudo-logs.sh 09:54:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:54:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:54:25 ---> job-cost.sh 09:54:25 lf-activate-venv: SKIPPING 09:54:25 DEBUG: total: 0.2199999988079071 09:54:25 INFO: Retrieving Stack Cost... 09:54:25 INFO: Retrieving Pricing Info for: v3-standard-8 09:54:25 INFO: Archiving Costs [Pipeline] echo 09:54:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:54:26 ---> logs-deploy.sh 09:54:26 lf-activate-venv: SKIPPING 09:54:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/6 09:54:26 INFO: archiving workspace using pattern(s): 09:54:27 Archives upload complete. 09:54:27 INFO: archiving logs to Nexus