Started by user Eric Ball 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-ssh14949402160637132127.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-ssh8305078111166371814.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-ssh12420783853316259667.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-ssh8748160337840861527.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-ssh13124882179139589522.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1974 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" > git rev-list --no-walk be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:37:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:37:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:37:31 ========================================================= 18:37:31 EdgeX Global Pipelines Version Info 18:37:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:37:32 ------------------- 18:37:32 stable info: 18:37:32 ------------------- 18:37:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:37:32 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:37:32 Message: update stable to v1.0.258 18:37:33 ------------------- 18:37:33 experimental info: 18:37:33 ------------------- 18:37:33 Commited By: **** collab-it+edgex@linuxfoundation.org 18:37:33 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:37:33 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:37:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be92879 [Pipeline] echo 18:37:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:37:34 provisioning config files... 18:37:34 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config10642267224532466830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:34 ---> ****-login.sh 18:37:34 nexus3.edgexfoundry.org:10001 18:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:35 Configure a credential helper to remove this warning. See 18:37:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:35 18:37:35 Login Succeeded 18:37:35 nexus3.edgexfoundry.org:10002 18:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:35 Configure a credential helper to remove this warning. See 18:37:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:35 18:37:35 Login Succeeded 18:37:35 nexus3.edgexfoundry.org:10003 18:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:35 Configure a credential helper to remove this warning. See 18:37:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:35 18:37:35 Login Succeeded 18:37:35 nexus3.edgexfoundry.org:10004 18:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:35 Configure a credential helper to remove this warning. See 18:37:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:35 18:37:35 Login Succeeded 18:37:35 ****.io 18:37:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:36 Configure a credential helper to remove this warning. See 18:37:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:36 18:37:36 Login Succeeded 18:37:36 ---> ****-login.sh ends [Pipeline] } 18:37:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:37:36 + git rev-list -1 --merges be9287983f4b92c8cae0f409beca0b13e4ebd156~1..be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo 18:37:36 -----------> git rev-list -1 --merges be9287983f4b92c8cae0f409beca0b13e4ebd156~1..be9287983f4b92c8cae0f409beca0b13e4ebd156 be9287983f4b92c8cae0f409beca0b13e4ebd156 [false] [Pipeline] sh 18:37:36 + git log --format=format:%s -1 be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo 18:37:36 ========================================================= 18:37:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:37:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:37:37 + git log --format=format:%s -1 be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] echo 18:37:37 [semverPrep] GIT_COMMIT: be9287983f4b92c8cae0f409beca0b13e4ebd156, Commit Message: fix: fix test process [Pipeline] echo 18:37:37 [semverPrep] This is not a build commit. [Pipeline] sh 18:37:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:37:37 + grep -v github /etc/ssh/ssh_known_hosts 18:37:37 + [ -e /tmp/ssh_known_hosts ] 18:37:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:37:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:37:37 + sudo tee -a /etc/ssh/ssh_known_hosts 18:37:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:38 18:37:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:38 0.1.4: Pulling from edgex-devops/py-git-semver 18:37:38 b85a868b505f: Pulling fs layer 18:37:38 e2be974225ed: Pulling fs layer 18:37:38 339a4e72a1f5: Pulling fs layer 18:37:38 988bab9f4d93: Pulling fs layer 18:37:38 1469e6f7b9e6: Pulling fs layer 18:37:38 eaf3925da568: Pulling fs layer 18:37:38 bab4dde63d76: Pulling fs layer 18:37:38 bde34c3a00c8: Pulling fs layer 18:37:38 b352a97aabf1: Pulling fs layer 18:37:38 4872d77fe225: Pulling fs layer 18:37:38 5851b861e8e6: Pulling fs layer 18:37:38 988bab9f4d93: Waiting 18:37:38 1469e6f7b9e6: Waiting 18:37:38 eaf3925da568: Waiting 18:37:38 bab4dde63d76: Waiting 18:37:38 bde34c3a00c8: Waiting 18:37:38 b352a97aabf1: Waiting 18:37:38 4872d77fe225: Waiting 18:37:38 5851b861e8e6: Waiting 18:37:38 e2be974225ed: Verifying Checksum 18:37:38 e2be974225ed: Download complete 18:37:38 988bab9f4d93: Verifying Checksum 18:37:38 988bab9f4d93: Download complete 18:37:38 1469e6f7b9e6: Verifying Checksum 18:37:38 1469e6f7b9e6: Download complete 18:37:38 eaf3925da568: Verifying Checksum 18:37:38 eaf3925da568: Download complete 18:37:38 339a4e72a1f5: Verifying Checksum 18:37:38 339a4e72a1f5: Download complete 18:37:38 bde34c3a00c8: Download complete 18:37:38 b352a97aabf1: Verifying Checksum 18:37:38 b352a97aabf1: Download complete 18:37:38 4872d77fe225: Download complete 18:37:38 5851b861e8e6: Verifying Checksum 18:37:38 5851b861e8e6: Download complete 18:37:38 b85a868b505f: Verifying Checksum 18:37:38 b85a868b505f: Download complete 18:37:39 bab4dde63d76: Verifying Checksum 18:37:39 bab4dde63d76: Download complete 18:37:40 b85a868b505f: Pull complete 18:37:40 e2be974225ed: Pull complete 18:37:40 339a4e72a1f5: Pull complete 18:37:40 988bab9f4d93: Pull complete 18:37:41 1469e6f7b9e6: Pull complete 18:37:41 eaf3925da568: Pull complete 18:37:43 bab4dde63d76: Pull complete 18:37:43 bde34c3a00c8: Pull complete 18:37:43 b352a97aabf1: Pull complete 18:37:43 4872d77fe225: Pull complete 18:37:43 5851b861e8e6: Pull complete 18:37:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:37:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:43 prd-ubuntu20.04-docker-8c-8g-1974 does not seem to be running inside a container 18:37:43 $ 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 18:37:47 $ docker top 9e9ad4eb007f16dd6a8b85b447d25a31610a3e1b0629ec4af2e35aad6fd90445 -eo pid,comm 18:37:47 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). 18:37:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:37:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:47 [ssh-agent] Looking for ssh-agent implementation... 18:37:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:47 $ docker exec 9e9ad4eb007f16dd6a8b85b447d25a31610a3e1b0629ec4af2e35aad6fd90445 ssh-agent 18:37:47 SSH_AUTH_SOCK=/tmp/ssh-JW4AYWeoI1X2/agent.32 18:37:47 SSH_AGENT_PID=38 18:37:47 Running ssh-add (command line suppressed) 18:37:47 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_6825341271103349179.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_6825341271103349179.key) 18:37:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:48 + git tag --points-at HEAD [Pipeline] } 18:37:48 $ docker exec --env ******** --env ******** 9e9ad4eb007f16dd6a8b85b447d25a31610a3e1b0629ec4af2e35aad6fd90445 ssh-agent -k 18:37:48 unset SSH_AUTH_SOCK; 18:37:48 unset SSH_AGENT_PID; 18:37:48 echo Agent pid 38 killed; 18:37:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:37:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:37:48 [ssh-agent] Looking for ssh-agent implementation... 18:37:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:37:48 $ docker exec 9e9ad4eb007f16dd6a8b85b447d25a31610a3e1b0629ec4af2e35aad6fd90445 ssh-agent 18:37:48 SSH_AUTH_SOCK=/tmp/ssh-Y1u0pWbFs7WU/agent.69 18:37:48 SSH_AGENT_PID=76 18:37:48 Running ssh-add (command line suppressed) 18:37:48 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_15567723100649676525.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_15567723100649676525.key) 18:37:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:37:48 + git semver init 18:37:49 2024-02-29 18:37:49,080 [run_init] DEBUG init version:0.0.0 force:False 18:37:49 2024-02-29 18:37:49,080 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver 18:37:49 2024-02-29 18:37:49,081 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver 18:37:49 2024-02-29 18:37:49,081 [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) 18:37:49 2024-02-29 18:37:49,724 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude 18:37:49 2024-02-29 18:37:49,724 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 with force:False 18:37:49 2024-02-29 18:37:49,724 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 18:37:49 2024-02-29 18:37:49,728 [execute] INFO git cat-file --batch-check 18:37:49 2024-02-29 18:37:49,729 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 18:37:49 2024-02-29 18:37:49,735 [execute] INFO git cat-file --batch 18:37:49 2024-02-29 18:37:49,735 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 18:37:49 2024-02-29 18:37:49,740 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 18:37:49 0.0.0 [Pipeline] } 18:37:50 $ docker exec --env ******** --env ******** 9e9ad4eb007f16dd6a8b85b447d25a31610a3e1b0629ec4af2e35aad6fd90445 ssh-agent -k 18:37:50 unset SSH_AUTH_SOCK; 18:37:50 unset SSH_AGENT_PID; 18:37:50 echo Agent pid 76 killed; 18:37:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:37:50 + git semver [Pipeline] } 18:37:50 $ docker stop --time=1 9e9ad4eb007f16dd6a8b85b447d25a31610a3e1b0629ec4af2e35aad6fd90445 18:37:52 $ docker rm -f --volumes 9e9ad4eb007f16dd6a8b85b447d25a31610a3e1b0629ec4af2e35aad6fd90445 [Pipeline] // withDockerContainer [Pipeline] sh 18:37:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:37:52 Stashed 1 file(s) [Pipeline] echo 18:37:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:37:53 provisioning config files... 18:37:53 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config14641712213212527712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:53 ---> ****-login.sh 18:37:53 nexus3.edgexfoundry.org:10001 18:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:53 Configure a credential helper to remove this warning. See 18:37:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:53 18:37:53 Login Succeeded 18:37:53 nexus3.edgexfoundry.org:10002 18:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:53 Configure a credential helper to remove this warning. See 18:37:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:53 18:37:53 Login Succeeded 18:37:53 nexus3.edgexfoundry.org:10003 18:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:53 Configure a credential helper to remove this warning. See 18:37:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:53 18:37:53 Login Succeeded 18:37:53 nexus3.edgexfoundry.org:10004 18:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:53 Configure a credential helper to remove this warning. See 18:37:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:53 18:37:53 Login Succeeded 18:37:53 ****.io 18:37:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:37:53 Configure a credential helper to remove this warning. See 18:37:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:37:53 18:37:53 Login Succeeded 18:37:53 ---> ****-login.sh ends [Pipeline] } 18:37:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:37:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:37:54 ========================================================= 18:37:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:37:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:54 + 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 . 18:37:54 Sending build context to Docker daemon 558.6kB 18:37:54 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:37:54 Step 2/10 : FROM ${BASE} AS builder 18:37:54 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:37:54 7264a8db6415: Pulling fs layer 18:37:54 c4d48a809fc2: Pulling fs layer 18:37:54 4f1c88b9dad5: Pulling fs layer 18:37:54 ad3a456e5733: Pulling fs layer 18:37:54 69c7f0334f64: Pulling fs layer 18:37:54 1f1c1a5573a3: Pulling fs layer 18:37:54 ce7588e14bc9: Pulling fs layer 18:37:54 b5e4710f87ac: Pulling fs layer 18:37:54 ad3a456e5733: Waiting 18:37:54 69c7f0334f64: Waiting 18:37:54 1f1c1a5573a3: Waiting 18:37:54 ce7588e14bc9: Waiting 18:37:54 b5e4710f87ac: Waiting 18:37:54 c4d48a809fc2: Download complete 18:37:54 ad3a456e5733: Verifying Checksum 18:37:54 ad3a456e5733: Download complete 18:37:54 69c7f0334f64: Verifying Checksum 18:37:54 69c7f0334f64: Download complete 18:37:54 7264a8db6415: Verifying Checksum 18:37:54 7264a8db6415: Download complete 18:37:54 7264a8db6415: Pull complete 18:37:55 1f1c1a5573a3: Verifying Checksum 18:37:55 1f1c1a5573a3: Download complete 18:37:55 c4d48a809fc2: Pull complete 18:37:55 b5e4710f87ac: Verifying Checksum 18:37:55 b5e4710f87ac: Download complete 18:37:56 4f1c88b9dad5: Verifying Checksum 18:37:56 4f1c88b9dad5: Download complete 18:37:56 ce7588e14bc9: Verifying Checksum 18:37:56 ce7588e14bc9: Download complete 18:37:59 4f1c88b9dad5: Pull complete 18:37:59 ad3a456e5733: Pull complete 18:37:59 69c7f0334f64: Pull complete 18:37:59 1f1c1a5573a3: Pull complete 18:38:02 ce7588e14bc9: Pull complete 18:38:02 b5e4710f87ac: Pull complete 18:38:02 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:38:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:38:02 ---> 88b5674ff536 18:38:02 Step 3/10 : ARG MAKE=make build 18:38:07 ---> Running in 72287b842f1d 18:38:07 Removing intermediate container 72287b842f1d 18:38:07 ---> 4596b57c40bc 18:38:07 Step 4/10 : WORKDIR /device-s7 18:38:07 ---> Running in b4911c9922f0 18:38:07 Removing intermediate container b4911c9922f0 18:38:07 ---> 9905d8d013eb 18:38:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 18:38:07 ---> Running in 49aca504b68e 18:38:07 Removing intermediate container 49aca504b68e 18:38:07 ---> 5dded550d064 18:38:07 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 18:38:07 ---> Running in 3d6de0575945 18:38:08 Still waiting to schedule task 18:38:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:38:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:38:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:38:08 OK: 264 MiB in 52 packages 18:38:08 Removing intermediate container 3d6de0575945 18:38:08 ---> 8d5cdf1d8ee8 18:38:08 Step 7/10 : COPY go.mod vendor* ./ 18:38:09 ---> 90498576e344 18:38:09 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:09 ---> Running in 650dcc6e5ebc 18:38:55 Removing intermediate container 650dcc6e5ebc 18:38:55 ---> 73043e8b11bc 18:38:55 Step 9/10 : COPY . . 18:38:55 ---> 5144e21f6d39 18:38:55 Step 10/10 : RUN ${MAKE} 18:38:55 ---> Running in 650465d25387 18:38:55 noop 18:38:55 Removing intermediate container 650465d25387 18:38:55 ---> a17696ead703 18:38:55 Successfully built a17696ead703 18:38:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:56 + docker inspect -f . ci-base-image-x86_64 18:38:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:56 prd-ubuntu20.04-docker-8c-8g-1974 does not seem to be running inside a container 18:38:56 $ 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 18:38:56 $ docker top e6f5dba5729f91be66425a4814660bb547a79650b33e5f462bbbb6864f63e3cc -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:57 + go version 18:38:57 go version go1.21.0 linux/amd64 [Pipeline] } 18:38:57 $ docker stop --time=1 e6f5dba5729f91be66425a4814660bb547a79650b33e5f462bbbb6864f63e3cc 18:38:58 $ docker rm -f --volumes e6f5dba5729f91be66425a4814660bb547a79650b33e5f462bbbb6864f63e3cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:59 + docker inspect -f . ci-base-image-x86_64 18:38:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:59 prd-ubuntu20.04-docker-8c-8g-1974 does not seem to be running inside a container 18:38:59 $ 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 18:38:59 $ docker top 3a712bc0256dc4c79df14bb7ee94b7bbd8b231ab1683d643f010cd17b0ff817e -eo pid,comm [Pipeline] { [Pipeline] sh 18:38:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh 18:39:00 + make test 18:39:00 go test -race -coverprofile=coverage.out ./... 18:39:06 ? github.com/edgexfoundry/device-s7 [no test files] 18:39:16 ? github.com/edgexfoundry/device-s7/cmd [no test files] 18:39:16 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 18:39:38 go vet ./... 18:39:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:39:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:39:39 ./bin/test-attribution-txt.sh [Pipeline] echo 18:39:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:39:40 $ docker stop --time=1 3a712bc0256dc4c79df14bb7ee94b7bbd8b231ab1683d643f010cd17b0ff817e 18:39:45 $ docker rm -f --volumes 3a712bc0256dc4c79df14bb7ee94b7bbd8b231ab1683d643f010cd17b0ff817e [Pipeline] // withDockerContainer [Pipeline] sh 18:39:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:39:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:39:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:39:46 + ls -al . 18:39:46 total 136 18:39:46 drwxrwxr-x 8 jenkins jenkins 4096 Feb 29 18:39 . 18:39:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 29 18:37 .. 18:39:46 drwxrwxr-x 8 jenkins jenkins 4096 Feb 29 18:39 .git 18:39:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 29 18:37 .github 18:39:46 -rw-rw-r-- 1 jenkins jenkins 237 Feb 29 18:37 .gitignore 18:39:46 -rw-rw-r-- 1 jenkins jenkins 42 Feb 29 18:37 .golangci.yml 18:39:46 drwxr-xr-x 3 jenkins jenkins 4096 Feb 29 18:37 .semver 18:39:46 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 29 18:37 Attribution.txt 18:39:46 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 29 18:37 Dockerfile 18:39:46 -rw-rw-r-- 1 jenkins jenkins 643 Feb 29 18:37 Jenkinsfile 18:39:46 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 29 18:37 LICENSE 18:39:46 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 29 18:37 Makefile 18:39:46 -rw-rw-r-- 1 jenkins jenkins 614 Feb 29 18:37 OWNERS.md 18:39:46 -rw-rw-r-- 1 jenkins jenkins 2393 Feb 29 18:37 README.md 18:39:46 -rw-rw-r-- 1 jenkins jenkins 5 Feb 29 18:37 VERSION 18:39:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 29 18:37 bin 18:39:46 drwxrwxr-x 3 jenkins jenkins 4096 Feb 29 18:37 cmd 18:39:46 -rw-r--r-- 1 jenkins jenkins 13 Feb 29 18:39 coverage.out 18:39:46 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 29 18:37 go.mod 18:39:46 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 29 18:37 go.sum 18:39:46 drwxrwxr-x 3 jenkins jenkins 4096 Feb 29 18:37 internal 18:39:46 -rw-rw-r-- 1 jenkins jenkins 223 Feb 29 18:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:47 + 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 . 18:39:47 Sending build context to Docker daemon 559.6kB 18:39:47 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:39:47 Step 2/24 : FROM ${BASE} AS builder 18:39:47 ---> a17696ead703 18:39:47 Step 3/24 : ARG MAKE=make build 18:39:47 ---> Running in 81687658cc19 18:39:47 Removing intermediate container 81687658cc19 18:39:47 ---> 1283bd827fc0 18:39:47 Step 4/24 : WORKDIR /device-s7 18:39:47 ---> Running in c961bd247d01 18:39:47 Removing intermediate container c961bd247d01 18:39:47 ---> ce180fdadbc0 18:39:47 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 18:39:47 ---> Running in a4544cdfaa05 18:39:47 Removing intermediate container a4544cdfaa05 18:39:47 ---> 4d2c2f19bb2e 18:39:47 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 18:39:47 ---> Running in c7a40bc4f0aa 18:39:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:39:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:39:48 OK: 264 MiB in 52 packages 18:39:48 Removing intermediate container c7a40bc4f0aa 18:39:48 ---> a476ec577ce0 18:39:48 Step 7/24 : COPY go.mod vendor* ./ 18:39:48 ---> 87a614587d39 18:39:48 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:39:48 ---> Running in 7b596e13baf1 18:39:49 Removing intermediate container 7b596e13baf1 18:39:49 ---> bdd0c108f5b8 18:39:49 Step 9/24 : COPY . . 18:39:49 ---> 501261c63e64 18:39:49 Step 10/24 : RUN ${MAKE} 18:39:49 ---> Running in 4613bdc391e2 18:39:50 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 18:39:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1975 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] { [Pipeline] ws 18:39:55 Running in /w/workspace/device-s7/10 [Pipeline] { [Pipeline] checkout 18:39:58 Selected Git installation does not exist. Using Default 18:39:58 The recommended git tool is: NONE 18:40:02 using credential edgex-jenkins-ssh 18:40:02 Cloning the remote Git repository 18:40:03 Cloning repository git@github.com:edgexfoundry/device-s7.git 18:40:03 > git init /w/workspace/device-s7/10 # timeout=10 18:40:03 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 18:40:03 > git --version # timeout=10 18:40:03 > git --version # 'git version 2.25.1' 18:40:03 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:04 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 18:40:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:40:05 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit be9287983f4b92c8cae0f409beca0b13e4ebd156 18:40:04 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 18:40:04 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 18:40:04 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:04 > 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 18:40:05 > git config core.sparsecheckout # timeout=10 18:40:05 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 18:40:05 > git remote # timeout=10 18:40:07 Merge succeeded, producing be9287983f4b92c8cae0f409beca0b13e4ebd156 18:40:07 Checking out Revision be9287983f4b92c8cae0f409beca0b13e4ebd156 (PR-9) 18:40:07 > git config --get remote.origin.url # timeout=10 18:40:07 using GIT_SSH to set credentials SSH Credentials for GitHub 18:40:07 > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 18:40:07 > git rev-parse HEAD^{commit} # timeout=10 18:40:07 > git config core.sparsecheckout # timeout=10 18:40:07 > git checkout -f be9287983f4b92c8cae0f409beca0b13e4ebd156 # timeout=10 18:40:10 Commit message: "fix: fix test process" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:40:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:40:11 % Total % Received % Xferd Average Speed Time Time Time Current 18:40:11 Dload Upload Total Spent Left Speed 18:40:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 111k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh 18:40:12 Removing intermediate container 4613bdc391e2 18:40:12 ---> 635f82965851 18:40:12 Step 11/24 : FROM alpine:3.18 18:40:12 3.18: Pulling from library/alpine 18:40:12 619be1103602: Pulling fs layer 18:40:12 619be1103602: Verifying Checksum 18:40:12 619be1103602: Download complete 18:40:12 619be1103602: Pull complete 18:40:12 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 18:40:12 Status: Downloaded newer image for alpine:3.18 18:40:12 ---> d3782b16ccc9 18:40:12 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 18:40:12 ---> Running in c8e116ec8bdd 18:40:12 Removing intermediate container c8e116ec8bdd 18:40:12 ---> 8b48d55608f6 18:40:12 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:40:12 ---> Running in a12cf5f85535 18:40:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:40:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:40:12 (1/1) Installing dumb-init (1.2.5-r2) 18:40:12 Executing busybox-1.36.1-r5.trigger 18:40:12 OK: 7 MiB in 16 packages 18:40:12 Removing intermediate container a12cf5f85535 18:40:12 ---> a798129bbe7b 18:40:12 Step 14/24 : RUN apk --no-cache upgrade 18:40:12 ---> Running in dbcbdfe94093 18:40:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:40:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:40:12 OK: 7 MiB in 16 packages 18:40:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:40:12 Removing intermediate container dbcbdfe94093 18:40:12 ---> b8138179a760 18:40:12 Step 15/24 : WORKDIR / 18:40:12 ---> Running in e11f72a360c1 18:40:12 Removing intermediate container e11f72a360c1 18:40:12 ---> 63cddc0bb177 18:40:12 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 18:40:12 + + sudo teesudo /etc/docker/daemon.new jq 18:40:12 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:40:12 { 18:40:12 "registry-mirrors": [ 18:40:12 "https://nexus3.edgexfoundry.org:10001" 18:40:12 ], 18:40:12 "bip": "10.250.0.254/24", 18:40:12 "hosts": [ 18:40:12 "tcp://0.0.0.0:5555", 18:40:12 "unix:///var/run/docker.sock" 18:40:12 ], 18:40:12 "mtu": 1458, 18:40:12 "selinux-enabled": true, 18:40:12 "seccomp-profile": "/etc/docker/seccomp.json" 18:40:12 } [Pipeline] sh 18:40:12 ---> 1755d612f4f0 18:40:12 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 18:40:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:40:13 + sudo service docker restart 18:40:13 ---> c2b6d4d62aaa 18:40:13 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 18:40:13 ---> 8903a5081a4f 18:40:13 Step 19/24 : EXPOSE 59994 18:40:13 ---> Running in 4042790d08af 18:40:13 Removing intermediate container 4042790d08af 18:40:13 ---> 91912ff582d6 18:40:13 Step 20/24 : ENTRYPOINT ["/device-s7"] 18:40:13 ---> Running in 840e2ea6fc49 18:40:13 Removing intermediate container 840e2ea6fc49 18:40:13 ---> 5e2cb2249755 18:40:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:40:13 ---> Running in 37c143fdcf16 18:40:13 Removing intermediate container 37c143fdcf16 18:40:13 ---> 6babb1c3a856 18:40:13 Step 22/24 : LABEL arch=amd64 18:40:13 ---> Running in 671e8183cca0 18:40:13 Removing intermediate container 671e8183cca0 18:40:13 ---> ae7dbab45c1f 18:40:13 Step 23/24 : LABEL git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 18:40:13 ---> Running in 2978ced266ca 18:40:13 Removing intermediate container 2978ced266ca 18:40:13 ---> 3d4b9fa492ef 18:40:13 Step 24/24 : LABEL version=0.0.0 18:40:13 ---> Running in 018abf0d6c86 18:40:13 Removing intermediate container 018abf0d6c86 18:40:13 ---> 43c9e3d86092 18:40:13 [Warning] One or more build-args [ARCH] were not consumed 18:40:13 Successfully built 43c9e3d86092 18:40:13 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 18:40:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:14 18:40:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:14 latest: Pulling from edgex-lftools-log-publisher 18:40:14 5eb5b503b376: Pulling fs layer 18:40:14 5c69ac0246d0: Pulling fs layer 18:40:14 ec43610c2a17: Pulling fs layer 18:40:14 3a2ae6a8a46f: Pulling fs layer 18:40:14 33b1e0a273af: Pulling fs layer 18:40:14 5d3b04190fa2: Pulling fs layer 18:40:14 2f39f015ded8: Pulling fs layer 18:40:14 3a2ae6a8a46f: Waiting 18:40:14 2f39f015ded8: Waiting 18:40:14 33b1e0a273af: Waiting 18:40:14 5d3b04190fa2: Waiting 18:40:14 5c69ac0246d0: Verifying Checksum 18:40:14 5c69ac0246d0: Download complete 18:40:14 3a2ae6a8a46f: Verifying Checksum 18:40:14 3a2ae6a8a46f: Download complete 18:40:14 33b1e0a273af: Verifying Checksum 18:40:14 33b1e0a273af: Download complete 18:40:15 5d3b04190fa2: Download complete 18:40:15 ec43610c2a17: Verifying Checksum 18:40:15 ec43610c2a17: Download complete 18:40:15 5eb5b503b376: Verifying Checksum 18:40:15 5eb5b503b376: Download complete 18:40:16 2f39f015ded8: Download complete 18:40:16 5eb5b503b376: Pull complete 18:40:16 5c69ac0246d0: Pull complete 18:40:17 ec43610c2a17: Pull complete 18:40:17 3a2ae6a8a46f: Pull complete 18:40:17 33b1e0a273af: Pull complete 18:40:17 5d3b04190fa2: Pull complete 18:40:21 2f39f015ded8: Pull complete 18:40:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:40:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:40:21 prd-ubuntu20.04-docker-8c-8g-1974 does not seem to be running inside a container 18:40:21 $ 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 18:40:25 $ docker top 28aff9fe0ce67b68018954a18b39fcbe6a4435275aad172d402de00a21e97204 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:25 ---> job-cost.sh 18:40:25 lf-activate-venv: SKIPPING 18:40:25 INFO: No Stack... 18:40:25 INFO: Retrieving Pricing Info for: v3-standard-8 18:40:26 INFO: Archiving Costs [Pipeline] sh 18:40:26 + cat /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv 18:40:26 + cut -d, -f6 [Pipeline] lock 18:40:26 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-10-stack-cost] 18:40:26 Resource [jenkins-edgexfoundry-device-s7-PR-9-10-stack-cost] did not exist. Created. 18:40:26 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:40:26 + echo total: 0.2199999988079071 [Pipeline] stash 18:40:27 Stashed 1 file(s) [Pipeline] } 18:40:27 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-10-stack-cost] [Pipeline] // lock [Pipeline] } 18:40:27 $ docker stop --time=1 28aff9fe0ce67b68018954a18b39fcbe6a4435275aad172d402de00a21e97204 18:40:28 $ docker rm -f --volumes 28aff9fe0ce67b68018954a18b39fcbe6a4435275aad172d402de00a21e97204 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:40:31 provisioning config files... 18:40:31 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/10@tmp/config7700640366478804241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:40:31 ---> ****-login.sh 18:40:31 nexus3.edgexfoundry.org:10001 18:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:40:32 Configure a credential helper to remove this warning. See 18:40:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:40:32 18:40:32 Login Succeeded 18:40:32 nexus3.edgexfoundry.org:10002 18:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:40:32 Configure a credential helper to remove this warning. See 18:40:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:40:32 18:40:32 Login Succeeded 18:40:32 nexus3.edgexfoundry.org:10003 18:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:40:33 Configure a credential helper to remove this warning. See 18:40:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:40:33 18:40:33 Login Succeeded 18:40:33 nexus3.edgexfoundry.org:10004 18:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:40:33 Configure a credential helper to remove this warning. See 18:40:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:40:33 18:40:33 Login Succeeded 18:40:33 ****.io 18:40:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:40:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:40:34 Configure a credential helper to remove this warning. See 18:40:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:40:34 18:40:34 Login Succeeded 18:40:34 ---> ****-login.sh ends [Pipeline] } 18:40:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:40:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:40:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:40:34 ========================================================= 18:40:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:40:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:35 + 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 . 18:40:36 Sending build context to Docker daemon 419.8kB 18:40:36 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:40:36 Step 2/10 : FROM ${BASE} AS builder 18:40:36 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:40:36 9fda8d8052c6: Pulling fs layer 18:40:36 5d54e960e981: Pulling fs layer 18:40:36 c4a7e357bf2a: Pulling fs layer 18:40:36 f0e02332f6b5: Pulling fs layer 18:40:36 872ee5b61b7b: Pulling fs layer 18:40:36 0c6a40ed1a82: Pulling fs layer 18:40:36 94ae7d8d031c: Pulling fs layer 18:40:36 872ee5b61b7b: Waiting 18:40:36 0c6a40ed1a82: Waiting 18:40:36 94ae7d8d031c: Waiting 18:40:36 f0e02332f6b5: Waiting 18:40:36 5d54e960e981: Verifying Checksum 18:40:36 5d54e960e981: Download complete 18:40:36 f0e02332f6b5: Verifying Checksum 18:40:36 f0e02332f6b5: Download complete 18:40:36 872ee5b61b7b: Verifying Checksum 18:40:36 872ee5b61b7b: Download complete 18:40:36 9fda8d8052c6: Download complete 18:40:37 94ae7d8d031c: Verifying Checksum 18:40:37 94ae7d8d031c: Download complete 18:40:37 9fda8d8052c6: Pull complete 18:40:38 5d54e960e981: Pull complete 18:40:38 c4a7e357bf2a: Verifying Checksum 18:40:38 c4a7e357bf2a: Download complete 18:40:39 0c6a40ed1a82: Verifying Checksum 18:40:39 0c6a40ed1a82: Download complete 18:40:51 c4a7e357bf2a: Pull complete 18:40:51 f0e02332f6b5: Pull complete 18:40:51 872ee5b61b7b: Pull complete 18:40:59 0c6a40ed1a82: Pull complete 18:41:00 94ae7d8d031c: Pull complete 18:41:00 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:41:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:41:00 ---> 86de565de09d 18:41:00 Step 3/10 : ARG MAKE=make build 18:41:02 ---> Running in 79532e9a25f9 18:41:02 Removing intermediate container 79532e9a25f9 18:41:02 ---> fc43b1912f4f 18:41:02 Step 4/10 : WORKDIR /device-s7 18:41:02 ---> Running in 14beb6f7db57 18:41:03 Removing intermediate container 14beb6f7db57 18:41:03 ---> f2d873638b9e 18:41:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 18:41:03 ---> Running in 83b3bd780ac7 18:41:03 Removing intermediate container 83b3bd780ac7 18:41:03 ---> 350c8fbb914f 18:41:03 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 18:41:03 ---> Running in bcdd07521c25 18:41:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:41:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:41:05 OK: 266 MiB in 52 packages 18:41:06 Removing intermediate container bcdd07521c25 18:41:06 ---> f513fcb10be8 18:41:06 Step 7/10 : COPY go.mod vendor* ./ 18:41:07 ---> f47f4826c8dd 18:41:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:41:07 ---> Running in 518729162ca2 18:42:28 Removing intermediate container 518729162ca2 18:42:28 ---> f7b7568dace1 18:42:28 Step 9/10 : COPY . . 18:42:28 ---> ffaf4a6f85f5 18:42:28 Step 10/10 : RUN ${MAKE} 18:42:28 ---> Running in f044299cdb29 18:42:29 noop 18:42:29 Removing intermediate container f044299cdb29 18:42:29 ---> aa8667e64527 18:42:29 Successfully built aa8667e64527 18:42:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:30 + docker inspect -f . ci-base-image-arm64 18:42:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:30 prd-ubuntu20.04-docker-arm64-4c-16g-1975 does not seem to be running inside a container 18:42:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/10 -v /w/workspace/device-s7/10:/w/workspace/device-s7/10:rw,z -v /w/workspace/device-s7/10@tmp:/w/workspace/device-s7/10@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 ******** -e ******** ci-base-image-arm64 cat 18:42:35 $ docker top 03d7e9284a8379bc58850a901eae3574a2726eab615e5b53ed92a21afcc46e78 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:36 + go version 18:42:36 go version go1.21.0 linux/arm64 [Pipeline] } 18:42:36 $ docker stop --time=1 03d7e9284a8379bc58850a901eae3574a2726eab615e5b53ed92a21afcc46e78 18:42:37 $ docker rm -f --volumes 03d7e9284a8379bc58850a901eae3574a2726eab615e5b53ed92a21afcc46e78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:38 + docker inspect -f . ci-base-image-arm64 18:42:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:38 prd-ubuntu20.04-docker-arm64-4c-16g-1975 does not seem to be running inside a container 18:42:38 $ 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/10 -v /w/workspace/device-s7/10:/w/workspace/device-s7/10:rw,z -v /w/workspace/device-s7/10@tmp:/w/workspace/device-s7/10@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 ******** -e ******** ci-base-image-arm64 cat 18:42:40 $ docker top e1ffd54e0c893265239195f5be899f912066b8454a56196211fd68327714e092 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:40 + git config --global --add safe.directory /w/workspace/device-s7/10 [Pipeline] fileExists [Pipeline] sh 18:42:41 + make test 18:42:41 go test -race -coverprofile=coverage.out ./... 18:43:13 ? github.com/edgexfoundry/device-s7 [no test files] 18:44:50 ? github.com/edgexfoundry/device-s7/cmd [no test files] 18:44:50 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 18:44:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:44:50 go vet ./... 18:46:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:46:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:46:42 ./bin/test-attribution-txt.sh [Pipeline] echo 18:46:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:46:42 $ docker stop --time=1 e1ffd54e0c893265239195f5be899f912066b8454a56196211fd68327714e092 18:46:44 $ docker rm -f --volumes e1ffd54e0c893265239195f5be899f912066b8454a56196211fd68327714e092 [Pipeline] // withDockerContainer [Pipeline] sh 18:46:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:46:46 Warning: overwriting stash ‘coverage-report’ 18:46:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:46:47 + ls -al . 18:46:47 total 132 18:46:47 drwxrwxr-x 7 jenkins jenkins 4096 Feb 29 18:42 . 18:46:47 drwxrwxr-x 4 jenkins jenkins 4096 Feb 29 18:40 .. 18:46:47 drwxrwxr-x 8 jenkins jenkins 4096 Feb 29 18:40 .git 18:46:47 drwxrwxr-x 2 jenkins jenkins 4096 Feb 29 18:40 .github 18:46:47 -rw-rw-r-- 1 jenkins jenkins 237 Feb 29 18:40 .gitignore 18:46:47 -rw-rw-r-- 1 jenkins jenkins 42 Feb 29 18:40 .golangci.yml 18:46:47 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 29 18:40 Attribution.txt 18:46:47 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 29 18:40 Dockerfile 18:46:47 -rw-rw-r-- 1 jenkins jenkins 643 Feb 29 18:40 Jenkinsfile 18:46:47 -rw-rw-r-- 1 jenkins jenkins 10947 Feb 29 18:40 LICENSE 18:46:47 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 29 18:40 Makefile 18:46:47 -rw-rw-r-- 1 jenkins jenkins 614 Feb 29 18:40 OWNERS.md 18:46:47 -rw-rw-r-- 1 jenkins jenkins 2393 Feb 29 18:40 README.md 18:46:47 -rw-rw-r-- 1 jenkins jenkins 5 Feb 29 18:37 VERSION 18:46:47 drwxrwxr-x 2 jenkins jenkins 4096 Feb 29 18:40 bin 18:46:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 29 18:40 cmd 18:46:47 -rw-r--r-- 1 jenkins jenkins 13 Feb 29 18:42 coverage.out 18:46:47 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 29 18:40 go.mod 18:46:47 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 29 18:40 go.sum 18:46:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 29 18:40 internal 18:46:47 -rw-rw-r-- 1 jenkins jenkins 223 Feb 29 18:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:48 + 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 . 18:46:48 Sending build context to Docker daemon 420.9kB 18:46:48 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:46:48 Step 2/24 : FROM ${BASE} AS builder 18:46:48 ---> aa8667e64527 18:46:48 Step 3/24 : ARG MAKE=make build 18:46:48 ---> Running in 940ed39d7b7c 18:46:48 Removing intermediate container 940ed39d7b7c 18:46:48 ---> 2f59c7376f38 18:46:48 Step 4/24 : WORKDIR /device-s7 18:46:48 ---> Running in cfc5afb9371c 18:46:49 Removing intermediate container cfc5afb9371c 18:46:49 ---> 607095b60506 18:46:49 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 18:46:49 ---> Running in 248654e0ac05 18:46:49 Removing intermediate container 248654e0ac05 18:46:49 ---> 7774e0528f25 18:46:49 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 18:46:49 ---> Running in 5aa4410e52c9 18:46:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:46:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:46:52 OK: 266 MiB in 52 packages 18:46:53 Removing intermediate container 5aa4410e52c9 18:46:53 ---> d7b4b67cd0fa 18:46:53 Step 7/24 : COPY go.mod vendor* ./ 18:46:58 ---> 24ae10ae832e 18:46:58 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:58 ---> Running in cacd8f6d8c97 18:47:02 Removing intermediate container cacd8f6d8c97 18:47:02 ---> f3b4d00372bf 18:47:02 Step 9/24 : COPY . . 18:47:03 ---> f3375bbf4b40 18:47:03 Step 10/24 : RUN ${MAKE} 18:47:03 ---> Running in 3878248fd074 18:47:03 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 18:48:55 Removing intermediate container 3878248fd074 18:48:55 ---> 0c33861bee96 18:48:55 Step 11/24 : FROM alpine:3.18 18:48:55 3.18: Pulling from library/alpine 18:48:55 c6b39de5b339: Pulling fs layer 18:48:55 c6b39de5b339: Verifying Checksum 18:48:55 c6b39de5b339: Download complete 18:48:55 c6b39de5b339: Pull complete 18:48:55 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 18:48:55 Status: Downloaded newer image for alpine:3.18 18:48:55 ---> 33abbf032149 18:48:55 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 18:48:55 ---> Running in 90c3466cdd4d 18:48:55 Removing intermediate container 90c3466cdd4d 18:48:55 ---> ca046928e2bc 18:48:55 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:48:55 ---> Running in 7862bf4118d4 18:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:48:55 (1/1) Installing dumb-init (1.2.5-r2) 18:48:55 Executing busybox-1.36.1-r5.trigger 18:48:55 OK: 8 MiB in 16 packages 18:48:55 Removing intermediate container 7862bf4118d4 18:48:55 ---> 556c430289fe 18:48:55 Step 14/24 : RUN apk --no-cache upgrade 18:48:55 ---> Running in fa42c6194ef6 18:48:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:48:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:48:57 OK: 8 MiB in 16 packages 18:48:58 Removing intermediate container fa42c6194ef6 18:48:58 ---> fc4053bb10a4 18:48:58 Step 15/24 : WORKDIR / 18:48:58 ---> Running in 7e7468e31dd7 18:48:58 Removing intermediate container 7e7468e31dd7 18:48:58 ---> e6c1f050dfd2 18:48:58 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 18:48:58 ---> 1514989bd121 18:48:58 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 18:49:00 ---> 0068f3ab07ff 18:49:00 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 18:49:00 ---> 10d95a544003 18:49:00 Step 19/24 : EXPOSE 59994 18:49:00 ---> Running in 8dce60b61d80 18:49:01 Removing intermediate container 8dce60b61d80 18:49:01 ---> 18797369ca5f 18:49:01 Step 20/24 : ENTRYPOINT ["/device-s7"] 18:49:01 ---> Running in e36b35e4cc8a 18:49:01 Removing intermediate container e36b35e4cc8a 18:49:01 ---> ba63980ccba4 18:49:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:49:01 ---> Running in 692601ea2467 18:49:01 Removing intermediate container 692601ea2467 18:49:01 ---> ce931f1065ca 18:49:01 Step 22/24 : LABEL arch=arm64 18:49:02 ---> Running in 70dafa93f6f6 18:49:02 Removing intermediate container 70dafa93f6f6 18:49:02 ---> 4adbcabb2468 18:49:02 Step 23/24 : LABEL git_sha=be9287983f4b92c8cae0f409beca0b13e4ebd156 18:49:02 ---> Running in 29dd3a89ea42 18:49:02 Removing intermediate container 29dd3a89ea42 18:49:02 ---> 3126df2f7672 18:49:02 Step 24/24 : LABEL version=0.0.0 18:49:02 ---> Running in 80ad21f6fe38 18:49:02 Removing intermediate container 80ad21f6fe38 18:49:02 ---> ca9bd31e7404 18:49:02 [Warning] One or more build-args [ARCH] were not consumed 18:49:02 Successfully built ca9bd31e7404 18:49:02 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 18:49:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:49:03 18:49:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:49:04 arm64: Pulling from edgex-lftools-log-publisher 18:49:04 8998bd30e6a1: Pulling fs layer 18:49:04 04944245beec: Pulling fs layer 18:49:04 699f458cf7ca: Pulling fs layer 18:49:04 765212b225bb: Pulling fs layer 18:49:04 f23df028b6ca: Pulling fs layer 18:49:04 d65c8cfc05b1: Pulling fs layer 18:49:04 2437ff75d9bd: Pulling fs layer 18:49:04 765212b225bb: Waiting 18:49:04 f23df028b6ca: Waiting 18:49:04 d65c8cfc05b1: Waiting 18:49:04 2437ff75d9bd: Waiting 18:49:04 04944245beec: Verifying Checksum 18:49:04 04944245beec: Download complete 18:49:04 765212b225bb: Verifying Checksum 18:49:04 765212b225bb: Download complete 18:49:04 f23df028b6ca: Verifying Checksum 18:49:04 f23df028b6ca: Download complete 18:49:04 d65c8cfc05b1: Verifying Checksum 18:49:04 d65c8cfc05b1: Download complete 18:49:04 699f458cf7ca: Verifying Checksum 18:49:04 699f458cf7ca: Download complete 18:49:04 8998bd30e6a1: Verifying Checksum 18:49:04 8998bd30e6a1: Download complete 18:49:07 2437ff75d9bd: Verifying Checksum 18:49:10 8998bd30e6a1: Pull complete 18:49:10 04944245beec: Pull complete 18:49:11 699f458cf7ca: Pull complete 18:49:12 765212b225bb: Pull complete 18:49:13 f23df028b6ca: Pull complete 18:49:13 d65c8cfc05b1: Pull complete 18:49:31 2437ff75d9bd: Pull complete 18:49:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:49:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:49:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:31 prd-ubuntu20.04-docker-arm64-4c-16g-1975 does not seem to be running inside a container 18:49:31 $ 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/10 -v /w/workspace/device-s7/10:/w/workspace/device-s7/10:rw,z -v /w/workspace/device-s7/10@tmp:/w/workspace/device-s7/10@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:49:34 $ docker top aab909ec96638aed927f971e85591f90ad177f07b9fada813515cbb86307b0ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:35 ---> job-cost.sh 18:49:35 lf-activate-venv: SKIPPING 18:49:35 INFO: No Stack... 18:49:36 INFO: Retrieving Pricing Info for: v3-standard-4 18:49:36 INFO: Archiving Costs [Pipeline] sh 18:49:37 + cut -d, -f6 18:49:37 + cat /w/workspace/device-s7/10/archives/cost.csv [Pipeline] lock 18:49:37 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-10-stack-cost] 18:49:37 Resource [jenkins-edgexfoundry-device-s7-PR-9-10-stack-cost] did not exist. Created. 18:49:37 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:49:38 /w/workspace/device-s7/10@tmp/durable-f59fd5ac/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:49:38 + echo total: 0.10999999940395355 [Pipeline] stash 18:49:38 Warning: overwriting stash ‘stack-cost’ 18:49:38 Stashed 1 file(s) [Pipeline] } 18:49:38 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-10-stack-cost] [Pipeline] // lock [Pipeline] } 18:49:38 $ docker stop --time=1 aab909ec96638aed927f971e85591f90ad177f07b9fada813515cbb86307b0ec 18:49:41 $ docker rm -f --volumes aab909ec96638aed927f971e85591f90ad177f07b9fada813515cbb86307b0ec [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 18:49:42 provisioning config files... 18:49:42 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config9377736132039907182tmp [Pipeline] { [Pipeline] sh 18:49:43 + set +x 18:49:43 + curl -s https://codecov.io/bash 18:49:43 + bash -s -- 18:49:43 18:49:43 _____ _ 18:49:43 / ____| | | 18:49:43 | | ___ __| | ___ ___ _____ __ 18:49:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:49:43 | |___| (_) | (_| | __/ (_| (_) \ V / 18:49:43 \_____\___/ \__,_|\___|\___\___/ \_/ 18:49:43 Bash-1.0.6 18:49:43 18:49:43 18:49:43 ==> git version 2.25.1 found 18:49:43 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:49:43 Release-Date: 2020-01-08 18:49:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:49:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:49:43 ==> Jenkins CI detected. 18:49:43 current dir:  /w/workspace/edgexfoundry_device-s7_PR-9 18:49:43 project root: . 18:49:43 --> token set from env 18:49:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:49:43 ==> Running gcov in . (disable via -X gcov) 18:49:43 ==> Python coveragepy not found 18:49:43 ==> Searching for coverage reports in: 18:49:43 + . 18:49:43 -> Found 1 reports 18:49:43 ==> Detecting git/mercurial file structure 18:49:43 ==> Reading reports 18:49:43 + ./coverage.out bytes=13 18:49:43 ==> Appending adjustments 18:49:43 https://docs.codecov.io/docs/fixing-reports 18:49:43 + Found adjustments 18:49:43 ==> Gzipping contents 18:49:43 4.0K /tmp/codecov.4t1bVV.gz 18:49:43 ==> Uploading reports 18:49:43 url: https://codecov.io 18:49:43 query: branch=PR-9&commit=be9287983f4b92c8cae0f409beca0b13e4ebd156&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-9%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=9&job=&cmd_args= 18:49:43 -> Pinging Codecov 18:49:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-9&commit=be9287983f4b92c8cae0f409beca0b13e4ebd156&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2FPR-9%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=9&job=&cmd_args= 18:49:43 -> Uploading to 18:49:43 https://storage.googleapis.com/codecov/v4/raw/2024-02-29/4B6A60F249F899673AFAFF81AC620B19/be9287983f4b92c8cae0f409beca0b13e4ebd156/21ee89d6-657a-40da-90a4-982af86a5466.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240229T184943Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6202b0341edf75761fd578198b40dc48045deb6f1d53bf08908b5e35be86a44 18:49:43 % Total % Received % Xferd Average Speed Time Time Time Current 18:49:43 Dload Upload Total Spent Left Speed 18:49:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 866 0 0 100 866 0 4245 --:--:-- --:--:-- --:--:-- 4245 100 866 0 0 100 866 0 3491 --:--:-- --:--:-- --:--:-- 3477 18:49:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/be9287983f4b92c8cae0f409beca0b13e4ebd156 [Pipeline] } 18:49:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:49:45 + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] 18:49:45 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 18:49:45 total 16 18:49:45 drwxr-xr-x 3 root root 4096 Feb 29 18:40 . 18:49:45 drwxrwxr-x 9 jenkins jenkins 4096 Feb 29 18:40 .. 18:49:45 drwxr-xr-x 2 root root 4096 Feb 29 18:40 cost 18:49:45 -rw-r--r-- 1 root root 80 Feb 29 18:40 cost.csv 18:49:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives 18:49:45 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 18:49:45 total 16 18:49:45 drwxr-xr-x 3 jenkins jenkins 4096 Feb 29 18:40 . 18:49:45 drwxrwxr-x 9 jenkins jenkins 4096 Feb 29 18:40 .. 18:49:45 drwxr-xr-x 2 jenkins jenkins 4096 Feb 29 18:40 cost 18:49:45 -rw-r--r-- 1 jenkins jenkins 80 Feb 29 18:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:49:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:49:46 ---> package-listing.sh 18:49:46 ++ facter osfamily 18:49:46 ++ tr '[:upper:]' '[:lower:]' 18:49:47 + OS_FAMILY=debian 18:49:47 + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 18:49:47 + START_PACKAGES=/tmp/packages_start.txt 18:49:47 + END_PACKAGES=/tmp/packages_end.txt 18:49:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:49:47 + PACKAGES=/tmp/packages_start.txt 18:49:47 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 18:49:47 + PACKAGES=/tmp/packages_end.txt 18:49:47 + case "${OS_FAMILY}" in 18:49:47 + dpkg -l 18:49:47 + grep '^ii' 18:49:47 + '[' -f /tmp/packages_start.txt ']' 18:49:47 + '[' -f /tmp/packages_end.txt ']' 18:49:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:49:47 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 18:49:47 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ 18:49:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [Pipeline] echo 18:49:47 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 18:49:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:49:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:49:47 prd-ubuntu20.04-docker-8c-8g-1974 does not seem to be running inside a container 18:49:47 $ 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 18:49:48 $ docker top c4de024a1b10c561947b9969b5a4f9ed008480c60f21378e29fbbb42201ee73e -eo pid,comm [Pipeline] { [Pipeline] sh 18:49:48 + touch /tmp/pre-build-complete [Pipeline] sh 18:49:48 + mkdir -p /var/log/sysstat [Pipeline] sh 18:49:49 + ls /var/log/sa-host 18:49:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:49:49 provisioning config files... 18:49:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config11517664213936145733tmp [Pipeline] { [Pipeline] echo 18:49:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:49:49 ---> create-netrc.sh [Pipeline] } 18:49:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:49:50 ---> python-tools-install.sh [Pipeline] echo 18:49:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:49:50 ---> sudo-logs.sh 18:49:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:49:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:49:50 ---> job-cost.sh 18:49:50 lf-activate-venv: SKIPPING 18:49:50 DEBUG: total: 0.2199999988079071 18:49:50 INFO: Retrieving Stack Cost... 18:49:51 INFO: Retrieving Pricing Info for: v3-standard-8 18:49:51 INFO: Archiving Costs [Pipeline] echo 18:49:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:49:51 ---> logs-deploy.sh 18:49:51 lf-activate-venv: SKIPPING 18:49:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/10 18:49:51 INFO: archiving workspace using pattern(s): 18:49:52 Archives upload complete. 18:49:52 INFO: archiving logs to Nexus