Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 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-ssh3035208530157475692.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh8447144492453796201.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh2298845919645014971.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh12888406449396729564.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-ssh7592409353126882726.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-7606 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 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 (main) Commit message: "Merge pull request #11 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" > 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 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 # timeout=10 > git rev-list --no-walk 4bd8664cc9fd2f5480b9401501168e0a6b2480c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:25:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:25:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:25:16 ========================================================= 03:25:16 EdgeX Global Pipelines Version Info 03:25:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:25:17 ------------------- 03:25:17 stable info: 03:25:17 ------------------- 03:25:17 Commited By: Ginny Guan ginny@iotechsys.com 03:25:17 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 03:25:17 Message: update stable to v1.0.260 03:25:17 ------------------- 03:25:17 experimental info: 03:25:17 ------------------- 03:25:17 Commited By: Ginny Guan ginny@iotechsys.com 03:25:17 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 03:25:17 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27c3a43 [Pipeline] echo 03:25:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:19 provisioning config files... 03:25:19 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config18362151948940952571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:19 ---> ****-login.sh 03:25:19 nexus3.edgexfoundry.org:10001 03:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:19 Configure a credential helper to remove this warning. See 03:25:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:19 03:25:19 Login Succeeded 03:25:19 nexus3.edgexfoundry.org:10002 03:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:19 Configure a credential helper to remove this warning. See 03:25:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:19 03:25:19 Login Succeeded 03:25:19 nexus3.edgexfoundry.org:10003 03:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:19 Configure a credential helper to remove this warning. See 03:25:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:19 03:25:19 Login Succeeded 03:25:19 nexus3.edgexfoundry.org:10004 03:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:20 Configure a credential helper to remove this warning. See 03:25:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:20 03:25:20 Login Succeeded 03:25:20 ****.io 03:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:20 Configure a credential helper to remove this warning. See 03:25:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:20 03:25:20 Login Succeeded 03:25:20 ---> ****-login.sh ends [Pipeline] } 03:25:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:25:20 + git rev-list -1 --merges 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33~1..27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] echo 03:25:20 -----------> git rev-list -1 --merges 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33~1..27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 03:25:20 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [false] [Pipeline] sh 03:25:21 + git log --format=format:%s -1 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] echo 03:25:21 ========================================================= 03:25:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:25:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:25:21 + git log --format=format:%s -1 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] echo 03:25:21 [semverPrep] GIT_COMMIT: 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33, Commit Message: Merge pull request #11 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0 [Pipeline] echo 03:25:21 [semverPrep] This is not a build commit. [Pipeline] sh 03:25:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:25:22 + grep -v github /etc/ssh/ssh_known_hosts 03:25:22 + [ -e /tmp/ssh_known_hosts ] 03:25:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:25:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:25:22 + sudo tee -a /etc/ssh/ssh_known_hosts 03:25:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:22 03:25:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:23 0.1.4: Pulling from edgex-devops/py-git-semver 03:25:23 b85a868b505f: Pulling fs layer 03:25:23 e2be974225ed: Pulling fs layer 03:25:23 339a4e72a1f5: Pulling fs layer 03:25:23 988bab9f4d93: Pulling fs layer 03:25:23 1469e6f7b9e6: Pulling fs layer 03:25:23 eaf3925da568: Pulling fs layer 03:25:23 bab4dde63d76: Pulling fs layer 03:25:23 bde34c3a00c8: Pulling fs layer 03:25:23 b352a97aabf1: Pulling fs layer 03:25:23 4872d77fe225: Pulling fs layer 03:25:23 5851b861e8e6: Pulling fs layer 03:25:23 988bab9f4d93: Waiting 03:25:23 eaf3925da568: Waiting 03:25:23 1469e6f7b9e6: Waiting 03:25:23 bab4dde63d76: Waiting 03:25:23 4872d77fe225: Waiting 03:25:23 bde34c3a00c8: Waiting 03:25:23 b352a97aabf1: Waiting 03:25:23 e2be974225ed: Verifying Checksum 03:25:23 e2be974225ed: Download complete 03:25:23 988bab9f4d93: Verifying Checksum 03:25:23 988bab9f4d93: Download complete 03:25:23 1469e6f7b9e6: Verifying Checksum 03:25:23 1469e6f7b9e6: Download complete 03:25:23 eaf3925da568: Verifying Checksum 03:25:23 eaf3925da568: Download complete 03:25:23 339a4e72a1f5: Verifying Checksum 03:25:23 339a4e72a1f5: Download complete 03:25:23 bde34c3a00c8: Download complete 03:25:23 b352a97aabf1: Verifying Checksum 03:25:23 b352a97aabf1: Download complete 03:25:23 4872d77fe225: Verifying Checksum 03:25:23 4872d77fe225: Download complete 03:25:23 5851b861e8e6: Download complete 03:25:23 b85a868b505f: Verifying Checksum 03:25:23 b85a868b505f: Download complete 03:25:23 bab4dde63d76: Verifying Checksum 03:25:23 bab4dde63d76: Download complete 03:25:24 b85a868b505f: Pull complete 03:25:24 e2be974225ed: Pull complete 03:25:25 339a4e72a1f5: Pull complete 03:25:25 988bab9f4d93: Pull complete 03:25:25 1469e6f7b9e6: Pull complete 03:25:25 eaf3925da568: Pull complete 03:25:27 bab4dde63d76: Pull complete 03:25:27 bde34c3a00c8: Pull complete 03:25:27 b352a97aabf1: Pull complete 03:25:27 4872d77fe225: Pull complete 03:25:27 5851b861e8e6: Pull complete 03:25:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:25:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:25:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:25:28 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:25:28 $ 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 03:25:31 $ docker top e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 -eo pid,comm 03:25:31 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). 03:25:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:25:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:25:31 [ssh-agent] Looking for ssh-agent implementation... 03:25:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:25:31 $ docker exec e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 ssh-agent 03:25:31 SSH_AUTH_SOCK=/tmp/ssh-3HNC6DmDs6T3/agent.33 03:25:31 SSH_AGENT_PID=39 03:25:31 Running ssh-add (command line suppressed) 03:25:31 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_1898540115854970862.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_1898540115854970862.key) 03:25:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:25:31 + git tag --points-at HEAD [Pipeline] } 03:25:31 $ docker exec --env ******** --env ******** e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 ssh-agent -k 03:25:31 unset SSH_AUTH_SOCK; 03:25:31 unset SSH_AGENT_PID; 03:25:31 echo Agent pid 39 killed; 03:25:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:25:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:25:32 [ssh-agent] Looking for ssh-agent implementation... 03:25:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:25:32 $ docker exec e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 ssh-agent 03:25:32 SSH_AUTH_SOCK=/tmp/ssh-fmX9q5uQMuCl/agent.72 03:25:32 SSH_AGENT_PID=78 03:25:32 Running ssh-add (command line suppressed) 03:25:32 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_6553766362482462158.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_6553766362482462158.key) 03:25:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:25:32 + git semver init 03:25:32 2024-08-13 03:25:32,850 [run_init] DEBUG init version:0.0.0 force:False 03:25:32 2024-08-13 03:25:32,850 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_main/.semver 03:25:32 2024-08-13 03:25:32,851 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_main/.semver 03:25:32 2024-08-13 03:25:32,851 [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) 03:25:33 2024-08-13 03:25:33,401 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_main/.git/info/exclude 03:25:33 2024-08-13 03:25:33,401 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:False 03:25:33 2024-08-13 03:25:33,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:25:33 2024-08-13 03:25:33,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:25:33 0.0.1-dev.1 [Pipeline] } 03:25:33 $ docker exec --env ******** --env ******** e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 ssh-agent -k 03:25:33 unset SSH_AUTH_SOCK; 03:25:33 unset SSH_AGENT_PID; 03:25:33 echo Agent pid 78 killed; 03:25:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:25:33 + git semver [Pipeline] } 03:25:34 $ docker stop --time=1 e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 03:25:35 $ docker rm -f --volumes e3b5ebc757766f142162e46675e859865ea995a271f95ba2d857ef6938743a35 [Pipeline] // withDockerContainer [Pipeline] sh 03:25:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:25:36 Stashed 1 file(s) [Pipeline] echo 03:25:36 [edgeXSemver]: initialized semver on version 0.0.1-dev.1 [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 03:25:36 provisioning config files... 03:25:36 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config2014763007287958654tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:36 ---> ****-login.sh 03:25:36 nexus3.edgexfoundry.org:10001 03:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:36 Configure a credential helper to remove this warning. See 03:25:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:36 03:25:36 Login Succeeded 03:25:36 nexus3.edgexfoundry.org:10002 03:25:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:36 Configure a credential helper to remove this warning. See 03:25:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:36 03:25:36 Login Succeeded 03:25:36 nexus3.edgexfoundry.org:10003 03:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:37 Configure a credential helper to remove this warning. See 03:25:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:37 03:25:37 Login Succeeded 03:25:37 nexus3.edgexfoundry.org:10004 03:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:37 Configure a credential helper to remove this warning. See 03:25:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:37 03:25:37 Login Succeeded 03:25:37 ****.io 03:25:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:25:37 Configure a credential helper to remove this warning. See 03:25:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:25:37 03:25:37 Login Succeeded 03:25:37 ---> ****-login.sh ends [Pipeline] } 03:25:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:25:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:25:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:25:37 ========================================================= 03:25:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:25:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:37 + 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 . 03:25:37 Sending build context to Docker daemon 425.5kB 03:25:37 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:25:37 Step 2/10 : FROM ${BASE} AS builder 03:25:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:25:37 619be1103602: Pulling fs layer 03:25:37 7862e08f4a3e: Pulling fs layer 03:25:37 5df492c9dc93: Pulling fs layer 03:25:37 7629e6793208: Pulling fs layer 03:25:37 4f4fb700ef54: Pulling fs layer 03:25:37 fb5054dd5b73: Pulling fs layer 03:25:37 eeca6798cff9: Pulling fs layer 03:25:37 aa269ceb94a6: Pulling fs layer 03:25:37 ada007ff1a6a: Pulling fs layer 03:25:37 4f4fb700ef54: Waiting 03:25:37 fb5054dd5b73: Waiting 03:25:37 eeca6798cff9: Waiting 03:25:37 aa269ceb94a6: Waiting 03:25:37 ada007ff1a6a: Waiting 03:25:37 7629e6793208: Waiting 03:25:37 7862e08f4a3e: Verifying Checksum 03:25:37 7862e08f4a3e: Download complete 03:25:37 7629e6793208: Verifying Checksum 03:25:37 7629e6793208: Download complete 03:25:37 4f4fb700ef54: Verifying Checksum 03:25:37 4f4fb700ef54: Download complete 03:25:38 fb5054dd5b73: Verifying Checksum 03:25:38 fb5054dd5b73: Download complete 03:25:38 619be1103602: Download complete 03:25:38 eeca6798cff9: Verifying Checksum 03:25:38 eeca6798cff9: Download complete 03:25:38 619be1103602: Pull complete 03:25:38 ada007ff1a6a: Verifying Checksum 03:25:38 ada007ff1a6a: Download complete 03:25:38 7862e08f4a3e: Pull complete 03:25:38 5df492c9dc93: Verifying Checksum 03:25:38 5df492c9dc93: Download complete 03:25:39 aa269ceb94a6: Verifying Checksum 03:25:39 aa269ceb94a6: Download complete 03:25:42 5df492c9dc93: Pull complete 03:25:42 7629e6793208: Pull complete 03:25:42 4f4fb700ef54: Pull complete 03:25:42 fb5054dd5b73: Pull complete 03:25:42 eeca6798cff9: Pull complete 03:25:44 aa269ceb94a6: Pull complete 03:25:45 ada007ff1a6a: Pull complete 03:25:45 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 03:25:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:25:45 ---> f489d0715acc 03:25:45 Step 3/10 : ARG MAKE=make build 03:25:50 ---> Running in cb63b0ecc9a5 03:25:50 Removing intermediate container cb63b0ecc9a5 03:25:50 ---> b1cb44aeca87 03:25:50 Step 4/10 : WORKDIR /device-s7 03:25:50 ---> Running in f9c3ac4e0ee5 03:25:50 Removing intermediate container f9c3ac4e0ee5 03:25:50 ---> 4412ed80712c 03:25:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:25:50 ---> Running in 5e1465b82517 03:25:50 Removing intermediate container 5e1465b82517 03:25:50 ---> c88614620155 03:25:50 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 03:25:50 ---> Running in 4bb998ba3250 03:25:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:25:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:25:50 OK: 264 MiB in 52 packages 03:25:51 Removing intermediate container 4bb998ba3250 03:25:51 ---> 883f25e403af 03:25:51 Step 7/10 : COPY go.mod vendor* ./ 03:25:51 ---> 161896b28093 03:25:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:51 ---> Running in b76cbc928289 03:25:51 Still waiting to schedule task 03:25:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:26:23 Removing intermediate container b76cbc928289 03:26:23 ---> 991d1b63a6b1 03:26:23 Step 9/10 : COPY . . 03:26:23 ---> ab667804834b 03:26:23 Step 10/10 : RUN ${MAKE} 03:26:23 ---> Running in 83b0563876d8 03:26:23 noop 03:26:23 Removing intermediate container 83b0563876d8 03:26:23 ---> 5354be240c97 03:26:23 Successfully built 5354be240c97 03:26:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:24 + docker inspect -f . ci-base-image-x86_64 03:26:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:24 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:26:24 $ 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 03:26:24 $ docker top 35ab395349a924891742e0e1663a1bbe98f9bf7ccd67d59e3c3547fafa43f427 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:25 + go version 03:26:25 go version go1.21.9 linux/amd64 [Pipeline] } 03:26:25 $ docker stop --time=1 35ab395349a924891742e0e1663a1bbe98f9bf7ccd67d59e3c3547fafa43f427 03:26:26 $ docker rm -f --volumes 35ab395349a924891742e0e1663a1bbe98f9bf7ccd67d59e3c3547fafa43f427 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:26 + docker inspect -f . ci-base-image-x86_64 03:26:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:26 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:26:26 $ 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 03:26:27 $ docker top 773afa3a0091d3322c0dbd3be192a571685edd505bf1b6a277684875cc7d21e9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] fileExists [Pipeline] sh 03:26:27 + make test 03:26:27 go test -race -coverprofile=coverage.out ./... 03:26:34 ? github.com/edgexfoundry/device-s7 [no test files] 03:26:46 ? github.com/edgexfoundry/device-s7/cmd [no test files] 03:26:46 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 03:27:08 go vet ./... 03:27:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:27:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:27:10 ./bin/test-attribution-txt.sh 03:27:10 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:27:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:27:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:27:10 $ docker stop --time=1 773afa3a0091d3322c0dbd3be192a571685edd505bf1b6a277684875cc7d21e9 03:27:15 $ docker rm -f --volumes 773afa3a0091d3322c0dbd3be192a571685edd505bf1b6a277684875cc7d21e9 [Pipeline] // withDockerContainer [Pipeline] sh 03:27:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:27:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:27:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:27:16 + ls -al . 03:27:16 total 136 03:27:16 drwxrwxr-x 8 jenkins jenkins 4096 Aug 13 03:26 . 03:27:16 drwxrwxr-x 4 jenkins jenkins 4096 Aug 13 03:25 .. 03:27:16 drwxrwxr-x 8 jenkins jenkins 4096 Aug 13 03:26 .git 03:27:16 drwxrwxr-x 2 jenkins jenkins 4096 Aug 13 03:25 .github 03:27:16 -rw-rw-r-- 1 jenkins jenkins 237 Aug 13 03:25 .gitignore 03:27:16 -rw-rw-r-- 1 jenkins jenkins 42 Aug 13 03:25 .golangci.yml 03:27:16 drwxr-xr-x 3 jenkins jenkins 4096 Aug 13 03:25 .semver 03:27:16 -rw-rw-r-- 1 jenkins jenkins 11920 Aug 13 03:25 Attribution.txt 03:27:16 -rw-rw-r-- 1 jenkins jenkins 1546 Aug 13 03:25 Dockerfile 03:27:16 -rw-rw-r-- 1 jenkins jenkins 643 Aug 13 03:25 Jenkinsfile 03:27:16 -rw-rw-r-- 1 jenkins jenkins 10947 Aug 13 03:25 LICENSE 03:27:16 -rw-rw-r-- 1 jenkins jenkins 1903 Aug 13 03:25 Makefile 03:27:16 -rw-rw-r-- 1 jenkins jenkins 614 Aug 13 03:25 OWNERS.md 03:27:16 -rw-rw-r-- 1 jenkins jenkins 2393 Aug 13 03:25 README.md 03:27:16 -rw-rw-r-- 1 jenkins jenkins 11 Aug 13 03:25 VERSION 03:27:16 drwxrwxr-x 2 jenkins jenkins 4096 Aug 13 03:25 bin 03:27:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 13 03:25 cmd 03:27:16 -rw-r--r-- 1 jenkins jenkins 13 Aug 13 03:26 coverage.out 03:27:16 -rw-rw-r-- 1 jenkins jenkins 3644 Aug 13 03:25 go.mod 03:27:16 -rw-rw-r-- 1 jenkins jenkins 34418 Aug 13 03:25 go.sum 03:27:16 drwxrwxr-x 3 jenkins jenkins 4096 Aug 13 03:25 internal 03:27:16 -rw-rw-r-- 1 jenkins jenkins 223 Aug 13 03:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:17 + 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=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 --label arch=amd64 --label version=0.0.1-dev.1 . 03:27:17 Sending build context to Docker daemon 426.5kB 03:27:17 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 03:27:17 Step 2/24 : FROM ${BASE} AS builder 03:27:17 ---> 5354be240c97 03:27:17 Step 3/24 : ARG MAKE=make build 03:27:17 ---> Running in ac648040f446 03:27:17 Removing intermediate container ac648040f446 03:27:17 ---> 25497eb743bf 03:27:17 Step 4/24 : WORKDIR /device-s7 03:27:17 ---> Running in 9c5b0ec390f9 03:27:17 Removing intermediate container 9c5b0ec390f9 03:27:17 ---> 79076fbeeb36 03:27:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:27:17 ---> Running in 936365cae885 03:27:17 Removing intermediate container 936365cae885 03:27:17 ---> 3f786739b29d 03:27:17 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 03:27:17 ---> Running in 7835d363304f 03:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:27:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:27:18 OK: 264 MiB in 52 packages 03:27:18 Removing intermediate container 7835d363304f 03:27:18 ---> ee1713fc2bfd 03:27:18 Step 7/24 : COPY go.mod vendor* ./ 03:27:18 ---> 788a625e8266 03:27:18 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:27:18 ---> Running in 230de8cd0da0 03:27:19 Removing intermediate container 230de8cd0da0 03:27:19 ---> c7bf61956d6a 03:27:19 Step 9/24 : COPY . . 03:27:19 ---> 56f25c9a4488 03:27:19 Step 10/24 : RUN ${MAKE} 03:27:19 ---> Running in c383a9b315c2 03:27:19 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 03:27:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7607 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] ws 03:27:26 Running in /w/workspace/device-s7/6 [Pipeline] { [Pipeline] checkout 03:27:26 Selected Git installation does not exist. Using Default 03:27:26 The recommended git tool is: NONE 03:27:31 using credential edgex-jenkins-ssh 03:27:31 Cloning the remote Git repository 03:27:31 Cloning repository git@github.com:edgexfoundry/device-s7.git 03:27:31 > git init /w/workspace/device-s7/6 # timeout=10 03:27:31 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 03:27:31 > git --version # timeout=10 03:27:31 > git --version # 'git version 2.25.1' 03:27:31 using GIT_SSH to set credentials SSH Credentials for GitHub 03:27:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:27:32 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 03:27:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:27:33 Avoid second fetch 03:27:33 Checking out Revision 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 (main) 03:27:33 Commit message: "Merge pull request #11 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.7.0" 03:27:33 > git config core.sparsecheckout # timeout=10 03:27:33 > git checkout -f 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:27:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:27:38 % Total % Received % Xferd Average Speed Time Time Time Current 03:27:38 Dload Upload Total Spent Left Speed 03:27:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98676 0 --:--:-- --:--:-- --:--:-- 98676 [Pipeline] sh 03:27:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:27:39 + sudo tee /etc/docker/daemon.new 03:27:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:27:39 { 03:27:39 "registry-mirrors": [ 03:27:39 "https://nexus3.edgexfoundry.org:10001" 03:27:39 ], 03:27:39 "bip": "10.250.0.254/24", 03:27:39 "hosts": [ 03:27:39 "tcp://0.0.0.0:5555", 03:27:39 "unix:///var/run/docker.sock" 03:27:39 ], 03:27:39 "mtu": 1458, 03:27:39 "selinux-enabled": true, 03:27:39 "seccomp-profile": "/etc/docker/seccomp.json" 03:27:39 } [Pipeline] sh 03:27:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:27:39 + sudo service docker restart 03:27:41 Removing intermediate container c383a9b315c2 03:27:41 ---> 4fdd3bae7c6a 03:27:41 Step 11/24 : FROM alpine:3.18 03:27:41 3.18: Pulling from library/alpine 03:27:41 930bdd4d222e: Pulling fs layer 03:27:41 930bdd4d222e: Verifying Checksum 03:27:41 930bdd4d222e: Download complete 03:27:41 930bdd4d222e: Pull complete 03:27:41 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 03:27:41 Status: Downloaded newer image for alpine:3.18 03:27:41 ---> 18f865063206 03:27:41 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:27:41 ---> Running in f889b72072f7 03:27:41 Removing intermediate container f889b72072f7 03:27:41 ---> dd7ceb6cdea2 03:27:41 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:27:41 ---> Running in b04a26e61219 03:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:27:42 (1/1) Installing dumb-init (1.2.5-r2) 03:27:42 Executing busybox-1.36.1-r7.trigger 03:27:42 OK: 7 MiB in 16 packages 03:27:42 Removing intermediate container b04a26e61219 03:27:42 ---> 3a4de53f5379 03:27:42 Step 14/24 : RUN apk --no-cache upgrade 03:27:42 ---> Running in c810a2666457 03:27:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:27:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:27:43 OK: 7 MiB in 16 packages 03:27:43 Removing intermediate container c810a2666457 03:27:43 ---> 233a2f288dde 03:27:43 Step 15/24 : WORKDIR / 03:27:43 ---> Running in bfd122b50830 03:27:43 Removing intermediate container bfd122b50830 03:27:43 ---> acb4b139277a 03:27:43 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 03:27:43 ---> f4b7fd4ea2ce 03:27:43 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 03:27:44 ---> f3c9a9e3bc44 03:27:44 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 03:27:44 ---> 36429e4501f7 03:27:44 Step 19/24 : EXPOSE 59994 03:27:44 ---> Running in a95d6e9c5238 03:27:44 Removing intermediate container a95d6e9c5238 03:27:44 ---> 071917567b49 03:27:44 Step 20/24 : ENTRYPOINT ["/device-s7"] 03:27:44 ---> Running in fba874e30090 03:27:44 Removing intermediate container fba874e30090 03:27:44 ---> e327b21c57b0 03:27:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:27:44 ---> Running in 6caf18c417a0 03:27:45 Removing intermediate container 6caf18c417a0 03:27:45 ---> 56ef1250a1e4 03:27:45 Step 22/24 : LABEL arch=amd64 03:27:45 ---> Running in b2e1296a5410 03:27:45 Removing intermediate container b2e1296a5410 03:27:45 ---> 1a54601eb81f 03:27:45 Step 23/24 : LABEL git_sha=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 03:27:45 ---> Running in e66f18cd4c11 03:27:45 Removing intermediate container e66f18cd4c11 03:27:45 ---> f6d03161db67 03:27:45 Step 24/24 : LABEL version=0.0.1-dev.1 03:27:45 ---> Running in 27063770541a 03:27:45 Removing intermediate container 27063770541a 03:27:45 ---> f4ebfe5a52c8 03:27:45 [Warning] One or more build-args [ARCH] were not consumed 03:27:45 Successfully built f4ebfe5a52c8 03:27:45 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:45 provisioning config files... 03:27:45 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config12556817604454185478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:45 ---> ****-login.sh 03:27:45 nexus3.edgexfoundry.org:10001 03:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:45 Configure a credential helper to remove this warning. See 03:27:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:45 03:27:45 Login Succeeded 03:27:45 nexus3.edgexfoundry.org:10002 03:27:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:45 Configure a credential helper to remove this warning. See 03:27:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:45 03:27:45 Login Succeeded 03:27:45 nexus3.edgexfoundry.org:10003 03:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:46 Configure a credential helper to remove this warning. See 03:27:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:46 03:27:46 Login Succeeded 03:27:46 nexus3.edgexfoundry.org:10004 03:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:46 Configure a credential helper to remove this warning. See 03:27:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:46 03:27:46 Login Succeeded 03:27:46 ****.io 03:27:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:46 Configure a credential helper to remove this warning. See 03:27:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:46 03:27:46 Login Succeeded 03:27:46 ---> ****-login.sh ends [Pipeline] } 03:27:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:27:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:27:46 [edgeXDocker.push] Tagging docker image device-s7 with the following tags: 03:27:46 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 03:27:46 latest 03:27:46 0.0.1-dev.1 03:27:46 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 03:27:46 main 03:27:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:46 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:47 + docker push nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 03:27:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:27:47 6a6bca44f3d3: Preparing 03:27:47 c6df5a4c1a76: Preparing 03:27:47 5f7f5b80d8c5: Preparing 03:27:47 8643629f31c9: Preparing 03:27:47 9227433c6353: Preparing 03:27:47 ce7f800efff9: Preparing 03:27:47 ce7f800efff9: Waiting 03:27:47 5f7f5b80d8c5: Pushed 03:27:47 8643629f31c9: Pushed 03:27:47 6a6bca44f3d3: Pushed 03:27:47 9227433c6353: Pushed 03:27:47 ce7f800efff9: Layer already exists 03:27:50 c6df5a4c1a76: Pushed 03:27:50 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:50 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:51 + docker push nexus3.edgexfoundry.org:10004/device-s7:latest 03:27:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:27:51 6a6bca44f3d3: Preparing 03:27:51 c6df5a4c1a76: Preparing 03:27:51 5f7f5b80d8c5: Preparing 03:27:51 8643629f31c9: Preparing 03:27:51 9227433c6353: Preparing 03:27:51 ce7f800efff9: Preparing 03:27:51 8643629f31c9: Layer already exists 03:27:51 6a6bca44f3d3: Layer already exists 03:27:51 5f7f5b80d8c5: Layer already exists 03:27:51 9227433c6353: Layer already exists 03:27:51 c6df5a4c1a76: Layer already exists 03:27:51 ce7f800efff9: Layer already exists 03:27:51 latest: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:51 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:52 + docker push nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.1 03:27:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:27:52 6a6bca44f3d3: Preparing 03:27:52 c6df5a4c1a76: Preparing 03:27:52 5f7f5b80d8c5: Preparing 03:27:52 8643629f31c9: Preparing 03:27:52 9227433c6353: Preparing 03:27:52 ce7f800efff9: Preparing 03:27:52 6a6bca44f3d3: Layer already exists 03:27:52 9227433c6353: Layer already exists 03:27:52 5f7f5b80d8c5: Layer already exists 03:27:52 8643629f31c9: Layer already exists 03:27:52 c6df5a4c1a76: Layer already exists 03:27:52 ce7f800efff9: Layer already exists 03:27:52 0.0.1-dev.1: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:52 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:52 + docker push nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 03:27:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:27:52 6a6bca44f3d3: Preparing 03:27:52 c6df5a4c1a76: Preparing 03:27:52 5f7f5b80d8c5: Preparing 03:27:52 8643629f31c9: Preparing 03:27:52 9227433c6353: Preparing 03:27:52 ce7f800efff9: Preparing 03:27:52 ce7f800efff9: Waiting 03:27:52 c6df5a4c1a76: Layer already exists 03:27:52 5f7f5b80d8c5: Layer already exists 03:27:52 6a6bca44f3d3: Layer already exists 03:27:52 8643629f31c9: Layer already exists 03:27:52 9227433c6353: Layer already exists 03:27:52 ce7f800efff9: Layer already exists 03:27:52 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:53 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:53 + docker push nexus3.edgexfoundry.org:10004/device-s7:main 03:27:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 03:27:53 6a6bca44f3d3: Preparing 03:27:53 c6df5a4c1a76: Preparing 03:27:53 5f7f5b80d8c5: Preparing 03:27:53 8643629f31c9: Preparing 03:27:53 9227433c6353: Preparing 03:27:53 ce7f800efff9: Preparing 03:27:53 ce7f800efff9: Waiting 03:27:53 9227433c6353: Layer already exists 03:27:53 8643629f31c9: Layer already exists 03:27:53 c6df5a4c1a76: Layer already exists 03:27:53 6a6bca44f3d3: Layer already exists 03:27:53 5f7f5b80d8c5: Layer already exists 03:27:53 ce7f800efff9: Layer already exists 03:27:53 main: digest: sha256:a4d94045c9f79e690a3538c12d2e80806be1f7d386ea6462dfc58932c7d5a18e size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:27:53 ===================================================== [Pipeline] echo 03:27:53 taggedImages: 03:27:53 - nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 03:27:53 - nexus3.edgexfoundry.org:10004/device-s7:latest 03:27:53 - nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.1 03:27:53 - nexus3.edgexfoundry.org:10004/device-s7:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 03:27:53 - nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:27:53 03:27:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:27:54 latest: Pulling from edgex-lftools-log-publisher 03:27:54 5eb5b503b376: Pulling fs layer 03:27:54 5c69ac0246d0: Pulling fs layer 03:27:54 ec43610c2a17: Pulling fs layer 03:27:54 3a2ae6a8a46f: Pulling fs layer 03:27:54 33b1e0a273af: Pulling fs layer 03:27:54 5d3b04190fa2: Pulling fs layer 03:27:54 2f39f015ded8: Pulling fs layer 03:27:54 3a2ae6a8a46f: Waiting 03:27:54 33b1e0a273af: Waiting 03:27:54 5d3b04190fa2: Waiting 03:27:54 2f39f015ded8: Waiting 03:27:54 5c69ac0246d0: Verifying Checksum 03:27:54 5c69ac0246d0: Download complete 03:27:54 3a2ae6a8a46f: Verifying Checksum 03:27:54 3a2ae6a8a46f: Download complete 03:27:54 33b1e0a273af: Verifying Checksum 03:27:54 33b1e0a273af: Download complete 03:27:54 5d3b04190fa2: Verifying Checksum 03:27:54 5d3b04190fa2: Download complete 03:27:54 ec43610c2a17: Verifying Checksum 03:27:54 ec43610c2a17: Download complete 03:27:54 5eb5b503b376: Download complete 03:27:55 2f39f015ded8: Download complete 03:27:56 5eb5b503b376: Pull complete 03:27:56 5c69ac0246d0: Pull complete 03:27:56 ec43610c2a17: Pull complete 03:27:56 3a2ae6a8a46f: Pull complete 03:27:56 33b1e0a273af: Pull complete 03:27:56 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:58 provisioning config files... 03:27:58 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/6@tmp/config8965932806415279605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:58 ---> ****-login.sh 03:27:58 nexus3.edgexfoundry.org:10001 03:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:59 Configure a credential helper to remove this warning. See 03:27:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:59 03:27:59 Login Succeeded 03:27:59 nexus3.edgexfoundry.org:10002 03:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:59 Configure a credential helper to remove this warning. See 03:27:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:59 03:27:59 Login Succeeded 03:27:59 nexus3.edgexfoundry.org:10003 03:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:27:59 Configure a credential helper to remove this warning. See 03:27:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:27:59 03:27:59 Login Succeeded 03:27:59 nexus3.edgexfoundry.org:10004 03:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:28:00 Configure a credential helper to remove this warning. See 03:28:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:28:00 03:28:00 Login Succeeded 03:28:00 ****.io 03:28:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:28:00 Configure a credential helper to remove this warning. See 03:28:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:28:00 03:28:00 Login Succeeded 03:28:00 ---> ****-login.sh ends [Pipeline] } 03:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 03:28:01 2f39f015ded8: Pull complete 03:28:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:28:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:28:01 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:28:01 $ 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 03:28:06 $ docker top ff7dd63214fbbc848f6e57ec333d567296d50ecc7756efc504ca99b594e1209a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] echo 03:28:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:28:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:28:06 ========================================================= 03:28:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:28:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:28:06 ---> job-cost.sh 03:28:06 lf-activate-venv: SKIPPING 03:28:06 INFO: No Stack... 03:28:06 INFO: Retrieving Pricing Info for: v3-standard-8 03:28:07 + 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 . 03:28:07 INFO: Archiving Costs [Pipeline] sh 03:28:07 Sending build context to Docker daemon 275.5kB 03:28:07 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 03:28:07 Step 2/10 : FROM ${BASE} AS builder 03:28:07 + cat /w/workspace/edgexfoundry_device-s7_main/archives/cost.csv 03:28:07 + cut -d, -f6 [Pipeline] lock 03:28:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] 03:28:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:28:07 c6b39de5b339: Pulling fs layer 03:28:07 a69c41024577: Pulling fs layer 03:28:07 d6de4b400683: Pulling fs layer 03:28:07 35cb2a7552d0: Pulling fs layer 03:28:07 4f4fb700ef54: Pulling fs layer 03:28:07 464afbd9ba4c: Pulling fs layer 03:28:07 00f215d4a9da: Pulling fs layer 03:28:07 d496ad576159: Pulling fs layer 03:28:07 35cb2a7552d0: Waiting 03:28:07 4f4fb700ef54: Waiting 03:28:07 464afbd9ba4c: Waiting 03:28:07 00f215d4a9da: Waiting 03:28:07 d496ad576159: Waiting 03:28:07 a69c41024577: Verifying Checksum 03:28:07 a69c41024577: Download complete 03:28:07 35cb2a7552d0: Verifying Checksum 03:28:07 35cb2a7552d0: Download complete 03:28:07 4f4fb700ef54: Verifying Checksum 03:28:07 4f4fb700ef54: Download complete 03:28:07 c6b39de5b339: Verifying Checksum 03:28:07 c6b39de5b339: Download complete 03:28:07 464afbd9ba4c: Verifying Checksum 03:28:07 464afbd9ba4c: Download complete 03:28:07 Resource [jenkins-edgexfoundry-device-s7-main-6-stack-cost] did not exist. Created. 03:28:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:28:07 + echo total: 0.2199999988079071 [Pipeline] stash 03:28:08 Stashed 1 file(s) [Pipeline] } 03:28:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 03:28:08 $ docker stop --time=1 ff7dd63214fbbc848f6e57ec333d567296d50ecc7756efc504ca99b594e1209a 03:28:08 d496ad576159: Verifying Checksum 03:28:08 d496ad576159: Download complete 03:28:08 c6b39de5b339: Pull complete 03:28:09 $ docker rm -f --volumes ff7dd63214fbbc848f6e57ec333d567296d50ecc7756efc504ca99b594e1209a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:28:09 a69c41024577: Pull complete 03:28:09 d6de4b400683: Verifying Checksum 03:28:09 d6de4b400683: Download complete 03:28:10 00f215d4a9da: Verifying Checksum 03:28:11 00f215d4a9da: Download complete 03:28:23 d6de4b400683: Pull complete 03:28:23 35cb2a7552d0: Pull complete 03:28:23 4f4fb700ef54: Pull complete 03:28:23 464afbd9ba4c: Pull complete 03:28:31 00f215d4a9da: Pull complete 03:28:33 d496ad576159: Pull complete 03:28:33 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 03:28:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:28:33 ---> f246e2811388 03:28:33 Step 3/10 : ARG MAKE=make build 03:28:34 ---> Running in 0216fc31064f 03:28:34 Removing intermediate container 0216fc31064f 03:28:34 ---> 8afd999b65e3 03:28:34 Step 4/10 : WORKDIR /device-s7 03:28:34 ---> Running in 4c418a81e5d0 03:28:35 Removing intermediate container 4c418a81e5d0 03:28:35 ---> 814c6b1f98ac 03:28:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:28:35 ---> Running in f258df3c10b1 03:28:35 Removing intermediate container f258df3c10b1 03:28:35 ---> dabf5774981f 03:28:35 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 03:28:35 ---> Running in eb2adbcdefa7 03:28:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:28:37 OK: 266 MiB in 52 packages 03:28:38 Removing intermediate container eb2adbcdefa7 03:28:38 ---> 4c239cc6091a 03:28:38 Step 7/10 : COPY go.mod vendor* ./ 03:28:39 ---> 2e63972f9f0f 03:28:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:39 ---> Running in b22a2737bda2 03:29:35 Removing intermediate container b22a2737bda2 03:29:35 ---> d60b2d596a55 03:29:35 Step 9/10 : COPY . . 03:29:35 ---> c17eb658191d 03:29:35 Step 10/10 : RUN ${MAKE} 03:29:35 ---> Running in 9e7f390adb1d 03:29:35 noop 03:29:35 Removing intermediate container 9e7f390adb1d 03:29:35 ---> a80761e379c3 03:29:35 Successfully built a80761e379c3 03:29:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:36 + docker inspect -f . ci-base-image-arm64 03:29:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:36 prd-ubuntu20.04-docker-arm64-4c-16g-7607 does not seem to be running inside a container 03:29:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:29:37 $ docker top d8640939e0451e2081ca80e78fc6bd6abf6bb9cd96a9b5b44a4090303f6fcc4f -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:38 + go version 03:29:38 go version go1.21.9 linux/arm64 [Pipeline] } 03:29:38 $ docker stop --time=1 d8640939e0451e2081ca80e78fc6bd6abf6bb9cd96a9b5b44a4090303f6fcc4f 03:29:39 $ docker rm -f --volumes d8640939e0451e2081ca80e78fc6bd6abf6bb9cd96a9b5b44a4090303f6fcc4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:40 + docker inspect -f . ci-base-image-arm64 03:29:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:40 prd-ubuntu20.04-docker-arm64-4c-16g-7607 does not seem to be running inside a container 03:29:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:29:41 $ docker top 04c1326d62c6db9b5e79d2590a42f73e2843e54bc3189acab99b679c5bb17ffb -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:42 + git config --global --add safe.directory /w/workspace/device-s7/6 [Pipeline] fileExists [Pipeline] sh 03:29:43 + make test 03:29:43 go test -race -coverprofile=coverage.out ./... 03:30:22 ? github.com/edgexfoundry/device-s7 [no test files] 03:32:14 ? github.com/edgexfoundry/device-s7/cmd [no test files] 03:32:14 ? github.com/edgexfoundry/device-s7/internal/driver [no test files] 03:32:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:32:14 go vet ./... 03:34:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:34:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:34:36 ./bin/test-attribution-txt.sh 03:34:36 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 03:34:36 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 03:34:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:34:36 $ docker stop --time=1 04c1326d62c6db9b5e79d2590a42f73e2843e54bc3189acab99b679c5bb17ffb 03:34:38 $ docker rm -f --volumes 04c1326d62c6db9b5e79d2590a42f73e2843e54bc3189acab99b679c5bb17ffb [Pipeline] // withDockerContainer [Pipeline] sh 03:34:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:34:39 Warning: overwriting stash ‘coverage-report’ 03:34:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:34:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:34:40 + ls -al . 03:34:40 total 132 03:34:40 drwxrwxr-x 7 jenkins jenkins 4096 Aug 13 03:29 . 03:34:40 drwxrwxr-x 4 jenkins jenkins 4096 Aug 13 03:27 .. 03:34:40 drwxrwxr-x 8 jenkins jenkins 4096 Aug 13 03:27 .git 03:34:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 13 03:27 .github 03:34:40 -rw-rw-r-- 1 jenkins jenkins 237 Aug 13 03:27 .gitignore 03:34:40 -rw-rw-r-- 1 jenkins jenkins 42 Aug 13 03:27 .golangci.yml 03:34:40 -rw-rw-r-- 1 jenkins jenkins 11920 Aug 13 03:27 Attribution.txt 03:34:40 -rw-rw-r-- 1 jenkins jenkins 1546 Aug 13 03:27 Dockerfile 03:34:40 -rw-rw-r-- 1 jenkins jenkins 643 Aug 13 03:27 Jenkinsfile 03:34:40 -rw-rw-r-- 1 jenkins jenkins 10947 Aug 13 03:27 LICENSE 03:34:40 -rw-rw-r-- 1 jenkins jenkins 1903 Aug 13 03:27 Makefile 03:34:40 -rw-rw-r-- 1 jenkins jenkins 614 Aug 13 03:27 OWNERS.md 03:34:40 -rw-rw-r-- 1 jenkins jenkins 2393 Aug 13 03:27 README.md 03:34:40 -rw-rw-r-- 1 jenkins jenkins 11 Aug 13 03:25 VERSION 03:34:40 drwxrwxr-x 2 jenkins jenkins 4096 Aug 13 03:27 bin 03:34:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 13 03:27 cmd 03:34:40 -rw-r--r-- 1 jenkins jenkins 13 Aug 13 03:29 coverage.out 03:34:40 -rw-rw-r-- 1 jenkins jenkins 3644 Aug 13 03:27 go.mod 03:34:40 -rw-rw-r-- 1 jenkins jenkins 34418 Aug 13 03:27 go.sum 03:34:40 drwxrwxr-x 3 jenkins jenkins 4096 Aug 13 03:27 internal 03:34:40 -rw-rw-r-- 1 jenkins jenkins 223 Aug 13 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:41 + 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=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 --label arch=arm64 --label version=0.0.1-dev.1 . 03:34:41 Sending build context to Docker daemon 276.5kB 03:34:41 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 03:34:41 Step 2/24 : FROM ${BASE} AS builder 03:34:41 ---> a80761e379c3 03:34:41 Step 3/24 : ARG MAKE=make build 03:34:41 ---> Running in 2047e7e0e18e 03:34:41 Removing intermediate container 2047e7e0e18e 03:34:41 ---> a3e001cda8fe 03:34:41 Step 4/24 : WORKDIR /device-s7 03:34:42 ---> Running in 187372b68f2b 03:34:42 Removing intermediate container 187372b68f2b 03:34:42 ---> 504aa98b32fd 03:34:42 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:34:42 ---> Running in 5340152572bd 03:34:42 Removing intermediate container 5340152572bd 03:34:42 ---> 4a052fc78496 03:34:42 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 03:34:42 ---> Running in adeb55200ca8 03:34:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:34:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:34:45 OK: 266 MiB in 52 packages 03:34:46 Removing intermediate container adeb55200ca8 03:34:46 ---> 519fa07e99cc 03:34:46 Step 7/24 : COPY go.mod vendor* ./ 03:34:46 ---> 471b7b00e423 03:34:46 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:46 ---> Running in c815715720df 03:34:48 Removing intermediate container c815715720df 03:34:48 ---> f3b7e8c451e1 03:34:48 Step 9/24 : COPY . . 03:34:48 ---> d679120d5cec 03:34:48 Step 10/24 : RUN ${MAKE} 03:34:49 ---> Running in e32696551508 03:34:50 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 03:37:11 Removing intermediate container e32696551508 03:37:11 ---> dad2264a414f 03:37:11 Step 11/24 : FROM alpine:3.18 03:37:11 3.18: Pulling from library/alpine 03:37:11 4983c3fe2029: Pulling fs layer 03:37:11 4983c3fe2029: Verifying Checksum 03:37:11 4983c3fe2029: Download complete 03:37:11 4983c3fe2029: Pull complete 03:37:11 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 03:37:11 Status: Downloaded newer image for alpine:3.18 03:37:11 ---> a0237000ae83 03:37:11 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 03:37:11 ---> Running in fe4fa52e183d 03:37:11 Removing intermediate container fe4fa52e183d 03:37:11 ---> f357a3f75c9d 03:37:11 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:37:11 ---> Running in 61b960846d16 03:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:37:11 (1/1) Installing dumb-init (1.2.5-r2) 03:37:11 Executing busybox-1.36.1-r7.trigger 03:37:11 OK: 8 MiB in 16 packages 03:37:11 Removing intermediate container 61b960846d16 03:37:11 ---> 6c5681ab213d 03:37:11 Step 14/24 : RUN apk --no-cache upgrade 03:37:11 ---> Running in 54531210cab6 03:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:37:11 OK: 8 MiB in 16 packages 03:37:11 Removing intermediate container 54531210cab6 03:37:11 ---> 3e50e5691f73 03:37:11 Step 15/24 : WORKDIR / 03:37:11 ---> Running in 086bc3689e05 03:37:11 Removing intermediate container 086bc3689e05 03:37:11 ---> 02448d05d9d7 03:37:11 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 03:37:11 ---> a983fe930e97 03:37:11 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 03:37:11 ---> 30d69b8950b1 03:37:11 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 03:37:11 ---> 2a3844d4b91c 03:37:11 Step 19/24 : EXPOSE 59994 03:37:11 ---> Running in b860afdfddfa 03:37:11 Removing intermediate container b860afdfddfa 03:37:11 ---> bf6bf37d3685 03:37:11 Step 20/24 : ENTRYPOINT ["/device-s7"] 03:37:11 ---> Running in 4c9189fa6f35 03:37:11 Removing intermediate container 4c9189fa6f35 03:37:11 ---> 72d0867c96ab 03:37:11 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:37:11 ---> Running in 639c6db66665 03:37:11 Removing intermediate container 639c6db66665 03:37:11 ---> ab509871c268 03:37:11 Step 22/24 : LABEL arch=arm64 03:37:11 ---> Running in 67f33ad66160 03:37:11 Removing intermediate container 67f33ad66160 03:37:11 ---> edbe22334478 03:37:11 Step 23/24 : LABEL git_sha=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 03:37:11 ---> Running in 279b322abac1 03:37:11 Removing intermediate container 279b322abac1 03:37:11 ---> 767850258ab6 03:37:11 Step 24/24 : LABEL version=0.0.1-dev.1 03:37:11 ---> Running in 4cad764bc679 03:37:11 Removing intermediate container 4cad764bc679 03:37:11 ---> 7bcfcfc955f6 03:37:11 [Warning] One or more build-args [ARCH] were not consumed 03:37:11 Successfully built 7bcfcfc955f6 03:37:11 Successfully tagged device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:37:12 provisioning config files... 03:37:12 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/6@tmp/config3487970031509950374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:12 ---> ****-login.sh 03:37:12 nexus3.edgexfoundry.org:10001 03:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:12 Configure a credential helper to remove this warning. See 03:37:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:12 03:37:12 Login Succeeded 03:37:12 nexus3.edgexfoundry.org:10002 03:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:13 Configure a credential helper to remove this warning. See 03:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:13 03:37:13 Login Succeeded 03:37:13 nexus3.edgexfoundry.org:10003 03:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:13 Configure a credential helper to remove this warning. See 03:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:13 03:37:13 Login Succeeded 03:37:13 nexus3.edgexfoundry.org:10004 03:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:13 Configure a credential helper to remove this warning. See 03:37:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:13 03:37:13 Login Succeeded 03:37:13 ****.io 03:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:37:14 Configure a credential helper to remove this warning. See 03:37:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:37:14 03:37:14 Login Succeeded 03:37:14 ---> ****-login.sh ends [Pipeline] } 03:37:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:37:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:37:14 [edgeXDocker.push] Tagging docker image device-s7-arm64 with the following tags: 03:37:14 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 03:37:14 latest 03:37:14 0.0.1-dev.1 03:37:14 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 03:37:14 main 03:37:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:14 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:15 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 03:37:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:37:15 3f1dcb811a37: Preparing 03:37:15 effe9a5f47ae: Preparing 03:37:15 86d48f43e658: Preparing 03:37:15 3155d248d9c4: Preparing 03:37:15 0380548e7702: Preparing 03:37:15 3c20671a5817: Preparing 03:37:15 3c20671a5817: Waiting 03:37:15 3155d248d9c4: Pushed 03:37:15 86d48f43e658: Pushed 03:37:15 3f1dcb811a37: Pushed 03:37:15 0380548e7702: Pushed 03:37:15 3c20671a5817: Layer already exists 03:37:22 effe9a5f47ae: Pushed 03:37:22 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:22 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:22 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:latest 03:37:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:37:22 3f1dcb811a37: Preparing 03:37:22 effe9a5f47ae: Preparing 03:37:22 86d48f43e658: Preparing 03:37:22 3155d248d9c4: Preparing 03:37:22 0380548e7702: Preparing 03:37:22 3c20671a5817: Preparing 03:37:22 3c20671a5817: Waiting 03:37:22 3f1dcb811a37: Layer already exists 03:37:22 0380548e7702: Layer already exists 03:37:22 3155d248d9c4: Layer already exists 03:37:22 effe9a5f47ae: Layer already exists 03:37:22 86d48f43e658: Layer already exists 03:37:22 3c20671a5817: Layer already exists 03:37:23 latest: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:23 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:23 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.1 03:37:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:37:23 3f1dcb811a37: Preparing 03:37:23 effe9a5f47ae: Preparing 03:37:23 86d48f43e658: Preparing 03:37:23 3155d248d9c4: Preparing 03:37:23 0380548e7702: Preparing 03:37:23 3c20671a5817: Preparing 03:37:23 3c20671a5817: Waiting 03:37:23 3f1dcb811a37: Layer already exists 03:37:23 3155d248d9c4: Layer already exists 03:37:23 effe9a5f47ae: Layer already exists 03:37:23 0380548e7702: Layer already exists 03:37:23 86d48f43e658: Layer already exists 03:37:23 3c20671a5817: Layer already exists 03:37:23 0.0.1-dev.1: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:24 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:24 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 03:37:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:37:24 3f1dcb811a37: Preparing 03:37:24 effe9a5f47ae: Preparing 03:37:24 86d48f43e658: Preparing 03:37:24 3155d248d9c4: Preparing 03:37:24 0380548e7702: Preparing 03:37:24 3c20671a5817: Preparing 03:37:24 3c20671a5817: Waiting 03:37:24 0380548e7702: Layer already exists 03:37:24 3155d248d9c4: Layer already exists 03:37:24 effe9a5f47ae: Layer already exists 03:37:24 3f1dcb811a37: Layer already exists 03:37:24 3c20671a5817: Layer already exists 03:37:24 86d48f43e658: Layer already exists 03:37:24 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:25 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:25 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:main 03:37:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 03:37:25 3f1dcb811a37: Preparing 03:37:25 effe9a5f47ae: Preparing 03:37:25 86d48f43e658: Preparing 03:37:25 3155d248d9c4: Preparing 03:37:25 0380548e7702: Preparing 03:37:25 3c20671a5817: Preparing 03:37:25 3c20671a5817: Waiting 03:37:25 3f1dcb811a37: Layer already exists 03:37:25 86d48f43e658: Layer already exists 03:37:25 effe9a5f47ae: Layer already exists 03:37:25 3155d248d9c4: Layer already exists 03:37:25 3c20671a5817: Layer already exists 03:37:25 0380548e7702: Layer already exists 03:37:25 main: digest: sha256:845e4d1e4233c0a9887f76653b7ad6ca2f1b8cdb6606c07dbfe5950f38481662 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:37:25 ===================================================== [Pipeline] echo 03:37:25 taggedImages: 03:37:25 - nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 03:37:25 - nexus3.edgexfoundry.org:10004/device-s7-arm64:latest 03:37:25 - nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.1 03:37:25 - nexus3.edgexfoundry.org:10004/device-s7-arm64:27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33-0.0.1-dev.1 03:37:25 - nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:37:26 03:37:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:37:26 arm64: Pulling from edgex-lftools-log-publisher 03:37:26 8998bd30e6a1: Pulling fs layer 03:37:26 04944245beec: Pulling fs layer 03:37:26 699f458cf7ca: Pulling fs layer 03:37:26 765212b225bb: Pulling fs layer 03:37:26 f23df028b6ca: Pulling fs layer 03:37:26 d65c8cfc05b1: Pulling fs layer 03:37:26 765212b225bb: Waiting 03:37:26 f23df028b6ca: Waiting 03:37:26 2437ff75d9bd: Pulling fs layer 03:37:26 d65c8cfc05b1: Waiting 03:37:26 04944245beec: Verifying Checksum 03:37:26 04944245beec: Download complete 03:37:26 765212b225bb: Verifying Checksum 03:37:26 765212b225bb: Download complete 03:37:26 f23df028b6ca: Verifying Checksum 03:37:26 f23df028b6ca: Download complete 03:37:26 d65c8cfc05b1: Verifying Checksum 03:37:26 d65c8cfc05b1: Download complete 03:37:26 699f458cf7ca: Verifying Checksum 03:37:26 699f458cf7ca: Download complete 03:37:27 8998bd30e6a1: Download complete 03:37:29 2437ff75d9bd: Verifying Checksum 03:37:29 2437ff75d9bd: Download complete 03:37:31 8998bd30e6a1: Pull complete 03:37:32 04944245beec: Pull complete 03:37:33 699f458cf7ca: Pull complete 03:37:34 765212b225bb: Pull complete 03:37:34 f23df028b6ca: Pull complete 03:37:34 d65c8cfc05b1: Pull complete 03:37:53 2437ff75d9bd: Pull complete 03:37:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:37:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:37:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:53 prd-ubuntu20.04-docker-arm64-4c-16g-7607 does not seem to be running inside a container 03:37:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-s7/6 -v /w/workspace/device-s7/6:/w/workspace/device-s7/6:rw,z -v /w/workspace/device-s7/6@tmp:/w/workspace/device-s7/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:37:56 $ docker top de3cd41c76fe6c1ccf1b3ebe7a6b979bb6adb3b01c85e4502dab78b5cfaf6fa2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:56 ---> job-cost.sh 03:37:56 lf-activate-venv: SKIPPING 03:37:56 INFO: No Stack... 03:37:57 INFO: Retrieving Pricing Info for: v3-standard-4 03:37:58 INFO: Archiving Costs [Pipeline] sh 03:37:58 + cat /w/workspace/device-s7/6/archives/cost.csv 03:37:58 + cut -d, -f6 [Pipeline] lock 03:37:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] 03:37:58 Resource [jenkins-edgexfoundry-device-s7-main-6-stack-cost] did not exist. Created. 03:37:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:37:58 /w/workspace/device-s7/6@tmp/durable-96694b8d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:37:59 + echo total: 0.10999999940395355 [Pipeline] stash 03:37:59 Warning: overwriting stash ‘stack-cost’ 03:37:59 Stashed 1 file(s) [Pipeline] } 03:37:59 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-6-stack-cost] [Pipeline] // lock [Pipeline] } 03:37:59 $ docker stop --time=1 de3cd41c76fe6c1ccf1b3ebe7a6b979bb6adb3b01c85e4502dab78b5cfaf6fa2 03:38:01 $ docker rm -f --volumes de3cd41c76fe6c1ccf1b3ebe7a6b979bb6adb3b01c85e4502dab78b5cfaf6fa2 [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 03:38:01 provisioning config files... 03:38:01 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config13995669347267049738tmp [Pipeline] { [Pipeline] sh 03:38:02 + set +x 03:38:02 + curl -s https://codecov.io/bash 03:38:02 + bash -s -- 03:38:02 03:38:02 _____ _ 03:38:02 / ____| | | 03:38:02 | | ___ __| | ___ ___ _____ __ 03:38:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:38:02 | |___| (_) | (_| | __/ (_| (_) \ V / 03:38:02 \_____\___/ \__,_|\___|\___\___/ \_/ 03:38:02 Bash-1.0.6 03:38:02 03:38:02 03:38:02 ==> git version 2.25.1 found 03:38:02 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:38:02 Release-Date: 2020-01-08 03:38:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:38:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:38:02 ==> Jenkins CI detected. 03:38:02 current dir:  /w/workspace/edgexfoundry_device-s7_main 03:38:02 project root: . 03:38:02 --> token set from env 03:38:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:38:02 ==> Running gcov in . (disable via -X gcov) 03:38:02 ==> Python coveragepy not found 03:38:02 ==> Searching for coverage reports in: 03:38:02 + . 03:38:02 -> Found 1 reports 03:38:02 ==> Detecting git/mercurial file structure 03:38:02 ==> Reading reports 03:38:02 + ./coverage.out bytes=13 03:38:02 ==> Appending adjustments 03:38:02 https://docs.codecov.io/docs/fixing-reports 03:38:02 + Found adjustments 03:38:02 ==> Gzipping contents 03:38:02 4.0K /tmp/codecov.t9udGK.gz 03:38:02 ==> Uploading reports 03:38:02 url: https://codecov.io 03:38:02 query: branch=main&commit=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 03:38:02 -> Pinging Codecov 03:38:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 03:38:02 -> Uploading to 03:38:02 https://storage.googleapis.com/codecov/v4/raw/2024-08-13/4B6A60F249F899673AFAFF81AC620B19/27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33/4693d7b2-04e5-4b75-bb83-adf189f84e46.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240813%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240813T033802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6cd4a78eeef1b6bc2b94fae33c68843a0a5d0959237eaec09a51cb8d321499a1 03:38:02 % Total % Received % Xferd Average Speed Time Time Time Current 03:38:02 Dload Upload Total Spent Left Speed 03:38:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 866 0 0 100 866 0 3464 --:--:-- --:--:-- --:--:-- 3450 03:38:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] } 03:38:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:38:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:38:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:38:03 03:38:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:38:03 latest: Pulling from edgex-devops/edgex-snyk-go 03:38:03 619be1103602: Already exists 03:38:03 f8ea3408117e: Pulling fs layer 03:38:03 91320369b822: Pulling fs layer 03:38:03 0406650e8295: Pulling fs layer 03:38:03 4f4fb700ef54: Pulling fs layer 03:38:03 96d80e3f36e1: Pulling fs layer 03:38:03 bcf3aedb951c: Pulling fs layer 03:38:03 bcf3aedb951c: Waiting 03:38:03 4f4fb700ef54: Waiting 03:38:03 96d80e3f36e1: Waiting 03:38:03 0406650e8295: Verifying Checksum 03:38:03 0406650e8295: Download complete 03:38:03 f8ea3408117e: Verifying Checksum 03:38:03 f8ea3408117e: Download complete 03:38:03 4f4fb700ef54: Verifying Checksum 03:38:03 4f4fb700ef54: Download complete 03:38:03 f8ea3408117e: Pull complete 03:38:04 96d80e3f36e1: Verifying Checksum 03:38:04 96d80e3f36e1: Download complete 03:38:04 91320369b822: Verifying Checksum 03:38:04 91320369b822: Download complete 03:38:04 bcf3aedb951c: Download complete 03:38:08 91320369b822: Pull complete 03:38:08 0406650e8295: Pull complete 03:38:08 4f4fb700ef54: Pull complete 03:38:08 96d80e3f36e1: Pull complete 03:38:11 bcf3aedb951c: Pull complete 03:38:11 Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 03:38:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 03:38:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:11 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:38:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -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-devops/edgex-snyk-go:latest cat 03:38:15 $ docker top e0db6232b535e5aabd657c9b425bdc6e9650d723ae283df48ec94b932e584b6a -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:16 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] echo 03:38:16 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-s7:main' [Pipeline] sh 03:38:16 + set -o pipefail 03:38:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-s7:main' 03:38:23 03:38:23 Monitoring /w/workspace/edgexfoundry_device-s7_main (github.com/edgexfoundry/device-s7)... 03:38:23 03:38:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9802e2c3-a805-43f9-b47e-5746baaac31c/history/e7440565-c88c-4d16-9c06-033030361202 03:38:23 03:38:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:38:23 03:38:23 03:38:23 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 03:38:23 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:38:23 $ docker stop --time=1 e0db6232b535e5aabd657c9b425bdc6e9650d723ae283df48ec94b932e584b6a 03:38:26 $ docker rm -f --volumes e0db6232b535e5aabd657c9b425bdc6e9650d723ae283df48ec94b932e584b6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:38:27 + git log --format=format:%s -1 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 [Pipeline] sh 03:38:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:38:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:28 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:38:28 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:38:28 $ docker top a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d -eo pid,comm 03:38:28 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). 03:38:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:28 [ssh-agent] Looking for ssh-agent implementation... 03:38:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:29 $ docker exec a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d ssh-agent 03:38:29 SSH_AUTH_SOCK=/tmp/ssh-o5VVAvD0RmWw/agent.32 03:38:29 SSH_AGENT_PID=39 03:38:29 Running ssh-add (command line suppressed) 03:38:29 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11673520502139192378.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11673520502139192378.key) 03:38:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:29 + git semver tag 03:38:29 2024-08-13 03:38:29,713 [run_tag] DEBUG tag force:False 03:38:29 2024-08-13 03:38:29,713 [check_head_tag] DEBUG check head tag 03:38:29 2024-08-13 03:38:29,714 [execute] INFO git cat-file --batch-check 03:38:29 2024-08-13 03:38:29,714 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) 03:38:29 2024-08-13 03:38:29,719 [execute] INFO git cat-file --batch 03:38:29 2024-08-13 03:38:29,719 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) 03:38:29 2024-08-13 03:38:29,724 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:38:29 2024-08-13 03:38:29,724 [execute] INFO git tag -a v0.0.1-dev.1 -m v0.0.1-dev.1 03:38:29 2024-08-13 03:38:29,724 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.1', '-m', 'v0.0.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=None) 03:38:29 2024-08-13 03:38:29,729 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:38:29 0.0.1-dev.1 [Pipeline] } 03:38:29 $ docker exec --env ******** --env ******** a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d ssh-agent -k 03:38:29 unset SSH_AUTH_SOCK; 03:38:29 unset SSH_AGENT_PID; 03:38:29 echo Agent pid 39 killed; 03:38:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:38:30 + git semver [Pipeline] } 03:38:30 $ docker stop --time=1 a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d 03:38:31 $ docker rm -f --volumes a9c1ae348f04870c364bd07567d0d717700fa9a09331eae3bb04355298c4f74d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:38:32 03:38:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:38:32 0.23.1-centos7: Pulling from edgex-lftools 03:38:32 ab5ef0e58194: Pulling fs layer 03:38:32 9712f1f96733: Pulling fs layer 03:38:32 63f879dbbcfc: Pulling fs layer 03:38:32 0d9ebad4ef96: Pulling fs layer 03:38:32 e9a5061849ea: Pulling fs layer 03:38:32 d747dcd14b5f: Pulling fs layer 03:38:32 2de7ff778b66: Pulling fs layer 03:38:32 d747dcd14b5f: Waiting 03:38:32 0d9ebad4ef96: Waiting 03:38:32 9712f1f96733: Verifying Checksum 03:38:32 9712f1f96733: Download complete 03:38:34 63f879dbbcfc: Verifying Checksum 03:38:34 63f879dbbcfc: Download complete 03:38:34 0d9ebad4ef96: Verifying Checksum 03:38:34 0d9ebad4ef96: Download complete 03:38:34 e9a5061849ea: Verifying Checksum 03:38:34 e9a5061849ea: Download complete 03:38:34 d747dcd14b5f: Download complete 03:38:34 ab5ef0e58194: Verifying Checksum 03:38:34 ab5ef0e58194: Download complete 03:38:34 2de7ff778b66: Verifying Checksum 03:38:34 2de7ff778b66: Download complete 03:38:38 ab5ef0e58194: Pull complete 03:38:38 9712f1f96733: Pull complete 03:38:38 63f879dbbcfc: Pull complete 03:38:42 0d9ebad4ef96: Pull complete 03:38:42 e9a5061849ea: Pull complete 03:38:42 d747dcd14b5f: Pull complete 03:38:44 2de7ff778b66: Pull complete 03:38:44 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:38:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:38:44 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:44 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:38:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:38:50 $ docker top c60f7a9ab3cfb01b57f8a267878707ad35f2e409ca0ff61b4dcff588fe7d5895 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:38:50 provisioning config files... 03:38:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config3971646428536959888tmp 03:38:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config6966138315713513976tmp 03:38:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config4418274092509334065tmp [Pipeline] { [Pipeline] echo 03:38:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:38:50 ---> sigul-configuration.sh 03:38:50 gpg: directory `/root/.gnupg' created 03:38:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:38:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:38:50 gpg: keyring `/root/.gnupg/secring.gpg' created 03:38:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:38:50 gpg: CAST5 encrypted data 03:38:50 gpg: encrypted with 1 passphrase 03:38:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:38:51 + mkdir /home/jenkins 03:38:51 + mkdir /home/jenkins/sigul [Pipeline] sh 03:38:51 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:38:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:38:51 ---> sigul-install.sh 03:38:51 Sigul already installed; skipping installation. [Pipeline] sh 03:38:52 + git tag --list 03:38:52 v0.0.0 03:38:52 v0.0.1-dev.1 [Pipeline] sh 03:38:52 + lftools sign git-tag v0.0.1-dev.1 03:38:53 Signing Git tag with Sigul... 03:38:53 Signing v0.0.1-dev.1 [Pipeline] echo 03:38:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:38:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:38:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:38:53 $ docker stop --time=1 c60f7a9ab3cfb01b57f8a267878707ad35f2e409ca0ff61b4dcff588fe7d5895 03:38:55 $ docker rm -f --volumes c60f7a9ab3cfb01b57f8a267878707ad35f2e409ca0ff61b4dcff588fe7d5895 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:38:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:38:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:55 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:38:55 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:38:56 $ docker top 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:56 [ssh-agent] Looking for ssh-agent implementation... 03:38:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:56 $ docker exec 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 ssh-agent 03:38:56 SSH_AUTH_SOCK=/tmp/ssh-W0jlfm5hcJm5/agent.32 03:38:56 SSH_AGENT_PID=38 03:38:56 Running ssh-add (command line suppressed) 03:38:56 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_7900085973065694448.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_7900085973065694448.key) 03:38:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:57 + git semver bump pre 03:38:57 2024-08-13 03:38:57,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:38:57 2024-08-13 03:38:57,250 [bump_version] DEBUG bumping version:0.0.1-dev.1 on axis:pre with prefix:dev 03:38:57 2024-08-13 03:38:57,250 [bump_version] DEBUG bumped version:0.0.1-dev.2 03:38:57 2024-08-13 03:38:57,250 [write_version] DEBUG write version:0.0.1-dev.2 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:True 03:38:57 2024-08-13 03:38:57,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:38:57 2024-08-13 03:38:57,251 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_main/.semver/main 03:38:57 2024-08-13 03:38:57,252 [execute] INFO git cat-file --batch-check 03:38:57 2024-08-13 03:38:57,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) 03:38:57 2024-08-13 03:38:57,257 [execute] INFO git cat-file --batch 03:38:57 2024-08-13 03:38:57,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) 03:38:57 2024-08-13 03:38:57,263 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:38:57 0.0.1-dev.2 [Pipeline] } 03:38:57 $ docker exec --env ******** --env ******** 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 ssh-agent -k 03:38:57 unset SSH_AUTH_SOCK; 03:38:57 unset SSH_AGENT_PID; 03:38:57 echo Agent pid 38 killed; 03:38:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:38:57 + git semver [Pipeline] } 03:38:58 $ docker stop --time=1 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 03:38:59 $ docker rm -f --volumes 163cfc2fa6c5d94ddc5a890426b5589cd46abd76b62cc8060a6730af08038d59 [Pipeline] // withDockerContainer [Pipeline] sh 03:38:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:38:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:39:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:00 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:39:00 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:39:00 $ docker top 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:39:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:39:00 [ssh-agent] Looking for ssh-agent implementation... 03:39:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:39:00 $ docker exec 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 ssh-agent 03:39:00 SSH_AUTH_SOCK=/tmp/ssh-S7q4WJp8WtuM/agent.32 03:39:00 SSH_AGENT_PID=38 03:39:00 Running ssh-add (command line suppressed) 03:39:00 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_18234730377509109897.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_18234730377509109897.key) 03:39:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:39:01 + git semver push 03:39:01 2024-08-13 03:39:01,402 [run_push] DEBUG push 03:39:01 2024-08-13 03:39:01,403 [execute] INFO git cat-file --batch-check 03:39:01 2024-08-13 03:39:01,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) 03:39:01 2024-08-13 03:39:01,407 [execute] INFO git rev-list a7eedd4a2c72bda264c1b1642b145937ab5f5562 -- 03:39:01 2024-08-13 03:39:01,407 [execute] DEBUG Popen(['git', 'rev-list', 'a7eedd4a2c72bda264c1b1642b145937ab5f5562', '--'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) 03:39:01 2024-08-13 03:39:01,412 [execute] INFO git fetch -v origin 03:39:01 2024-08-13 03:39:01,412 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=True, shell=None, istream=None) 03:39:02 2024-08-13 03:39:01,864 [run_push] DEBUG no remote changes detected 03:39:02 2024-08-13 03:39:01,864 [execute] INFO git push origin semver 03:39:02 2024-08-13 03:39:01,865 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) 03:39:03 2024-08-13 03:39:02,685 [run_push] DEBUG push all version tags 03:39:03 2024-08-13 03:39:02,686 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:39:03 2024-08-13 03:39:02,686 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=None) 03:39:03 2024-08-13 03:39:03,630 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 03:39:03 0.0.1-dev.2 [Pipeline] } 03:39:03 $ docker exec --env ******** --env ******** 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 ssh-agent -k 03:39:04 unset SSH_AUTH_SOCK; 03:39:04 unset SSH_AGENT_PID; 03:39:04 echo Agent pid 38 killed; 03:39:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:39:04 + git semver [Pipeline] } 03:39:04 $ docker stop --time=1 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 03:39:06 $ docker rm -f --volumes 683bf172d821651b2114133c81782c4ac9095c53fcabff49d312546110ee04d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:39:10 + [ -d /w/workspace/edgexfoundry_device-s7_main/archives ] 03:39:10 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 03:39:10 total 16 03:39:10 drwxr-xr-x 3 root root 4096 Aug 13 03:28 . 03:39:10 drwxrwxr-x 9 jenkins jenkins 4096 Aug 13 03:38 .. 03:39:10 drwxr-xr-x 2 root root 4096 Aug 13 03:28 cost 03:39:10 -rw-r--r-- 1 root root 79 Aug 13 03:28 cost.csv 03:39:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_main/archives 03:39:10 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 03:39:10 total 16 03:39:10 drwxr-xr-x 3 jenkins jenkins 4096 Aug 13 03:28 . 03:39:10 drwxrwxr-x 9 jenkins jenkins 4096 Aug 13 03:38 .. 03:39:10 drwxr-xr-x 2 jenkins jenkins 4096 Aug 13 03:28 cost 03:39:10 -rw-r--r-- 1 jenkins jenkins 79 Aug 13 03:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:39:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:39:12 ---> package-listing.sh 03:39:12 ++ facter osfamily 03:39:12 ++ tr '[:upper:]' '[:lower:]' 03:39:12 + OS_FAMILY=debian 03:39:12 + workspace=/w/workspace/edgexfoundry_device-s7_main 03:39:12 + START_PACKAGES=/tmp/packages_start.txt 03:39:12 + END_PACKAGES=/tmp/packages_end.txt 03:39:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:39:12 + PACKAGES=/tmp/packages_start.txt 03:39:12 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 03:39:12 + PACKAGES=/tmp/packages_end.txt 03:39:12 + case "${OS_FAMILY}" in 03:39:12 + dpkg -l 03:39:12 + grep '^ii' 03:39:13 + '[' -f /tmp/packages_start.txt ']' 03:39:13 + '[' -f /tmp/packages_end.txt ']' 03:39:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:39:13 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 03:39:13 + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ 03:39:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo 03:39:13 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 03:39:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:39:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:39:14 prd-ubuntu20.04-docker-8c-8g-7606 does not seem to be running inside a container 03:39:14 $ 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 03:39:14 $ docker top 95f1513dadc2a6d40141b0e8df3d3da45afa30495728b1d481e254b6473df373 -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:14 + touch /tmp/pre-build-complete [Pipeline] sh 03:39:14 + mkdir -p /var/log/sysstat [Pipeline] sh 03:39:15 + ls /var/log/sa-host 03:39:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:39:15 provisioning config files... 03:39:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config10501098702897951095tmp [Pipeline] { [Pipeline] echo 03:39:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:39:15 ---> create-netrc.sh [Pipeline] } 03:39:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:39:16 ---> python-tools-install.sh [Pipeline] echo 03:39:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:39:16 ---> sudo-logs.sh 03:39:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:39:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:39:16 ---> job-cost.sh 03:39:16 lf-activate-venv: SKIPPING 03:39:16 DEBUG: total: 0.2199999988079071 03:39:16 INFO: Retrieving Stack Cost... 03:39:17 INFO: Retrieving Pricing Info for: v3-standard-8 03:39:17 INFO: Archiving Costs [Pipeline] echo 03:39:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:39:17 ---> logs-deploy.sh 03:39:17 lf-activate-venv: SKIPPING 03:39:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/6 03:39:17 INFO: archiving workspace using pattern(s): 03:39:18 Archives upload complete. 03:39:18 INFO: archiving logs to Nexus