Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8abf73570ad6030a87cde2867b8b9b061b07feca 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-ssh7886562256524486824.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh10405653171703277645.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3578047762716319901.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh12439276088094740343.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-ssh4627720924270543682.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.23 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-24157’ Running on prd-ubuntu20.04-docker-8c-8g-24160 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 8abf73570ad6030a87cde2867b8b9b061b07feca (main) Commit message: "Merge pull request #14 from weichou1229/v4-module" > 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 8abf73570ad6030a87cde2867b8b9b061b07feca # timeout=10 > git rev-list --no-walk e57816f4afcfc8db9a573db5c83bd892c807d408 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:17:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:17:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:17:48 ========================================================= 13:17:48 EdgeX Global Pipelines Version Info 13:17:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:17:49 ------------------- 13:17:49 stable info: 13:17:49 ------------------- 13:17:49 Commited By: Ginny Guan ginny@iotechsys.com 13:17:49 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 13:17:49 Message: update stable to v1.0.265 13:17:50 ------------------- 13:17:50 experimental info: 13:17:50 ------------------- 13:17:50 Commited By: Cherry Wang cherry@iotechsys.com 13:17:50 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 13:17:50 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:17:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:17:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:17:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8abf73570ad6030a87cde2867b8b9b061b07feca [Pipeline] echo 13:17:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8abf735 [Pipeline] echo 13:17:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:17:51 provisioning config files... 13:17:51 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config11023855139141724821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:51 ---> ****-login.sh 13:17:51 nexus3.edgexfoundry.org:10001 13:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:51 Configure a credential helper to remove this warning. See 13:17:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:51 13:17:51 Login Succeeded 13:17:51 nexus3.edgexfoundry.org:10002 13:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:52 Configure a credential helper to remove this warning. See 13:17:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:52 13:17:52 Login Succeeded 13:17:52 nexus3.edgexfoundry.org:10003 13:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:52 Configure a credential helper to remove this warning. See 13:17:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:52 13:17:52 Login Succeeded 13:17:52 nexus3.edgexfoundry.org:10004 13:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:52 Configure a credential helper to remove this warning. See 13:17:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:52 13:17:52 Login Succeeded 13:17:52 ****.io 13:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:17:52 Configure a credential helper to remove this warning. See 13:17:52 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:17:52 13:17:52 Login Succeeded 13:17:52 ---> ****-login.sh ends [Pipeline] } 13:17:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:17:52 + git rev-list -1 --merges 8abf73570ad6030a87cde2867b8b9b061b07feca~1..8abf73570ad6030a87cde2867b8b9b061b07feca [Pipeline] echo 13:17:52 -----------> git rev-list -1 --merges 8abf73570ad6030a87cde2867b8b9b061b07feca~1..8abf73570ad6030a87cde2867b8b9b061b07feca 8abf73570ad6030a87cde2867b8b9b061b07feca 13:17:52 8abf73570ad6030a87cde2867b8b9b061b07feca [false] [Pipeline] sh 13:17:53 + git log --format=format:%s -1 8abf73570ad6030a87cde2867b8b9b061b07feca [Pipeline] echo 13:17:53 ========================================================= 13:17:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:17:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:17:53 + git log --format=format:%s -1 8abf73570ad6030a87cde2867b8b9b061b07feca [Pipeline] echo 13:17:53 [semverPrep] GIT_COMMIT: 8abf73570ad6030a87cde2867b8b9b061b07feca, Commit Message: Merge pull request #14 from weichou1229/v4-module [Pipeline] echo 13:17:53 [semverPrep] This is not a build commit. [Pipeline] sh 13:17:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:17:54 + grep -v github /etc/ssh/ssh_known_hosts 13:17:54 + [ -e /tmp/ssh_known_hosts ] 13:17:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:17:54 + + sudo tee -a /etc/ssh/ssh_known_hosts 13:17:54 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:17:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:17:54 13:17:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:17:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:17:54 0.1.4: Pulling from edgex-devops/py-git-semver 13:17:54 b85a868b505f: Pulling fs layer 13:17:54 e2be974225ed: Pulling fs layer 13:17:54 339a4e72a1f5: Pulling fs layer 13:17:54 988bab9f4d93: Pulling fs layer 13:17:54 1469e6f7b9e6: Pulling fs layer 13:17:54 eaf3925da568: Pulling fs layer 13:17:54 bab4dde63d76: Pulling fs layer 13:17:54 bde34c3a00c8: Pulling fs layer 13:17:54 b352a97aabf1: Pulling fs layer 13:17:54 4872d77fe225: Pulling fs layer 13:17:54 5851b861e8e6: Pulling fs layer 13:17:54 bde34c3a00c8: Waiting 13:17:54 988bab9f4d93: Waiting 13:17:54 eaf3925da568: Waiting 13:17:54 b352a97aabf1: Waiting 13:17:54 1469e6f7b9e6: Waiting 13:17:54 bab4dde63d76: Waiting 13:17:54 4872d77fe225: Waiting 13:17:54 e2be974225ed: Verifying Checksum 13:17:54 e2be974225ed: Download complete 13:17:54 988bab9f4d93: Download complete 13:17:54 1469e6f7b9e6: Verifying Checksum 13:17:54 1469e6f7b9e6: Download complete 13:17:54 eaf3925da568: Download complete 13:17:54 339a4e72a1f5: Verifying Checksum 13:17:54 339a4e72a1f5: Download complete 13:17:54 bde34c3a00c8: Verifying Checksum 13:17:54 bde34c3a00c8: Download complete 13:17:54 b352a97aabf1: Download complete 13:17:54 4872d77fe225: Verifying Checksum 13:17:54 4872d77fe225: Download complete 13:17:54 5851b861e8e6: Verifying Checksum 13:17:54 5851b861e8e6: Download complete 13:17:55 b85a868b505f: Verifying Checksum 13:17:55 b85a868b505f: Download complete 13:17:55 bab4dde63d76: Download complete 13:17:56 b85a868b505f: Pull complete 13:17:56 e2be974225ed: Pull complete 13:17:57 339a4e72a1f5: Pull complete 13:17:57 988bab9f4d93: Pull complete 13:17:57 1469e6f7b9e6: Pull complete 13:17:57 eaf3925da568: Pull complete 13:17:59 bab4dde63d76: Pull complete 13:17:59 bde34c3a00c8: Pull complete 13:17:59 b352a97aabf1: Pull complete 13:17:59 4872d77fe225: Pull complete 13:17:59 5851b861e8e6: Pull complete 13:17:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:17:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:17:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:17:59 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:17:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:18:04 $ docker top 0088dc443a79448f43d9deb398adb2ee70c021f67921edc291bda0b40f2d3044 -eo pid,comm 13:18:04 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). 13:18:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:18:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:18:04 [ssh-agent] Looking for ssh-agent implementation... 13:18:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:18:04 $ docker exec 0088dc443a79448f43d9deb398adb2ee70c021f67921edc291bda0b40f2d3044 ssh-agent 13:18:04 SSH_AUTH_SOCK=/tmp/ssh-sKK1Bs7mobj8/agent.32 13:18:04 SSH_AGENT_PID=38 13:18:04 Running ssh-add (command line suppressed) 13:18:04 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11422234776203512939.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_11422234776203512939.key) 13:18:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:18:04 + git tag --points-at HEAD [Pipeline] } 13:18:04 $ docker exec --env ******** --env ******** 0088dc443a79448f43d9deb398adb2ee70c021f67921edc291bda0b40f2d3044 ssh-agent -k 13:18:05 unset SSH_AUTH_SOCK; 13:18:05 unset SSH_AGENT_PID; 13:18:05 echo Agent pid 38 killed; 13:18:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:18:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:18:05 [ssh-agent] Looking for ssh-agent implementation... 13:18:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:18:05 $ docker exec 0088dc443a79448f43d9deb398adb2ee70c021f67921edc291bda0b40f2d3044 ssh-agent 13:18:05 SSH_AUTH_SOCK=/tmp/ssh-9UXtuxwxb8rc/agent.71 13:18:05 SSH_AGENT_PID=77 13:18:05 Running ssh-add (command line suppressed) 13:18:05 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_4739458493482909636.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_4739458493482909636.key) 13:18:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:18:05 + git semver init 13:18:05 2024-10-30 13:18:05,859 [run_init] DEBUG init version:0.0.0 force:False 13:18:05 2024-10-30 13:18:05,860 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_main/.semver 13:18:05 2024-10-30 13:18:05,861 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_main/.semver 13:18:05 2024-10-30 13:18:05,862 [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) 13:18:06 2024-10-30 13:18:06,535 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_main/.git/info/exclude 13:18:06 2024-10-30 13:18:06,536 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:False 13:18:06 2024-10-30 13:18:06,536 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 13:18:06 2024-10-30 13:18:06,536 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 13:18:06 4.0.0-dev.1 [Pipeline] } 13:18:06 $ docker exec --env ******** --env ******** 0088dc443a79448f43d9deb398adb2ee70c021f67921edc291bda0b40f2d3044 ssh-agent -k 13:18:07 unset SSH_AUTH_SOCK; 13:18:07 unset SSH_AGENT_PID; 13:18:07 echo Agent pid 77 killed; 13:18:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:18:07 + git semver [Pipeline] } 13:18:07 $ docker stop --time=1 0088dc443a79448f43d9deb398adb2ee70c021f67921edc291bda0b40f2d3044 13:18:08 $ docker rm -f --volumes 0088dc443a79448f43d9deb398adb2ee70c021f67921edc291bda0b40f2d3044 [Pipeline] // withDockerContainer [Pipeline] sh 13:18:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:18:09 Stashed 1 file(s) [Pipeline] echo 13:18:09 [edgeXSemver]: initialized semver on version 4.0.0-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 13:18:09 provisioning config files... 13:18:09 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config9372438100197258648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:18:10 ---> ****-login.sh 13:18:10 nexus3.edgexfoundry.org:10001 13:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:18:10 Configure a credential helper to remove this warning. See 13:18:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:18:10 13:18:10 Login Succeeded 13:18:10 nexus3.edgexfoundry.org:10002 13:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:18:10 Configure a credential helper to remove this warning. See 13:18:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:18:10 13:18:10 Login Succeeded 13:18:10 nexus3.edgexfoundry.org:10003 13:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:18:10 Configure a credential helper to remove this warning. See 13:18:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:18:10 13:18:10 Login Succeeded 13:18:10 nexus3.edgexfoundry.org:10004 13:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:18:10 Configure a credential helper to remove this warning. See 13:18:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:18:10 13:18:10 Login Succeeded 13:18:10 ****.io 13:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:18:10 Configure a credential helper to remove this warning. See 13:18:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:18:10 13:18:10 Login Succeeded 13:18:10 ---> ****-login.sh ends [Pipeline] } 13:18:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:18:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:18:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:18:10 ========================================================= 13:18:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 13:18:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:18:11 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 13:18:11 Sending build context to Docker daemon 585.7kB 13:18:11 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 13:18:11 Step 2/10 : FROM ${BASE} AS builder 13:18:11 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 13:18:11 43c4264eed91: Pulling fs layer 13:18:11 4cc291be95ef: Pulling fs layer 13:18:11 2ac1f1163629: Pulling fs layer 13:18:11 5c3c966382ef: Pulling fs layer 13:18:11 4f4fb700ef54: Pulling fs layer 13:18:11 5d5c8e513c77: Pulling fs layer 13:18:11 9f66e0745190: Pulling fs layer 13:18:11 f49a43e4bbc0: Pulling fs layer 13:18:11 561ebcabdf7f: Pulling fs layer 13:18:11 5d5c8e513c77: Waiting 13:18:11 9f66e0745190: Waiting 13:18:11 4f4fb700ef54: Waiting 13:18:11 5c3c966382ef: Waiting 13:18:11 f49a43e4bbc0: Waiting 13:18:11 561ebcabdf7f: Waiting 13:18:11 4cc291be95ef: Download complete 13:18:11 5c3c966382ef: Verifying Checksum 13:18:11 5c3c966382ef: Download complete 13:18:11 4f4fb700ef54: Verifying Checksum 13:18:11 4f4fb700ef54: Download complete 13:18:11 5d5c8e513c77: Verifying Checksum 13:18:11 5d5c8e513c77: Download complete 13:18:11 43c4264eed91: Verifying Checksum 13:18:11 43c4264eed91: Download complete 13:18:11 9f66e0745190: Verifying Checksum 13:18:11 561ebcabdf7f: Verifying Checksum 13:18:11 561ebcabdf7f: Download complete 13:18:11 43c4264eed91: Pull complete 13:18:11 4cc291be95ef: Pull complete 13:18:12 2ac1f1163629: Verifying Checksum 13:18:12 2ac1f1163629: Download complete 13:18:12 f49a43e4bbc0: Verifying Checksum 13:18:12 f49a43e4bbc0: Download complete 13:18:15 2ac1f1163629: Pull complete 13:18:15 5c3c966382ef: Pull complete 13:18:15 4f4fb700ef54: Pull complete 13:18:15 5d5c8e513c77: Pull complete 13:18:15 9f66e0745190: Pull complete 13:18:18 f49a43e4bbc0: Pull complete 13:18:18 561ebcabdf7f: Pull complete 13:18:18 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 13:18:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 13:18:18 ---> 3a752c3f9dda 13:18:18 Step 3/10 : ARG MAKE=make build 13:18:24 Still waiting to schedule task 13:18:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24159’ 13:18:24 ---> Running in 35e39ae97342 13:18:24 Removing intermediate container 35e39ae97342 13:18:24 ---> 4aff32b2a6f9 13:18:24 Step 4/10 : WORKDIR /device-s7 13:18:24 ---> Running in 9a581f7bce99 13:18:24 Removing intermediate container 9a581f7bce99 13:18:24 ---> e68deaaffc9b 13:18:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 13:18:24 ---> Running in c1546192f955 13:18:24 Removing intermediate container c1546192f955 13:18:24 ---> ec3f5e8d6778 13:18:24 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 13:18:24 ---> Running in d3bc44f1c77d 13:18:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:18:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:18:25 OK: 246 MiB in 54 packages 13:18:25 Removing intermediate container d3bc44f1c77d 13:18:25 ---> 3aa27c2abfe0 13:18:25 Step 7/10 : COPY go.mod vendor* ./ 13:18:25 ---> 0315a1936998 13:18:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:18:25 ---> Running in 5ff98a0e0cd3 13:19:22 Removing intermediate container 5ff98a0e0cd3 13:19:22 ---> 02c08976d97d 13:19:22 Step 9/10 : COPY . . 13:19:22 ---> 8556be78360e 13:19:22 Step 10/10 : RUN ${MAKE} 13:19:22 ---> Running in 733b6fe2c06a 13:19:22 noop 13:19:22 Removing intermediate container 733b6fe2c06a 13:19:22 ---> f9872b2e0db4 13:19:22 Successfully built f9872b2e0db4 13:19:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:22 + docker inspect -f . ci-base-image-x86_64 13:19:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:19:22 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:19:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:19:22 $ docker top 5231c15dac409059ddcb1510199f0f89799734ff68bcb072cbb758f68507b9d1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:23 + go version 13:19:23 go version go1.23.2 linux/amd64 [Pipeline] } 13:19:23 $ docker stop --time=1 5231c15dac409059ddcb1510199f0f89799734ff68bcb072cbb758f68507b9d1 13:19:24 $ docker rm -f --volumes 5231c15dac409059ddcb1510199f0f89799734ff68bcb072cbb758f68507b9d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:19:25 + docker inspect -f . ci-base-image-x86_64 13:19:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:19:25 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:19:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:19:25 $ docker top 780f07440e132d7534f7edab38c9dd2c56cf68ea201010e668c11e1292a97160 -eo pid,comm [Pipeline] { [Pipeline] sh 13:19:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] fileExists [Pipeline] sh 13:19:26 + make test 13:19:26 go test -race -coverprofile=coverage.out ./... 13:19:34 ? github.com/edgexfoundry/device-s7 [no test files] 13:19:56 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 13:19:56 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 13:20:28 go vet ./... 13:20:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:20:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:20:30 ./bin/test-attribution-txt.sh [Pipeline] echo 13:20:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:20:31 $ docker stop --time=1 780f07440e132d7534f7edab38c9dd2c56cf68ea201010e668c11e1292a97160 13:20:35 $ docker rm -f --volumes 780f07440e132d7534f7edab38c9dd2c56cf68ea201010e668c11e1292a97160 [Pipeline] // withDockerContainer [Pipeline] sh 13:20:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:20:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:20:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:20:37 + ls -al . 13:20:37 total 228 13:20:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 13:19 . 13:20:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 13:17 .. 13:20:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 13:19 .git 13:20:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 13:17 .github 13:20:37 -rw-rw-r-- 1 jenkins jenkins 237 Oct 30 13:17 .gitignore 13:20:37 -rw-rw-r-- 1 jenkins jenkins 42 Oct 30 13:17 .golangci.yml 13:20:37 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 13:18 .semver 13:20:37 -rw-rw-r-- 1 jenkins jenkins 19679 Oct 30 13:17 Attribution.txt 13:20:37 -rw-rw-r-- 1 jenkins jenkins 1579 Oct 30 13:17 Dockerfile 13:20:37 -rw-rw-r-- 1 jenkins jenkins 643 Oct 30 13:17 Jenkinsfile 13:20:37 -rw-rw-r-- 1 jenkins jenkins 10947 Oct 30 13:17 LICENSE 13:20:37 -rw-rw-r-- 1 jenkins jenkins 1903 Oct 30 13:17 Makefile 13:20:37 -rw-rw-r-- 1 jenkins jenkins 614 Oct 30 13:17 OWNERS.md 13:20:37 -rw-rw-r-- 1 jenkins jenkins 2393 Oct 30 13:17 README.md 13:20:37 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 13:18 VERSION 13:20:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 13:17 bin 13:20:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 13:17 cmd 13:20:37 -rw-r--r-- 1 jenkins jenkins 17164 Oct 30 13:19 coverage.out 13:20:37 -rw-rw-r-- 1 jenkins jenkins 6929 Oct 30 13:17 go.mod 13:20:37 -rw-rw-r-- 1 jenkins jenkins 100385 Oct 30 13:17 go.sum 13:20:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 13:17 internal 13:20:37 -rw-rw-r-- 1 jenkins jenkins 223 Oct 30 13:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:20:37 + 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=8abf73570ad6030a87cde2867b8b9b061b07feca --label arch=amd64 --label version=4.0.0-dev.1 . 13:20:37 Sending build context to Docker daemon 603.6kB 13:20:37 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 13:20:37 Step 2/24 : FROM ${BASE} AS builder 13:20:37 ---> f9872b2e0db4 13:20:37 Step 3/24 : ARG MAKE=make build 13:20:37 ---> Running in e1217b507063 13:20:37 Removing intermediate container e1217b507063 13:20:37 ---> 91275eb15ead 13:20:37 Step 4/24 : WORKDIR /device-s7 13:20:37 ---> Running in dcf9fcfcdec0 13:20:37 Removing intermediate container dcf9fcfcdec0 13:20:37 ---> 5340fc4ee407 13:20:37 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 13:20:38 ---> Running in 418cba9a240d 13:20:38 Removing intermediate container 418cba9a240d 13:20:38 ---> 58f8c77d2160 13:20:38 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 13:20:38 ---> Running in 052a361b95d9 13:20:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:20:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:20:38 OK: 246 MiB in 54 packages 13:20:38 Removing intermediate container 052a361b95d9 13:20:38 ---> 2bd94df9bd55 13:20:38 Step 7/24 : COPY go.mod vendor* ./ 13:20:39 ---> 4dcaeaea987b 13:20:39 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:20:39 ---> Running in d576c6a8c81b 13:20:39 Removing intermediate container d576c6a8c81b 13:20:39 ---> 0025c03aebe0 13:20:39 Step 9/24 : COPY . . 13:20:39 ---> 88930db85488 13:20:39 Step 10/24 : RUN ${MAKE} 13:20:39 ---> Running in 4d61017ca08b 13:20:40 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 13:21:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24162 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] ws 13:21:17 Running in /w/workspace/device-s7/8 [Pipeline] { [Pipeline] checkout 13:21:18 Removing intermediate container 4d61017ca08b 13:21:18 ---> e3d9c6b98309 13:21:18 Step 11/24 : FROM alpine:3.20 13:21:18 3.20: Pulling from library/alpine 13:21:18 43c4264eed91: Already exists 13:21:18 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 13:21:18 Status: Downloaded newer image for alpine:3.20 13:21:18 ---> 91ef0af61f39 13:21:18 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 13:21:18 ---> Running in d56014c5027c 13:21:18 Removing intermediate container d56014c5027c 13:21:18 ---> a31ec95a6207 13:21:18 Step 13/24 : RUN apk add --update --no-cache dumb-init 13:21:18 ---> Running in 1aac3a1b56bc 13:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:21:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:21:19 (1/1) Installing dumb-init (1.2.5-r3) 13:21:19 Executing busybox-1.36.1-r29.trigger 13:21:19 OK: 8 MiB in 15 packages 13:21:19 Removing intermediate container 1aac3a1b56bc 13:21:19 ---> 45ec2ae9e2f1 13:21:19 Step 14/24 : RUN apk --no-cache upgrade 13:21:19 ---> Running in 66791f910012 13:21:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:21:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:21:20 Selected Git installation does not exist. Using Default 13:21:20 The recommended git tool is: NONE 13:21:20 Upgrading critical system libraries and apk-tools: 13:21:20 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 13:21:20 Executing busybox-1.36.1-r29.trigger 13:21:20 Continuing the upgrade transaction with new apk-tools: 13:21:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 13:21:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 13:21:20 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 13:21:20 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 13:21:20 OK: 8 MiB in 15 packages 13:21:21 Removing intermediate container 66791f910012 13:21:21 ---> bf2d3cce966e 13:21:21 Step 15/24 : WORKDIR / 13:21:21 ---> Running in 78b4bf446ecf 13:21:21 Removing intermediate container 78b4bf446ecf 13:21:21 ---> 43fd64b0544b 13:21:21 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 13:21:22 ---> 99d201e34e06 13:21:22 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 13:21:24 ---> 7512bf9e3d5d 13:21:24 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 13:21:24 ---> a3fd61b5d075 13:21:24 Step 19/24 : EXPOSE 59994 13:21:24 ---> Running in 2772245bb8bf 13:21:24 Removing intermediate container 2772245bb8bf 13:21:24 ---> 9d3ec6dff25d 13:21:24 Step 20/24 : ENTRYPOINT ["/device-s7"] 13:21:24 ---> Running in 0f3147afa112 13:21:24 Removing intermediate container 0f3147afa112 13:21:24 ---> c10db4a1a32a 13:21:24 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 13:21:25 using credential edgex-jenkins-ssh 13:21:25 ---> Running in 9c8ff939e686 13:21:25 Removing intermediate container 9c8ff939e686 13:21:25 ---> f27cb0890e70 13:21:25 Step 22/24 : LABEL arch=amd64 13:21:25 Cloning the remote Git repository 13:21:25 ---> Running in 830b23903509 13:21:25 Removing intermediate container 830b23903509 13:21:25 ---> 2cdf1016b694 13:21:25 Step 23/24 : LABEL git_sha=8abf73570ad6030a87cde2867b8b9b061b07feca 13:21:25 ---> Running in b19a06b11205 13:21:25 Cloning repository git@github.com:edgexfoundry/device-s7.git 13:21:25 > git init /w/workspace/device-s7/8 # timeout=10 13:21:25 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 13:21:25 > git --version # timeout=10 13:21:25 > git --version # 'git version 2.25.1' 13:21:25 using GIT_SSH to set credentials SSH Credentials for GitHub 13:21:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:21:26 Removing intermediate container b19a06b11205 13:21:26 ---> 1fb6a17836f7 13:21:26 Step 24/24 : LABEL version=4.0.0-dev.1 13:21:26 ---> Running in 09063b6fb411 13:21:26 Removing intermediate container 09063b6fb411 13:21:26 ---> bf766838a760 13:21:26 [Warning] One or more build-args [ARCH] were not consumed 13:21:26 Successfully built bf766838a760 13:21:26 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:26 provisioning config files... 13:21:26 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config7828620812858596429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:26 ---> ****-login.sh 13:21:26 nexus3.edgexfoundry.org:10001 13:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:26 Configure a credential helper to remove this warning. See 13:21:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:26 13:21:26 Login Succeeded 13:21:26 nexus3.edgexfoundry.org:10002 13:21:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:26 Configure a credential helper to remove this warning. See 13:21:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:26 13:21:26 Login Succeeded 13:21:26 nexus3.edgexfoundry.org:10003 13:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:27 Configure a credential helper to remove this warning. See 13:21:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:27 13:21:27 Login Succeeded 13:21:27 nexus3.edgexfoundry.org:10004 13:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:27 Configure a credential helper to remove this warning. See 13:21:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:27 13:21:27 Login Succeeded 13:21:27 ****.io 13:21:27 Avoid second fetch 13:21:27 Checking out Revision 8abf73570ad6030a87cde2867b8b9b061b07feca (main) 13:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:27 Configure a credential helper to remove this warning. See 13:21:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:27 13:21:27 Login Succeeded 13:21:27 ---> ****-login.sh ends [Pipeline] } 13:21:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:21:26 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 13:21:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:21:27 > git config core.sparsecheckout # timeout=10 13:21:27 > git checkout -f 8abf73570ad6030a87cde2867b8b9b061b07feca # timeout=10 [Pipeline] // withEnv [Pipeline] echo 13:21:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:21:27 [edgeXDocker.push] Tagging docker image device-s7 with the following tags: 13:21:27 8abf73570ad6030a87cde2867b8b9b061b07feca 13:21:27 latest 13:21:27 4.0.0-dev.1 13:21:27 8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1 13:21:27 main 13:21:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:27 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:8abf73570ad6030a87cde2867b8b9b061b07feca [Pipeline] } 13:21:27 Commit message: "Merge pull request #14 from weichou1229/v4-module" [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:28 + docker push nexus3.edgexfoundry.org:10004/device-s7:8abf73570ad6030a87cde2867b8b9b061b07feca 13:21:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 13:21:28 a16a87030fab: Preparing 13:21:28 c44009c82916: Preparing 13:21:28 44c9e0ef6f58: Preparing 13:21:28 32fdbebe1a30: Preparing 13:21:28 6353e6cfe93e: Preparing 13:21:28 63ca1fbb43ae: Preparing 13:21:28 63ca1fbb43ae: Waiting 13:21:28 a16a87030fab: Pushed 13:21:28 6353e6cfe93e: Pushed 13:21:28 44c9e0ef6f58: Pushed 13:21:28 63ca1fbb43ae: Layer already exists 13:21:28 32fdbebe1a30: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:21:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:21:32 % Total % Received % Xferd Average Speed Time Time Time Current 13:21:32 Dload Upload Total Spent Left Speed 13:21:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 13:21:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 13:21:32 c44009c82916: Pushed 13:21:32 8abf73570ad6030a87cde2867b8b9b061b07feca: digest: sha256:3ca7489d7d7862baa9a93b704e1a420bab30ed12c4d4a6694992314a2542675a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:21:33 + sudo tee /etc/docker/daemon.new 13:21:33 { 13:21:33 "registry-mirrors": [ 13:21:33 "https://nexus3.edgexfoundry.org:10001" 13:21:33 ], 13:21:33 "bip": "10.250.0.254/24", 13:21:33 "hosts": [ 13:21:33 "tcp://0.0.0.0:5555", 13:21:33 "unix:///var/run/docker.sock" 13:21:33 ], 13:21:33 "mtu": 1458, 13:21:33 "selinux-enabled": true, 13:21:33 "seccomp-profile": "/etc/docker/seccomp.json" 13:21:33 } [Pipeline] sh 13:21:33 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:21:33 + docker push nexus3.edgexfoundry.org:10004/device-s7:latest 13:21:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 13:21:33 a16a87030fab: Preparing 13:21:33 c44009c82916: Preparing 13:21:33 44c9e0ef6f58: Preparing 13:21:33 32fdbebe1a30: Preparing 13:21:33 6353e6cfe93e: Preparing 13:21:33 63ca1fbb43ae: Preparing 13:21:33 63ca1fbb43ae: Waiting 13:21:33 32fdbebe1a30: Layer already exists 13:21:33 6353e6cfe93e: Layer already exists 13:21:33 c44009c82916: Layer already exists 13:21:33 a16a87030fab: Layer already exists 13:21:33 44c9e0ef6f58: Layer already exists 13:21:33 63ca1fbb43ae: Layer already exists 13:21:33 latest: digest: sha256:3ca7489d7d7862baa9a93b704e1a420bab30ed12c4d4a6694992314a2542675a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:33 + sudo service docker restart 13:21:34 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:34 + docker push nexus3.edgexfoundry.org:10004/device-s7:4.0.0-dev.1 13:21:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 13:21:34 a16a87030fab: Preparing 13:21:34 c44009c82916: Preparing 13:21:34 44c9e0ef6f58: Preparing 13:21:34 32fdbebe1a30: Preparing 13:21:34 6353e6cfe93e: Preparing 13:21:34 63ca1fbb43ae: Preparing 13:21:34 63ca1fbb43ae: Waiting 13:21:34 44c9e0ef6f58: Layer already exists 13:21:34 32fdbebe1a30: Layer already exists 13:21:34 c44009c82916: Layer already exists 13:21:34 a16a87030fab: Layer already exists 13:21:34 6353e6cfe93e: Layer already exists 13:21:34 63ca1fbb43ae: Layer already exists 13:21:34 4.0.0-dev.1: digest: sha256:3ca7489d7d7862baa9a93b704e1a420bab30ed12c4d4a6694992314a2542675a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:34 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:35 + docker push nexus3.edgexfoundry.org:10004/device-s7:8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1 13:21:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 13:21:35 a16a87030fab: Preparing 13:21:35 c44009c82916: Preparing 13:21:35 44c9e0ef6f58: Preparing 13:21:35 32fdbebe1a30: Preparing 13:21:35 6353e6cfe93e: Preparing 13:21:35 63ca1fbb43ae: Preparing 13:21:35 63ca1fbb43ae: Waiting 13:21:35 32fdbebe1a30: Layer already exists 13:21:35 44c9e0ef6f58: Layer already exists 13:21:35 6353e6cfe93e: Layer already exists 13:21:35 c44009c82916: Layer already exists 13:21:35 a16a87030fab: Layer already exists 13:21:35 63ca1fbb43ae: Layer already exists 13:21:35 8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1: digest: sha256:3ca7489d7d7862baa9a93b704e1a420bab30ed12c4d4a6694992314a2542675a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:35 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:35 + docker push nexus3.edgexfoundry.org:10004/device-s7:main 13:21:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 13:21:35 a16a87030fab: Preparing 13:21:35 c44009c82916: Preparing 13:21:35 44c9e0ef6f58: Preparing 13:21:35 32fdbebe1a30: Preparing 13:21:35 6353e6cfe93e: Preparing 13:21:35 63ca1fbb43ae: Preparing 13:21:35 63ca1fbb43ae: Waiting 13:21:35 6353e6cfe93e: Layer already exists 13:21:35 32fdbebe1a30: Layer already exists 13:21:35 a16a87030fab: Layer already exists 13:21:35 44c9e0ef6f58: Layer already exists 13:21:35 c44009c82916: Layer already exists 13:21:35 63ca1fbb43ae: Layer already exists 13:21:35 main: digest: sha256:3ca7489d7d7862baa9a93b704e1a420bab30ed12c4d4a6694992314a2542675a size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:21:35 ===================================================== [Pipeline] echo 13:21:35 taggedImages: 13:21:35 - nexus3.edgexfoundry.org:10004/device-s7:8abf73570ad6030a87cde2867b8b9b061b07feca 13:21:35 - nexus3.edgexfoundry.org:10004/device-s7:latest 13:21:35 - nexus3.edgexfoundry.org:10004/device-s7:4.0.0-dev.1 13:21:35 - nexus3.edgexfoundry.org:10004/device-s7:8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1 13:21:35 - 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 13:21:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:21:36 13:21:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:21:36 latest: Pulling from edgex-lftools-log-publisher 13:21:36 5eb5b503b376: Pulling fs layer 13:21:36 5c69ac0246d0: Pulling fs layer 13:21:36 ec43610c2a17: Pulling fs layer 13:21:36 3a2ae6a8a46f: Pulling fs layer 13:21:36 33b1e0a273af: Pulling fs layer 13:21:36 5d3b04190fa2: Pulling fs layer 13:21:36 2f39f015ded8: Pulling fs layer 13:21:36 3a2ae6a8a46f: Waiting 13:21:36 33b1e0a273af: Waiting 13:21:36 5d3b04190fa2: Waiting 13:21:36 2f39f015ded8: Waiting 13:21:36 5c69ac0246d0: Download complete 13:21:36 3a2ae6a8a46f: Download complete 13:21:36 33b1e0a273af: Verifying Checksum 13:21:36 33b1e0a273af: Download complete 13:21:36 5d3b04190fa2: Verifying Checksum 13:21:36 5d3b04190fa2: Download complete 13:21:36 ec43610c2a17: Verifying Checksum 13:21:36 ec43610c2a17: Download complete 13:21:36 5eb5b503b376: Verifying Checksum 13:21:36 5eb5b503b376: Download complete 13:21:37 2f39f015ded8: Download complete 13:21:37 5eb5b503b376: Pull complete 13:21:38 5c69ac0246d0: Pull complete 13:21:38 ec43610c2a17: Pull complete 13:21:38 3a2ae6a8a46f: Pull complete 13:21:39 33b1e0a273af: Pull complete 13:21:39 5d3b04190fa2: Pull complete 13:21:43 2f39f015ded8: Pull complete 13:21:43 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:21:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:21:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:21:43 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:21:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:21:50 $ docker top 056f925344e1fdaba15ce82ce47735030f36f6a98fd005207a1fec6e0d517223 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:50 ---> job-cost.sh 13:21:50 lf-activate-venv: SKIPPING 13:21:50 INFO: No Stack... 13:21:51 INFO: Retrieving Pricing Info for: v3-standard-8 13:21:51 INFO: Archiving Costs [Pipeline] sh 13:21:51 + cat /w/workspace/edgexfoundry_device-s7_main/archives/cost.csv 13:21:51 + cut -d, -f6 [Pipeline] lock 13:21:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-8-stack-cost] 13:21:51 Resource [jenkins-edgexfoundry-device-s7-main-8-stack-cost] did not exist. Created. 13:21:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:21:51 + echo total: 0.2199999988079071 [Pipeline] stash 13:21:51 Stashed 1 file(s) [Pipeline] } 13:21:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-8-stack-cost] [Pipeline] // lock [Pipeline] } 13:21:52 $ docker stop --time=1 056f925344e1fdaba15ce82ce47735030f36f6a98fd005207a1fec6e0d517223 13:21:53 $ docker rm -f --volumes 056f925344e1fdaba15ce82ce47735030f36f6a98fd005207a1fec6e0d517223 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 13:21:53 provisioning config files... [Pipeline] } [Pipeline] // withEnv 13:21:53 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/8@tmp/config7303659085950053998tmp [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:54 ---> ****-login.sh 13:21:54 nexus3.edgexfoundry.org:10001 13:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:55 Configure a credential helper to remove this warning. See 13:21:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:55 13:21:55 Login Succeeded 13:21:55 nexus3.edgexfoundry.org:10002 13:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:55 Configure a credential helper to remove this warning. See 13:21:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:55 13:21:55 Login Succeeded 13:21:55 nexus3.edgexfoundry.org:10003 13:21:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:55 Configure a credential helper to remove this warning. See 13:21:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:55 13:21:55 Login Succeeded 13:21:55 nexus3.edgexfoundry.org:10004 13:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:56 Configure a credential helper to remove this warning. See 13:21:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:56 13:21:56 Login Succeeded 13:21:56 ****.io 13:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:21:56 Configure a credential helper to remove this warning. See 13:21:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:21:56 13:21:56 Login Succeeded 13:21:56 ---> ****-login.sh ends [Pipeline] } 13:21:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:21:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:21:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:21:57 ========================================================= 13:21:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 13:21:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:21:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 13:21:58 Sending build context to Docker daemon 395.3kB 13:21:58 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 13:21:58 Step 2/10 : FROM ${BASE} AS builder 13:21:58 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:21:58 cf04c63912e1: Pulling fs layer 13:21:58 55b35a11ae5e: Pulling fs layer 13:21:58 a37a00ec5f00: Pulling fs layer 13:21:58 50b3750afda1: Pulling fs layer 13:21:58 4f4fb700ef54: Pulling fs layer 13:21:58 80978eb59214: Pulling fs layer 13:21:58 c9f46d7d2bd2: Pulling fs layer 13:21:58 c5a475d317c9: Pulling fs layer 13:21:58 4f4fb700ef54: Waiting 13:21:58 80978eb59214: Waiting 13:21:58 c9f46d7d2bd2: Waiting 13:21:58 c5a475d317c9: Waiting 13:21:58 50b3750afda1: Waiting 13:21:58 55b35a11ae5e: Verifying Checksum 13:21:58 55b35a11ae5e: Download complete 13:21:58 50b3750afda1: Verifying Checksum 13:21:58 50b3750afda1: Download complete 13:21:58 4f4fb700ef54: Verifying Checksum 13:21:58 4f4fb700ef54: Download complete 13:21:58 80978eb59214: Verifying Checksum 13:21:58 80978eb59214: Download complete 13:21:58 cf04c63912e1: Verifying Checksum 13:21:58 cf04c63912e1: Download complete 13:21:58 c5a475d317c9: Verifying Checksum 13:21:58 c5a475d317c9: Download complete 13:21:59 cf04c63912e1: Pull complete 13:22:00 a37a00ec5f00: Verifying Checksum 13:22:00 a37a00ec5f00: Download complete 13:22:00 55b35a11ae5e: Pull complete 13:22:01 c9f46d7d2bd2: Verifying Checksum 13:22:01 c9f46d7d2bd2: Download complete 13:22:16 a37a00ec5f00: Pull complete 13:22:16 50b3750afda1: Pull complete 13:22:16 4f4fb700ef54: Pull complete 13:22:16 80978eb59214: Pull complete 13:22:24 c9f46d7d2bd2: Pull complete 13:22:26 c5a475d317c9: Pull complete 13:22:26 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 13:22:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 13:22:26 ---> be29e6b0f0d4 13:22:26 Step 3/10 : ARG MAKE=make build 13:22:27 ---> Running in e7d4ef3da8b5 13:22:27 Removing intermediate container e7d4ef3da8b5 13:22:27 ---> e8260f26a04d 13:22:27 Step 4/10 : WORKDIR /device-s7 13:22:27 ---> Running in 3d5b13f68349 13:22:28 Removing intermediate container 3d5b13f68349 13:22:28 ---> 9dd6c3657495 13:22:28 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 13:22:28 ---> Running in 6f565952641b 13:22:28 Removing intermediate container 6f565952641b 13:22:28 ---> db859090f0dc 13:22:28 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 13:22:28 ---> Running in db1da2d04578 13:22:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 13:22:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 13:22:32 OK: 238 MiB in 54 packages 13:22:32 Removing intermediate container db1da2d04578 13:22:32 ---> f66ff433278d 13:22:32 Step 7/10 : COPY go.mod vendor* ./ 13:22:33 ---> f248cd7625ee 13:22:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:22:33 ---> Running in 1b545ea3027c 13:24:40 Removing intermediate container 1b545ea3027c 13:24:40 ---> 84e5ef1e3b55 13:24:40 Step 9/10 : COPY . . 13:24:40 ---> 0c98487dac0e 13:24:40 Step 10/10 : RUN ${MAKE} 13:24:40 ---> Running in 9d7c923b59a9 13:24:40 noop 13:24:40 Removing intermediate container 9d7c923b59a9 13:24:40 ---> 8cb3987f5661 13:24:40 Successfully built 8cb3987f5661 13:24:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:40 + docker inspect -f . ci-base-image-arm64 13:24:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:40 prd-ubuntu20.04-docker-arm64-4c-16g-24162 does not seem to be running inside a container 13:24:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/8 -v /w/workspace/device-s7/8:/w/workspace/device-s7/8:rw,z -v /w/workspace/device-s7/8@tmp:/w/workspace/device-s7/8@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 13:24:42 $ docker top 3ac01df3539dc9c52331f3fb4c143e7aee9d0f265fbf41a65d3fdd0fc8ce001c -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:43 + go version 13:24:43 go version go1.23.2 linux/arm64 [Pipeline] } 13:24:43 $ docker stop --time=1 3ac01df3539dc9c52331f3fb4c143e7aee9d0f265fbf41a65d3fdd0fc8ce001c 13:24:45 $ docker rm -f --volumes 3ac01df3539dc9c52331f3fb4c143e7aee9d0f265fbf41a65d3fdd0fc8ce001c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:45 + docker inspect -f . ci-base-image-arm64 13:24:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:46 prd-ubuntu20.04-docker-arm64-4c-16g-24162 does not seem to be running inside a container 13:24:46 $ 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/8 -v /w/workspace/device-s7/8:/w/workspace/device-s7/8:rw,z -v /w/workspace/device-s7/8@tmp:/w/workspace/device-s7/8@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 13:24:47 $ docker top 3141e63a06f50cbb21f6245a7a5dde334d94083ad577194df85f8c50407af35b -eo pid,comm [Pipeline] { [Pipeline] sh 13:24:48 + git config --global --add safe.directory /w/workspace/device-s7/8 [Pipeline] fileExists [Pipeline] sh 13:24:49 + make test 13:24:49 go test -race -coverprofile=coverage.out ./... 13:25:45 ? github.com/edgexfoundry/device-s7 [no test files] 13:29:37 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 13:29:37 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 13:29:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:29:38 go vet ./... 13:33:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:33:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:33:31 ./bin/test-attribution-txt.sh [Pipeline] echo 13:33:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:33:31 $ docker stop --time=1 3141e63a06f50cbb21f6245a7a5dde334d94083ad577194df85f8c50407af35b 13:33:33 $ docker rm -f --volumes 3141e63a06f50cbb21f6245a7a5dde334d94083ad577194df85f8c50407af35b [Pipeline] // withDockerContainer [Pipeline] sh 13:33:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:33:35 Warning: overwriting stash ‘coverage-report’ 13:33:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:33:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:33:36 + ls -al . 13:33:36 total 224 13:33:36 drwxrwxr-x 7 jenkins jenkins 4096 Oct 30 13:24 . 13:33:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 30 13:21 .. 13:33:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 30 13:21 .git 13:33:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 13:21 .github 13:33:36 -rw-rw-r-- 1 jenkins jenkins 237 Oct 30 13:21 .gitignore 13:33:36 -rw-rw-r-- 1 jenkins jenkins 42 Oct 30 13:21 .golangci.yml 13:33:36 -rw-rw-r-- 1 jenkins jenkins 19679 Oct 30 13:21 Attribution.txt 13:33:36 -rw-rw-r-- 1 jenkins jenkins 1579 Oct 30 13:21 Dockerfile 13:33:36 -rw-rw-r-- 1 jenkins jenkins 643 Oct 30 13:21 Jenkinsfile 13:33:36 -rw-rw-r-- 1 jenkins jenkins 10947 Oct 30 13:21 LICENSE 13:33:36 -rw-rw-r-- 1 jenkins jenkins 1903 Oct 30 13:21 Makefile 13:33:36 -rw-rw-r-- 1 jenkins jenkins 614 Oct 30 13:21 OWNERS.md 13:33:36 -rw-rw-r-- 1 jenkins jenkins 2393 Oct 30 13:21 README.md 13:33:36 -rw-rw-r-- 1 jenkins jenkins 11 Oct 30 13:18 VERSION 13:33:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 30 13:21 bin 13:33:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 13:21 cmd 13:33:36 -rw-r--r-- 1 jenkins jenkins 17164 Oct 30 13:29 coverage.out 13:33:36 -rw-rw-r-- 1 jenkins jenkins 6929 Oct 30 13:21 go.mod 13:33:36 -rw-rw-r-- 1 jenkins jenkins 100385 Oct 30 13:21 go.sum 13:33:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 30 13:21 internal 13:33:36 -rw-rw-r-- 1 jenkins jenkins 223 Oct 30 13:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:36 + 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=8abf73570ad6030a87cde2867b8b9b061b07feca --label arch=arm64 --label version=4.0.0-dev.1 . 13:33:37 Sending build context to Docker daemon 413.2kB 13:33:37 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 13:33:37 Step 2/24 : FROM ${BASE} AS builder 13:33:37 ---> 8cb3987f5661 13:33:37 Step 3/24 : ARG MAKE=make build 13:33:37 ---> Running in 2b5a5d12f4a2 13:33:37 Removing intermediate container 2b5a5d12f4a2 13:33:37 ---> 3d99587b266b 13:33:37 Step 4/24 : WORKDIR /device-s7 13:33:37 ---> Running in de4ada1a520a 13:33:38 Removing intermediate container de4ada1a520a 13:33:38 ---> 7d15f05b2385 13:33:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 13:33:38 ---> Running in 904eed1c0fd7 13:33:38 Removing intermediate container 904eed1c0fd7 13:33:38 ---> 40b4b5334f18 13:33:38 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 13:33:38 ---> Running in 57539356bc07 13:33:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 13:33:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 13:33:40 OK: 238 MiB in 54 packages 13:33:41 Removing intermediate container 57539356bc07 13:33:41 ---> 110be4c255d1 13:33:41 Step 7/24 : COPY go.mod vendor* ./ 13:33:42 ---> f415f2a9b376 13:33:42 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:33:42 ---> Running in 7adfd7a15db8 13:33:45 Removing intermediate container 7adfd7a15db8 13:33:45 ---> 55d40bd773a2 13:33:45 Step 9/24 : COPY . . 13:33:45 ---> ad7918d16de1 13:33:45 Step 10/24 : RUN ${MAKE} 13:33:45 ---> Running in d3dc5fff02e4 13:33:46 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=4.0.0-dev.1 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 13:37:08 Removing intermediate container d3dc5fff02e4 13:37:08 ---> cf9d40ff1305 13:37:08 Step 11/24 : FROM alpine:3.20 13:37:08 3.20: Pulling from library/alpine 13:37:08 cf04c63912e1: Already exists 13:37:08 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 13:37:08 Status: Downloaded newer image for alpine:3.20 13:37:08 ---> c157a85ed455 13:37:08 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 13:37:08 ---> Running in e955094d33d9 13:37:08 Removing intermediate container e955094d33d9 13:37:08 ---> a946587e77f2 13:37:08 Step 13/24 : RUN apk add --update --no-cache dumb-init 13:37:08 ---> Running in 3c962b5b8139 13:37:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 13:37:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 13:37:09 (1/1) Installing dumb-init (1.2.5-r3) 13:37:09 Executing busybox-1.36.1-r29.trigger 13:37:09 OK: 9 MiB in 15 packages 13:37:10 Removing intermediate container 3c962b5b8139 13:37:10 ---> fd7d330720ce 13:37:10 Step 14/24 : RUN apk --no-cache upgrade 13:37:10 ---> Running in afc30b81aa3e 13:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 13:37:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 13:37:12 Upgrading critical system libraries and apk-tools: 13:37:12 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 13:37:12 Executing busybox-1.36.1-r29.trigger 13:37:13 Continuing the upgrade transaction with new apk-tools: 13:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 13:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 13:37:14 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 13:37:14 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 13:37:14 OK: 9 MiB in 15 packages 13:37:16 Removing intermediate container afc30b81aa3e 13:37:16 ---> 7cf28bcaf854 13:37:16 Step 15/24 : WORKDIR / 13:37:16 ---> Running in a64057c903e9 13:37:16 Removing intermediate container a64057c903e9 13:37:16 ---> 6f4fb163e629 13:37:16 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 13:37:17 ---> 25ef58a968fa 13:37:17 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 13:37:19 ---> 11640bcb64a4 13:37:19 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 13:37:19 ---> 7d2e977a453e 13:37:19 Step 19/24 : EXPOSE 59994 13:37:19 ---> Running in 835efc161236 13:37:19 Removing intermediate container 835efc161236 13:37:19 ---> 4db35384230e 13:37:19 Step 20/24 : ENTRYPOINT ["/device-s7"] 13:37:20 ---> Running in f50378ff75df 13:37:20 Removing intermediate container f50378ff75df 13:37:20 ---> 30ca31697bba 13:37:20 Step 21/24 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 13:37:20 ---> Running in d4af020499de 13:37:20 Removing intermediate container d4af020499de 13:37:20 ---> 1ddaef2c08e4 13:37:20 Step 22/24 : LABEL arch=arm64 13:37:20 ---> Running in 472caac8edc1 13:37:21 Removing intermediate container 472caac8edc1 13:37:21 ---> 8912cfa829d5 13:37:21 Step 23/24 : LABEL git_sha=8abf73570ad6030a87cde2867b8b9b061b07feca 13:37:21 ---> Running in deeeb96d1044 13:37:21 Removing intermediate container deeeb96d1044 13:37:21 ---> f92974dd3901 13:37:21 Step 24/24 : LABEL version=4.0.0-dev.1 13:37:21 ---> Running in 091194107a0c 13:37:21 Removing intermediate container 091194107a0c 13:37:21 ---> a0476cfd052f 13:37:21 [Warning] One or more build-args [ARCH] were not consumed 13:37:21 Successfully built a0476cfd052f 13:37:21 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 13:37:22 provisioning config files... 13:37:22 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/8@tmp/config6783337750544412616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:37:22 ---> ****-login.sh 13:37:22 nexus3.edgexfoundry.org:10001 13:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:37:22 Configure a credential helper to remove this warning. See 13:37:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:37:22 13:37:22 Login Succeeded 13:37:22 nexus3.edgexfoundry.org:10002 13:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:37:22 Configure a credential helper to remove this warning. See 13:37:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:37:22 13:37:22 Login Succeeded 13:37:22 nexus3.edgexfoundry.org:10003 13:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:37:23 Configure a credential helper to remove this warning. See 13:37:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:37:23 13:37:23 Login Succeeded 13:37:23 nexus3.edgexfoundry.org:10004 13:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:37:23 Configure a credential helper to remove this warning. See 13:37:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:37:23 13:37:23 Login Succeeded 13:37:23 ****.io 13:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:37:24 Configure a credential helper to remove this warning. See 13:37:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:37:24 13:37:24 Login Succeeded 13:37:24 ---> ****-login.sh ends [Pipeline] } 13:37:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:37:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:37:24 [edgeXDocker.push] Tagging docker image device-s7-arm64 with the following tags: 13:37:24 8abf73570ad6030a87cde2867b8b9b061b07feca 13:37:24 latest 13:37:24 4.0.0-dev.1 13:37:24 8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1 13:37:24 main 13:37:24 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:24 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:8abf73570ad6030a87cde2867b8b9b061b07feca [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:25 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:8abf73570ad6030a87cde2867b8b9b061b07feca 13:37:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 13:37:25 f334d7de1b89: Preparing 13:37:25 6016a2a4fcc2: Preparing 13:37:25 9cb97eb09add: Preparing 13:37:25 161e8978591b: Preparing 13:37:25 e1dd8f607b3f: Preparing 13:37:25 16113d51b718: Preparing 13:37:25 16113d51b718: Waiting 13:37:25 9cb97eb09add: Pushed 13:37:25 f334d7de1b89: Pushed 13:37:25 e1dd8f607b3f: Pushed 13:37:25 16113d51b718: Layer already exists 13:37:27 161e8978591b: Pushed 13:37:35 6016a2a4fcc2: Pushed 13:37:35 8abf73570ad6030a87cde2867b8b9b061b07feca: digest: sha256:126b39b6a679d21ff8d094eb71a1e229040891cb611b0602250dbea7674241c4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:35 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:35 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:latest 13:37:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 13:37:35 f334d7de1b89: Preparing 13:37:35 6016a2a4fcc2: Preparing 13:37:35 9cb97eb09add: Preparing 13:37:35 161e8978591b: Preparing 13:37:35 e1dd8f607b3f: Preparing 13:37:35 16113d51b718: Preparing 13:37:35 16113d51b718: Waiting 13:37:35 6016a2a4fcc2: Layer already exists 13:37:35 f334d7de1b89: Layer already exists 13:37:35 e1dd8f607b3f: Layer already exists 13:37:35 9cb97eb09add: Layer already exists 13:37:35 161e8978591b: Layer already exists 13:37:35 16113d51b718: Layer already exists 13:37:35 latest: digest: sha256:126b39b6a679d21ff8d094eb71a1e229040891cb611b0602250dbea7674241c4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:36 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:36 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:4.0.0-dev.1 13:37:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 13:37:36 f334d7de1b89: Preparing 13:37:36 6016a2a4fcc2: Preparing 13:37:36 9cb97eb09add: Preparing 13:37:36 161e8978591b: Preparing 13:37:36 e1dd8f607b3f: Preparing 13:37:36 16113d51b718: Preparing 13:37:36 16113d51b718: Waiting 13:37:36 161e8978591b: Layer already exists 13:37:36 6016a2a4fcc2: Layer already exists 13:37:36 e1dd8f607b3f: Layer already exists 13:37:36 f334d7de1b89: Layer already exists 13:37:36 9cb97eb09add: Layer already exists 13:37:36 16113d51b718: Layer already exists 13:37:37 4.0.0-dev.1: digest: sha256:126b39b6a679d21ff8d094eb71a1e229040891cb611b0602250dbea7674241c4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:37 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:37 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1 13:37:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 13:37:37 f334d7de1b89: Preparing 13:37:37 6016a2a4fcc2: Preparing 13:37:37 9cb97eb09add: Preparing 13:37:37 161e8978591b: Preparing 13:37:37 e1dd8f607b3f: Preparing 13:37:37 16113d51b718: Preparing 13:37:37 16113d51b718: Waiting 13:37:37 161e8978591b: Layer already exists 13:37:37 6016a2a4fcc2: Layer already exists 13:37:37 e1dd8f607b3f: Layer already exists 13:37:37 9cb97eb09add: Layer already exists 13:37:37 f334d7de1b89: Layer already exists 13:37:37 16113d51b718: Layer already exists 13:37:38 8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1: digest: sha256:126b39b6a679d21ff8d094eb71a1e229040891cb611b0602250dbea7674241c4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:38 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:38 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:main 13:37:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 13:37:38 f334d7de1b89: Preparing 13:37:38 6016a2a4fcc2: Preparing 13:37:38 9cb97eb09add: Preparing 13:37:38 161e8978591b: Preparing 13:37:38 e1dd8f607b3f: Preparing 13:37:38 16113d51b718: Preparing 13:37:38 16113d51b718: Waiting 13:37:38 6016a2a4fcc2: Layer already exists 13:37:38 9cb97eb09add: Layer already exists 13:37:38 f334d7de1b89: Layer already exists 13:37:38 e1dd8f607b3f: Layer already exists 13:37:38 161e8978591b: Layer already exists 13:37:38 16113d51b718: Layer already exists 13:37:38 main: digest: sha256:126b39b6a679d21ff8d094eb71a1e229040891cb611b0602250dbea7674241c4 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:37:39 ===================================================== [Pipeline] echo 13:37:39 taggedImages: 13:37:39 - nexus3.edgexfoundry.org:10004/device-s7-arm64:8abf73570ad6030a87cde2867b8b9b061b07feca 13:37:39 - nexus3.edgexfoundry.org:10004/device-s7-arm64:latest 13:37:39 - nexus3.edgexfoundry.org:10004/device-s7-arm64:4.0.0-dev.1 13:37:39 - nexus3.edgexfoundry.org:10004/device-s7-arm64:8abf73570ad6030a87cde2867b8b9b061b07feca-4.0.0-dev.1 13:37:39 - 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 13:37:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:37:39 13:37:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:37:39 arm64: Pulling from edgex-lftools-log-publisher 13:37:39 8998bd30e6a1: Pulling fs layer 13:37:39 04944245beec: Pulling fs layer 13:37:39 699f458cf7ca: Pulling fs layer 13:37:39 765212b225bb: Pulling fs layer 13:37:39 f23df028b6ca: Pulling fs layer 13:37:39 d65c8cfc05b1: Pulling fs layer 13:37:39 2437ff75d9bd: Pulling fs layer 13:37:39 f23df028b6ca: Waiting 13:37:39 d65c8cfc05b1: Waiting 13:37:39 2437ff75d9bd: Waiting 13:37:39 765212b225bb: Waiting 13:37:40 04944245beec: Verifying Checksum 13:37:40 04944245beec: Download complete 13:37:40 765212b225bb: Verifying Checksum 13:37:40 765212b225bb: Download complete 13:37:40 f23df028b6ca: Download complete 13:37:40 d65c8cfc05b1: Download complete 13:37:40 699f458cf7ca: Verifying Checksum 13:37:40 699f458cf7ca: Download complete 13:37:40 8998bd30e6a1: Verifying Checksum 13:37:40 8998bd30e6a1: Download complete 13:37:43 2437ff75d9bd: Verifying Checksum 13:37:45 8998bd30e6a1: Pull complete 13:37:45 04944245beec: Pull complete 13:37:47 699f458cf7ca: Pull complete 13:37:47 765212b225bb: Pull complete 13:37:48 f23df028b6ca: Pull complete 13:37:48 d65c8cfc05b1: Pull complete 13:38:06 2437ff75d9bd: Pull complete 13:38:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:38:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:38:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:07 prd-ubuntu20.04-docker-arm64-4c-16g-24162 does not seem to be running inside a container 13:38:07 $ 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/8 -v /w/workspace/device-s7/8:/w/workspace/device-s7/8:rw,z -v /w/workspace/device-s7/8@tmp:/w/workspace/device-s7/8@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 13:38:10 $ docker top 37b1bed7735654b15391faccac0c8e07ecf44ccafc2b42fd6f4b2186100aaffb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:38:10 ---> job-cost.sh 13:38:10 lf-activate-venv: SKIPPING 13:38:10 INFO: No Stack... 13:38:11 INFO: Retrieving Pricing Info for: v3-standard-4 13:38:12 INFO: Archiving Costs [Pipeline] sh 13:38:12 + cat /w/workspace/device-s7/8/archives/cost.csv 13:38:12 + cut -d, -f6 [Pipeline] lock 13:38:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-8-stack-cost] 13:38:12 Resource [jenkins-edgexfoundry-device-s7-main-8-stack-cost] did not exist. Created. 13:38:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:38:13 /w/workspace/device-s7/8@tmp/durable-0b3013d1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:38:14 + echo total: 0.10999999940395355 [Pipeline] stash 13:38:14 Warning: overwriting stash ‘stack-cost’ 13:38:14 Stashed 1 file(s) [Pipeline] } 13:38:14 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-8-stack-cost] [Pipeline] // lock [Pipeline] } 13:38:14 $ docker stop --time=1 37b1bed7735654b15391faccac0c8e07ecf44ccafc2b42fd6f4b2186100aaffb 13:38:15 $ docker rm -f --volumes 37b1bed7735654b15391faccac0c8e07ecf44ccafc2b42fd6f4b2186100aaffb [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 13:38:16 provisioning config files... 13:38:16 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config16500038718111344072tmp [Pipeline] { [Pipeline] sh 13:38:16 + set +x 13:38:16 + + curl -s https://codecov.io/bash 13:38:16 bash -s -- 13:38:16 13:38:16 _____ _ 13:38:16 / ____| | | 13:38:16 | | ___ __| | ___ ___ _____ __ 13:38:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:38:16 | |___| (_) | (_| | __/ (_| (_) \ V / 13:38:16 \_____\___/ \__,_|\___|\___\___/ \_/ 13:38:16 Bash-1.0.6 13:38:16 13:38:16 13:38:16 ==> git version 2.25.1 found 13:38:16 ==> 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 13:38:16 Release-Date: 2020-01-08 13:38:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:38:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:38:16 ==> Jenkins CI detected. 13:38:16 current dir:  /w/workspace/edgexfoundry_device-s7_main 13:38:16 project root: . 13:38:16 --> token set from env 13:38:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:38:16 ==> Running gcov in . (disable via -X gcov) 13:38:16 ==> Python coveragepy not found 13:38:16 ==> Searching for coverage reports in: 13:38:16 + . 13:38:16 -> Found 1 reports 13:38:16 ==> Detecting git/mercurial file structure 13:38:16 ==> Reading reports 13:38:16 + ./coverage.out bytes=17164 13:38:16 ==> Appending adjustments 13:38:16 https://docs.codecov.io/docs/fixing-reports 13:38:16 + Found adjustments 13:38:16 ==> Gzipping contents 13:38:16 4.0K /tmp/codecov.ARrA3x.gz 13:38:16 ==> Uploading reports 13:38:16 url: https://codecov.io 13:38:16 query: branch=main&commit=8abf73570ad6030a87cde2867b8b9b061b07feca&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 13:38:16 -> Pinging Codecov 13:38:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8abf73570ad6030a87cde2867b8b9b061b07feca&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 13:38:17 -> Uploading to 13:38:17 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-s7/8abf73570ad6030a87cde2867b8b9b061b07feca/2013d898-e4d1-41c0-950d-99dcb842f91c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241030%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241030T133816Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=d208d7123ee61b7b8e75937ff1fdc297b94c677fe5bdb7f7bc65eed56686206e 13:38:17 % Total % Received % Xferd Average Speed Time Time Time Current 13:38:17 Dload Upload Total Spent Left Speed 13:38:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2591 0 0 100 2591 0 11216 --:--:-- --:--:-- --:--:-- 11216 13:38:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/8abf73570ad6030a87cde2867b8b9b061b07feca [Pipeline] } 13:38:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:38:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:38:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 13:38:17 13:38:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 13:38:18 latest: Pulling from edgex-devops/edgex-snyk-go 13:38:18 43c4264eed91: Already exists 13:38:18 4cc291be95ef: Already exists 13:38:18 2ac1f1163629: Already exists 13:38:18 5c3c966382ef: Already exists 13:38:18 4f4fb700ef54: Already exists 13:38:18 d9c7d2e4e75e: Pulling fs layer 13:38:18 9c3e1370e548: Pulling fs layer 13:38:18 d9c7d2e4e75e: Verifying Checksum 13:38:18 d9c7d2e4e75e: Download complete 13:38:18 d9c7d2e4e75e: Pull complete 13:38:19 9c3e1370e548: Verifying Checksum 13:38:19 9c3e1370e548: Download complete 13:38:23 9c3e1370e548: Pull complete 13:38:23 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 13:38:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 13:38:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:23 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:38:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 13:38:28 $ docker top 8eaae9ec49477f78c3256d4cf1f6259868dce891d0133eaf0a1b30aabe0b8400 -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] echo 13:38:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-s7:main' [Pipeline] sh 13:38:29 + set -o pipefail 13:38:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-s7:main' 13:38:37 13:38:37 Monitoring /w/workspace/edgexfoundry_device-s7_main (github.com/edgexfoundry/device-s7)... 13:38:37 13:38:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9802e2c3-a805-43f9-b47e-5746baaac31c/history/cbfc3b9a-fc12-4ef4-a992-47b9e9d8a47c 13:38:37 13:38:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:38:37 [Pipeline] } 13:38:37 $ docker stop --time=1 8eaae9ec49477f78c3256d4cf1f6259868dce891d0133eaf0a1b30aabe0b8400 13:38:45 $ docker rm -f --volumes 8eaae9ec49477f78c3256d4cf1f6259868dce891d0133eaf0a1b30aabe0b8400 [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 13:38:46 + git log --format=format:%s -1 8abf73570ad6030a87cde2867b8b9b061b07feca [Pipeline] sh 13:38:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:38:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:38:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:47 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:38:47 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:38:48 $ docker top 1c3e9ba777a87c3af3d6ca20dae50f575f7d208d09f5df108410882e83a44404 -eo pid,comm 13:38:48 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). 13:38:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:38:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:38:48 [ssh-agent] Looking for ssh-agent implementation... 13:38:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:38:48 $ docker exec 1c3e9ba777a87c3af3d6ca20dae50f575f7d208d09f5df108410882e83a44404 ssh-agent 13:38:48 SSH_AUTH_SOCK=/tmp/ssh-1KlZkisaIamE/agent.32 13:38:48 SSH_AGENT_PID=38 13:38:48 Running ssh-add (command line suppressed) 13:38:48 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17854987238424146834.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17854987238424146834.key) 13:38:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:38:49 + git semver tag 13:38:49 2024-10-30 13:38:49,260 [run_tag] DEBUG tag force:False 13:38:49 2024-10-30 13:38:49,260 [check_head_tag] DEBUG check head tag 13:38:49 2024-10-30 13:38:49,260 [execute] INFO git cat-file --batch-check 13:38:49 2024-10-30 13:38:49,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) 13:38:49 2024-10-30 13:38:49,264 [execute] INFO git cat-file --batch 13:38:49 2024-10-30 13:38:49,264 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) 13:38:49 2024-10-30 13:38:49,268 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 13:38:49 2024-10-30 13:38:49,269 [execute] INFO git tag -a v4.0.0-dev.1 -m v4.0.0-dev.1 13:38:49 2024-10-30 13:38:49,269 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.1', '-m', 'v4.0.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=None) 13:38:49 2024-10-30 13:38:49,273 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 13:38:49 4.0.0-dev.1 [Pipeline] } 13:38:49 $ docker exec --env ******** --env ******** 1c3e9ba777a87c3af3d6ca20dae50f575f7d208d09f5df108410882e83a44404 ssh-agent -k 13:38:49 unset SSH_AUTH_SOCK; 13:38:49 unset SSH_AGENT_PID; 13:38:49 echo Agent pid 38 killed; 13:38:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:38:49 + git semver [Pipeline] } 13:38:50 $ docker stop --time=1 1c3e9ba777a87c3af3d6ca20dae50f575f7d208d09f5df108410882e83a44404 13:38:51 $ docker rm -f --volumes 1c3e9ba777a87c3af3d6ca20dae50f575f7d208d09f5df108410882e83a44404 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:38:51 13:38:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:38:52 0.23.1-centos7: Pulling from edgex-lftools 13:38:52 ab5ef0e58194: Pulling fs layer 13:38:52 9712f1f96733: Pulling fs layer 13:38:52 63f879dbbcfc: Pulling fs layer 13:38:52 0d9ebad4ef96: Pulling fs layer 13:38:52 e9a5061849ea: Pulling fs layer 13:38:52 d747dcd14b5f: Pulling fs layer 13:38:52 2de7ff778b66: Pulling fs layer 13:38:52 e9a5061849ea: Waiting 13:38:52 d747dcd14b5f: Waiting 13:38:52 2de7ff778b66: Waiting 13:38:52 0d9ebad4ef96: Waiting 13:38:52 9712f1f96733: Verifying Checksum 13:38:52 9712f1f96733: Download complete 13:38:52 63f879dbbcfc: Verifying Checksum 13:38:52 63f879dbbcfc: Download complete 13:38:52 e9a5061849ea: Verifying Checksum 13:38:52 e9a5061849ea: Download complete 13:38:52 d747dcd14b5f: Verifying Checksum 13:38:52 d747dcd14b5f: Download complete 13:38:52 ab5ef0e58194: Verifying Checksum 13:38:52 ab5ef0e58194: Download complete 13:38:52 0d9ebad4ef96: Verifying Checksum 13:38:52 0d9ebad4ef96: Download complete 13:38:52 2de7ff778b66: Verifying Checksum 13:38:52 2de7ff778b66: Download complete 13:38:55 ab5ef0e58194: Pull complete 13:38:55 9712f1f96733: Pull complete 13:38:56 63f879dbbcfc: Pull complete 13:38:59 0d9ebad4ef96: Pull complete 13:39:01 e9a5061849ea: Pull complete 13:39:01 d747dcd14b5f: Pull complete 13:39:01 2de7ff778b66: Pull complete 13:39:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:39:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:39:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:01 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:39:01 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:39:09 $ docker top cec93090568f077eab1e9f1ca62b93aa5218deceae8b40a19ed700dc4a7ca7b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:39:10 provisioning config files... 13:39:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config3469232584746104132tmp 13:39:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config4062205663503064792tmp 13:39:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config4723899649864666793tmp [Pipeline] { [Pipeline] echo 13:39:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:39:10 ---> sigul-configuration.sh 13:39:10 gpg: directory `/root/.gnupg' created 13:39:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:39:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:39:10 gpg: keyring `/root/.gnupg/secring.gpg' created 13:39:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:39:10 gpg: CAST5 encrypted data 13:39:10 gpg: encrypted with 1 passphrase 13:39:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:39:10 + mkdir /home/jenkins 13:39:10 + mkdir /home/jenkins/sigul [Pipeline] sh 13:39:11 + 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 13:39:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:39:11 ---> sigul-install.sh 13:39:11 Sigul already installed; skipping installation. [Pipeline] sh 13:39:11 + git tag --list 13:39:11 v0.0.0 13:39:11 v0.0.1-dev.1 13:39:11 v0.0.1-dev.2 13:39:11 v4.0.0-dev.1 [Pipeline] sh 13:39:12 + lftools sign git-tag v4.0.0-dev.1 13:39:12 Signing Git tag with Sigul... 13:39:12 Signing v4.0.0-dev.1 [Pipeline] echo 13:39:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:39:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:39:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:39:13 $ docker stop --time=1 cec93090568f077eab1e9f1ca62b93aa5218deceae8b40a19ed700dc4a7ca7b5 13:39:14 $ docker rm -f --volumes cec93090568f077eab1e9f1ca62b93aa5218deceae8b40a19ed700dc4a7ca7b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:39:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:39:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:39:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:15 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:39:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:39:16 $ docker top 5a673d17808af5937e218d999f0b901b24abdfeb69daaecf324311ae380edeea -eo pid,comm 13:39:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:39:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:39:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:39:16 [ssh-agent] Looking for ssh-agent implementation... 13:39:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:39:16 $ docker exec 5a673d17808af5937e218d999f0b901b24abdfeb69daaecf324311ae380edeea ssh-agent 13:39:16 SSH_AUTH_SOCK=/tmp/ssh-D335sLIDlpIn/agent.32 13:39:16 SSH_AGENT_PID=38 13:39:16 Running ssh-add (command line suppressed) 13:39:16 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_3662055131746547979.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_3662055131746547979.key) 13:39:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:39:16 + git semver bump pre 13:39:17 2024-10-30 13:39:17,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 13:39:17 2024-10-30 13:39:17,041 [bump_version] DEBUG bumping version:4.0.0-dev.1 on axis:pre with prefix:dev 13:39:17 2024-10-30 13:39:17,041 [bump_version] DEBUG bumped version:4.0.0-dev.2 13:39:17 2024-10-30 13:39:17,041 [write_version] DEBUG write version:4.0.0-dev.2 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:True 13:39:17 2024-10-30 13:39:17,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 13:39:17 2024-10-30 13:39:17,042 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_main/.semver/main 13:39:17 2024-10-30 13:39:17,043 [execute] INFO git cat-file --batch-check 13:39:17 2024-10-30 13:39:17,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) 13:39:17 2024-10-30 13:39:17,049 [execute] INFO git cat-file --batch 13:39:17 2024-10-30 13:39:17,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) 13:39:17 2024-10-30 13:39:17,054 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 13:39:17 4.0.0-dev.2 [Pipeline] } 13:39:17 $ docker exec --env ******** --env ******** 5a673d17808af5937e218d999f0b901b24abdfeb69daaecf324311ae380edeea ssh-agent -k 13:39:17 unset SSH_AUTH_SOCK; 13:39:17 unset SSH_AGENT_PID; 13:39:17 echo Agent pid 38 killed; 13:39:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:39:17 + git semver [Pipeline] } 13:39:17 $ docker stop --time=1 5a673d17808af5937e218d999f0b901b24abdfeb69daaecf324311ae380edeea 13:39:19 $ docker rm -f --volumes 5a673d17808af5937e218d999f0b901b24abdfeb69daaecf324311ae380edeea [Pipeline] // withDockerContainer [Pipeline] sh 13:39:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:39:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:39:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:19 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:39:19 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:39:20 $ docker top e3b57029069f6dddc6f5f32c6c140bd9be50cc8c3b6e1a7a92d9507db3dcbafb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:39:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:39:20 [ssh-agent] Looking for ssh-agent implementation... 13:39:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:39:20 $ docker exec e3b57029069f6dddc6f5f32c6c140bd9be50cc8c3b6e1a7a92d9507db3dcbafb ssh-agent 13:39:20 SSH_AUTH_SOCK=/tmp/ssh-vVxJt90MsmkT/agent.34 13:39:20 SSH_AGENT_PID=40 13:39:20 Running ssh-add (command line suppressed) 13:39:20 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_9741355888814453847.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_9741355888814453847.key) 13:39:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:39:20 + git semver push 13:39:21 2024-10-30 13:39:21,150 [run_push] DEBUG push 13:39:21 2024-10-30 13:39:21,151 [execute] INFO git cat-file --batch-check 13:39:21 2024-10-30 13:39:21,151 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) 13:39:21 2024-10-30 13:39:21,155 [execute] INFO git rev-list fa8a8b436d190390c1ae31c2e3712c23ca3a3faa -- 13:39:21 2024-10-30 13:39:21,156 [execute] DEBUG Popen(['git', 'rev-list', 'fa8a8b436d190390c1ae31c2e3712c23ca3a3faa', '--'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) 13:39:21 2024-10-30 13:39:21,162 [execute] INFO git fetch -v origin 13:39:21 2024-10-30 13:39:21,162 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=True, shell=None, istream=None) 13:39:21 2024-10-30 13:39:21,609 [run_push] DEBUG no remote changes detected 13:39:21 2024-10-30 13:39:21,610 [execute] INFO git push origin semver 13:39:21 2024-10-30 13:39:21,610 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) 13:39:22 2024-10-30 13:39:22,337 [run_push] DEBUG push all version tags 13:39:22 2024-10-30 13:39:22,337 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:39:22 2024-10-30 13:39:22,338 [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) 13:39:23 2024-10-30 13:39:22,960 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 13:39:23 4.0.0-dev.2 [Pipeline] } 13:39:23 $ docker exec --env ******** --env ******** e3b57029069f6dddc6f5f32c6c140bd9be50cc8c3b6e1a7a92d9507db3dcbafb ssh-agent -k 13:39:23 unset SSH_AUTH_SOCK; 13:39:23 unset SSH_AGENT_PID; 13:39:23 echo Agent pid 40 killed; 13:39:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:39:23 + git semver [Pipeline] } 13:39:24 $ docker stop --time=1 e3b57029069f6dddc6f5f32c6c140bd9be50cc8c3b6e1a7a92d9507db3dcbafb 13:39:25 $ docker rm -f --volumes e3b57029069f6dddc6f5f32c6c140bd9be50cc8c3b6e1a7a92d9507db3dcbafb [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 13:39:25 + [ -d /w/workspace/edgexfoundry_device-s7_main/archives ] 13:39:25 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 13:39:25 total 16 13:39:25 drwxr-xr-x 3 root root 4096 Oct 30 13:21 . 13:39:25 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 13:39 .. 13:39:25 drwxr-xr-x 2 root root 4096 Oct 30 13:21 cost 13:39:25 -rw-r--r-- 1 root root 79 Oct 30 13:21 cost.csv 13:39:25 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_main/archives 13:39:25 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 13:39:25 total 16 13:39:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 13:21 . 13:39:25 drwxrwxr-x 9 jenkins jenkins 4096 Oct 30 13:39 .. 13:39:25 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 13:21 cost 13:39:25 -rw-r--r-- 1 jenkins jenkins 79 Oct 30 13:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:39:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:39:27 ---> package-listing.sh 13:39:27 ++ facter osfamily 13:39:27 ++ tr '[:upper:]' '[:lower:]' 13:39:27 + OS_FAMILY=debian 13:39:27 + workspace=/w/workspace/edgexfoundry_device-s7_main 13:39:27 + START_PACKAGES=/tmp/packages_start.txt 13:39:27 + END_PACKAGES=/tmp/packages_end.txt 13:39:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:39:27 + PACKAGES=/tmp/packages_start.txt 13:39:27 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 13:39:27 + PACKAGES=/tmp/packages_end.txt 13:39:27 + case "${OS_FAMILY}" in 13:39:27 + dpkg -l 13:39:27 + grep '^ii' 13:39:27 + '[' -f /tmp/packages_start.txt ']' 13:39:27 + '[' -f /tmp/packages_end.txt ']' 13:39:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:39:27 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 13:39:27 + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ 13:39:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo 13:39:27 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 13:39:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:39:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:39:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:39:28 prd-ubuntu20.04-docker-8c-8g-24160 does not seem to be running inside a container 13:39:28 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:39:28 $ docker top 6f5faf9851ef2fc34584937aa68ddab1b29074fbb985419c74ef871d3fc3139d -eo pid,comm [Pipeline] { [Pipeline] sh 13:39:28 + touch /tmp/pre-build-complete [Pipeline] sh 13:39:29 + mkdir -p /var/log/sysstat [Pipeline] sh 13:39:29 + ls /var/log/sa-host 13:39:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:39:29 provisioning config files... 13:39:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config13657211737140408110tmp [Pipeline] { [Pipeline] echo 13:39:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:39:29 ---> create-netrc.sh [Pipeline] } 13:39:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:39:30 ---> python-tools-install.sh [Pipeline] echo 13:39:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:39:30 ---> sudo-logs.sh 13:39:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:39:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:39:30 ---> job-cost.sh 13:39:30 lf-activate-venv: SKIPPING 13:39:30 DEBUG: total: 0.2199999988079071 13:39:30 INFO: Retrieving Stack Cost... 13:39:31 INFO: Retrieving Pricing Info for: v3-standard-8 13:39:31 INFO: Archiving Costs [Pipeline] echo 13:39:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:39:31 ---> logs-deploy.sh 13:39:31 lf-activate-venv: SKIPPING 13:39:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/8 13:39:31 INFO: archiving workspace using pattern(s): 13:39:32 Archives upload complete. 13:39:32 INFO: archiving logs to Nexus