Pull request #9 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of yiqisoft for edgexfoundry/device-s7 Loading trusted files from base branch main at 1b057092ee19ade1a8316e5cb795699e1e50525a rather than 2699493645440727ae69ef4d7692207bb1988f9c 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-ssh17926621754276277549.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-ssh16925877572659696153.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-ssh4828746534022820071.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-ssh16844399134784459098.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-ssh6175655661572975802.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-s7] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-s7-settings PROJECT: device-s7 USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-s7 DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1664’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1666 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 2699493645440727ae69ef4d7692207bb1988f9c Merge succeeded, producing 2699493645440727ae69ef4d7692207bb1988f9c Checking out Revision 2699493645440727ae69ef4d7692207bb1988f9c (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 2699493645440727ae69ef4d7692207bb1988f9c # 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 2699493645440727ae69ef4d7692207bb1988f9c # timeout=10 Commit message: "fix: fix test process" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:59:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:59:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:59:20 ========================================================= 08:59:20 EdgeX Global Pipelines Version Info 08:59:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk a9a6f66d479947a211bd01278a262dd7d70af05d # timeout=10 08:59:21 ------------------- 08:59:21 stable info: 08:59:21 ------------------- 08:59:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:59:21 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:59:21 Message: update stable to v1.0.258 08:59:22 ------------------- 08:59:22 experimental info: 08:59:22 ------------------- 08:59:22 Commited By: **** collab-it+edgex@linuxfoundation.org 08:59:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 08:59:22 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:59:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:59:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:59:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:59:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-9 [Pipeline] echo 08:59:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-9 [Pipeline] echo 08:59:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-9 [Pipeline] echo 08:59:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2699493645440727ae69ef4d7692207bb1988f9c [Pipeline] echo 08:59:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2699493 [Pipeline] echo 08:59:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:59:23 provisioning config files... 08:59:23 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config3216457083199817147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:23 ---> ****-login.sh 08:59:23 nexus3.edgexfoundry.org:10001 08:59:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:23 Configure a credential helper to remove this warning. See 08:59:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:23 08:59:23 Login Succeeded 08:59:23 nexus3.edgexfoundry.org:10002 08:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:24 Configure a credential helper to remove this warning. See 08:59:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:24 08:59:24 Login Succeeded 08:59:24 nexus3.edgexfoundry.org:10003 08:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:24 Configure a credential helper to remove this warning. See 08:59:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:24 08:59:24 Login Succeeded 08:59:24 nexus3.edgexfoundry.org:10004 08:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:24 Configure a credential helper to remove this warning. See 08:59:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:24 08:59:24 Login Succeeded 08:59:24 ****.io 08:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:24 Configure a credential helper to remove this warning. See 08:59:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:24 08:59:24 Login Succeeded 08:59:24 ---> ****-login.sh ends [Pipeline] } 08:59:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:59:25 + git rev-list -1 --merges 2699493645440727ae69ef4d7692207bb1988f9c~1..2699493645440727ae69ef4d7692207bb1988f9c [Pipeline] echo 08:59:25 -----------> git rev-list -1 --merges 2699493645440727ae69ef4d7692207bb1988f9c~1..2699493645440727ae69ef4d7692207bb1988f9c 2699493645440727ae69ef4d7692207bb1988f9c [false] [Pipeline] sh 08:59:25 + git log --format=format:%s -1 2699493645440727ae69ef4d7692207bb1988f9c [Pipeline] echo 08:59:25 ========================================================= 08:59:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:59:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:25 + git log --format=format:%s -1 2699493645440727ae69ef4d7692207bb1988f9c [Pipeline] echo 08:59:25 [semverPrep] GIT_COMMIT: 2699493645440727ae69ef4d7692207bb1988f9c, Commit Message: fix: fix test process [Pipeline] echo 08:59:26 [semverPrep] This is not a build commit. [Pipeline] sh 08:59:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:59:26 + grep -v github /etc/ssh/ssh_known_hosts 08:59:26 + [ -e /tmp/ssh_known_hosts ] 08:59:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:59:26 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:59:26 sudo tee -a /etc/ssh/ssh_known_hosts 08:59:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:59:26 08:59:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:59:27 0.1.4: Pulling from edgex-devops/py-git-semver 08:59:27 b85a868b505f: Pulling fs layer 08:59:27 e2be974225ed: Pulling fs layer 08:59:27 339a4e72a1f5: Pulling fs layer 08:59:27 988bab9f4d93: Pulling fs layer 08:59:27 1469e6f7b9e6: Pulling fs layer 08:59:27 eaf3925da568: Pulling fs layer 08:59:27 bab4dde63d76: Pulling fs layer 08:59:27 bde34c3a00c8: Pulling fs layer 08:59:27 b352a97aabf1: Pulling fs layer 08:59:27 4872d77fe225: Pulling fs layer 08:59:27 5851b861e8e6: Pulling fs layer 08:59:27 988bab9f4d93: Waiting 08:59:27 b352a97aabf1: Waiting 08:59:27 1469e6f7b9e6: Waiting 08:59:27 4872d77fe225: Waiting 08:59:27 5851b861e8e6: Waiting 08:59:27 eaf3925da568: Waiting 08:59:27 bab4dde63d76: Waiting 08:59:27 bde34c3a00c8: Waiting 08:59:27 e2be974225ed: Download complete 08:59:27 988bab9f4d93: Verifying Checksum 08:59:27 1469e6f7b9e6: Verifying Checksum 08:59:27 1469e6f7b9e6: Download complete 08:59:27 eaf3925da568: Download complete 08:59:27 339a4e72a1f5: Verifying Checksum 08:59:27 339a4e72a1f5: Download complete 08:59:27 bde34c3a00c8: Download complete 08:59:27 b352a97aabf1: Verifying Checksum 08:59:27 b352a97aabf1: Download complete 08:59:27 4872d77fe225: Verifying Checksum 08:59:27 4872d77fe225: Download complete 08:59:27 5851b861e8e6: Verifying Checksum 08:59:27 5851b861e8e6: Download complete 08:59:27 b85a868b505f: Verifying Checksum 08:59:27 b85a868b505f: Download complete 08:59:27 bab4dde63d76: Verifying Checksum 08:59:27 bab4dde63d76: Download complete 08:59:28 b85a868b505f: Pull complete 08:59:28 e2be974225ed: Pull complete 08:59:29 339a4e72a1f5: Pull complete 08:59:29 988bab9f4d93: Pull complete 08:59:29 1469e6f7b9e6: Pull complete 08:59:29 eaf3925da568: Pull complete 08:59:31 bab4dde63d76: Pull complete 08:59:31 bde34c3a00c8: Pull complete 08:59:31 b352a97aabf1: Pull complete 08:59:31 4872d77fe225: Pull complete 08:59:31 5851b861e8e6: Pull complete 08:59:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:59:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:59:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:32 prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container 08:59:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:59:35 $ docker top 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 -eo pid,comm 08:59:35 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). 08:59:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:59:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:35 [ssh-agent] Looking for ssh-agent implementation... 08:59:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:35 $ docker exec 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 ssh-agent 08:59:36 SSH_AUTH_SOCK=/tmp/ssh-jIH6pLOPeCok/agent.31 08:59:36 SSH_AGENT_PID=37 08:59:36 Running ssh-add (command line suppressed) 08:59:36 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5441942510750774529.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_5441942510750774529.key) 08:59:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:36 + git tag --points-at HEAD [Pipeline] } 08:59:36 $ docker exec --env ******** --env ******** 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 ssh-agent -k 08:59:36 unset SSH_AUTH_SOCK; 08:59:36 unset SSH_AGENT_PID; 08:59:36 echo Agent pid 37 killed; 08:59:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:59:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:59:36 [ssh-agent] Looking for ssh-agent implementation... 08:59:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:59:36 $ docker exec 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 ssh-agent 08:59:36 SSH_AUTH_SOCK=/tmp/ssh-PAMeQ068Mcau/agent.69 08:59:36 SSH_AGENT_PID=75 08:59:36 Running ssh-add (command line suppressed) 08:59:37 Identity added: /w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_11792935279452159439.key (/w/workspace/edgexfoundry_device-s7_PR-9@tmp/private_key_11792935279452159439.key) 08:59:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:59:37 + git semver init 08:59:37 2024-02-25 08:59:37,523 [run_init] DEBUG init version:0.0.0 force:False 08:59:37 2024-02-25 08:59:37,523 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_PR-9/.semver 08:59:37 2024-02-25 08:59:37,524 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_PR-9/.semver 08:59:37 2024-02-25 08:59:37,524 [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) 08:59:38 2024-02-25 08:59:38,147 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_PR-9/.git/info/exclude 08:59:38 2024-02-25 08:59:38,148 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 with force:False 08:59:38 2024-02-25 08:59:38,148 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 08:59:38 2024-02-25 08:59:38,152 [execute] INFO git cat-file --batch-check 08:59:38 2024-02-25 08:59:38,152 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 08:59:38 2024-02-25 08:59:38,158 [execute] INFO git cat-file --batch 08:59:38 2024-02-25 08:59:38,158 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_PR-9/.semver, universal_newlines=False, shell=None, istream=) 08:59:38 2024-02-25 08:59:38,162 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_PR-9/.semver/PR-9 08:59:38 0.0.0 [Pipeline] } 08:59:38 $ docker exec --env ******** --env ******** 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 ssh-agent -k 08:59:38 unset SSH_AUTH_SOCK; 08:59:38 unset SSH_AGENT_PID; 08:59:38 echo Agent pid 75 killed; 08:59:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:59:38 + git semver [Pipeline] } 08:59:38 $ docker stop --time=1 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 08:59:40 $ docker rm -f --volumes 843876c9e257bcfe9865af0208a474e0347701cb17a0fc4bb6a2c33663445d96 [Pipeline] // withDockerContainer [Pipeline] sh 08:59:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:59:40 Stashed 1 file(s) [Pipeline] echo 08:59:40 [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 08:59:41 provisioning config files... 08:59:41 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config4690438764855189359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:41 ---> ****-login.sh 08:59:41 nexus3.edgexfoundry.org:10001 08:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:41 Configure a credential helper to remove this warning. See 08:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:41 08:59:41 Login Succeeded 08:59:41 nexus3.edgexfoundry.org:10002 08:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:41 Configure a credential helper to remove this warning. See 08:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:41 08:59:41 Login Succeeded 08:59:41 nexus3.edgexfoundry.org:10003 08:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:41 Configure a credential helper to remove this warning. See 08:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:41 08:59:41 Login Succeeded 08:59:41 nexus3.edgexfoundry.org:10004 08:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:41 Configure a credential helper to remove this warning. See 08:59:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:41 08:59:41 Login Succeeded 08:59:41 ****.io 08:59:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:59:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:59:42 Configure a credential helper to remove this warning. See 08:59:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:59:42 08:59:42 Login Succeeded 08:59:42 ---> ****-login.sh ends [Pipeline] } 08:59:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:59:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:59:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:59:42 ========================================================= 08:59:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 08:59:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:59:42 + 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 . 08:59:42 Sending build context to Docker daemon 539.6kB 08:59:42 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 08:59:42 Step 2/10 : FROM ${BASE} AS builder 08:59:42 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 08:59:42 7264a8db6415: Pulling fs layer 08:59:42 c4d48a809fc2: Pulling fs layer 08:59:42 4f1c88b9dad5: Pulling fs layer 08:59:42 ad3a456e5733: Pulling fs layer 08:59:42 69c7f0334f64: Pulling fs layer 08:59:42 1f1c1a5573a3: Pulling fs layer 08:59:42 ce7588e14bc9: Pulling fs layer 08:59:42 69c7f0334f64: Waiting 08:59:42 ad3a456e5733: Waiting 08:59:42 1f1c1a5573a3: Waiting 08:59:42 ce7588e14bc9: Waiting 08:59:42 b5e4710f87ac: Pulling fs layer 08:59:42 c4d48a809fc2: Verifying Checksum 08:59:42 c4d48a809fc2: Download complete 08:59:42 ad3a456e5733: Download complete 08:59:42 69c7f0334f64: Verifying Checksum 08:59:42 69c7f0334f64: Download complete 08:59:42 7264a8db6415: Verifying Checksum 08:59:42 7264a8db6415: Download complete 08:59:42 1f1c1a5573a3: Verifying Checksum 08:59:42 1f1c1a5573a3: Download complete 08:59:42 7264a8db6415: Pull complete 08:59:42 b5e4710f87ac: Verifying Checksum 08:59:42 b5e4710f87ac: Download complete 08:59:43 c4d48a809fc2: Pull complete 08:59:43 4f1c88b9dad5: Verifying Checksum 08:59:43 4f1c88b9dad5: Download complete 08:59:43 ce7588e14bc9: Verifying Checksum 08:59:43 ce7588e14bc9: Download complete 08:59:46 4f1c88b9dad5: Pull complete 08:59:46 ad3a456e5733: Pull complete 08:59:46 69c7f0334f64: Pull complete 08:59:46 1f1c1a5573a3: Pull complete 08:59:49 ce7588e14bc9: Pull complete 08:59:49 b5e4710f87ac: Pull complete 08:59:49 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 08:59:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 08:59:49 ---> 88b5674ff536 08:59:49 Step 3/10 : ARG MAKE=make build 08:59:55 ---> Running in 23aa14b2eec2 08:59:55 Removing intermediate container 23aa14b2eec2 08:59:55 ---> 80b6dd78231b 08:59:55 Step 4/10 : WORKDIR /device-s7 08:59:55 ---> Running in ee10f34424ff 08:59:55 Removing intermediate container ee10f34424ff 08:59:55 ---> 242f2ae8f9fc 08:59:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 08:59:55 ---> Running in 5f80802bc980 08:59:55 Removing intermediate container 5f80802bc980 08:59:55 ---> c1f8c3bf086e 08:59:55 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 08:59:55 ---> Running in 72d11cfc522b 08:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 08:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 08:59:55 OK: 264 MiB in 52 packages 08:59:56 Still waiting to schedule task 08:59:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1665’ is offline 08:59:56 Removing intermediate container 72d11cfc522b 08:59:56 ---> c863da5b3d78 08:59:56 Step 7/10 : COPY go.mod vendor* ./ 08:59:56 ---> 2cd337ddcf92 08:59:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:59:56 ---> Running in 6fb6c11a8c2c 09:00:52 Removing intermediate container 6fb6c11a8c2c 09:00:52 ---> 1cef41dc08d5 09:00:52 Step 9/10 : COPY . . 09:00:52 ---> 6546fb857461 09:00:52 Step 10/10 : RUN ${MAKE} 09:00:52 ---> Running in a563cd2138d8 09:00:52 noop 09:00:52 Removing intermediate container a563cd2138d8 09:00:52 ---> a7e2be3ed1fe 09:00:52 Successfully built a7e2be3ed1fe 09:00:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:53 + docker inspect -f . ci-base-image-x86_64 09:00:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:53 prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container 09:00:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:00:53 $ docker top d305e752ec360357641139d4a00229eab787a3f76c3ae9006cb090188d053ab9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:54 + go version 09:00:54 go version go1.21.0 linux/amd64 [Pipeline] } 09:00:54 $ docker stop --time=1 d305e752ec360357641139d4a00229eab787a3f76c3ae9006cb090188d053ab9 09:00:55 $ docker rm -f --volumes d305e752ec360357641139d4a00229eab787a3f76c3ae9006cb090188d053ab9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:56 + docker inspect -f . ci-base-image-x86_64 09:00:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:00:56 prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container 09:00:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:00:56 $ docker top 6f61472abde81f42d48c6c36cb465eee9664376712bc8e2062a5f5212a16b140 -eo pid,comm [Pipeline] { [Pipeline] sh 09:00:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] fileExists [Pipeline] sh 09:00:57 + make test 09:00:57 go test -race -coverprofile=coverage.out ./... 09:01:03 ? github.com/edgexfoundry/device-s7 [no test files] 09:01:13 ? github.com/edgexfoundry/device-s7/cmd [no test files] 09:01:13 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 09:01:32 go vet ./... 09:01:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:01:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:01:36 ./bin/test-attribution-txt.sh [Pipeline] echo 09:01:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:01:36 $ docker stop --time=1 6f61472abde81f42d48c6c36cb465eee9664376712bc8e2062a5f5212a16b140 09:01:41 $ docker rm -f --volumes 6f61472abde81f42d48c6c36cb465eee9664376712bc8e2062a5f5212a16b140 [Pipeline] // withDockerContainer [Pipeline] sh 09:01:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:01:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 09:01:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1667 in /w/workspace/edgexfoundry_device-s7_PR-9 [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] ws 09:01:41 Running in /w/workspace/device-s7/4 [Pipeline] { [Pipeline] checkout 09:01:45 Selected Git installation does not exist. Using Default 09:01:45 The recommended git tool is: NONE [Pipeline] sh 09:01:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:01:45 + ls -al . 09:01:45 total 124 09:01:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:00 . 09:01:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 08:59 .. 09:01:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:01 .git 09:01:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 08:59 .github 09:01:45 -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 08:59 .gitignore 09:01:45 -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 08:59 .golangci.yml 09:01:45 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 08:59 .semver 09:01:45 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 08:59 Attribution.txt 09:01:45 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 08:59 Dockerfile 09:01:45 -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 08:59 Jenkinsfile 09:01:45 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 08:59 Makefile 09:01:45 -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 08:59 OWNERS.md 09:01:45 -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 08:59 README.md 09:01:45 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 08:59 VERSION 09:01:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 08:59 bin 09:01:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 08:59 cmd 09:01:45 -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:00 coverage.out 09:01:45 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 08:59 go.mod 09:01:45 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 08:59 go.sum 09:01:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 08:59 internal 09:01:45 -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 08:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:01:46 + 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=2699493645440727ae69ef4d7692207bb1988f9c --label arch=amd64 --label version=0.0.0 . 09:01:46 Sending build context to Docker daemon 540.7kB 09:01:46 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 09:01:46 Step 2/24 : FROM ${BASE} AS builder 09:01:46 ---> a7e2be3ed1fe 09:01:46 Step 3/24 : ARG MAKE=make build 09:01:46 ---> Running in e9e47e8e62b5 09:01:46 Removing intermediate container e9e47e8e62b5 09:01:46 ---> cc7abf3551ae 09:01:46 Step 4/24 : WORKDIR /device-s7 09:01:46 ---> Running in 4fe3401d2224 09:01:46 Removing intermediate container 4fe3401d2224 09:01:46 ---> e830ec06541c 09:01:46 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:01:46 ---> Running in 90480e4684c5 09:01:46 Removing intermediate container 90480e4684c5 09:01:46 ---> 0a5241b2071c 09:01:46 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 09:01:46 ---> Running in f82b768fccd5 09:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:01:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:01:47 OK: 264 MiB in 52 packages 09:01:47 Removing intermediate container f82b768fccd5 09:01:47 ---> 257613ac38e8 09:01:47 Step 7/24 : COPY go.mod vendor* ./ 09:01:47 ---> e5461ff5fd0e 09:01:47 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:01:47 ---> Running in c51e32460ad1 09:01:48 Removing intermediate container c51e32460ad1 09:01:48 ---> 11330d646d91 09:01:48 Step 9/24 : COPY . . 09:01:48 ---> 6c1daf88c372 09:01:48 Step 10/24 : RUN ${MAKE} 09:01:48 ---> Running in 445ce20f2087 09:01:49 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 09:01:50 using credential edgex-jenkins-ssh 09:01:50 Cloning the remote Git repository 09:01:50 Cloning repository git@github.com:edgexfoundry/device-s7.git 09:01:50 > git init /w/workspace/device-s7/4 # timeout=10 09:01:50 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 09:01:50 > git --version # timeout=10 09:01:50 > git --version # 'git version 2.25.1' 09:01:50 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:01:51 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 09:01:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:01:52 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 09:01:52 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 09:01:52 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:53 Merging remotes/origin/main commit 1b057092ee19ade1a8316e5cb795699e1e50525a into PR head commit 2699493645440727ae69ef4d7692207bb1988f9c 09:01:53 Merge succeeded, producing 2699493645440727ae69ef4d7692207bb1988f9c 09:01:53 Checking out Revision 2699493645440727ae69ef4d7692207bb1988f9c (PR-9) 09:01:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/pull/9/head:refs/remotes/origin/PR-9 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:01:53 > git config core.sparsecheckout # timeout=10 09:01:53 > git checkout -f 2699493645440727ae69ef4d7692207bb1988f9c # timeout=10 09:01:53 > git remote # timeout=10 09:01:53 > git config --get remote.origin.url # timeout=10 09:01:53 using GIT_SSH to set credentials SSH Credentials for GitHub 09:01:53 > git merge 1b057092ee19ade1a8316e5cb795699e1e50525a # timeout=10 09:01:53 > git rev-parse HEAD^{commit} # timeout=10 09:01:53 > git config core.sparsecheckout # timeout=10 09:01:53 > git checkout -f 2699493645440727ae69ef4d7692207bb1988f9c # timeout=10 09:01:56 Commit message: "fix: fix test process" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:01:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:01:58 % Total % Received % Xferd Average Speed Time Time Time Current 09:01:58 Dload Upload Total Spent Left Speed 09:01:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 120k 0 --:--:-- --:--:-- --:--:-- 120k [Pipeline] sh 09:01:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:01:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:01:58 + sudo tee /etc/docker/daemon.new 09:01:58 { 09:01:58 "registry-mirrors": [ 09:01:58 "https://nexus3.edgexfoundry.org:10001" 09:01:58 ], 09:01:58 "bip": "10.250.0.254/24", 09:01:58 "hosts": [ 09:01:58 "tcp://0.0.0.0:5555", 09:01:58 "unix:///var/run/docker.sock" 09:01:58 ], 09:01:58 "mtu": 1458, 09:01:58 "selinux-enabled": true, 09:01:58 "seccomp-profile": "/etc/docker/seccomp.json" 09:01:58 } [Pipeline] sh 09:01:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:01:59 + sudo service docker restart 09:02:11 Removing intermediate container 445ce20f2087 09:02:11 ---> a4cca535c27d 09:02:11 Step 11/24 : FROM alpine:3.18 09:02:11 3.18: Pulling from library/alpine 09:02:11 619be1103602: Pulling fs layer 09:02:11 619be1103602: Download complete 09:02:11 619be1103602: Pull complete 09:02:11 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:02:11 Status: Downloaded newer image for alpine:3.18 09:02:11 ---> d3782b16ccc9 09:02:11 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:02:11 ---> Running in 18f318d4eb74 09:02:11 Removing intermediate container 18f318d4eb74 09:02:11 ---> eb2a989d48f0 09:02:11 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:02:11 ---> Running in f74f3f0ecf21 09:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:02:11 (1/1) Installing dumb-init (1.2.5-r2) 09:02:11 Executing busybox-1.36.1-r5.trigger 09:02:11 OK: 7 MiB in 16 packages 09:02:11 Removing intermediate container f74f3f0ecf21 09:02:11 ---> 285c1c8d32ef 09:02:11 Step 14/24 : RUN apk --no-cache upgrade 09:02:11 ---> Running in 69d6a286a3c8 09:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 09:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 09:02:11 OK: 7 MiB in 16 packages 09:02:11 Removing intermediate container 69d6a286a3c8 09:02:11 ---> 9479370245a1 09:02:11 Step 15/24 : WORKDIR / 09:02:11 ---> Running in 8f2b35deeadc 09:02:11 Removing intermediate container 8f2b35deeadc 09:02:11 ---> c5efd86e36ba 09:02:11 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 09:02:11 ---> 4f600629064f 09:02:11 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 09:02:12 ---> cc80bbac215b 09:02:12 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 09:02:12 ---> 97ef6b5091e2 09:02:12 Step 19/24 : EXPOSE 59994 09:02:12 ---> Running in 688ab2ade219 09:02:12 Removing intermediate container 688ab2ade219 09:02:12 ---> fc52d9e8007c 09:02:12 Step 20/24 : ENTRYPOINT ["/device-s7"] 09:02:12 ---> Running in 4410a810c1f6 09:02:12 Removing intermediate container 4410a810c1f6 09:02:12 ---> 4e1e47be5f62 09:02:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:02:12 ---> Running in bcc3c9dd323e 09:02:13 Removing intermediate container bcc3c9dd323e 09:02:13 ---> 287e354b6e57 09:02:13 Step 22/24 : LABEL arch=amd64 09:02:13 ---> Running in f21c3ac6bce7 09:02:13 Removing intermediate container f21c3ac6bce7 09:02:13 ---> 7a41e72e93a6 09:02:13 Step 23/24 : LABEL git_sha=2699493645440727ae69ef4d7692207bb1988f9c 09:02:13 ---> Running in 01c028cd73a4 09:02:13 Removing intermediate container 01c028cd73a4 09:02:13 ---> fef975a620af 09:02:13 Step 24/24 : LABEL version=0.0.0 09:02:13 ---> Running in aa7966c31160 09:02:13 Removing intermediate container aa7966c31160 09:02:13 ---> 5202f1c5ce47 09:02:13 [Warning] One or more build-args [ARCH] were not consumed 09:02:13 Successfully built 5202f1c5ce47 09:02: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 09:02:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:02:14 09:02:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:02:14 latest: Pulling from edgex-lftools-log-publisher 09:02:14 5eb5b503b376: Pulling fs layer 09:02:14 5c69ac0246d0: Pulling fs layer 09:02:14 ec43610c2a17: Pulling fs layer 09:02:14 3a2ae6a8a46f: Pulling fs layer 09:02:14 33b1e0a273af: Pulling fs layer 09:02:14 5d3b04190fa2: Pulling fs layer 09:02:14 2f39f015ded8: Pulling fs layer 09:02:14 5d3b04190fa2: Waiting 09:02:14 2f39f015ded8: Waiting 09:02:14 33b1e0a273af: Waiting 09:02:14 5c69ac0246d0: Download complete 09:02:14 3a2ae6a8a46f: Verifying Checksum 09:02:14 3a2ae6a8a46f: Download complete 09:02:14 33b1e0a273af: Verifying Checksum 09:02:14 33b1e0a273af: Download complete 09:02:14 5d3b04190fa2: Verifying Checksum 09:02:14 5d3b04190fa2: Download complete 09:02:14 ec43610c2a17: Verifying Checksum 09:02:14 ec43610c2a17: Download complete 09:02:14 5eb5b503b376: Verifying Checksum 09:02:14 5eb5b503b376: Download complete 09:02:15 2f39f015ded8: Download complete 09:02:15 5eb5b503b376: Pull complete 09:02:15 5c69ac0246d0: Pull complete 09:02:16 ec43610c2a17: Pull complete 09:02:16 3a2ae6a8a46f: Pull complete 09:02:16 33b1e0a273af: Pull complete 09:02:16 5d3b04190fa2: Pull complete 09:02:20 2f39f015ded8: Pull complete 09:02:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:02:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:02:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:21 prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container 09:02: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:02:25 $ docker top 785f5bf3c569d4b967716696f9e24794ff1a5b7698afe17857c600e0209cdf09 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 09:02:25 provisioning config files... 09:02:25 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/4@tmp/config9275865898577527285tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:02:25 ---> job-cost.sh 09:02:25 lf-activate-venv: SKIPPING 09:02:25 INFO: No Stack... 09:02:25 ---> ****-login.sh 09:02:25 nexus3.edgexfoundry.org:10001 09:02:25 INFO: Retrieving Pricing Info for: v3-standard-8 09:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:26 Configure a credential helper to remove this warning. See 09:02:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:26 09:02:26 Login Succeeded 09:02:26 nexus3.edgexfoundry.org:10002 09:02:26 INFO: Archiving Costs [Pipeline] sh 09:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:26 + cat /w/workspace/edgexfoundry_device-s7_PR-9/archives/cost.csv 09:02:26 + cut -d, -f6 [Pipeline] lock 09:02:26 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] 09:02:26 Resource [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] did not exist. Created. 09:02:26 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:02:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:26 Configure a credential helper to remove this warning. See 09:02:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:26 09:02:26 Login Succeeded 09:02:26 nexus3.edgexfoundry.org:10003 09:02:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:27 + echo total: 0.2199999988079071 [Pipeline] stash 09:02:27 Stashed 1 file(s) [Pipeline] } 09:02:27 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] 09:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:27 Configure a credential helper to remove this warning. See 09:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:27 09:02:27 Login Succeeded 09:02:27 nexus3.edgexfoundry.org:10004 [Pipeline] // lock [Pipeline] } 09:02:27 $ docker stop --time=1 785f5bf3c569d4b967716696f9e24794ff1a5b7698afe17857c600e0209cdf09 09:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:27 Configure a credential helper to remove this warning. See 09:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:27 09:02:27 Login Succeeded 09:02:27 ****.io 09:02:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:02:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:02:27 Configure a credential helper to remove this warning. See 09:02:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:02:27 09:02:27 Login Succeeded 09:02:27 ---> ****-login.sh ends 09:02:28 $ docker rm -f --volumes 785f5bf3c569d4b967716696f9e24794ff1a5b7698afe17857c600e0209cdf09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 09:02:28 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 09:02:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:02:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:02:28 ========================================================= 09:02:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 09:02:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 09:02:29 Sending build context to Docker daemon 400.9kB 09:02:29 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 09:02:29 Step 2/10 : FROM ${BASE} AS builder 09:02:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:02:32 9fda8d8052c6: Pulling fs layer 09:02:32 5d54e960e981: Pulling fs layer 09:02:32 c4a7e357bf2a: Pulling fs layer 09:02:32 f0e02332f6b5: Pulling fs layer 09:02:32 872ee5b61b7b: Pulling fs layer 09:02:32 0c6a40ed1a82: Pulling fs layer 09:02:32 94ae7d8d031c: Pulling fs layer 09:02:32 872ee5b61b7b: Waiting 09:02:32 0c6a40ed1a82: Waiting 09:02:32 94ae7d8d031c: Waiting 09:02:32 f0e02332f6b5: Waiting 09:02:32 5d54e960e981: Verifying Checksum 09:02:32 5d54e960e981: Download complete 09:02:32 f0e02332f6b5: Verifying Checksum 09:02:32 f0e02332f6b5: Download complete 09:02:32 872ee5b61b7b: Verifying Checksum 09:02:32 872ee5b61b7b: Download complete 09:02:32 9fda8d8052c6: Verifying Checksum 09:02:32 9fda8d8052c6: Download complete 09:02:32 94ae7d8d031c: Verifying Checksum 09:02:32 94ae7d8d031c: Download complete 09:02:32 9fda8d8052c6: Pull complete 09:02:33 5d54e960e981: Pull complete 09:02:33 c4a7e357bf2a: Download complete 09:02:34 0c6a40ed1a82: Verifying Checksum 09:02:34 0c6a40ed1a82: Download complete 09:02:47 c4a7e357bf2a: Pull complete 09:02:47 f0e02332f6b5: Pull complete 09:02:47 872ee5b61b7b: Pull complete 09:02:55 0c6a40ed1a82: Pull complete 09:02:57 94ae7d8d031c: Pull complete 09:02:57 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 09:02:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 09:02:57 ---> 86de565de09d 09:02:57 Step 3/10 : ARG MAKE=make build 09:02:58 ---> Running in 8c9b1f592cbd 09:02:58 Removing intermediate container 8c9b1f592cbd 09:02:58 ---> 049ef433b517 09:02:58 Step 4/10 : WORKDIR /device-s7 09:02:59 ---> Running in d3182fc974bb 09:02:59 Removing intermediate container d3182fc974bb 09:02:59 ---> 7b20dbf44e1a 09:02:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:02:59 ---> Running in bcd42059df8e 09:02:59 Removing intermediate container bcd42059df8e 09:02:59 ---> b92ac1bc01e7 09:02:59 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 09:02:59 ---> Running in 442d895d3d7e 09:03:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:03:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:03:02 OK: 266 MiB in 52 packages 09:03:03 Removing intermediate container 442d895d3d7e 09:03:03 ---> 3ba36812c741 09:03:03 Step 7/10 : COPY go.mod vendor* ./ 09:03:03 ---> 96d6ea8d45e6 09:03:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:03 ---> Running in 1ad6f76fd0a1 09:04:25 Removing intermediate container 1ad6f76fd0a1 09:04:25 ---> 486390552933 09:04:25 Step 9/10 : COPY . . 09:04:25 ---> cb35ca3b5caa 09:04:25 Step 10/10 : RUN ${MAKE} 09:04:25 ---> Running in 55c7536b9889 09:04:25 noop 09:04:25 Removing intermediate container 55c7536b9889 09:04:25 ---> 013578528d60 09:04:25 Successfully built 013578528d60 09:04:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:26 + docker inspect -f . ci-base-image-arm64 09:04:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:26 prd-ubuntu20.04-docker-arm64-4c-16g-1667 does not seem to be running inside a container 09:04:26 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:04:28 $ docker top 2d0cba94cbb4438de9b16254c56f2172565ea72d13536a1ab6a1987fac682061 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:29 + go version 09:04:29 go version go1.21.0 linux/arm64 [Pipeline] } 09:04:29 $ docker stop --time=1 2d0cba94cbb4438de9b16254c56f2172565ea72d13536a1ab6a1987fac682061 09:04:30 $ docker rm -f --volumes 2d0cba94cbb4438de9b16254c56f2172565ea72d13536a1ab6a1987fac682061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:31 + docker inspect -f . ci-base-image-arm64 09:04:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:31 prd-ubuntu20.04-docker-arm64-4c-16g-1667 does not seem to be running inside a container 09:04:31 $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:04:33 $ docker top 92e0379668d29a9cf22e81dc679c0cf59d7a6f4ef65d8c545cdca09117f43881 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:33 + git config --global --add safe.directory /w/workspace/device-s7/4 [Pipeline] fileExists [Pipeline] sh 09:04:33 + make test 09:04:33 go test -race -coverprofile=coverage.out ./... 09:05:06 ? github.com/edgexfoundry/device-s7 [no test files] 09:06:43 ? github.com/edgexfoundry/device-s7/cmd [no test files] 09:06:43 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 09:06:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:06:43 go vet ./... 09:08:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:08:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:08:34 ./bin/test-attribution-txt.sh [Pipeline] echo 09:08:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:08:34 $ docker stop --time=1 92e0379668d29a9cf22e81dc679c0cf59d7a6f4ef65d8c545cdca09117f43881 09:08:36 $ docker rm -f --volumes 92e0379668d29a9cf22e81dc679c0cf59d7a6f4ef65d8c545cdca09117f43881 [Pipeline] // withDockerContainer [Pipeline] sh 09:08:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:08:38 Warning: overwriting stash ‘coverage-report’ 09:08:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:08:39 + ls -al . 09:08:39 total 120 09:08:39 drwxrwxr-x 7 jenkins jenkins 4096 Feb 25 09:04 . 09:08:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 25 09:01 .. 09:08:39 drwxrwxr-x 8 jenkins jenkins 4096 Feb 25 09:01 .git 09:08:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:01 .github 09:08:39 -rw-rw-r-- 1 jenkins jenkins 237 Feb 25 09:01 .gitignore 09:08:39 -rw-rw-r-- 1 jenkins jenkins 42 Feb 25 09:01 .golangci.yml 09:08:39 -rw-rw-r-- 1 jenkins jenkins 11920 Feb 25 09:01 Attribution.txt 09:08:39 -rw-rw-r-- 1 jenkins jenkins 1546 Feb 25 09:01 Dockerfile 09:08:39 -rw-rw-r-- 1 jenkins jenkins 643 Feb 25 09:01 Jenkinsfile 09:08:39 -rw-rw-r-- 1 jenkins jenkins 1903 Feb 25 09:01 Makefile 09:08:39 -rw-rw-r-- 1 jenkins jenkins 614 Feb 25 09:01 OWNERS.md 09:08:39 -rw-rw-r-- 1 jenkins jenkins 4081 Feb 25 09:01 README.md 09:08:39 -rw-rw-r-- 1 jenkins jenkins 5 Feb 25 08:59 VERSION 09:08:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 25 09:01 bin 09:08:39 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:01 cmd 09:08:39 -rw-r--r-- 1 jenkins jenkins 13 Feb 25 09:04 coverage.out 09:08:39 -rw-rw-r-- 1 jenkins jenkins 3674 Feb 25 09:01 go.mod 09:08:39 -rw-rw-r-- 1 jenkins jenkins 35223 Feb 25 09:01 go.sum 09:08:39 drwxrwxr-x 3 jenkins jenkins 4096 Feb 25 09:01 internal 09:08:39 -rw-rw-r-- 1 jenkins jenkins 223 Feb 25 09:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:08:40 + 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=2699493645440727ae69ef4d7692207bb1988f9c --label arch=arm64 --label version=0.0.0 . 09:08:40 Sending build context to Docker daemon 401.9kB 09:08:40 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 09:08:40 Step 2/24 : FROM ${BASE} AS builder 09:08:40 ---> 013578528d60 09:08:40 Step 3/24 : ARG MAKE=make build 09:08:40 ---> Running in 5d10d36a756f 09:08:41 Removing intermediate container 5d10d36a756f 09:08:41 ---> 3f3aca3f186b 09:08:41 Step 4/24 : WORKDIR /device-s7 09:08:41 ---> Running in 0af7398f260a 09:08:41 Removing intermediate container 0af7398f260a 09:08:41 ---> ac4733cce13d 09:08:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:08:41 ---> Running in b49e9db642fb 09:08:41 Removing intermediate container b49e9db642fb 09:08:41 ---> 2e630b42b9d0 09:08:41 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 09:08:42 ---> Running in 05e7c19b407c 09:08:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:08:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:08:44 OK: 266 MiB in 52 packages 09:08:45 Removing intermediate container 05e7c19b407c 09:08:45 ---> 0af745a0d37e 09:08:45 Step 7/24 : COPY go.mod vendor* ./ 09:08:50 ---> 218aa713e5c7 09:08:50 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:08:50 ---> Running in 6bb852211899 09:08:53 Removing intermediate container 6bb852211899 09:08:53 ---> 37647b2a988e 09:08:53 Step 9/24 : COPY . . 09:08:53 ---> 290cb2313ea1 09:08:53 Step 10/24 : RUN ${MAKE} 09:08:53 ---> Running in fe14163f9e1a 09:08:54 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 09:10:46 Removing intermediate container fe14163f9e1a 09:10:46 ---> aba2d47136cf 09:10:46 Step 11/24 : FROM alpine:3.18 09:10:46 3.18: Pulling from library/alpine 09:10:46 c6b39de5b339: Pulling fs layer 09:10:46 c6b39de5b339: Verifying Checksum 09:10:46 c6b39de5b339: Download complete 09:10:46 c6b39de5b339: Pull complete 09:10:46 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 09:10:46 Status: Downloaded newer image for alpine:3.18 09:10:46 ---> 33abbf032149 09:10:46 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:10:46 ---> Running in 5b7c2ac72358 09:10:46 Removing intermediate container 5b7c2ac72358 09:10:46 ---> e66964692dcb 09:10:46 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:10:46 ---> Running in 3c25cf02ef2a 09:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:10:46 (1/1) Installing dumb-init (1.2.5-r2) 09:10:46 Executing busybox-1.36.1-r5.trigger 09:10:46 OK: 8 MiB in 16 packages 09:10:46 Removing intermediate container 3c25cf02ef2a 09:10:46 ---> bea32158eb4c 09:10:46 Step 14/24 : RUN apk --no-cache upgrade 09:10:46 ---> Running in bd4f20a28371 09:10:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 09:10:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 09:10:48 OK: 8 MiB in 16 packages 09:10:49 Removing intermediate container bd4f20a28371 09:10:49 ---> 3766a865ef83 09:10:49 Step 15/24 : WORKDIR / 09:10:49 ---> Running in 929129ff1333 09:10:49 Removing intermediate container 929129ff1333 09:10:49 ---> 7fe92beb11e1 09:10:49 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 09:10:50 ---> 588feb508919 09:10:50 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 09:10:51 ---> bace5a2b2078 09:10:51 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 09:10:52 ---> 3b153f3d4c5e 09:10:52 Step 19/24 : EXPOSE 59994 09:10:52 ---> Running in 86516f537d6d 09:10:52 Removing intermediate container 86516f537d6d 09:10:52 ---> a57d4a2d9882 09:10:52 Step 20/24 : ENTRYPOINT ["/device-s7"] 09:10:52 ---> Running in 07d6ec2aa38a 09:10:53 Removing intermediate container 07d6ec2aa38a 09:10:53 ---> bdc8cd18ede1 09:10:53 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:10:53 ---> Running in b3a45e78cb21 09:10:53 Removing intermediate container b3a45e78cb21 09:10:53 ---> 72ded4180444 09:10:53 Step 22/24 : LABEL arch=arm64 09:10:53 ---> Running in 61155bc8d300 09:10:53 Removing intermediate container 61155bc8d300 09:10:53 ---> 30bbc6aee9b9 09:10:53 Step 23/24 : LABEL git_sha=2699493645440727ae69ef4d7692207bb1988f9c 09:10:53 ---> Running in e562af5d15f0 09:10:53 Removing intermediate container e562af5d15f0 09:10:53 ---> 6f0296a1b359 09:10:53 Step 24/24 : LABEL version=0.0.0 09:10:54 ---> Running in 32dbc4b1a0e3 09:10:54 Removing intermediate container 32dbc4b1a0e3 09:10:54 ---> cebe97bb3ccc 09:10:54 [Warning] One or more build-args [ARCH] were not consumed 09:10:54 Successfully built cebe97bb3ccc 09:10:54 Successfully tagged device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:10:55 09:10:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:10:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:10:55 arm64: Pulling from edgex-lftools-log-publisher 09:10:55 8998bd30e6a1: Pulling fs layer 09:10:55 04944245beec: Pulling fs layer 09:10:55 699f458cf7ca: Pulling fs layer 09:10:55 765212b225bb: Pulling fs layer 09:10:55 f23df028b6ca: Pulling fs layer 09:10:55 d65c8cfc05b1: Pulling fs layer 09:10:55 2437ff75d9bd: Pulling fs layer 09:10:55 f23df028b6ca: Waiting 09:10:55 d65c8cfc05b1: Waiting 09:10:55 765212b225bb: Waiting 09:10:55 2437ff75d9bd: Waiting 09:10:55 04944245beec: Verifying Checksum 09:10:55 04944245beec: Download complete 09:10:55 765212b225bb: Verifying Checksum 09:10:55 765212b225bb: Download complete 09:10:55 f23df028b6ca: Verifying Checksum 09:10:55 f23df028b6ca: Download complete 09:10:55 d65c8cfc05b1: Verifying Checksum 09:10:55 d65c8cfc05b1: Download complete 09:10:55 699f458cf7ca: Verifying Checksum 09:10:55 699f458cf7ca: Download complete 09:10:56 8998bd30e6a1: Download complete 09:10:58 2437ff75d9bd: Verifying Checksum 09:10:58 2437ff75d9bd: Download complete 09:11:00 8998bd30e6a1: Pull complete 09:11:01 04944245beec: Pull complete 09:11:02 699f458cf7ca: Pull complete 09:11:03 765212b225bb: Pull complete 09:11:04 f23df028b6ca: Pull complete 09:11:04 d65c8cfc05b1: Pull complete 09:11:22 2437ff75d9bd: Pull complete 09:11:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:11:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:11:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:22 prd-ubuntu20.04-docker-arm64-4c-16g-1667 does not seem to be running inside a container 09:11:22 $ 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/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:11:25 $ docker top 35d619f6fa5bb4280ead69dbbb5c0097bf06bf503f775372c770568761bc41c1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:11:26 ---> job-cost.sh 09:11:26 lf-activate-venv: SKIPPING 09:11:26 INFO: No Stack... 09:11:26 INFO: Retrieving Pricing Info for: v3-standard-4 09:11:27 INFO: Archiving Costs [Pipeline] sh 09:11:28 + cat /w/workspace/device-s7/4/archives/cost.csv 09:11:28 + cut -d, -f6 [Pipeline] lock 09:11:28 Trying to acquire lock on [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] 09:11:28 Resource [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] did not exist. Created. 09:11:28 Lock acquired on [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:11:28 /w/workspace/device-s7/4@tmp/durable-4d0dcfed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:11:29 + echo total: 0.10999999940395355 [Pipeline] stash 09:11:29 Warning: overwriting stash ‘stack-cost’ 09:11:29 Stashed 1 file(s) [Pipeline] } 09:11:29 Lock released on resource [jenkins-edgexfoundry-device-s7-PR-9-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:11:29 $ docker stop --time=1 35d619f6fa5bb4280ead69dbbb5c0097bf06bf503f775372c770568761bc41c1 09:11:30 $ docker rm -f --volumes 35d619f6fa5bb4280ead69dbbb5c0097bf06bf503f775372c770568761bc41c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:11:32 provisioning config files... 09:11:32 not able to provide the file [ManagedFile: id=device-s7-codecov-token, targetLocation=null, variable=CODECOV_TOKEN_FILE], can't be resolved by any provider - maybe it got deleted by an administrator? [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 09:11:33 + [ -d /w/workspace/edgexfoundry_device-s7_PR-9/archives ] 09:11:33 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 09:11:33 total 16 09:11:33 drwxr-xr-x 3 root root 4096 Feb 25 09:02 . 09:11:33 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:02 .. 09:11:33 drwxr-xr-x 2 root root 4096 Feb 25 09:02 cost 09:11:33 -rw-r--r-- 1 root root 79 Feb 25 09:02 cost.csv 09:11:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_PR-9/archives 09:11:33 + ls -al /w/workspace/edgexfoundry_device-s7_PR-9/archives 09:11:33 total 16 09:11:33 drwxr-xr-x 3 jenkins jenkins 4096 Feb 25 09:02 . 09:11:33 drwxrwxr-x 9 jenkins jenkins 4096 Feb 25 09:02 .. 09:11:33 drwxr-xr-x 2 jenkins jenkins 4096 Feb 25 09:02 cost 09:11:33 -rw-r--r-- 1 jenkins jenkins 79 Feb 25 09:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:11:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:11:35 ---> package-listing.sh 09:11:35 ++ facter osfamily 09:11:35 ++ tr '[:upper:]' '[:lower:]' 09:11:35 + OS_FAMILY=debian 09:11:35 + workspace=/w/workspace/edgexfoundry_device-s7_PR-9 09:11:35 + START_PACKAGES=/tmp/packages_start.txt 09:11:35 + END_PACKAGES=/tmp/packages_end.txt 09:11:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:11:35 + PACKAGES=/tmp/packages_start.txt 09:11:35 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 09:11:35 + PACKAGES=/tmp/packages_end.txt 09:11:35 + case "${OS_FAMILY}" in 09:11:35 + dpkg -l 09:11:35 + grep '^ii' 09:11:35 + '[' -f /tmp/packages_start.txt ']' 09:11:35 + '[' -f /tmp/packages_end.txt ']' 09:11:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:11:35 + '[' /w/workspace/edgexfoundry_device-s7_PR-9 ']' 09:11:35 + mkdir -p /w/workspace/edgexfoundry_device-s7_PR-9/archives/ 09:11:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_PR-9/archives/ [Pipeline] echo 09:11:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:11:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:11:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:11:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:11:36 prd-ubuntu20.04-docker-8c-8g-1666 does not seem to be running inside a container 09:11:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_PR-9/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_PR-9 -v /w/workspace/edgexfoundry_device-s7_PR-9:/w/workspace/edgexfoundry_device-s7_PR-9:rw,z -v /w/workspace/edgexfoundry_device-s7_PR-9@tmp:/w/workspace/edgexfoundry_device-s7_PR-9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:11:36 $ docker top b334665e9855245b78f8470e1093040481860ac1a20a966e7d0d3ebdbf672741 -eo pid,comm [Pipeline] { [Pipeline] sh 09:11:37 + touch /tmp/pre-build-complete [Pipeline] sh 09:11:37 + mkdir -p /var/log/sysstat [Pipeline] sh 09:11:37 + ls /var/log/sa-host 09:11:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:11:37 provisioning config files... 09:11:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_PR-9@tmp/config8754079327684686451tmp [Pipeline] { [Pipeline] echo 09:11:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:11:38 ---> create-netrc.sh [Pipeline] } 09:11:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:11:38 ---> python-tools-install.sh [Pipeline] echo 09:11:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:11:38 ---> sudo-logs.sh 09:11:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:11:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:11:39 ---> job-cost.sh 09:11:39 lf-activate-venv: SKIPPING 09:11:39 DEBUG: total: 0.2199999988079071 09:11:39 INFO: Retrieving Stack Cost... 09:11:39 INFO: Retrieving Pricing Info for: v3-standard-8 09:11:39 INFO: Archiving Costs [Pipeline] echo 09:11:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:11:40 ---> logs-deploy.sh 09:11:40 lf-activate-venv: SKIPPING 09:11:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/PR-9/4 09:11:40 INFO: archiving workspace using pattern(s): 09:11:40 Archives upload complete. 09:11:40 INFO: archiving logs to Nexus