Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e57816f4afcfc8db9a573db5c83bd892c807d408 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-ssh8725120665905287551.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-ssh2558503170259590407.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-ssh13931649650539548347.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-ssh8993380629870572818.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-ssh15305074807912821425.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16388 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 e57816f4afcfc8db9a573db5c83bd892c807d408 (main) Commit message: "Merge pull request #12 from jinlinGuan/golang-1.23" > 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 e57816f4afcfc8db9a573db5c83bd892c807d408 # timeout=10 > git rev-list --no-walk 27c3a437d2a0db0d97f1b1b3b50dd9b803d10c33 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:47:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:47:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:47:15 ========================================================= 07:47:15 EdgeX Global Pipelines Version Info 07:47:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:47:16 ------------------- 07:47:16 stable info: 07:47:16 ------------------- 07:47:16 Commited By: Ginny Guan ginny@iotechsys.com 07:47:16 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 07:47:16 Message: update stable to v1.0.265 07:47:16 ------------------- 07:47:16 experimental info: 07:47:16 ------------------- 07:47:16 Commited By: Cherry Wang cherry@iotechsys.com 07:47:16 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 07:47:16 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:47:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-s7-settings [Pipeline] echo 07:47:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-s7 [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-s7 [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] echo 07:47:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e57816f [Pipeline] echo 07:47:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:47:18 provisioning config files... 07:47:18 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config10502696369284835616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:18 ---> ****-login.sh 07:47:18 nexus3.edgexfoundry.org:10001 07:47:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:20 Configure a credential helper to remove this warning. See 07:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:20 07:47:20 Login Succeeded 07:47:20 nexus3.edgexfoundry.org:10002 07:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:20 Configure a credential helper to remove this warning. See 07:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:20 07:47:20 Login Succeeded 07:47:20 nexus3.edgexfoundry.org:10003 07:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:20 Configure a credential helper to remove this warning. See 07:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:20 07:47:20 Login Succeeded 07:47:20 nexus3.edgexfoundry.org:10004 07:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:20 Configure a credential helper to remove this warning. See 07:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:20 07:47:20 Login Succeeded 07:47:20 ****.io 07:47:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:20 Configure a credential helper to remove this warning. See 07:47:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:20 07:47:20 Login Succeeded 07:47:20 ---> ****-login.sh ends [Pipeline] } 07:47:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:47:21 + git rev-list -1 --merges e57816f4afcfc8db9a573db5c83bd892c807d408~1..e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] echo 07:47:21 -----------> git rev-list -1 --merges e57816f4afcfc8db9a573db5c83bd892c807d408~1..e57816f4afcfc8db9a573db5c83bd892c807d408 e57816f4afcfc8db9a573db5c83bd892c807d408 07:47:21 e57816f4afcfc8db9a573db5c83bd892c807d408 [false] [Pipeline] sh 07:47:21 + git log --format=format:%s -1 e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] echo 07:47:21 ========================================================= 07:47:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:47:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:47:21 + git log --format=format:%s -1 e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] echo 07:47:21 [semverPrep] GIT_COMMIT: e57816f4afcfc8db9a573db5c83bd892c807d408, Commit Message: Merge pull request #12 from jinlinGuan/golang-1.23 [Pipeline] echo 07:47:21 [semverPrep] This is not a build commit. [Pipeline] sh 07:47:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:47:22 + grep -v github /etc/ssh/ssh_known_hosts 07:47:22 + [ -e /tmp/ssh_known_hosts ] 07:47:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:47:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:47:22 + sudo tee -a /etc/ssh/ssh_known_hosts 07:47:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:47:22 07:47:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:47:23 0.1.4: Pulling from edgex-devops/py-git-semver 07:47:23 b85a868b505f: Pulling fs layer 07:47:23 e2be974225ed: Pulling fs layer 07:47:23 339a4e72a1f5: Pulling fs layer 07:47:23 988bab9f4d93: Pulling fs layer 07:47:23 1469e6f7b9e6: Pulling fs layer 07:47:23 eaf3925da568: Pulling fs layer 07:47:23 bab4dde63d76: Pulling fs layer 07:47:23 bde34c3a00c8: Pulling fs layer 07:47:23 b352a97aabf1: Pulling fs layer 07:47:23 4872d77fe225: Pulling fs layer 07:47:23 5851b861e8e6: Pulling fs layer 07:47:23 988bab9f4d93: Waiting 07:47:23 bab4dde63d76: Waiting 07:47:23 1469e6f7b9e6: Waiting 07:47:23 eaf3925da568: Waiting 07:47:23 bde34c3a00c8: Waiting 07:47:23 b352a97aabf1: Waiting 07:47:23 4872d77fe225: Waiting 07:47:23 5851b861e8e6: Waiting 07:47:23 e2be974225ed: Download complete 07:47:23 988bab9f4d93: Download complete 07:47:23 1469e6f7b9e6: Verifying Checksum 07:47:23 1469e6f7b9e6: Download complete 07:47:23 eaf3925da568: Download complete 07:47:23 339a4e72a1f5: Verifying Checksum 07:47:23 339a4e72a1f5: Download complete 07:47:23 bde34c3a00c8: Download complete 07:47:23 b352a97aabf1: Verifying Checksum 07:47:23 b352a97aabf1: Download complete 07:47:23 4872d77fe225: Verifying Checksum 07:47:23 4872d77fe225: Download complete 07:47:23 5851b861e8e6: Verifying Checksum 07:47:23 5851b861e8e6: Download complete 07:47:23 b85a868b505f: Verifying Checksum 07:47:23 b85a868b505f: Download complete 07:47:23 bab4dde63d76: Verifying Checksum 07:47:23 bab4dde63d76: Download complete 07:47:24 b85a868b505f: Pull complete 07:47:24 e2be974225ed: Pull complete 07:47:25 339a4e72a1f5: Pull complete 07:47:25 988bab9f4d93: Pull complete 07:47:25 1469e6f7b9e6: Pull complete 07:47:25 eaf3925da568: Pull complete 07:47:27 bab4dde63d76: Pull complete 07:47:27 bde34c3a00c8: Pull complete 07:47:27 b352a97aabf1: Pull complete 07:47:28 4872d77fe225: Pull complete 07:47:28 5851b861e8e6: Pull complete 07:47:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:47:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:47:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:47:28 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 07:47:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:47:32 $ docker top 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 -eo pid,comm 07:47:32 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). 07:47:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:47:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:47:33 [ssh-agent] Looking for ssh-agent implementation... 07:47:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:47:33 $ docker exec 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 ssh-agent 07:47:33 SSH_AUTH_SOCK=/tmp/ssh-2PIdcrGd3anH/agent.32 07:47:33 SSH_AGENT_PID=38 07:47:33 Running ssh-add (command line suppressed) 07:47:33 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_16916350149104186195.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_16916350149104186195.key) 07:47:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:47:33 + git tag --points-at HEAD [Pipeline] } 07:47:33 $ docker exec --env ******** --env ******** 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 ssh-agent -k 07:47:33 unset SSH_AUTH_SOCK; 07:47:33 unset SSH_AGENT_PID; 07:47:33 echo Agent pid 38 killed; 07:47:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:47:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:47:33 [ssh-agent] Looking for ssh-agent implementation... 07:47:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:47:33 $ docker exec 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 ssh-agent 07:47:34 SSH_AUTH_SOCK=/tmp/ssh-fk5fT7vGz51S/agent.71 07:47:34 SSH_AGENT_PID=78 07:47:34 Running ssh-add (command line suppressed) 07:47:34 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_12445634865794621037.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_12445634865794621037.key) 07:47:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:47:34 + git semver init 07:47:34 2024-10-04 07:47:34,604 [run_init] DEBUG init version:0.0.0 force:False 07:47:34 2024-10-04 07:47:34,604 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-s7_main/.semver 07:47:34 2024-10-04 07:47:34,605 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-s7.git /w/workspace/edgexfoundry_device-s7_main/.semver 07:47:34 2024-10-04 07:47:34,605 [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) 07:47:35 2024-10-04 07:47:35,141 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-s7_main/.git/info/exclude 07:47:35 2024-10-04 07:47:35,142 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:False 07:47:35 2024-10-04 07:47:35,142 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 07:47:35 2024-10-04 07:47:35,142 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 07:47:35 0.0.1-dev.2 [Pipeline] } 07:47:35 $ docker exec --env ******** --env ******** 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 ssh-agent -k 07:47:35 unset SSH_AUTH_SOCK; 07:47:35 unset SSH_AGENT_PID; 07:47:35 echo Agent pid 78 killed; 07:47:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:47:35 + git semver [Pipeline] } 07:47:36 $ docker stop --time=1 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 07:47:37 $ docker rm -f --volumes 9508ce099fb5baeecd8812b5f41a129f1de84614abdf0d3bfcbea7fa3a502d06 [Pipeline] // withDockerContainer [Pipeline] sh 07:47:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:47:37 Stashed 1 file(s) [Pipeline] echo 07:47:37 [edgeXSemver]: initialized semver on version 0.0.1-dev.2 [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 07:47:38 provisioning config files... 07:47:38 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config7940634709676974033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:47:38 ---> ****-login.sh 07:47:38 nexus3.edgexfoundry.org:10001 07:47:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:38 Configure a credential helper to remove this warning. See 07:47:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:38 07:47:38 Login Succeeded 07:47:38 nexus3.edgexfoundry.org:10002 07:47:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:38 Configure a credential helper to remove this warning. See 07:47:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:38 07:47:38 Login Succeeded 07:47:38 nexus3.edgexfoundry.org:10003 07:47:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:38 Configure a credential helper to remove this warning. See 07:47:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:38 07:47:38 Login Succeeded 07:47:38 nexus3.edgexfoundry.org:10004 07:47:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:38 Configure a credential helper to remove this warning. See 07:47:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:38 07:47:38 Login Succeeded 07:47:38 ****.io 07:47:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:47:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:47:38 Configure a credential helper to remove this warning. See 07:47:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:47:38 07:47:38 Login Succeeded 07:47:38 ---> ****-login.sh ends [Pipeline] } 07:47:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:47:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:47:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:47:39 ========================================================= 07:47:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 07:47:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:47:39 + 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 . 07:47:39 Sending build context to Docker daemon 434.7kB 07:47:39 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 07:47:39 Step 2/10 : FROM ${BASE} AS builder 07:47:39 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 07:47:39 43c4264eed91: Pulling fs layer 07:47:39 4cc291be95ef: Pulling fs layer 07:47:39 2ac1f1163629: Pulling fs layer 07:47:39 5c3c966382ef: Pulling fs layer 07:47:39 4f4fb700ef54: Pulling fs layer 07:47:39 5d5c8e513c77: Pulling fs layer 07:47:39 9f66e0745190: Pulling fs layer 07:47:39 f49a43e4bbc0: Pulling fs layer 07:47:39 561ebcabdf7f: Pulling fs layer 07:47:39 f49a43e4bbc0: Waiting 07:47:39 561ebcabdf7f: Waiting 07:47:39 4f4fb700ef54: Waiting 07:47:39 9f66e0745190: Waiting 07:47:39 5d5c8e513c77: Waiting 07:47:39 5c3c966382ef: Waiting 07:47:39 4cc291be95ef: Verifying Checksum 07:47:39 4cc291be95ef: Download complete 07:47:39 5c3c966382ef: Verifying Checksum 07:47:39 5c3c966382ef: Download complete 07:47:39 4f4fb700ef54: Verifying Checksum 07:47:39 4f4fb700ef54: Download complete 07:47:39 43c4264eed91: Download complete 07:47:39 5d5c8e513c77: Download complete 07:47:39 9f66e0745190: Verifying Checksum 07:47:39 9f66e0745190: Download complete 07:47:39 43c4264eed91: Pull complete 07:47:39 561ebcabdf7f: Verifying Checksum 07:47:39 561ebcabdf7f: Download complete 07:47:39 4cc291be95ef: Pull complete 07:47:40 2ac1f1163629: Verifying Checksum 07:47:40 2ac1f1163629: Download complete 07:47:40 f49a43e4bbc0: Verifying Checksum 07:47:43 2ac1f1163629: Pull complete 07:47:43 5c3c966382ef: Pull complete 07:47:43 4f4fb700ef54: Pull complete 07:47:43 5d5c8e513c77: Pull complete 07:47:43 9f66e0745190: Pull complete 07:47:46 f49a43e4bbc0: Pull complete 07:47:46 561ebcabdf7f: Pull complete 07:47:46 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 07:47:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 07:47:46 ---> 3a752c3f9dda 07:47:46 Step 3/10 : ARG MAKE=make build 07:47:52 ---> Running in 5cc4cd599c09 07:47:52 Removing intermediate container 5cc4cd599c09 07:47:52 ---> b3b5aa064562 07:47:52 Step 4/10 : WORKDIR /device-s7 07:47:52 ---> Running in d6e715b309f2 07:47:52 Removing intermediate container d6e715b309f2 07:47:52 ---> 04bc208cd1cf 07:47:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:47:52 ---> Running in 8e2b940de754 07:47:52 Removing intermediate container 8e2b940de754 07:47:52 ---> f4035bcc81a5 07:47:52 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 07:47:52 ---> Running in 45f2328056bd 07:47:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:47:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:47:52 OK: 246 MiB in 54 packages 07:47:53 Still waiting to schedule task 07:47:53 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:47:53 Removing intermediate container 45f2328056bd 07:47:53 ---> 4529dc14e2c9 07:47:53 Step 7/10 : COPY go.mod vendor* ./ 07:47:53 ---> 11617e955055 07:47:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:47:53 ---> Running in db86b1a8e8c9 07:48:20 Removing intermediate container db86b1a8e8c9 07:48:20 ---> 130c67ff84a4 07:48:20 Step 9/10 : COPY . . 07:48:20 ---> e83be3d2239d 07:48:20 Step 10/10 : RUN ${MAKE} 07:48:20 ---> Running in 5fe7c553f2a9 07:48:20 noop 07:48:20 Removing intermediate container 5fe7c553f2a9 07:48:20 ---> a30069613dc7 07:48:20 Successfully built a30069613dc7 07:48:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:20 + docker inspect -f . ci-base-image-x86_64 07:48:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:20 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 07:48:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:48:21 $ docker top c5b3f1f7f6c520bc821c05ba87af4d14cb622e3bf2f8b25e67dce4dbfe8bb15d -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:21 + go version 07:48:21 go version go1.23.2 linux/amd64 [Pipeline] } 07:48:21 $ docker stop --time=1 c5b3f1f7f6c520bc821c05ba87af4d14cb622e3bf2f8b25e67dce4dbfe8bb15d 07:48:22 $ docker rm -f --volumes c5b3f1f7f6c520bc821c05ba87af4d14cb622e3bf2f8b25e67dce4dbfe8bb15d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:48:23 + docker inspect -f . ci-base-image-x86_64 07:48:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:48:23 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 07:48:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:48:23 $ docker top b50b98f702e1f429606833e1e6e6db04d14ce7ed702f072e3f8e3aef77ccec41 -eo pid,comm [Pipeline] { [Pipeline] sh 07:48:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] fileExists [Pipeline] sh 07:48:24 + make test 07:48:24 go test -race -coverprofile=coverage.out ./... 07:48:32 ? github.com/edgexfoundry/device-s7 [no test files] 07:48:44 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 07:48:44 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 07:48:59 go vet ./... 07:49:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:49:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:49:02 ./bin/test-attribution-txt.sh [Pipeline] echo 07:49:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:49:02 $ docker stop --time=1 b50b98f702e1f429606833e1e6e6db04d14ce7ed702f072e3f8e3aef77ccec41 07:49:09 $ docker rm -f --volumes b50b98f702e1f429606833e1e6e6db04d14ce7ed702f072e3f8e3aef77ccec41 [Pipeline] // withDockerContainer [Pipeline] sh 07:49:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:49:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:49:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:49:10 + ls -al . 07:49:10 total 152 07:49:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:48 . 07:49:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 07:47 .. 07:49:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 07:48 .git 07:49:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:47 .github 07:49:10 -rw-rw-r-- 1 jenkins jenkins 237 Oct 4 07:47 .gitignore 07:49:10 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 07:47 .golangci.yml 07:49:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 07:47 .semver 07:49:10 -rw-rw-r-- 1 jenkins jenkins 12211 Oct 4 07:47 Attribution.txt 07:49:10 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 07:47 Dockerfile 07:49:10 -rw-rw-r-- 1 jenkins jenkins 643 Oct 4 07:47 Jenkinsfile 07:49:10 -rw-rw-r-- 1 jenkins jenkins 10947 Oct 4 07:47 LICENSE 07:49:10 -rw-rw-r-- 1 jenkins jenkins 1903 Oct 4 07:47 Makefile 07:49:10 -rw-rw-r-- 1 jenkins jenkins 614 Oct 4 07:47 OWNERS.md 07:49:10 -rw-rw-r-- 1 jenkins jenkins 2393 Oct 4 07:47 README.md 07:49:10 -rw-rw-r-- 1 jenkins jenkins 11 Oct 4 07:47 VERSION 07:49:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 07:47 bin 07:49:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:47 cmd 07:49:10 -rw-r--r-- 1 jenkins jenkins 17163 Oct 4 07:48 coverage.out 07:49:10 -rw-rw-r-- 1 jenkins jenkins 3644 Oct 4 07:47 go.mod 07:49:10 -rw-rw-r-- 1 jenkins jenkins 34418 Oct 4 07:47 go.sum 07:49:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 07:47 internal 07:49:10 -rw-rw-r-- 1 jenkins jenkins 223 Oct 4 07:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:10 + 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=e57816f4afcfc8db9a573db5c83bd892c807d408 --label arch=amd64 --label version=0.0.1-dev.2 . 07:49:10 Sending build context to Docker daemon 452.6kB 07:49:10 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 07:49:10 Step 2/24 : FROM ${BASE} AS builder 07:49:10 ---> a30069613dc7 07:49:10 Step 3/24 : ARG MAKE=make build 07:49:10 ---> Running in c660fe51d7f2 07:49:11 Removing intermediate container c660fe51d7f2 07:49:11 ---> f1720bf3d9a1 07:49:11 Step 4/24 : WORKDIR /device-s7 07:49:11 ---> Running in fbe5ef03aed9 07:49:11 Removing intermediate container fbe5ef03aed9 07:49:11 ---> 4b0481d35702 07:49:11 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:49:11 ---> Running in dcd6ecefb9e0 07:49:11 Removing intermediate container dcd6ecefb9e0 07:49:11 ---> d3df9d899d93 07:49:11 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 07:49:11 ---> Running in f5cd5f4d1356 07:49:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:49:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:49:11 OK: 246 MiB in 54 packages 07:49:12 Removing intermediate container f5cd5f4d1356 07:49:12 ---> f00b833698ba 07:49:12 Step 7/24 : COPY go.mod vendor* ./ 07:49:12 ---> d2ec2fb4ceb5 07:49:12 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:49:12 ---> Running in 54eb0a328db3 07:49:12 Removing intermediate container 54eb0a328db3 07:49:12 ---> 1e6741e5897b 07:49:12 Step 9/24 : COPY . . 07:49:13 ---> dc57d9687bed 07:49:13 Step 10/24 : RUN ${MAKE} 07:49:13 ---> Running in 5065beb1ce77 07:49:13 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.1-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 07:49:40 Removing intermediate container 5065beb1ce77 07:49:40 ---> 334208a42705 07:49:40 Step 11/24 : FROM alpine:3.20 07:49:40 3.20: Pulling from library/alpine 07:49:40 43c4264eed91: Already exists 07:49:40 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 07:49:40 Status: Downloaded newer image for alpine:3.20 07:49:40 ---> 91ef0af61f39 07:49:40 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 07:49:40 ---> Running in 5bad47ef1420 07:49:40 Removing intermediate container 5bad47ef1420 07:49:40 ---> c8a216837e23 07:49:40 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:49:40 ---> Running in 540959fb854d 07:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:49:40 (1/1) Installing dumb-init (1.2.5-r3) 07:49:40 Executing busybox-1.36.1-r29.trigger 07:49:40 OK: 8 MiB in 15 packages 07:49:40 Removing intermediate container 540959fb854d 07:49:40 ---> 922d2e70ab5f 07:49:40 Step 14/24 : RUN apk --no-cache upgrade 07:49:40 ---> Running in 8e9b701310e9 07:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:49:40 Upgrading critical system libraries and apk-tools: 07:49:40 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 07:49:40 Executing busybox-1.36.1-r29.trigger 07:49:40 Continuing the upgrade transaction with new apk-tools: 07:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 07:49:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 07:49:40 OK: 8 MiB in 15 packages 07:49:40 Removing intermediate container 8e9b701310e9 07:49:40 ---> 95eaa99eb6fa 07:49:40 Step 15/24 : WORKDIR / 07:49:40 ---> Running in fa6bad256ed0 07:49:40 Removing intermediate container fa6bad256ed0 07:49:40 ---> 7020316cc73f 07:49:40 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 07:49:40 ---> 0bba5ee98b2c 07:49:40 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 07:49:40 ---> f0ba5a87aa46 07:49:40 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 07:49:40 ---> fad830a0121e 07:49:40 Step 19/24 : EXPOSE 59994 07:49:40 ---> Running in 974464a8e3d3 07:49:40 Removing intermediate container 974464a8e3d3 07:49:40 ---> 0d63bf9e7c87 07:49:40 Step 20/24 : ENTRYPOINT ["/device-s7"] 07:49:40 ---> Running in 6de191ac2a9b 07:49:40 Removing intermediate container 6de191ac2a9b 07:49:40 ---> 32ffcc6717c8 07:49:40 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:49:40 ---> Running in 051901cb1190 07:49:40 Removing intermediate container 051901cb1190 07:49:40 ---> 0064652f576c 07:49:40 Step 22/24 : LABEL arch=amd64 07:49:40 ---> Running in c75f67bdedfd 07:49:40 Removing intermediate container c75f67bdedfd 07:49:40 ---> cc069bd25ece 07:49:40 Step 23/24 : LABEL git_sha=e57816f4afcfc8db9a573db5c83bd892c807d408 07:49:40 ---> Running in 57c2cac61c04 07:49:41 Removing intermediate container 57c2cac61c04 07:49:41 ---> cf598fe5523b 07:49:41 Step 24/24 : LABEL version=0.0.1-dev.2 07:49:41 ---> Running in 61ebee1d2c35 07:49:41 Removing intermediate container 61ebee1d2c35 07:49:41 ---> 8e6640dc7bd0 07:49:41 [Warning] One or more build-args [ARCH] were not consumed 07:49:41 Successfully built 8e6640dc7bd0 07:49:41 Successfully tagged device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:49:41 provisioning config files... 07:49:41 copy managed file [device-s7-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config976021403883164615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:49:41 ---> ****-login.sh 07:49:41 nexus3.edgexfoundry.org:10001 07:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:41 Configure a credential helper to remove this warning. See 07:49:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:41 07:49:41 Login Succeeded 07:49:41 nexus3.edgexfoundry.org:10002 07:49:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:41 Configure a credential helper to remove this warning. See 07:49:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:41 07:49:41 Login Succeeded 07:49:41 nexus3.edgexfoundry.org:10003 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 nexus3.edgexfoundry.org:10004 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 ****.io 07:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:49:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:49:42 Configure a credential helper to remove this warning. See 07:49:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:49:42 07:49:42 Login Succeeded 07:49:42 ---> ****-login.sh ends [Pipeline] } 07:49:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:49:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:49:42 [edgeXDocker.push] Tagging docker image device-s7 with the following tags: 07:49:42 e57816f4afcfc8db9a573db5c83bd892c807d408 07:49:42 latest 07:49:42 0.0.1-dev.2 07:49:42 e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 07:49:42 main 07:49:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:42 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:43 + docker push nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408 07:49:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 07:49:43 301c2cb49485: Preparing 07:49:43 ba202a197686: Preparing 07:49:43 23c9e3464db0: Preparing 07:49:43 11e59154f2a9: Preparing 07:49:43 79bf804ede9b: Preparing 07:49:43 63ca1fbb43ae: Preparing 07:49:43 63ca1fbb43ae: Waiting 07:49:43 301c2cb49485: Pushed 07:49:43 11e59154f2a9: Pushed 07:49:43 79bf804ede9b: Pushed 07:49:43 23c9e3464db0: Pushed 07:49:43 63ca1fbb43ae: Layer already exists 07:49:45 ba202a197686: Pushed 07:49:45 e57816f4afcfc8db9a573db5c83bd892c807d408: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:46 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:46 + docker push nexus3.edgexfoundry.org:10004/device-s7:latest 07:49:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 07:49:46 301c2cb49485: Preparing 07:49:46 ba202a197686: Preparing 07:49:46 23c9e3464db0: Preparing 07:49:46 11e59154f2a9: Preparing 07:49:46 79bf804ede9b: Preparing 07:49:46 63ca1fbb43ae: Preparing 07:49:46 63ca1fbb43ae: Waiting 07:49:46 301c2cb49485: Layer already exists 07:49:46 23c9e3464db0: Layer already exists 07:49:46 ba202a197686: Layer already exists 07:49:46 79bf804ede9b: Layer already exists 07:49:46 11e59154f2a9: Layer already exists 07:49:46 63ca1fbb43ae: Layer already exists 07:49:46 latest: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:47 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:47 + docker push nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.2 07:49:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 07:49:47 301c2cb49485: Preparing 07:49:47 ba202a197686: Preparing 07:49:47 23c9e3464db0: Preparing 07:49:47 11e59154f2a9: Preparing 07:49:47 79bf804ede9b: Preparing 07:49:47 63ca1fbb43ae: Preparing 07:49:47 ba202a197686: Layer already exists 07:49:47 23c9e3464db0: Layer already exists 07:49:47 301c2cb49485: Layer already exists 07:49:47 63ca1fbb43ae: Layer already exists 07:49:47 11e59154f2a9: Layer already exists 07:49:47 79bf804ede9b: Layer already exists 07:49:47 0.0.1-dev.2: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:47 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:48 + docker push nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 07:49:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 07:49:48 301c2cb49485: Preparing 07:49:48 ba202a197686: Preparing 07:49:48 23c9e3464db0: Preparing 07:49:48 11e59154f2a9: Preparing 07:49:48 79bf804ede9b: Preparing 07:49:48 63ca1fbb43ae: Preparing 07:49:48 63ca1fbb43ae: Waiting 07:49:48 23c9e3464db0: Layer already exists 07:49:48 79bf804ede9b: Layer already exists 07:49:48 ba202a197686: Layer already exists 07:49:48 11e59154f2a9: Layer already exists 07:49:48 301c2cb49485: Layer already exists 07:49:48 63ca1fbb43ae: Layer already exists 07:49:48 e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:48 + docker tag device-s7 nexus3.edgexfoundry.org:10004/device-s7:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:49 + docker push nexus3.edgexfoundry.org:10004/device-s7:main 07:49:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7] 07:49:49 301c2cb49485: Preparing 07:49:49 ba202a197686: Preparing 07:49:49 23c9e3464db0: Preparing 07:49:49 11e59154f2a9: Preparing 07:49:49 79bf804ede9b: Preparing 07:49:49 63ca1fbb43ae: Preparing 07:49:49 63ca1fbb43ae: Waiting 07:49:49 79bf804ede9b: Layer already exists 07:49:49 301c2cb49485: Layer already exists 07:49:49 23c9e3464db0: Layer already exists 07:49:49 ba202a197686: Layer already exists 07:49:49 11e59154f2a9: Layer already exists 07:49:49 63ca1fbb43ae: Layer already exists 07:49:49 main: digest: sha256:d0cfdabc270d0b7ebb0f12f58064b27063bdb4bf3dff3628f760766e26855881 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 07:49:49 ===================================================== [Pipeline] echo 07:49:49 taggedImages: 07:49:49 - nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408 07:49:49 - nexus3.edgexfoundry.org:10004/device-s7:latest 07:49:49 - nexus3.edgexfoundry.org:10004/device-s7:0.0.1-dev.2 07:49:49 - nexus3.edgexfoundry.org:10004/device-s7:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 07:49:49 - 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 07:49:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:49:49 07:49:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:49:49 latest: Pulling from edgex-lftools-log-publisher 07:49:49 5eb5b503b376: Pulling fs layer 07:49:49 5c69ac0246d0: Pulling fs layer 07:49:49 ec43610c2a17: Pulling fs layer 07:49:49 3a2ae6a8a46f: Pulling fs layer 07:49:49 33b1e0a273af: Pulling fs layer 07:49:49 5d3b04190fa2: Pulling fs layer 07:49:49 2f39f015ded8: Pulling fs layer 07:49:49 3a2ae6a8a46f: Waiting 07:49:49 2f39f015ded8: Waiting 07:49:49 33b1e0a273af: Waiting 07:49:49 5c69ac0246d0: Verifying Checksum 07:49:49 5c69ac0246d0: Download complete 07:49:49 3a2ae6a8a46f: Verifying Checksum 07:49:49 3a2ae6a8a46f: Download complete 07:49:49 33b1e0a273af: Verifying Checksum 07:49:49 33b1e0a273af: Download complete 07:49:49 5d3b04190fa2: Verifying Checksum 07:49:49 5d3b04190fa2: Download complete 07:49:49 ec43610c2a17: Verifying Checksum 07:49:49 ec43610c2a17: Download complete 07:49:50 5eb5b503b376: Verifying Checksum 07:49:50 5eb5b503b376: Download complete 07:49:50 2f39f015ded8: Download complete 07:49:51 5eb5b503b376: Pull complete 07:49:51 5c69ac0246d0: Pull complete 07:49:51 ec43610c2a17: Pull complete 07:49:51 3a2ae6a8a46f: Pull complete 07:49:51 33b1e0a273af: Pull complete 07:49:51 5d3b04190fa2: Pull complete 07:49:56 2f39f015ded8: Pull complete 07:49:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:49:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:49:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:49:56 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 07:49:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:50:01 $ docker top 32dd8ddc573bf62caa11207b58079fa1b93a1c57e76e0fdce5d2cdea5d3b9a75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:02 ---> job-cost.sh 07:50:02 lf-activate-venv: SKIPPING 07:50:02 INFO: No Stack... 07:50:02 INFO: Retrieving Pricing Info for: v3-standard-8 07:50:03 INFO: Archiving Costs [Pipeline] sh 07:50:03 + cat /w/workspace/edgexfoundry_device-s7_main/archives/cost.csv 07:50:03 + cut -d, -f6 [Pipeline] lock 07:50:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] 07:50:03 Resource [jenkins-edgexfoundry-device-s7-main-7-stack-cost] did not exist. Created. 07:50:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:50:03 + echo total: 0.2199999988079071 [Pipeline] stash 07:50:03 Stashed 1 file(s) [Pipeline] } 07:50:03 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [Pipeline] // lock [Pipeline] } 07:50:03 $ docker stop --time=1 32dd8ddc573bf62caa11207b58079fa1b93a1c57e76e0fdce5d2cdea5d3b9a75 07:50:05 $ docker rm -f --volumes 32dd8ddc573bf62caa11207b58079fa1b93a1c57e76e0fdce5d2cdea5d3b9a75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:33:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19944 in /w/workspace/edgexfoundry_device-s7_main [Pipeline] { [Pipeline] ws 09:33:43 Running in /w/workspace/device-s7/7 [Pipeline] { [Pipeline] checkout 09:33:46 Selected Git installation does not exist. Using Default 09:33:46 The recommended git tool is: NONE 09:33:57 using credential edgex-jenkins-ssh 09:33:57 Cloning the remote Git repository 09:33:57 Cloning repository git@github.com:edgexfoundry/device-s7.git 09:33:57 > git init /w/workspace/device-s7/7 # timeout=10 09:33:57 Fetching upstream changes from git@github.com:edgexfoundry/device-s7.git 09:33:57 > git --version # timeout=10 09:33:57 > git --version # 'git version 2.25.1' 09:33:57 using GIT_SSH to set credentials SSH Credentials for GitHub 09:33:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-s7.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:33:58 > git config remote.origin.url git@github.com:edgexfoundry/device-s7.git # timeout=10 09:33:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:34:00 Avoid second fetch 09:34:00 Checking out Revision e57816f4afcfc8db9a573db5c83bd892c807d408 (main) 09:34:00 > git config core.sparsecheckout # timeout=10 09:34:01 Commit message: "Merge pull request #12 from jinlinGuan/golang-1.23" 09:34:00 > git checkout -f e57816f4afcfc8db9a573db5c83bd892c807d408 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:34:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:34:06 % Total % Received % Xferd Average Speed Time Time Time Current 09:34:06 Dload Upload Total Spent Left Speed 09:34:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 255k 0 --:--:-- --:--:-- --:--:-- 260k [Pipeline] sh 09:34:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:34:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:34:07 + sudo tee /etc/docker/daemon.new 09:34:07 { 09:34:07 "registry-mirrors": [ 09:34:07 "https://nexus3.edgexfoundry.org:10001" 09:34:07 ], 09:34:07 "bip": "10.250.0.254/24", 09:34:07 "hosts": [ 09:34:07 "tcp://0.0.0.0:5555", 09:34:07 "unix:///var/run/docker.sock" 09:34:07 ], 09:34:07 "mtu": 1458, 09:34:07 "selinux-enabled": true, 09:34:07 "seccomp-profile": "/etc/docker/seccomp.json" 09:34:07 } [Pipeline] sh 09:34:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:34:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:34:26 provisioning config files... 09:34:26 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/7@tmp/config6147634702996433366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:26 ---> ****-login.sh 09:34:26 nexus3.edgexfoundry.org:10001 09:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:27 Configure a credential helper to remove this warning. See 09:34:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:27 09:34:27 Login Succeeded 09:34:27 nexus3.edgexfoundry.org:10002 09:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:27 Configure a credential helper to remove this warning. See 09:34:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:27 09:34:27 Login Succeeded 09:34:27 nexus3.edgexfoundry.org:10003 09:34:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:27 Configure a credential helper to remove this warning. See 09:34:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:27 09:34:27 Login Succeeded 09:34:27 nexus3.edgexfoundry.org:10004 09:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:28 Configure a credential helper to remove this warning. See 09:34:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:28 09:34:28 Login Succeeded 09:34:28 ****.io 09:34:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:34:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:34:28 Configure a credential helper to remove this warning. See 09:34:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:34:28 09:34:28 Login Succeeded 09:34:28 ---> ****-login.sh ends [Pipeline] } 09:34:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:34:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:34:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:34:29 ========================================================= 09:34:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:34:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:29 + 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 . 09:34:29 Sending build context to Docker daemon 280.6kB 09:34:29 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:34:29 Step 2/10 : FROM ${BASE} AS builder 09:34:30 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:34:30 cf04c63912e1: Pulling fs layer 09:34:30 55b35a11ae5e: Pulling fs layer 09:34:30 a37a00ec5f00: Pulling fs layer 09:34:30 50b3750afda1: Pulling fs layer 09:34:30 4f4fb700ef54: Pulling fs layer 09:34:30 80978eb59214: Pulling fs layer 09:34:30 c9f46d7d2bd2: Pulling fs layer 09:34:30 c5a475d317c9: Pulling fs layer 09:34:30 50b3750afda1: Waiting 09:34:30 4f4fb700ef54: Waiting 09:34:30 80978eb59214: Waiting 09:34:30 c9f46d7d2bd2: Waiting 09:34:30 c5a475d317c9: Waiting 09:34:30 55b35a11ae5e: Download complete 09:34:30 50b3750afda1: Verifying Checksum 09:34:30 50b3750afda1: Download complete 09:34:30 4f4fb700ef54: Verifying Checksum 09:34:30 4f4fb700ef54: Download complete 09:34:30 80978eb59214: Verifying Checksum 09:34:30 80978eb59214: Download complete 09:34:30 cf04c63912e1: Verifying Checksum 09:34:30 cf04c63912e1: Download complete 09:34:30 c5a475d317c9: Verifying Checksum 09:34:30 c5a475d317c9: Download complete 09:34:31 cf04c63912e1: Pull complete 09:34:32 55b35a11ae5e: Pull complete 09:34:32 a37a00ec5f00: Verifying Checksum 09:34:32 a37a00ec5f00: Download complete 09:34:33 c9f46d7d2bd2: Verifying Checksum 09:34:33 c9f46d7d2bd2: Download complete 09:34:48 a37a00ec5f00: Pull complete 09:34:48 50b3750afda1: Pull complete 09:34:48 4f4fb700ef54: Pull complete 09:34:48 80978eb59214: Pull complete 09:34:54 c9f46d7d2bd2: Pull complete 09:34:56 c5a475d317c9: Pull complete 09:34:56 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:34:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:34:56 ---> be29e6b0f0d4 09:34:56 Step 3/10 : ARG MAKE=make build 09:34:57 ---> Running in 994d354a4994 09:34:57 Removing intermediate container 994d354a4994 09:34:57 ---> aa3f574f2ae7 09:34:57 Step 4/10 : WORKDIR /device-s7 09:34:58 ---> Running in 30d9e43b600c 09:34:58 Removing intermediate container 30d9e43b600c 09:34:58 ---> 3f9d0d0c5c7e 09:34:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:34:58 ---> Running in cf5b6d32f7ad 09:34:58 Removing intermediate container cf5b6d32f7ad 09:34:58 ---> 7cec80a55fe7 09:34:58 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev 09:34:58 ---> Running in 71949e00e614 09:34:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:35:02 OK: 238 MiB in 54 packages 09:35:03 Removing intermediate container 71949e00e614 09:35:03 ---> f1575c6d4e40 09:35:03 Step 7/10 : COPY go.mod vendor* ./ 09:35:03 ---> 516e939af549 09:35:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:35:03 ---> Running in 34415a537737 09:36:11 Removing intermediate container 34415a537737 09:36:11 ---> 778678decfb3 09:36:11 Step 9/10 : COPY . . 09:36:11 ---> 37715e26c999 09:36:11 Step 10/10 : RUN ${MAKE} 09:36:11 ---> Running in 8e3b014750f5 09:36:11 noop 09:36:11 Removing intermediate container 8e3b014750f5 09:36:11 ---> 909d7b832d16 09:36:11 Successfully built 909d7b832d16 09:36:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:12 + docker inspect -f . ci-base-image-arm64 09:36:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:36:12 prd-ubuntu20.04-docker-arm64-4c-16g-19944 does not seem to be running inside a container 09:36:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-s7/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@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 09:36:13 $ docker top 3c2257bfab7263f64638f2a70fb567b7e157a022e5b993a3fbc841763ac93660 -eo pid,comm [Pipeline] { [Pipeline] sh 09:36:14 + go version 09:36:14 go version go1.23.2 linux/arm64 [Pipeline] } 09:36:14 $ docker stop --time=1 3c2257bfab7263f64638f2a70fb567b7e157a022e5b993a3fbc841763ac93660 09:36:16 $ docker rm -f --volumes 3c2257bfab7263f64638f2a70fb567b7e157a022e5b993a3fbc841763ac93660 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:16 + docker inspect -f . ci-base-image-arm64 09:36:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:36:16 prd-ubuntu20.04-docker-arm64-4c-16g-19944 does not seem to be running inside a container 09:36:16 $ 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/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@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 09:36:18 $ docker top a8e0da9f50eeeee29c7a7e0c3734f4e5f1105b3e63a268edcbc70ffd295ee6cc -eo pid,comm [Pipeline] { [Pipeline] sh 09:36:18 + git config --global --add safe.directory /w/workspace/device-s7/7 [Pipeline] fileExists [Pipeline] sh 09:36:19 + make test 09:36:19 go test -race -coverprofile=coverage.out ./... 09:37:06 ? github.com/edgexfoundry/device-s7 [no test files] 09:38:58 github.com/edgexfoundry/device-s7/cmd coverage: 0.0% of statements 09:38:58 github.com/edgexfoundry/device-s7/internal/driver coverage: 0.0% of statements 09:38:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:38:58 go vet ./... 09:40:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:40:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:40:49 ./bin/test-attribution-txt.sh [Pipeline] echo 09:40:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:40:49 $ docker stop --time=1 a8e0da9f50eeeee29c7a7e0c3734f4e5f1105b3e63a268edcbc70ffd295ee6cc 09:40:51 $ docker rm -f --volumes a8e0da9f50eeeee29c7a7e0c3734f4e5f1105b3e63a268edcbc70ffd295ee6cc [Pipeline] // withDockerContainer [Pipeline] sh 09:40:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:40:53 Warning: overwriting stash ‘coverage-report’ 09:40:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:40:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:40:54 + ls -al . 09:40:54 total 148 09:40:54 drwxrwxr-x 7 jenkins jenkins 4096 Oct 4 09:36 . 09:40:54 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 09:33 .. 09:40:54 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 09:34 .git 09:40:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 09:34 .github 09:40:54 -rw-rw-r-- 1 jenkins jenkins 237 Oct 4 09:34 .gitignore 09:40:54 -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 09:34 .golangci.yml 09:40:54 -rw-rw-r-- 1 jenkins jenkins 12211 Oct 4 09:34 Attribution.txt 09:40:54 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 4 09:34 Dockerfile 09:40:54 -rw-rw-r-- 1 jenkins jenkins 643 Oct 4 09:34 Jenkinsfile 09:40:54 -rw-rw-r-- 1 jenkins jenkins 10947 Oct 4 09:34 LICENSE 09:40:54 -rw-rw-r-- 1 jenkins jenkins 1903 Oct 4 09:34 Makefile 09:40:54 -rw-rw-r-- 1 jenkins jenkins 614 Oct 4 09:34 OWNERS.md 09:40:54 -rw-rw-r-- 1 jenkins jenkins 2393 Oct 4 09:34 README.md 09:40:54 -rw-rw-r-- 1 jenkins jenkins 11 Oct 4 07:47 VERSION 09:40:54 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 09:34 bin 09:40:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 09:34 cmd 09:40:54 -rw-r--r-- 1 jenkins jenkins 17163 Oct 4 09:38 coverage.out 09:40:54 -rw-rw-r-- 1 jenkins jenkins 3644 Oct 4 09:34 go.mod 09:40:54 -rw-rw-r-- 1 jenkins jenkins 34418 Oct 4 09:34 go.sum 09:40:54 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 09:34 internal 09:40:54 -rw-rw-r-- 1 jenkins jenkins 223 Oct 4 09:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:40:55 + 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=e57816f4afcfc8db9a573db5c83bd892c807d408 --label arch=arm64 --label version=0.0.1-dev.2 . 09:40:55 Sending build context to Docker daemon 298.5kB 09:40:55 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:40:55 Step 2/24 : FROM ${BASE} AS builder 09:40:55 ---> 909d7b832d16 09:40:55 Step 3/24 : ARG MAKE=make build 09:40:55 ---> Running in 99931facfc60 09:40:55 Removing intermediate container 99931facfc60 09:40:55 ---> e0ddf7788203 09:40:55 Step 4/24 : WORKDIR /device-s7 09:40:55 ---> Running in a8274ee320ee 09:40:56 Removing intermediate container a8274ee320ee 09:40:56 ---> 7135be668f1d 09:40:56 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:40:56 ---> Running in 90cd675ea3f5 09:40:56 Removing intermediate container 90cd675ea3f5 09:40:56 ---> e419e8b51a20 09:40:56 Step 6/24 : RUN apk add --update --no-cache make git gcc libc-dev 09:40:56 ---> Running in 93511377fbd2 09:40:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:40:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:40:59 OK: 238 MiB in 54 packages 09:41:00 Removing intermediate container 93511377fbd2 09:41:00 ---> 652405b4e4c2 09:41:00 Step 7/24 : COPY go.mod vendor* ./ 09:41:00 ---> b7da090d1fac 09:41:00 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:00 ---> Running in e5bd76a4fd84 09:41:02 Removing intermediate container e5bd76a4fd84 09:41:02 ---> ef1e0cff92a4 09:41:02 Step 9/24 : COPY . . 09:41:03 ---> f2fea15378ee 09:41:03 Step 10/24 : RUN ${MAKE} 09:41:03 ---> Running in f348e8d3f80e 09:41:04 CGO_ENABLED=1 go build -ldflags "-X github.com/edgexfoundry/device-s7.Version=0.0.1-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-s7 ./cmd 09:43:26 Removing intermediate container f348e8d3f80e 09:43:26 ---> 574e5ea93129 09:43:26 Step 11/24 : FROM alpine:3.20 09:43:26 3.20: Pulling from library/alpine 09:43:26 cf04c63912e1: Already exists 09:43:26 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:43:26 Status: Downloaded newer image for alpine:3.20 09:43:26 ---> c157a85ed455 09:43:26 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: YIQISOFT' 09:43:26 ---> Running in 31f43b542201 09:43:26 Removing intermediate container 31f43b542201 09:43:26 ---> 8a6d905f73f4 09:43:26 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:43:26 ---> Running in e81ac26cac6b 09:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:43:26 (1/1) Installing dumb-init (1.2.5-r3) 09:43:26 Executing busybox-1.36.1-r29.trigger 09:43:26 OK: 9 MiB in 15 packages 09:43:26 Removing intermediate container e81ac26cac6b 09:43:26 ---> c172b4fe1c2d 09:43:26 Step 14/24 : RUN apk --no-cache upgrade 09:43:26 ---> Running in a688b9fe4519 09:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:43:26 Upgrading critical system libraries and apk-tools: 09:43:26 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:43:26 Executing busybox-1.36.1-r29.trigger 09:43:26 Continuing the upgrade transaction with new apk-tools: 09:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:43:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:43:26 OK: 9 MiB in 15 packages 09:43:26 Removing intermediate container a688b9fe4519 09:43:26 ---> 53da87819d50 09:43:26 Step 15/24 : WORKDIR / 09:43:26 ---> Running in 09e85d260032 09:43:26 Removing intermediate container 09e85d260032 09:43:26 ---> b82814e954da 09:43:26 Step 16/24 : COPY --from=builder /device-s7/Attribution.txt /Attribution.txt 09:43:26 ---> 6e1c46221122 09:43:26 Step 17/24 : COPY --from=builder /device-s7/cmd/device-s7 /device-s7 09:43:26 ---> 9105e731a730 09:43:26 Step 18/24 : COPY --from=builder /device-s7/cmd/res /res 09:43:27 ---> 789be17b5b85 09:43:27 Step 19/24 : EXPOSE 59994 09:43:27 ---> Running in de4ee9b136cb 09:43:27 Removing intermediate container de4ee9b136cb 09:43:27 ---> 4df3e58fc61c 09:43:27 Step 20/24 : ENTRYPOINT ["/device-s7"] 09:43:27 ---> Running in 1f75bf9e151f 09:43:27 Removing intermediate container 1f75bf9e151f 09:43:27 ---> addfb6bfe99f 09:43:27 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:43:28 ---> Running in 9dbb07497955 09:43:28 Removing intermediate container 9dbb07497955 09:43:28 ---> 6d22e13ea2f2 09:43:28 Step 22/24 : LABEL arch=arm64 09:43:28 ---> Running in 633bf0b66ba8 09:43:28 Removing intermediate container 633bf0b66ba8 09:43:28 ---> 022177c7dfb4 09:43:28 Step 23/24 : LABEL git_sha=e57816f4afcfc8db9a573db5c83bd892c807d408 09:43:28 ---> Running in 911b03ee4025 09:43:29 Removing intermediate container 911b03ee4025 09:43:29 ---> cee642ae1ee6 09:43:29 Step 24/24 : LABEL version=0.0.1-dev.2 09:43:29 ---> Running in 986101b0d373 09:43:29 Removing intermediate container 986101b0d373 09:43:29 ---> ab7fca2b5d32 09:43:29 [Warning] One or more build-args [ARCH] were not consumed 09:43:29 Successfully built ab7fca2b5d32 09:43:29 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 09:43:29 provisioning config files... 09:43:29 copy managed file [device-s7-settings] to file:/w/workspace/device-s7/7@tmp/config15734859109681290600tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:43:30 ---> ****-login.sh 09:43:30 nexus3.edgexfoundry.org:10001 09:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:30 Configure a credential helper to remove this warning. See 09:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:30 09:43:30 Login Succeeded 09:43:30 nexus3.edgexfoundry.org:10002 09:43:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:30 Configure a credential helper to remove this warning. See 09:43:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:30 09:43:30 Login Succeeded 09:43:30 nexus3.edgexfoundry.org:10003 09:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:31 Configure a credential helper to remove this warning. See 09:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:31 09:43:31 Login Succeeded 09:43:31 nexus3.edgexfoundry.org:10004 09:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:31 Configure a credential helper to remove this warning. See 09:43:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:31 09:43:31 Login Succeeded 09:43:31 ****.io 09:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:43:32 Configure a credential helper to remove this warning. See 09:43:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:43:32 09:43:32 Login Succeeded 09:43:32 ---> ****-login.sh ends [Pipeline] } 09:43:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:43:32 [edgeXDocker.push] Tagging docker image device-s7-arm64 with the following tags: 09:43:32 e57816f4afcfc8db9a573db5c83bd892c807d408 09:43:32 latest 09:43:32 0.0.1-dev.2 09:43:32 e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 09:43:32 main 09:43:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:32 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:32 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408 09:43:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 09:43:32 01c23d449e52: Preparing 09:43:32 534a16905d16: Preparing 09:43:32 523a7191206f: Preparing 09:43:32 1a696b64d269: Preparing 09:43:32 2b651ab2c0c7: Preparing 09:43:32 16113d51b718: Preparing 09:43:32 16113d51b718: Waiting 09:43:33 523a7191206f: Pushed 09:43:33 2b651ab2c0c7: Pushed 09:43:33 01c23d449e52: Pushed 09:43:33 1a696b64d269: Pushed 09:43:33 16113d51b718: Layer already exists 09:43:38 534a16905d16: Pushed 09:43:38 e57816f4afcfc8db9a573db5c83bd892c807d408: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:38 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:39 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:latest 09:43:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 09:43:39 01c23d449e52: Preparing 09:43:39 534a16905d16: Preparing 09:43:39 523a7191206f: Preparing 09:43:39 1a696b64d269: Preparing 09:43:39 2b651ab2c0c7: Preparing 09:43:39 16113d51b718: Preparing 09:43:39 16113d51b718: Waiting 09:43:39 01c23d449e52: Layer already exists 09:43:39 1a696b64d269: Layer already exists 09:43:39 523a7191206f: Layer already exists 09:43:39 534a16905d16: Layer already exists 09:43:39 2b651ab2c0c7: Layer already exists 09:43:39 16113d51b718: Layer already exists 09:43:39 latest: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:39 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:40 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.2 09:43:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 09:43:40 01c23d449e52: Preparing 09:43:40 534a16905d16: Preparing 09:43:40 523a7191206f: Preparing 09:43:40 1a696b64d269: Preparing 09:43:40 2b651ab2c0c7: Preparing 09:43:40 16113d51b718: Preparing 09:43:40 16113d51b718: Waiting 09:43:40 523a7191206f: Layer already exists 09:43:40 1a696b64d269: Layer already exists 09:43:40 534a16905d16: Layer already exists 09:43:40 2b651ab2c0c7: Layer already exists 09:43:40 01c23d449e52: Layer already exists 09:43:40 16113d51b718: Layer already exists 09:43:40 0.0.1-dev.2: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:40 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:41 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 09:43:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 09:43:41 01c23d449e52: Preparing 09:43:41 534a16905d16: Preparing 09:43:41 523a7191206f: Preparing 09:43:41 1a696b64d269: Preparing 09:43:41 2b651ab2c0c7: Preparing 09:43:41 16113d51b718: Preparing 09:43:41 16113d51b718: Waiting 09:43:41 2b651ab2c0c7: Layer already exists 09:43:41 523a7191206f: Layer already exists 09:43:41 1a696b64d269: Layer already exists 09:43:41 534a16905d16: Layer already exists 09:43:41 01c23d449e52: Layer already exists 09:43:41 16113d51b718: Layer already exists 09:43:41 e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:41 + docker tag device-s7-arm64 nexus3.edgexfoundry.org:10004/device-s7-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:42 + docker push nexus3.edgexfoundry.org:10004/device-s7-arm64:main 09:43:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-s7-arm64] 09:43:42 01c23d449e52: Preparing 09:43:42 534a16905d16: Preparing 09:43:42 523a7191206f: Preparing 09:43:42 1a696b64d269: Preparing 09:43:42 2b651ab2c0c7: Preparing 09:43:42 16113d51b718: Preparing 09:43:42 16113d51b718: Waiting 09:43:42 01c23d449e52: Layer already exists 09:43:42 2b651ab2c0c7: Layer already exists 09:43:42 1a696b64d269: Layer already exists 09:43:42 534a16905d16: Layer already exists 09:43:42 523a7191206f: Layer already exists 09:43:42 16113d51b718: Layer already exists 09:43:42 main: digest: sha256:cbcd5acdc1bc2c70e9900d1ba7a6288faf56bbc841e6a5aed612b5bc6645c6c0 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:43:42 ===================================================== [Pipeline] echo 09:43:42 taggedImages: 09:43:42 - nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408 09:43:42 - nexus3.edgexfoundry.org:10004/device-s7-arm64:latest 09:43:42 - nexus3.edgexfoundry.org:10004/device-s7-arm64:0.0.1-dev.2 09:43:42 - nexus3.edgexfoundry.org:10004/device-s7-arm64:e57816f4afcfc8db9a573db5c83bd892c807d408-0.0.1-dev.2 09:43:42 - 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 09:43:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:43:43 09:43:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:43:43 arm64: Pulling from edgex-lftools-log-publisher 09:43:43 8998bd30e6a1: Pulling fs layer 09:43:43 04944245beec: Pulling fs layer 09:43:43 699f458cf7ca: Pulling fs layer 09:43:43 765212b225bb: Pulling fs layer 09:43:43 f23df028b6ca: Pulling fs layer 09:43:43 d65c8cfc05b1: Pulling fs layer 09:43:43 2437ff75d9bd: Pulling fs layer 09:43:43 765212b225bb: Waiting 09:43:43 f23df028b6ca: Waiting 09:43:43 d65c8cfc05b1: Waiting 09:43:43 2437ff75d9bd: Waiting 09:43:43 04944245beec: Verifying Checksum 09:43:43 04944245beec: Download complete 09:43:43 765212b225bb: Verifying Checksum 09:43:43 765212b225bb: Download complete 09:43:43 f23df028b6ca: Download complete 09:43:43 d65c8cfc05b1: Verifying Checksum 09:43:43 d65c8cfc05b1: Download complete 09:43:44 699f458cf7ca: Download complete 09:43:44 8998bd30e6a1: Verifying Checksum 09:43:44 8998bd30e6a1: Download complete 09:43:46 2437ff75d9bd: Verifying Checksum 09:43:46 2437ff75d9bd: Download complete 09:43:48 8998bd30e6a1: Pull complete 09:43:49 04944245beec: Pull complete 09:43:50 699f458cf7ca: Pull complete 09:43:51 765212b225bb: Pull complete 09:43:51 f23df028b6ca: Pull complete 09:43:52 d65c8cfc05b1: Pull complete 09:44:07 2437ff75d9bd: Pull complete 09:44:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:44:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:44:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:07 prd-ubuntu20.04-docker-arm64-4c-16g-19944 does not seem to be running inside a container 09:44: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/7 -v /w/workspace/device-s7/7:/w/workspace/device-s7/7:rw,z -v /w/workspace/device-s7/7@tmp:/w/workspace/device-s7/7@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 09:44:09 $ docker top 875a1185e8fc6708d2c53063162b55ac4891049814f47eb565c03181e8c87c50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:10 ---> job-cost.sh 09:44:10 lf-activate-venv: SKIPPING 09:44:10 INFO: No Stack... 09:44:10 INFO: Retrieving Pricing Info for: v3-standard-4 09:44:11 INFO: Archiving Costs [Pipeline] sh 09:44:12 + cat /w/workspace/device-s7/7/archives/cost.csv 09:44:12 + cut -d, -f6 [Pipeline] lock 09:44:12 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] 09:44:12 Resource [jenkins-edgexfoundry-device-s7-main-7-stack-cost] did not exist. Created. 09:44:12 Lock acquired on [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:44:12 /w/workspace/device-s7/7@tmp/durable-81f81087/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:44:13 + echo total: 0.10999999940395355 [Pipeline] stash 09:44:13 Warning: overwriting stash ‘stack-cost’ 09:44:13 Stashed 1 file(s) [Pipeline] } 09:44:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-s7-main-7-stack-cost] [Pipeline] // lock [Pipeline] } 09:44:13 $ docker stop --time=1 875a1185e8fc6708d2c53063162b55ac4891049814f47eb565c03181e8c87c50 09:44:14 $ docker rm -f --volumes 875a1185e8fc6708d2c53063162b55ac4891049814f47eb565c03181e8c87c50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 09:44:15 provisioning config files... 09:44:15 copy managed file [device-s7-codecov-token] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config12315799368064035223tmp [Pipeline] { [Pipeline] sh 09:44:15 + set +x 09:44:15 + bash -s -- 09:44:15 + curl -s https://codecov.io/bash 09:44:15 09:44:15 _____ _ 09:44:15 / ____| | | 09:44:15 | | ___ __| | ___ ___ _____ __ 09:44:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:44:15 | |___| (_) | (_| | __/ (_| (_) \ V / 09:44:15 \_____\___/ \__,_|\___|\___\___/ \_/ 09:44:15 Bash-1.0.6 09:44:15 09:44:15 09:44:15 ==> git version 2.25.1 found 09:44:15 ==> 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 09:44:15 Release-Date: 2020-01-08 09:44:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:44:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:44:15 ==> Jenkins CI detected. 09:44:15 current dir:  /w/workspace/edgexfoundry_device-s7_main 09:44:15 project root: . 09:44:15 --> token set from env 09:44:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:44:15 ==> Running gcov in . (disable via -X gcov) 09:44:15 ==> Python coveragepy not found 09:44:15 ==> Searching for coverage reports in: 09:44:15 + . 09:44:15 -> Found 1 reports 09:44:15 ==> Detecting git/mercurial file structure 09:44:16 ==> Reading reports 09:44:16 + ./coverage.out bytes=17163 09:44:16 ==> Appending adjustments 09:44:16 https://docs.codecov.io/docs/fixing-reports 09:44:16 + Found adjustments 09:44:16 ==> Gzipping contents 09:44:16 4.0K /tmp/codecov.Ip4kiM.gz 09:44:16 ==> Uploading reports 09:44:16 url: https://codecov.io 09:44:16 query: branch=main&commit=e57816f4afcfc8db9a573db5c83bd892c807d408&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 09:44:16 -> Pinging Codecov 09:44:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=e57816f4afcfc8db9a573db5c83bd892c807d408&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-s7%2Fjob%2Fmain%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-s7&service=jenkins&flags=&pr=&job=&cmd_args= 09:44:16 -> Uploading to 09:44:16 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-s7/e57816f4afcfc8db9a573db5c83bd892c807d408/2c1161d0-be6a-4e85-985f-f7ee11a7b831.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T094416Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=05ef1795081d8649d79a6d93b62873302d2f38add56fa1dcdb3c375ad4abaa18 09:44:16 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:16 Dload Upload Total Spent Left Speed 09:44:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2593 0 0 100 2593 0 11680 --:--:-- --:--:-- --:--:-- 11680 09:44:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-s7/commit/e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] } 09:44:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:44:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:44:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:44:17 09:44:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:44:17 latest: Pulling from edgex-devops/edgex-snyk-go 09:44:17 43c4264eed91: Already exists 09:44:17 4cc291be95ef: Already exists 09:44:17 2ac1f1163629: Already exists 09:44:17 5c3c966382ef: Already exists 09:44:17 4f4fb700ef54: Already exists 09:44:17 d9c7d2e4e75e: Pulling fs layer 09:44:17 9c3e1370e548: Pulling fs layer 09:44:17 d9c7d2e4e75e: Download complete 09:44:18 d9c7d2e4e75e: Pull complete 09:44:18 9c3e1370e548: Verifying Checksum 09:44:18 9c3e1370e548: Download complete 09:44:21 9c3e1370e548: Pull complete 09:44:21 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 09:44:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 09:44:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:22 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 09:44:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 09:44:24 $ docker top 0b651cab8f83e9dfd416ebec22c9c6a0f218930e9dc6ea30163b10beaadfc869 -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-s7_main [Pipeline] echo 09:44:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-s7:main' [Pipeline] sh 09:44:25 + set -o pipefail 09:44:25 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-s7:main' 09:44:32 09:44:32 Monitoring /w/workspace/edgexfoundry_device-s7_main (github.com/edgexfoundry/device-s7)... 09:44:32 09:44:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9802e2c3-a805-43f9-b47e-5746baaac31c/history/4f280a1f-ec36-47be-877b-2853120095e4 09:44:32 09:44:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:44:32 09:44:32 09:44:32 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 09:44:32 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 09:44:32 $ docker stop --time=1 0b651cab8f83e9dfd416ebec22c9c6a0f218930e9dc6ea30163b10beaadfc869 09:44:37 $ docker rm -f --volumes 0b651cab8f83e9dfd416ebec22c9c6a0f218930e9dc6ea30163b10beaadfc869 [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 09:44:37 + git log --format=format:%s -1 e57816f4afcfc8db9a573db5c83bd892c807d408 [Pipeline] sh 09:44:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:44:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:44:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:38 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 09:44:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:44:39 $ docker top 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 -eo pid,comm 09:44:39 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). 09:44:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:44:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:44:39 [ssh-agent] Looking for ssh-agent implementation... 09:44:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:44:39 $ docker exec 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 ssh-agent 09:44:39 SSH_AUTH_SOCK=/tmp/ssh-xKGxJqt46Ez1/agent.33 09:44:39 SSH_AGENT_PID=39 09:44:39 Running ssh-add (command line suppressed) 09:44:39 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_16484258235645257106.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_16484258235645257106.key) 09:44:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:44:39 + git semver tag 09:44:40 2024-10-04 09:44:39,990 [run_tag] DEBUG tag force:False 09:44:40 2024-10-04 09:44:39,990 [check_head_tag] DEBUG check head tag 09:44:40 2024-10-04 09:44:39,990 [execute] INFO git cat-file --batch-check 09:44:40 2024-10-04 09:44:39,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) 09:44:40 2024-10-04 09:44:39,994 [execute] INFO git cat-file --batch 09:44:40 2024-10-04 09:44:39,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=) 09:44:40 2024-10-04 09:44:39,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 09:44:40 2024-10-04 09:44:39,998 [execute] INFO git tag -a v0.0.1-dev.2 -m v0.0.1-dev.2 09:44:40 2024-10-04 09:44:39,998 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.1-dev.2', '-m', 'v0.0.1-dev.2'], cwd=/w/workspace/edgexfoundry_device-s7_main, universal_newlines=False, shell=None, istream=None) 09:44:40 2024-10-04 09:44:40,001 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 09:44:40 0.0.1-dev.2 [Pipeline] } 09:44:40 $ docker exec --env ******** --env ******** 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 ssh-agent -k 09:44:40 unset SSH_AUTH_SOCK; 09:44:40 unset SSH_AGENT_PID; 09:44:40 echo Agent pid 39 killed; 09:44:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:44:40 + git semver [Pipeline] } 09:44:40 $ docker stop --time=1 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 09:44:42 $ docker rm -f --volumes 8d36e9745118b94663ab33a2ae903d89ce82a79ace7360d91f5e5427b6a849f4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:44:42 09:44:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:44:42 0.23.1-centos7: Pulling from edgex-lftools 09:44:42 ab5ef0e58194: Pulling fs layer 09:44:42 9712f1f96733: Pulling fs layer 09:44:42 63f879dbbcfc: Pulling fs layer 09:44:42 0d9ebad4ef96: Pulling fs layer 09:44:42 e9a5061849ea: Pulling fs layer 09:44:42 d747dcd14b5f: Pulling fs layer 09:44:42 0d9ebad4ef96: Waiting 09:44:42 e9a5061849ea: Waiting 09:44:42 2de7ff778b66: Pulling fs layer 09:44:42 2de7ff778b66: Waiting 09:44:42 9712f1f96733: Verifying Checksum 09:44:42 9712f1f96733: Download complete 09:44:43 63f879dbbcfc: Verifying Checksum 09:44:43 63f879dbbcfc: Download complete 09:44:43 e9a5061849ea: Verifying Checksum 09:44:43 e9a5061849ea: Download complete 09:44:43 d747dcd14b5f: Verifying Checksum 09:44:43 d747dcd14b5f: Download complete 09:44:43 0d9ebad4ef96: Verifying Checksum 09:44:43 0d9ebad4ef96: Download complete 09:44:43 ab5ef0e58194: Download complete 09:44:43 2de7ff778b66: Verifying Checksum 09:44:43 2de7ff778b66: Download complete 09:44:45 ab5ef0e58194: Pull complete 09:44:45 9712f1f96733: Pull complete 09:44:46 63f879dbbcfc: Pull complete 09:44:49 0d9ebad4ef96: Pull complete 09:44:49 e9a5061849ea: Pull complete 09:44:49 d747dcd14b5f: Pull complete 09:44:50 2de7ff778b66: Pull complete 09:44:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:44:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:44:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:51 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 09:44:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:44:57 $ docker top 4cb9d562fe4e802c544189fbd3eb4c2bd1be5dc08b896d269a4bdd5760f46479 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:44:57 provisioning config files... 09:44:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config17865780713251763352tmp 09:44:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config10277624459935322265tmp 09:44:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config1990630331008548548tmp [Pipeline] { [Pipeline] echo 09:44:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:44:57 ---> sigul-configuration.sh 09:44:57 gpg: directory `/root/.gnupg' created 09:44:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:44:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:44:57 gpg: keyring `/root/.gnupg/secring.gpg' created 09:44:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:44:57 gpg: CAST5 encrypted data 09:44:57 gpg: encrypted with 1 passphrase 09:44:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:44:58 + mkdir /home/jenkins 09:44:58 + mkdir /home/jenkins/sigul [Pipeline] sh 09:44:58 + 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 09:44:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:44:58 ---> sigul-install.sh 09:44:58 Sigul already installed; skipping installation. [Pipeline] sh 09:44:58 + git tag --list 09:44:58 v0.0.0 09:44:58 v0.0.1-dev.1 09:44:58 v0.0.1-dev.2 [Pipeline] sh 09:44:59 + lftools sign git-tag v0.0.1-dev.2 09:44:59 Signing Git tag with Sigul... 09:44:59 Signing v0.0.1-dev.2 [Pipeline] echo 09:45:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:45:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:45:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:45:00 $ docker stop --time=1 4cb9d562fe4e802c544189fbd3eb4c2bd1be5dc08b896d269a4bdd5760f46479 09:45:02 $ docker rm -f --volumes 4cb9d562fe4e802c544189fbd3eb4c2bd1be5dc08b896d269a4bdd5760f46479 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:45:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:45:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:45:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:02 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 09:45:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:45:03 $ docker top 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 -eo pid,comm 09:45:03 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). 09:45:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:45:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:45:03 [ssh-agent] Looking for ssh-agent implementation... 09:45:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:45:03 $ docker exec 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 ssh-agent 09:45:03 SSH_AUTH_SOCK=/tmp/ssh-rNTKzLLyEkI1/agent.32 09:45:03 SSH_AGENT_PID=38 09:45:03 Running ssh-add (command line suppressed) 09:45:03 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17756710736511098652.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_17756710736511098652.key) 09:45:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:45:03 + git semver bump pre 09:45:04 2024-10-04 09:45:04,109 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 09:45:04 2024-10-04 09:45:04,109 [bump_version] DEBUG bumping version:0.0.1-dev.2 on axis:pre with prefix:dev 09:45:04 2024-10-04 09:45:04,109 [bump_version] DEBUG bumped version:0.0.1-dev.3 09:45:04 2024-10-04 09:45:04,110 [write_version] DEBUG write version:0.0.1-dev.3 to path:/w/workspace/edgexfoundry_device-s7_main/.semver/main with force:True 09:45:04 2024-10-04 09:45:04,110 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 09:45:04 2024-10-04 09:45:04,110 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-s7_main/.semver/main 09:45:04 2024-10-04 09:45:04,113 [execute] INFO git cat-file --batch-check 09:45:04 2024-10-04 09:45:04,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) 09:45:04 2024-10-04 09:45:04,119 [execute] INFO git cat-file --batch 09:45:04 2024-10-04 09:45:04,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) 09:45:04 2024-10-04 09:45:04,123 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 09:45:04 0.0.1-dev.3 [Pipeline] } 09:45:04 $ docker exec --env ******** --env ******** 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 ssh-agent -k 09:45:04 unset SSH_AUTH_SOCK; 09:45:04 unset SSH_AGENT_PID; 09:45:04 echo Agent pid 38 killed; 09:45:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:45:04 + git semver [Pipeline] } 09:45:04 $ docker stop --time=1 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 09:45:06 $ docker rm -f --volumes 01539af036d41880b7af1476130ddbbb2069032ed738d4eabc2d066458d8b525 [Pipeline] // withDockerContainer [Pipeline] sh 09:45:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:45:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:45:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:07 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 09:45:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:45:07 $ docker top 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 -eo pid,comm 09:45:07 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). 09:45:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:45:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:45:07 [ssh-agent] Looking for ssh-agent implementation... 09:45:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:45:08 $ docker exec 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 ssh-agent 09:45:08 SSH_AUTH_SOCK=/tmp/ssh-xJZom5rdSWnd/agent.32 09:45:08 SSH_AGENT_PID=38 09:45:08 Running ssh-add (command line suppressed) 09:45:08 Identity added: /w/workspace/edgexfoundry_device-s7_main@tmp/private_key_4543939170236488656.key (/w/workspace/edgexfoundry_device-s7_main@tmp/private_key_4543939170236488656.key) 09:45:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:45:08 + git semver push 09:45:08 2024-10-04 09:45:08,770 [run_push] DEBUG push 09:45:08 2024-10-04 09:45:08,771 [execute] INFO git cat-file --batch-check 09:45:08 2024-10-04 09:45:08,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=) 09:45:08 2024-10-04 09:45:08,775 [execute] INFO git rev-list 10e6ca7e2f350defc3fbda7d4f985414a90dee6a -- 09:45:08 2024-10-04 09:45:08,775 [execute] DEBUG Popen(['git', 'rev-list', '10e6ca7e2f350defc3fbda7d4f985414a90dee6a', '--'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) 09:45:08 2024-10-04 09:45:08,780 [execute] INFO git fetch -v origin 09:45:08 2024-10-04 09:45:08,781 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=True, shell=None, istream=None) 09:45:09 2024-10-04 09:45:09,231 [run_push] DEBUG no remote changes detected 09:45:09 2024-10-04 09:45:09,231 [execute] INFO git push origin semver 09:45:09 2024-10-04 09:45:09,232 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-s7_main/.semver, universal_newlines=False, shell=None, istream=None) 09:45:09 2024-10-04 09:45:09,990 [run_push] DEBUG push all version tags 09:45:09 2024-10-04 09:45:09,990 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:45:10 2024-10-04 09:45:09,991 [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) 09:45:10 2024-10-04 09:45:10,593 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-s7_main/.semver/main 09:45:10 0.0.1-dev.3 [Pipeline] } 09:45:10 $ docker exec --env ******** --env ******** 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 ssh-agent -k 09:45:11 unset SSH_AUTH_SOCK; 09:45:11 unset SSH_AGENT_PID; 09:45:11 echo Agent pid 38 killed; 09:45:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:45:11 + git semver [Pipeline] } 09:45:11 $ docker stop --time=1 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 09:45:13 $ docker rm -f --volumes 166fbfd88d50f66dc032aaef8f8038872faeb280e0f271a1753a68ebf0966bb2 [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 09:45:13 + [ -d /w/workspace/edgexfoundry_device-s7_main/archives ] 09:45:13 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 09:45:13 total 16 09:45:13 drwxr-xr-x 3 root root 4096 Oct 4 07:50 . 09:45:13 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 09:44 .. 09:45:13 drwxr-xr-x 2 root root 4096 Oct 4 07:50 cost 09:45:13 -rw-r--r-- 1 root root 79 Oct 4 07:50 cost.csv 09:45:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-s7_main/archives 09:45:13 + ls -al /w/workspace/edgexfoundry_device-s7_main/archives 09:45:13 total 16 09:45:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 07:50 . 09:45:13 drwxrwxr-x 9 jenkins jenkins 4096 Oct 4 09:44 .. 09:45:13 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 07:50 cost 09:45:13 -rw-r--r-- 1 jenkins jenkins 79 Oct 4 07:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:45:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:45:15 ---> package-listing.sh 09:45:15 ++ facter osfamily 09:45:15 ++ tr '[:upper:]' '[:lower:]' 09:45:15 + OS_FAMILY=debian 09:45:15 + workspace=/w/workspace/edgexfoundry_device-s7_main 09:45:15 + START_PACKAGES=/tmp/packages_start.txt 09:45:15 + END_PACKAGES=/tmp/packages_end.txt 09:45:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:45:15 + PACKAGES=/tmp/packages_start.txt 09:45:15 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 09:45:15 + PACKAGES=/tmp/packages_end.txt 09:45:15 + case "${OS_FAMILY}" in 09:45:15 + dpkg -l 09:45:15 + grep '^ii' 09:45:15 + '[' -f /tmp/packages_start.txt ']' 09:45:15 + '[' -f /tmp/packages_end.txt ']' 09:45:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:45:15 + '[' /w/workspace/edgexfoundry_device-s7_main ']' 09:45:15 + mkdir -p /w/workspace/edgexfoundry_device-s7_main/archives/ 09:45:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-s7_main/archives/ [Pipeline] echo 09:45:15 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 09:45:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:45:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:45:16 prd-ubuntu20.04-docker-8c-8g-16388 does not seem to be running inside a container 09:45:16 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-s7_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-s7_main -v /w/workspace/edgexfoundry_device-s7_main:/w/workspace/edgexfoundry_device-s7_main:rw,z -v /w/workspace/edgexfoundry_device-s7_main@tmp:/w/workspace/edgexfoundry_device-s7_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:45:16 $ docker top 8d80b76df616ff7f5397fbe007afde6dc8f9ef82e7d27b7cedd5ab10e9aac7e7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:45:16 + touch /tmp/pre-build-complete [Pipeline] sh 09:45:17 + mkdir -p /var/log/sysstat [Pipeline] sh 09:45:17 + ls /var/log/sa-host 09:45:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:45:17 provisioning config files... 09:45:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-s7_main@tmp/config12961905143574563883tmp [Pipeline] { [Pipeline] echo 09:45:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:45:18 ---> create-netrc.sh [Pipeline] } 09:45:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:45:18 ---> python-tools-install.sh [Pipeline] echo 09:45:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:45:18 ---> sudo-logs.sh 09:45:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:45:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:45:18 ---> job-cost.sh 09:45:18 lf-activate-venv: SKIPPING 09:45:18 DEBUG: total: 0.2199999988079071 09:45:18 INFO: Retrieving Stack Cost... 09:45:19 INFO: Retrieving Pricing Info for: v3-standard-8 09:45:19 INFO: Archiving Costs [Pipeline] echo 09:45:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:45:20 ---> logs-deploy.sh 09:45:20 lf-activate-venv: SKIPPING 09:45:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-s7/main/7 09:45:20 INFO: archiving workspace using pattern(s): 09:45:21 Archives upload complete. 09:45:21 INFO: archiving logs to Nexus