Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9533422fec4002a0eebecd302b6b995f723b0f25 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-ssh9847138305017004068.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-ssh10447470114992513378.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7405014065816964209.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-ssh17789037440217142585.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3610984906389305471.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-2174 in /w/workspace/edgexfoundry_device-s7_main [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_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9533422fec4002a0eebecd302b6b995f723b0f25 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9533422fec4002a0eebecd302b6b995f723b0f25 # timeout=10 Commit message: "Merge pull request #9 from yiqisoft/fix-test-file" > git rev-list --no-walk 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:47:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:47:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:47:50 ========================================================= 12:47:50 EdgeX Global Pipelines Version Info 12:47:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:47:50 ------------------- 12:47:50 stable info: 12:47:50 ------------------- 12:47:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:47:50 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:47:50 Message: update stable to v1.0.258 12:47:51 ------------------- 12:47:51 experimental info: 12:47:51 ------------------- 12:47:51 Commited By: **** collab-it+edgex@linuxfoundation.org 12:47:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 12:47:51 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:47:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9533422fec4002a0eebecd302b6b995f723b0f25 [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9533422 [Pipeline] echo 12:47:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:47:52 provisioning config files... 12:47:52 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config14581728110152417059tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:47:53 ---> ****-login.sh 12:47:53 nexus3.edgexfoundry.org:10001 12:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:53 Configure a credential helper to remove this warning. See 12:47:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:53 12:47:53 Login Succeeded 12:47:53 nexus3.edgexfoundry.org:10002 12:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:53 Configure a credential helper to remove this warning. See 12:47:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:53 12:47:53 Login Succeeded 12:47:53 nexus3.edgexfoundry.org:10003 12:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:53 Configure a credential helper to remove this warning. See 12:47:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:53 12:47:53 Login Succeeded 12:47:53 nexus3.edgexfoundry.org:10004 12:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:53 Configure a credential helper to remove this warning. See 12:47:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:53 12:47:53 Login Succeeded 12:47:53 ****.io 12:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:47:54 Configure a credential helper to remove this warning. See 12:47:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:47:54 12:47:54 Login Succeeded 12:47:54 ---> ****-login.sh ends [Pipeline] } 12:47:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:47:54 + git rev-list -1 --merges 9533422fec4002a0eebecd302b6b995f723b0f25~1..9533422fec4002a0eebecd302b6b995f723b0f25 [Pipeline] echo 12:47:54 -----------> git rev-list -1 --merges 9533422fec4002a0eebecd302b6b995f723b0f25~1..9533422fec4002a0eebecd302b6b995f723b0f25 9533422fec4002a0eebecd302b6b995f723b0f25 12:47:54 9533422fec4002a0eebecd302b6b995f723b0f25 [false] [Pipeline] sh 12:47:54 + git log --format=format:%s -1 9533422fec4002a0eebecd302b6b995f723b0f25 [Pipeline] echo 12:47:54 ========================================================= 12:47:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:47:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:47:55 + git log --format=format:%s -1 9533422fec4002a0eebecd302b6b995f723b0f25 [Pipeline] echo 12:47:55 [semverPrep] GIT_COMMIT: 9533422fec4002a0eebecd302b6b995f723b0f25, Commit Message: Merge pull request #9 from yiqisoft/fix-test-file [Pipeline] echo 12:47:55 [semverPrep] This is not a build commit. [Pipeline] sh 12:47:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:47:55 + grep -v github /etc/ssh/ssh_known_hosts 12:47:55 + [ -e /tmp/ssh_known_hosts ] 12:47:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:47:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:47:55 + sudo tee -a /etc/ssh/ssh_known_hosts 12:47:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:47:56 12:47:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:47:56 0.1.4: Pulling from edgex-devops/py-git-semver 12:47:56 b85a868b505f: Pulling fs layer 12:47:56 e2be974225ed: Pulling fs layer 12:47:56 339a4e72a1f5: Pulling fs layer 12:47:56 988bab9f4d93: Pulling fs layer 12:47:56 1469e6f7b9e6: Pulling fs layer 12:47:56 eaf3925da568: Pulling fs layer 12:47:56 bab4dde63d76: Pulling fs layer 12:47:56 1469e6f7b9e6: Waiting 12:47:56 988bab9f4d93: Waiting 12:47:56 eaf3925da568: Waiting 12:47:56 bde34c3a00c8: Pulling fs layer 12:47:56 b352a97aabf1: Pulling fs layer 12:47:56 bde34c3a00c8: Waiting 12:47:56 b352a97aabf1: Waiting 12:47:56 4872d77fe225: Pulling fs layer 12:47:56 5851b861e8e6: Pulling fs layer 12:47:56 4872d77fe225: Waiting 12:47:56 5851b861e8e6: Waiting 12:47:56 e2be974225ed: Verifying Checksum 12:47:56 e2be974225ed: Download complete 12:47:56 988bab9f4d93: Verifying Checksum 12:47:56 988bab9f4d93: Download complete 12:47:56 1469e6f7b9e6: Verifying Checksum 12:47:56 1469e6f7b9e6: Download complete 12:47:56 eaf3925da568: Verifying Checksum 12:47:56 eaf3925da568: Download complete 12:47:56 339a4e72a1f5: Verifying Checksum 12:47:56 339a4e72a1f5: Download complete 12:47:56 bde34c3a00c8: Verifying Checksum 12:47:56 bde34c3a00c8: Download complete 12:47:56 b352a97aabf1: Verifying Checksum 12:47:56 b352a97aabf1: Download complete 12:47:56 4872d77fe225: Verifying Checksum 12:47:56 4872d77fe225: Download complete 12:47:56 5851b861e8e6: Verifying Checksum 12:47:56 5851b861e8e6: Download complete 12:47:56 b85a868b505f: Download complete 12:47:56 bab4dde63d76: Verifying Checksum 12:47:56 bab4dde63d76: Download complete 12:47:57 b85a868b505f: Pull complete 12:47:58 e2be974225ed: Pull complete 12:47:58 339a4e72a1f5: Pull complete 12:47:58 988bab9f4d93: Pull complete 12:47:59 1469e6f7b9e6: Pull complete 12:47:59 eaf3925da568: Pull complete 12:48:00 bab4dde63d76: Pull complete 12:48:00 bde34c3a00c8: Pull complete 12:48:00 b352a97aabf1: Pull complete 12:48:01 4872d77fe225: Pull complete 12:48:01 5851b861e8e6: Pull complete 12:48:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:48:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:48:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:48:01 prd-ubuntu20.04-docker-8c-8g-2174 does not seem to be running inside a container 12:48:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:48:07 $ docker top 9bd1ff848029ae5562898a6840881a735eac9b2de0c4a96063202f03e0e594db -eo pid,comm 12:48:05 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). 12:48:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:48:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:48:05 [ssh-agent] Looking for ssh-agent implementation... 12:48:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:48:08 $ docker exec 9bd1ff848029ae5562898a6840881a735eac9b2de0c4a96063202f03e0e594db ssh-agent 12:48:05 SSH_AUTH_SOCK=/tmp/ssh-itGwAyUY4iEe/agent.32 12:48:05 SSH_AGENT_PID=38 12:48:05 Running ssh-add (command line suppressed) 12:48:08 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17002935525381286218.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17002935525381286218.key) 12:48:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:48:06 + git tag --points-at HEAD [Pipeline] } 12:48:08 $ docker exec --env ******** --env ******** 9bd1ff848029ae5562898a6840881a735eac9b2de0c4a96063202f03e0e594db ssh-agent -k 12:48:08 unset SSH_AUTH_SOCK; 12:48:08 unset SSH_AGENT_PID; 12:48:08 echo Agent pid 38 killed; 12:48:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:48:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:48:06 [ssh-agent] Looking for ssh-agent implementation... 12:48:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:48:08 $ docker exec 9bd1ff848029ae5562898a6840881a735eac9b2de0c4a96063202f03e0e594db ssh-agent 12:48:06 SSH_AUTH_SOCK=/tmp/ssh-5jTP6H8KjdmG/agent.70 12:48:06 SSH_AGENT_PID=76 12:48:06 Running ssh-add (command line suppressed) 12:48:09 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11799693559657430833.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11799693559657430833.key) 12:48:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:48:07 + git semver init 12:48:07 2024-03-04 12:48:09,597 [run_init] DEBUG init version:0.0.0 force:False 12:48:07 2024-03-04 12:48:09,598 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_main/.semver 12:48:07 2024-03-04 12:48:09,599 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_main/.semver 12:48:07 2024-03-04 12:48:09,599 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-s7.git', '/w/workspace/edgexfoundry_device-s7_main/.semver'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=None) 12:48:08 2024-03-04 12:48:10,138 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_main/.git/info/exclude 12:48:08 2024-03-04 12:48:10,139 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:False 12:48:08 2024-03-04 12:48:10,139 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 12:48:08 2024-03-04 12:48:10,139 [write_version] DEBUG version is same as current version 0.0.0 12:48:08 2024-03-04 12:48:10,139 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 12:48:08 0.0.0 [Pipeline] } 12:48:10 $ docker exec --env ******** --env ******** 9bd1ff848029ae5562898a6840881a735eac9b2de0c4a96063202f03e0e594db ssh-agent -k 12:48:10 unset SSH_AUTH_SOCK; 12:48:10 unset SSH_AGENT_PID; 12:48:10 echo Agent pid 76 killed; 12:48:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:48:08 + git semver [Pipeline] } 12:48:11 $ docker stop --time=1 9bd1ff848029ae5562898a6840881a735eac9b2de0c4a96063202f03e0e594db 12:48:10 $ docker rm -f --volumes 9bd1ff848029ae5562898a6840881a735eac9b2de0c4a96063202f03e0e594db [Pipeline] // withDockerContainer [Pipeline] sh 12:48:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:48:10 Stashed 1 file(s) [Pipeline] echo 12:48:10 [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 12:48:11 provisioning config files... 12:48:11 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config12895105578661060151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:11 ---> ****-login.sh 12:48:11 nexus3.edgexfoundry.org:10001 12:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:11 Configure a credential helper to remove this warning. See 12:48:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:11 12:48:11 Login Succeeded 12:48:11 nexus3.edgexfoundry.org:10002 12:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:11 Configure a credential helper to remove this warning. See 12:48:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:11 12:48:11 Login Succeeded 12:48:11 nexus3.edgexfoundry.org:10003 12:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:11 Configure a credential helper to remove this warning. See 12:48:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:11 12:48:11 Login Succeeded 12:48:11 nexus3.edgexfoundry.org:10004 12:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:11 Configure a credential helper to remove this warning. See 12:48:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:11 12:48:11 Login Succeeded 12:48:11 ****.io 12:48:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:48:11 Configure a credential helper to remove this warning. See 12:48:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:48:11 12:48:11 Login Succeeded 12:48:11 ---> ****-login.sh ends [Pipeline] } 12:48:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:48:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:48:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:48:12 ========================================================= 12:48:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 12:48:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:12 + 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 . 12:48:12 Sending build context to Docker daemon 560.1kB 12:48:12 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 12:48:12 Step 2/10 : FROM ${BASE} AS builder 12:48:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 12:48:12 7264a8db6415: Pulling fs layer 12:48:12 c4d48a809fc2: Pulling fs layer 12:48:12 4f1c88b9dad5: Pulling fs layer 12:48:12 ad3a456e5733: Pulling fs layer 12:48:12 69c7f0334f64: Pulling fs layer 12:48:12 1f1c1a5573a3: Pulling fs layer 12:48:12 ce7588e14bc9: Pulling fs layer 12:48:12 b5e4710f87ac: Pulling fs layer 12:48:12 69c7f0334f64: Waiting 12:48:12 1f1c1a5573a3: Waiting 12:48:12 ce7588e14bc9: Waiting 12:48:12 b5e4710f87ac: Waiting 12:48:12 ad3a456e5733: Waiting 12:48:12 c4d48a809fc2: Download complete 12:48:12 ad3a456e5733: Verifying Checksum 12:48:12 ad3a456e5733: Download complete 12:48:12 69c7f0334f64: Verifying Checksum 12:48:12 69c7f0334f64: Download complete 12:48:12 7264a8db6415: Download complete 12:48:12 1f1c1a5573a3: Verifying Checksum 12:48:12 1f1c1a5573a3: Download complete 12:48:12 7264a8db6415: Pull complete 12:48:12 b5e4710f87ac: Verifying Checksum 12:48:12 b5e4710f87ac: Download complete 12:48:12 c4d48a809fc2: Pull complete 12:48:12 4f1c88b9dad5: Verifying Checksum 12:48:12 4f1c88b9dad5: Download complete 12:48:13 ce7588e14bc9: Verifying Checksum 12:48:16 4f1c88b9dad5: Pull complete 12:48:16 ad3a456e5733: Pull complete 12:48:16 69c7f0334f64: Pull complete 12:48:16 1f1c1a5573a3: Pull complete 12:48:19 ce7588e14bc9: Pull complete 12:48:19 b5e4710f87ac: Pull complete 12:48:19 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 12:48:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 12:48:19 ---> 88b5674ff536 12:48:19 Step 3/10 : ARG MAKE=make build 12:48:24 ---> Running in 178e2be27e7a 12:48:24 Removing intermediate container 178e2be27e7a 12:48:24 ---> 201036857a14 12:48:24 Step 4/10 : WORKDIR /device-s7 12:48:24 ---> Running in b74ad1aeadf2 12:48:24 Removing intermediate container b74ad1aeadf2 12:48:24 ---> a8bfa3eeddf9 12:48:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 12:48:24 ---> Running in af30254530a0 12:48:24 Removing intermediate container af30254530a0 12:48:24 ---> fe36d7d88622 12:48:24 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 12:48:24 ---> Running in df8c017d24b7 12:48:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:48:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:48:24 OK: 264 MiB in 52 packages 12:48:25 Removing intermediate container df8c017d24b7 12:48:25 ---> 19bae6493593 12:48:25 Step 7/10 : COPY go.mod vendor* ./ 12:48:25 ---> 28fb4967f505 12:48:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:48:25 ---> Running in bdf4d2e841ce 12:48:25 Still waiting to schedule task 12:48:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:49:21 Removing intermediate container bdf4d2e841ce 12:49:21 ---> b3f29652324c 12:49:21 Step 9/10 : COPY . . 12:49:21 ---> 15496d64fabe 12:49:21 Step 10/10 : RUN ${MAKE} 12:49:21 ---> Running in 3a6521b565be 12:49:21 noop 12:49:21 Removing intermediate container 3a6521b565be 12:49:21 ---> e52a9305de1a 12:49:21 Successfully built e52a9305de1a 12:49:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:22 + docker inspect -f . ci-base-image-x86_64 12:49:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:22 prd-ubuntu20.04-docker-8c-8g-2174 does not seem to be running inside a container 12:49:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@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 ******** ci-base-image-x86_64 cat 12:49:22 $ docker top 230e12367f9dea9fded6ea6af87fb3922ecbcbeb7867edc2f9075e3bb9d50aa6 -eo pid,comm [Pipeline] { [Pipeline] sh 12:49:23 + go version 12:49:23 go version go1.21.0 linux/amd64 [Pipeline] } 12:49:23 $ docker stop --time=1 230e12367f9dea9fded6ea6af87fb3922ecbcbeb7867edc2f9075e3bb9d50aa6 12:49:24 $ docker rm -f --volumes 230e12367f9dea9fded6ea6af87fb3922ecbcbeb7867edc2f9075e3bb9d50aa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:24 + docker inspect -f . ci-base-image-x86_64 12:49:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:24 prd-ubuntu20.04-docker-8c-8g-2174 does not seem to be running inside a container 12:49:25 $ 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_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@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 ******** ci-base-image-x86_64 cat 12:49:25 $ docker top 36a54be97601426ff9bc6a714f7d3095847b583b396110f02e0deb2265170220 -eo pid,comm [Pipeline] { [Pipeline] sh 12:49:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] fileExists [Pipeline] sh 12:49:26 + make test 12:49:26 go test -race -coverprofile=coverage.out ./... 12:49:32 ? github.com/edgexfoundry/device-s7 [no test files] 12:49:42 ? github.com/edgexfoundry/device-s7/cmd [no test files] 12:49:42 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 12:50:00 go vet ./... 12:50:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:50:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:50:02 ./bin/test-attribution-txt.sh [Pipeline] echo 12:50:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 12:50:02 $ docker stop --time=1 36a54be97601426ff9bc6a714f7d3095847b583b396110f02e0deb2265170220 12:50:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2175 in /w/workspace/edgexfoundry_device-s7_main 12:50:07 $ docker rm -f --volumes 36a54be97601426ff9bc6a714f7d3095847b583b396110f02e0deb2265170220 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws 12:50:07 Running in /w/workspace/device-s7/4 [Pipeline] { [Pipeline] checkout 12:50:07 Selected Git installation does not exist. Using Default 12:50:07 The recommended git tool is: NONE 12:50:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:50:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:50:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:50:08 + ls -al . 12:50:08 total 136 12:50:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 12:49 . 12:50:08 drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 12:47 .. 12:50:08 drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 12:49 .git 12:50:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 12:47 .github 12:50:08 -rw-rw-r-- 1 jenkins jenkins 237 Mar 4 12:47 .gitignore 12:50:08 -rw-rw-r-- 1 jenkins jenkins 42 Mar 4 12:47 .golangci.yml 12:50:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 12:48 .semver 12:50:08 -rw-rw-r-- 1 jenkins jenkins 11920 Mar 4 12:47 Attribution.txt 12:50:08 -rw-rw-r-- 1 jenkins jenkins 1546 Mar 4 12:47 Dockerfile 12:50:08 -rw-rw-r-- 1 jenkins jenkins 643 Mar 4 12:47 Jenkinsfile 12:50:08 -rw-rw-r-- 1 jenkins jenkins 10947 Mar 4 12:47 LICENSE 12:50:08 -rw-rw-r-- 1 jenkins jenkins 1903 Mar 4 12:47 Makefile 12:50:08 -rw-rw-r-- 1 jenkins jenkins 614 Mar 4 12:47 OWNERS.md 12:50:08 -rw-rw-r-- 1 jenkins jenkins 2393 Mar 4 12:47 README.md 12:50:08 -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 12:48 VERSION 12:50:08 drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 12:47 bin 12:50:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 12:47 cmd 12:50:08 -rw-r--r-- 1 jenkins jenkins 13 Mar 4 12:49 coverage.out 12:50:08 -rw-rw-r-- 1 jenkins jenkins 3674 Mar 4 12:47 go.mod 12:50:08 -rw-rw-r-- 1 jenkins jenkins 35223 Mar 4 12:47 go.sum 12:50:08 drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 12:47 internal 12:50:08 -rw-rw-r-- 1 jenkins jenkins 223 Mar 4 12:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:09 + 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=9533422fec4002a0eebecd302b6b995f723b0f25 --label arch=amd64 --label version=0.0.0 . 12:50:09 Sending build context to Docker daemon 561.2kB 12:50:09 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 12:50:09 Step 2/24 : FROM ${BASE} AS builder 12:50:09 ---> e52a9305de1a 12:50:09 Step 3/24 : ARG MAKE=make build 12:50:09 ---> Running in 4d15aad7d8d9 12:50:09 Removing intermediate container 4d15aad7d8d9 12:50:09 ---> 375e58e59e7e 12:50:09 Step 4/24 : WORKDIR /device-s7 12:50:09 ---> Running in 87807baa09a2 12:50:09 Removing intermediate container 87807baa09a2 12:50:09 ---> 5c923c793cbb 12:50:09 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 12:50:09 ---> Running in 21efdedf5a63 12:50:09 Removing intermediate container 21efdedf5a63 12:50:09 ---> 0c36e4741ef1 12:50:09 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 12:50:09 ---> Running in 9fa8a2dfb991 12:50:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:50:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:50:10 OK: 264 MiB in 52 packages 12:50:10 Removing intermediate container 9fa8a2dfb991 12:50:10 ---> cd74ee045ec0 12:50:10 Step 7/24 : COPY go.mod vendor* ./ 12:50:10 ---> 193afed9ba0c 12:50:10 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:50:10 ---> Running in 995b25697c69 12:50:11 Removing intermediate container 995b25697c69 12:50:11 ---> 69e0abbce082 12:50:11 Step 9/24 : COPY . . 12:50:11 ---> 9c988ebfbf71 12:50:11 Step 10/24 : RUN ${MAKE} 12:50:11 ---> Running in 98aa8e6e9c63 12:50:11 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 12:50:12 using credential edgex-jenkins-ssh 12:50:12 Cloning the remote Git repository 12:50:12 Cloning repository git@github.com:edgexfoundry/device-s7.git 12:50:12 > git init /w/workspace/device-s7/4 # timeout=10 12:50:12 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 12:50:12 > git --version # timeout=10 12:50:12 > git --version # 'git version 2.25.1' 12:50:12 using GIT_SSH to set credentials SSH Credentials for GitHub 12:50:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:50:13 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 12:50:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:50:14 Avoid second fetch 12:50:14 Checking out Revision 9533422fec4002a0eebecd302b6b995f723b0f25 (main) 12:50:14 > git config core.sparsecheckout # timeout=10 12:50:14 > git checkout -f 9533422fec4002a0eebecd302b6b995f723b0f25 # timeout=10 12:50:17 Commit message: "Merge pull request #9 from yiqisoft/fix-test-file" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:50:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:50:19 % Total % Received % Xferd Average Speed Time Time Time Current 12:50:19 Dload Upload Total Spent Left Speed 12:50:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 81 12828 81 10470 0 0 93482 0 --:--:-- --:--:-- --:--:-- 92654 100 12828 100 12828 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh 12:50:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:50:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 12:50:19 sudo tee /etc/docker/daemon.new 12:50:19 { 12:50:19 "registry-mirrors": [ 12:50:19 "https://nexus3.edgexfoundry.org:10001" 12:50:19 ], 12:50:19 "bip": "10.250.0.254/24", 12:50:19 "hosts": [ 12:50:19 "tcp://0.0.0.0:5555", 12:50:19 "unix:///var/run/docker.sock" 12:50:19 ], 12:50:19 "mtu": 1458, 12:50:19 "selinux-enabled": true, 12:50:19 "seccomp-profile": "/etc/docker/seccomp.json" 12:50:19 } [Pipeline] sh 12:50:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:50:20 + sudo service docker restart 12:50:31 Removing intermediate container 98aa8e6e9c63 12:50:31 ---> 9ee1418a87a7 12:50:31 Step 11/24 : FROM alpine:3.18 12:50:31 3.18: Pulling from library/alpine 12:50:32 619be1103602: Pulling fs layer 12:50:32 619be1103602: Verifying Checksum 12:50:32 619be1103602: Download complete 12:50:32 619be1103602: Pull complete 12:50:32 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 12:50:32 Status: Downloaded newer image for alpine:3.18 12:50:32 ---> d3782b16ccc9 12:50:32 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 12:50:32 ---> Running in b6ba2e561b6c 12:50:32 Removing intermediate container b6ba2e561b6c 12:50:32 ---> d675a7056865 12:50:32 Step 13/24 : RUN apk add --update --no-cache dumb-init 12:50:32 ---> Running in 2ac8b02dc627 12:50:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:50:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:50:33 (1/1) Installing dumb-init (1.2.5-r2) 12:50:33 Executing busybox-1.36.1-r5.trigger 12:50:33 OK: 7 MiB in 16 packages 12:50:33 Removing intermediate container 2ac8b02dc627 12:50:33 ---> 278f1053618d 12:50:33 Step 14/24 : RUN apk --no-cache upgrade 12:50:33 ---> Running in 0198dcfafaeb 12:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 12:50:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 12:50:34 OK: 7 MiB in 16 packages 12:50:34 Removing intermediate container 0198dcfafaeb 12:50:34 ---> 3c0c837a83bf 12:50:34 Step 15/24 : WORKDIR / 12:50:34 ---> Running in d3a65de50170 12:50:34 Removing intermediate container d3a65de50170 12:50:34 ---> e0f7a0a4d859 12:50:34 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 12:50:35 ---> 8fa9e6bc7844 12:50:35 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 12:50:35 ---> ad45e0ffc827 12:50:35 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 12:50:35 ---> 263611e8e598 12:50:35 Step 19/24 : EXPOSE 59994 12:50:35 ---> Running in 4819e1a07a6d 12:50:36 Removing intermediate container 4819e1a07a6d 12:50:36 ---> a46ccfcd55b3 12:50:36 Step 20/24 : ENTRYPOINT ["/device-s7"] 12:50:36 ---> Running in baee94578a9d 12:50:36 Removing intermediate container baee94578a9d 12:50:36 ---> 6bc337e6d3ff 12:50:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 12:50:36 ---> Running in 4a70390be107 12:50:36 Removing intermediate container 4a70390be107 12:50:36 ---> ec0092deb036 12:50:36 Step 22/24 : LABEL arch=amd64 12:50:36 ---> Running in 394bcf96711f 12:50:36 Removing intermediate container 394bcf96711f 12:50:36 ---> e2cc417c3b8a 12:50:36 Step 23/24 : LABEL git_sha=9533422fec4002a0eebecd302b6b995f723b0f25 12:50:36 ---> Running in d0720adf398d 12:50:36 Removing intermediate container d0720adf398d 12:50:36 ---> 21bfe1df2d58 12:50:36 Step 24/24 : LABEL version=0.0.0 12:50:36 ---> Running in 6ad7be160be6 12:50:36 Removing intermediate container 6ad7be160be6 12:50:36 ---> 61948e38b7c0 12:50:36 [Warning] One or more build-args [ARCH] were not consumed 12:50:36 Successfully built 61948e38b7c0 12:50:36 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:50:36 provisioning config files... 12:50:36 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config1861224705907592567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:50:36 ---> ****-login.sh 12:50:36 nexus3.edgexfoundry.org:10001 12:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:36 Configure a credential helper to remove this warning. See 12:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:36 12:50:36 Login Succeeded 12:50:36 nexus3.edgexfoundry.org:10002 12:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:36 Configure a credential helper to remove this warning. See 12:50:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:36 12:50:36 Login Succeeded 12:50:36 nexus3.edgexfoundry.org:10003 12:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:37 Configure a credential helper to remove this warning. See 12:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:37 12:50:37 Login Succeeded 12:50:37 nexus3.edgexfoundry.org:10004 12:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:37 Configure a credential helper to remove this warning. See 12:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:37 12:50:37 Login Succeeded 12:50:37 ****.io 12:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:37 Configure a credential helper to remove this warning. See 12:50:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:37 12:50:37 Login Succeeded 12:50:37 ---> ****-login.sh ends [Pipeline] } 12:50:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:50:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:50:37 [edgeXDocker.push] Tagging docker image device-s7 with the following tags: 12:50:37 9533422fec4002a0eebecd302b6b995f723b0f25 12:50:37 latest 12:50:37 0.0.0 12:50:37 9533422fec4002a0eebecd302b6b995f723b0f25-0.0.0 12:50:37 main 12:50:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:38 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:9533422fec4002a0eebecd302b6b995f723b0f25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:38 + docker push nexus3.edgexfoundry.org:10004/device-s7:9533422fec4002a0eebecd302b6b995f723b0f25 12:50:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 12:50:38 98e5dc44b036: Preparing 12:50:38 547b6c0a118e: Preparing 12:50:38 01d4e894699e: Preparing 12:50:38 aece7206bb35: Preparing 12:50:38 94859f14cf54: Preparing 12:50:38 aedc3bda2944: Preparing 12:50:38 01d4e894699e: Pushed 12:50:38 aece7206bb35: Pushed 12:50:38 94859f14cf54: Pushed 12:50:38 98e5dc44b036: Pushed 12:50:38 aedc3bda2944: Layer already exists 12:50:41 547b6c0a118e: Pushed 12:50:41 9533422fec4002a0eebecd302b6b995f723b0f25: digest: sha256:4217a231c804caeab29a5682c153b688e5b1359fdde5dfd7c5a6b07e5023713e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:41 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:42 + docker push nexus3.edgexfoundry.org:10004/device-s7:latest 12:50:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 12:50:42 98e5dc44b036: Preparing 12:50:42 547b6c0a118e: Preparing 12:50:42 01d4e894699e: Preparing 12:50:42 aece7206bb35: Preparing 12:50:42 94859f14cf54: Preparing 12:50:42 aedc3bda2944: Preparing 12:50:42 aedc3bda2944: Waiting 12:50:42 01d4e894699e: Layer already exists 12:50:42 94859f14cf54: Layer already exists 12:50:42 98e5dc44b036: Layer already exists 12:50:42 547b6c0a118e: Layer already exists 12:50:42 aece7206bb35: Layer already exists 12:50:42 aedc3bda2944: Layer already exists 12:50:42 latest: digest: sha256:4217a231c804caeab29a5682c153b688e5b1359fdde5dfd7c5a6b07e5023713e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:42 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:50:42 provisioning config files... 12:50:42 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/4@tmp/config13289705705345520069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:50:42 + docker push nexus3.edgexfoundry.org:10004/device-s7:0.0.0 12:50:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 12:50:42 98e5dc44b036: Preparing 12:50:42 547b6c0a118e: Preparing 12:50:42 01d4e894699e: Preparing 12:50:42 aece7206bb35: Preparing 12:50:42 94859f14cf54: Preparing 12:50:42 aedc3bda2944: Preparing 12:50:42 aedc3bda2944: Waiting 12:50:42 01d4e894699e: Layer already exists 12:50:42 98e5dc44b036: Layer already exists 12:50:42 94859f14cf54: Layer already exists 12:50:42 547b6c0a118e: Layer already exists 12:50:42 aece7206bb35: Layer already exists 12:50:42 aedc3bda2944: Layer already exists 12:50:42 0.0.0: digest: sha256:4217a231c804caeab29a5682c153b688e5b1359fdde5dfd7c5a6b07e5023713e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:43 ---> ****-login.sh 12:50:43 nexus3.edgexfoundry.org:10001 12:50:43 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:9533422fec4002a0eebecd302b6b995f723b0f25-0.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 12:50:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 12:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:43 Configure a credential helper to remove this warning. See 12:50:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:43 12:50:43 Login Succeeded 12:50:43 nexus3.edgexfoundry.org:10002 12:50:43 + docker push nexus3.edgexfoundry.org:10004/device-s7:9533422fec4002a0eebecd302b6b995f723b0f25-0.0.0 12:50:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 12:50:43 98e5dc44b036: Preparing 12:50:43 547b6c0a118e: Preparing 12:50:43 01d4e894699e: Preparing 12:50:43 aece7206bb35: Preparing 12:50:43 94859f14cf54: Preparing 12:50:43 aedc3bda2944: Preparing 12:50:43 aedc3bda2944: Waiting 12:50:43 01d4e894699e: Layer already exists 12:50:43 547b6c0a118e: Layer already exists 12:50:43 94859f14cf54: Layer already exists 12:50:43 aece7206bb35: Layer already exists 12:50:43 98e5dc44b036: Layer already exists 12:50:43 aedc3bda2944: Layer already exists 12:50:43 9533422fec4002a0eebecd302b6b995f723b0f25-0.0.0: digest: sha256:4217a231c804caeab29a5682c153b688e5b1359fdde5dfd7c5a6b07e5023713e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:43 Configure a credential helper to remove this warning. See 12:50:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:43 12:50:43 Login Succeeded 12:50:43 nexus3.edgexfoundry.org:10003 12:50:44 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 12:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh 12:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:44 Configure a credential helper to remove this warning. See 12:50:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:44 12:50:44 Login Succeeded 12:50:44 nexus3.edgexfoundry.org:10004 12:50:44 + docker push nexus3.edgexfoundry.org:10004/device-s7:main 12:50:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 12:50:44 98e5dc44b036: Preparing 12:50:44 547b6c0a118e: Preparing 12:50:44 01d4e894699e: Preparing 12:50:44 aece7206bb35: Preparing 12:50:44 94859f14cf54: Preparing 12:50:44 aedc3bda2944: Preparing 12:50:44 547b6c0a118e: Layer already exists 12:50:44 01d4e894699e: Layer already exists 12:50:44 98e5dc44b036: Layer already exists 12:50:44 aece7206bb35: Layer already exists 12:50:44 94859f14cf54: Layer already exists 12:50:44 aedc3bda2944: Layer already exists 12:50:44 main: digest: sha256:4217a231c804caeab29a5682c153b688e5b1359fdde5dfd7c5a6b07e5023713e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:50:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:50:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:44 Configure a credential helper to remove this warning. See 12:50:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:44 12:50:44 Login Succeeded 12:50:44 ****.io 12:50:44 ===================================================== [Pipeline] echo 12:50:44 taggedImages: 12:50:44 - nexus3.edgexfoundry.org:10004/device-s7:9533422fec4002a0eebecd302b6b995f723b0f25 12:50:44 - nexus3.edgexfoundry.org:10004/device-s7:latest 12:50:44 - nexus3.edgexfoundry.org:10004/device-s7:0.0.0 12:50:44 - nexus3.edgexfoundry.org:10004/device-s7:9533422fec4002a0eebecd302b6b995f723b0f25-0.0.0 12:50:44 - nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional 12:50:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 12:50:45 Configure a credential helper to remove this warning. See 12:50:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 12:50:45 12:50:45 Login Succeeded 12:50:45 ---> ****-login.sh ends [Pipeline] } 12:50:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 12:50:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:50:45 12:50:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 12:50:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:50:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 12:50:45 ========================================================= 12:50:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 12:50:45 ========================================================= [Pipeline] fileExists 12:50:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:50:45 latest: Pulling from edgex-lftools-log-publisher 12:50:45 5eb5b503b376: Pulling fs layer 12:50:45 5c69ac0246d0: Pulling fs layer 12:50:45 ec43610c2a17: Pulling fs layer 12:50:45 3a2ae6a8a46f: Pulling fs layer 12:50:45 33b1e0a273af: Pulling fs layer 12:50:45 5d3b04190fa2: Pulling fs layer 12:50:45 2f39f015ded8: Pulling fs layer 12:50:45 3a2ae6a8a46f: Waiting 12:50:45 2f39f015ded8: Waiting 12:50:45 33b1e0a273af: Waiting 12:50:45 5d3b04190fa2: Waiting 12:50:45 5c69ac0246d0: Verifying Checksum 12:50:45 5c69ac0246d0: Download complete 12:50:45 3a2ae6a8a46f: Verifying Checksum 12:50:45 3a2ae6a8a46f: Download complete 12:50:45 33b1e0a273af: Verifying Checksum 12:50:45 33b1e0a273af: Download complete 12:50:45 5d3b04190fa2: Download complete 12:50:45 ec43610c2a17: Verifying Checksum 12:50:45 ec43610c2a17: Download complete [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:50:46 5eb5b503b376: Verifying Checksum 12:50:46 5eb5b503b376: Download complete 12:50:46 + 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 . 12:50:46 Sending build context to Docker daemon 418.3kB 12:50:46 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 12:50:46 Step 2/10 : FROM ${BASE} AS builder 12:50:46 2f39f015ded8: Download complete 12:50:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:50:46 9fda8d8052c6: Pulling fs layer 12:50:46 5d54e960e981: Pulling fs layer 12:50:46 c4a7e357bf2a: Pulling fs layer 12:50:46 f0e02332f6b5: Pulling fs layer 12:50:46 872ee5b61b7b: Pulling fs layer 12:50:46 0c6a40ed1a82: Pulling fs layer 12:50:46 94ae7d8d031c: Pulling fs layer 12:50:46 f0e02332f6b5: Waiting 12:50:46 872ee5b61b7b: Waiting 12:50:46 0c6a40ed1a82: Waiting 12:50:46 94ae7d8d031c: Waiting 12:50:46 5d54e960e981: Verifying Checksum 12:50:46 5d54e960e981: Download complete 12:50:46 f0e02332f6b5: Verifying Checksum 12:50:46 f0e02332f6b5: Download complete 12:50:46 872ee5b61b7b: Download complete 12:50:46 9fda8d8052c6: Verifying Checksum 12:50:46 9fda8d8052c6: Download complete 12:50:47 5eb5b503b376: Pull complete 12:50:47 94ae7d8d031c: Verifying Checksum 12:50:47 94ae7d8d031c: Download complete 12:50:47 5c69ac0246d0: Pull complete 12:50:47 ec43610c2a17: Pull complete 12:50:47 3a2ae6a8a46f: Pull complete 12:50:48 33b1e0a273af: Pull complete 12:50:48 5d3b04190fa2: Pull complete 12:50:52 2f39f015ded8: Pull complete 12:50:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:50:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:50:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:50:52 prd-ubuntu20.04-docker-8c-8g-2174 does not seem to be running inside a container 12:50:52 $ 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_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:50:58 9fda8d8052c6: Pull complete 12:50:58 5d54e960e981: Pull complete 12:50:58 c4a7e357bf2a: Verifying Checksum 12:50:58 c4a7e357bf2a: Download complete 12:50:58 0c6a40ed1a82: Verifying Checksum 12:50:58 0c6a40ed1a82: Download complete 12:50:59 $ docker top ac442ba0cc422ab07fb6a759652e1755d5720286ece8c9d9dfefd2124c639533 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:50:59 ---> job-cost.sh 12:50:59 lf-activate-venv: SKIPPING 12:50:59 INFO: No Stack... 12:50:59 INFO: Retrieving Pricing Info for: v3-standard-8 12:51:01 INFO: Archiving Costs [Pipeline] sh 12:51:01 + cat /w/workspace/edgexfoundry_device-s7_main/archives/cost.csv 12:51:01 + cut -d, -f6 [Pipeline] lock 12:51:01 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-main-4-stack-cost] 12:51:01 Resource [jenkins-edgexfoundry-device-s7-main-4-stack-cost] did not exist. Created. 12:51:01 Lock acquired on [jenkins-edgexfoundry-device-s7-main-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:51:02 + echo total: 0.2199999988079071 [Pipeline] stash 12:51:02 Stashed 1 file(s) [Pipeline] } 12:51:02 Lock released on resource [jenkins-edgexfoundry-device-s7-main-4-stack-cost] [Pipeline] // lock [Pipeline] } 12:51:02 $ docker stop --time=1 ac442ba0cc422ab07fb6a759652e1755d5720286ece8c9d9dfefd2124c639533 12:51:03 $ docker rm -f --volumes ac442ba0cc422ab07fb6a759652e1755d5720286ece8c9d9dfefd2124c639533 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:51:08 c4a7e357bf2a: Pull complete 12:51:08 f0e02332f6b5: Pull complete 12:51:08 872ee5b61b7b: Pull complete 12:51:16 0c6a40ed1a82: Pull complete 12:51:17 94ae7d8d031c: Pull complete 12:51:17 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 12:51:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 12:51:17 ---> 86de565de09d 12:51:17 Step 3/10 : ARG MAKE=make build 12:51:19 ---> Running in 97ee71e39249 12:51:19 Removing intermediate container 97ee71e39249 12:51:19 ---> 60ef9121f2af 12:51:19 Step 4/10 : WORKDIR /device-s7 12:51:19 ---> Running in 99ff27867c86 12:51:19 Removing intermediate container 99ff27867c86 12:51:19 ---> 3ecc2e86eed5 12:51:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 12:51:20 ---> Running in cb772fdd21da 12:51:20 Removing intermediate container cb772fdd21da 12:51:20 ---> ce8fd47854b9 12:51:20 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 12:51:20 ---> Running in 38c913bb4928 12:51:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:51:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:51:23 OK: 266 MiB in 52 packages 12:51:23 Removing intermediate container 38c913bb4928 12:51:23 ---> b14070f9e1df 12:51:23 Step 7/10 : COPY go.mod vendor* ./ 12:51:24 ---> d3049aa36973 12:51:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:51:24 ---> Running in ef788fc1737f 12:52:46 Removing intermediate container ef788fc1737f 12:52:46 ---> 1cb777a18d48 12:52:46 Step 9/10 : COPY . . 12:52:46 ---> 341b79b4f898 12:52:46 Step 10/10 : RUN ${MAKE} 12:52:46 ---> Running in a34a52fadff7 12:52:46 noop 12:52:46 Removing intermediate container a34a52fadff7 12:52:46 ---> 2fea230f7dad 12:52:46 Successfully built 2fea230f7dad 12:52:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:47 + docker inspect -f . ci-base-image-arm64 12:52:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:52:47 prd-ubuntu20.04-docker-arm64-4c-16g-2175 does not seem to be running inside a container 12:52:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/4 -v /w/workspace/device-s7/4:/w/workspace/device-s7/4:rw,z -v /w/workspace/device-s7/4@tmp:/w/workspace/device-s7/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:52:51 $ docker top 99c47667e7754cf0b138c56260a48f7945e353d95b854d68a6cd0aad362493a1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:52:52 + go version 12:52:52 go version go1.21.0 linux/arm64 [Pipeline] } 12:52:52 $ docker stop --time=1 99c47667e7754cf0b138c56260a48f7945e353d95b854d68a6cd0aad362493a1 12:52:53 $ docker rm -f --volumes 99c47667e7754cf0b138c56260a48f7945e353d95b854d68a6cd0aad362493a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:52:54 + docker inspect -f . ci-base-image-arm64 12:52:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:52:55 prd-ubuntu20.04-docker-arm64-4c-16g-2175 does not seem to be running inside a container 12:52:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/4 -v /w/workspace/device-s7/4:/w/workspace/device-s7/4:rw,z -v /w/workspace/device-s7/4@tmp:/w/workspace/device-s7/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:52:56 $ docker top adbc239599e936ffd934fffab45e59bfa19fcb320e6d657521de5ec2becd7ebb -eo pid,comm [Pipeline] { [Pipeline] sh 12:52:56 + git config --global --add safe.directory /w/workspace/device-s7/4 [Pipeline] fileExists [Pipeline] sh 12:52:57 + make test 12:52:57 go test -race -coverprofile=coverage.out ./... 12:53:32 Cannot contact prd-ubuntu20.04-docker-arm64-4c-16g-2175: java.lang.InterruptedException 18:47:50 Cancelling nested steps due to timeout 18:47:50 Could not connect to prd-ubuntu20.04-docker-arm64-4c-16g-2175 to send interrupt signal to process [Pipeline] } 18:47:50 ERROR: Issue with creating launcher for agent prd-ubuntu20.04-docker-arm64-4c-16g-2175. The agent has not been fully initialized yet [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix 18:47:50 ERROR: Issue with creating launcher for agent prd-ubuntu20.04-docker-arm64-4c-16g-2175. The agent has not been fully initialized yet 18:47:50 prd-ubuntu20.04-docker-arm64-4c-16g-2175 was marked offline: Connection was broken 18:47:50 ERROR: Issue with creating launcher for agent prd-ubuntu20.04-docker-arm64-4c-16g-2175. The agent has not been fully initialized yet [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:50 prd-ubuntu20.04-docker-arm64-4c-16g-2175 was marked offline: Connection was broken [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script Error when executing always post condition: Also: hudson.model.Computer$TerminationRequest: Termination requested at Mon Mar 04 12:59:00 UTC 2024 by Thread[Ping thread for channel hudson.remoting.Channel@44b4ac34:prd-ubuntu20.04-docker-arm64-4c-16g-2175,5,main] [id=1371285] at hudson.model.Computer.recordTermination(Computer.java:239) at hudson.model.Computer.disconnect(Computer.java:509) at hudson.slaves.SlaveComputer.disconnect(SlaveComputer.java:816) at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:192) at hudson.remoting.PingThread.ping(PingThread.java:132) at hudson.remoting.PingThread.run(PingThread.java:88) Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 1eb76d66-fc65-4244-a740-78d3f90c357c org.jenkinsci.plugins.workflow.support.steps.AgentOfflineException: Unable to create live FilePath for prd-ubuntu20.04-docker-arm64-4c-16g-2175 at org.jenkinsci.plugins.workflow.support.steps.FilePathDynamicContext.get(FilePathDynamicContext.java:77) at org.jenkinsci.plugins.workflow.support.steps.FilePathDynamicContext.get(FilePathDynamicContext.java:49) at org.jenkinsci.plugins.workflow.steps.DynamicContext$Typed.get(DynamicContext.java:95) at org.jenkinsci.plugins.workflow.cps.ContextVariableSet.get(ContextVariableSet.java:139) at org.jenkinsci.plugins.workflow.cps.CpsThread.getContextVariable(CpsThread.java:137) at org.jenkinsci.plugins.workflow.cps.CpsStepContext.doGet(CpsStepContext.java:297) at org.jenkinsci.plugins.workflow.support.DefaultStepContext.get(DefaultStepContext.java:75) at org.jenkinsci.plugins.workflow.steps.StepDescriptor.checkContextAvailability(StepDescriptor.java:263) at org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:300) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:196) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:124) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:47) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at com.cloudbees.groovy.cps.sandbox.DefaultInvoker.methodCall(DefaultInvoker.java:20) at org.jenkinsci.plugins.workflow.cps.LoggingInvoker.methodCall(LoggingInvoker.java:105) at org.jenkinsci.plugins.docker.workflow.Docker.shell(Docker.groovy:79) at org.jenkinsci.plugins.docker.workflow.Docker$Image.inside(Docker.groovy:133) at ___cps.transform___(Native Method) at com.cloudbees.groovy.cps.impl.ContinuationGroup.methodCall(ContinuationGroup.java:90) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.dispatchOrArg(FunctionCallBlock.java:116) at com.cloudbees.groovy.cps.impl.FunctionCallBlock$ContinuationImpl.fixArg(FunctionCallBlock.java:85) at jdk.internal.reflect.GeneratedMethodAccessor992.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.cloudbees.groovy.cps.impl.ContinuationPtr$ContinuationImpl.receive(ContinuationPtr.java:72) at com.cloudbees.groovy.cps.impl.LocalVariableBlock$LocalVariable.get(LocalVariableBlock.java:39) at com.cloudbees.groovy.cps.LValueBlock$GetAdapter.receive(LValueBlock.java:30) at com.cloudbees.groovy.cps.impl.LocalVariableBlock.evalLValue(LocalVariableBlock.java:28) at com.cloudbees.groovy.cps.LValueBlock$BlockImpl.eval(LValueBlock.java:55) at com.cloudbees.groovy.cps.LValueBlock.eval(LValueBlock.java:16) at com.cloudbees.groovy.cps.Next.step(Next.java:83) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:152) at com.cloudbees.groovy.cps.Continuable$1.call(Continuable.java:146) at org.codehaus.groovy.runtime.GroovyCategorySupport$ThreadCategoryInfo.use(GroovyCategorySupport.java:136) at org.codehaus.groovy.runtime.GroovyCategorySupport.use(GroovyCategorySupport.java:275) at com.cloudbees.groovy.cps.Continuable.run0(Continuable.java:146) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.access$001(SandboxContinuable.java:18) at org.jenkinsci.plugins.workflow.cps.SandboxContinuable.run0(SandboxContinuable.java:51) at org.jenkinsci.plugins.workflow.cps.CpsThread.runNextChunk(CpsThread.java:187) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.run(CpsThreadGroup.java:423) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:331) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$2.call(CpsThreadGroup.java:295) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$2.call(CpsVmExecutorService.java:97) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:139) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:68) at jenkins.util.ErrorLoggingExecutorService.lambda$wrap$0(ErrorLoggingExecutorService.java:51) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:47:51 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:47:53 + [ -d /w/workspace/edgexfoundry_device-s7_main/archives ] 18:47:53 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 18:47:53 total 16 18:47:53 drwxr-xr-x 3 root root 4096 Mar 4 12:51 . 18:47:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 12:51 .. 18:47:53 drwxr-xr-x 2 root root 4096 Mar 4 12:51 cost 18:47:53 -rw-r--r-- 1 root root 79 Mar 4 12:51 cost.csv 18:47:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_main/archives 18:47:53 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 18:47:53 total 16 18:47:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 12:51 . 18:47:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 12:51 .. 18:47:53 drwxr-xr-x 2 jenkins jenkins 4096 Mar 4 12:51 cost 18:47:53 -rw-r--r-- 1 jenkins jenkins 79 Mar 4 12:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:47:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:47:54 ---> package-listing.sh 18:47:54 ++ facter osfamily 18:47:54 ++ tr '[:upper:]' '[:lower:]' 18:47:54 + OS_FAMILY=debian 18:47:54 + workspace=/w/workspace/edgexfoundry_device-s7_main 18:47:54 + START_PACKAGES=/tmp/packages_start.txt 18:47:54 + END_PACKAGES=/tmp/packages_end.txt 18:47:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:47:54 + PACKAGES=/tmp/packages_start.txt 18:47:54 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 18:47:54 + PACKAGES=/tmp/packages_end.txt 18:47:54 + case "${OS_FAMILY}" in 18:47:54 + dpkg -l 18:47:54 + grep '^ii' 18:47:54 + '[' -f /tmp/packages_start.txt ']' 18:47:54 + '[' -f /tmp/packages_end.txt ']' 18:47:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:47:54 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 18:47:54 + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ 18:47:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo 18:47:54 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:47:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:47:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:55 prd-ubuntu20.04-docker-8c-8g-2174 does not seem to be running inside a container 18:47:55 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:47:56 $ docker top 886d38879f97a27b625f976d229afa6ada6c02aec696ad561c529cad53178c21 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:56 + touch /tmp/pre-build-complete [Pipeline] sh 18:47:56 + mkdir -p /var/log/sysstat [Pipeline] sh 18:47:57 + ls /var/log/sa-host 18:47:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:47:57 provisioning config files... 18:47:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config5783837487880987435tmp [Pipeline] { [Pipeline] echo 18:47:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:47:57 ---> create-netrc.sh [Pipeline] } 18:47:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:47:58 ---> python-tools-install.sh [Pipeline] echo 18:47:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:47:58 ---> sudo-logs.sh 18:47:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:47:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:47:58 ---> job-cost.sh 18:47:58 lf-activate-venv: SKIPPING 18:47:58 DEBUG: total: 0.2199999988079071 18:47:58 INFO: Retrieving Stack Cost... 18:47:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:47:59 INFO: Archiving Costs [Pipeline] echo 18:47:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:47:59 ---> logs-deploy.sh 18:47:59 lf-activate-venv: SKIPPING 18:47:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/4 18:47:59 INFO: archiving workspace using pattern(s): 18:48:00 Archives upload complete. 18:48:00 INFO: archiving logs to Nexus 18:48:01 ---> uname -a: 18:48:01 Linux prd-ubuntu20-04-docker-8c-8g-2174 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:48:01 18:48:01