Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c03763b95a868410e957b4793cb640e2d9fdc9e9 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-ssh4422770587869025642.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-ssh1938598271764187974.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-onvif-camera/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-onvif-camera/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh481162078092773523.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-ssh12502244281981349283.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-onvif-camera/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-onvif-camera/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13594022955039238614.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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [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-onvif-camera-settings PROJECT: device-onvif-camera 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-onvif-camera 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: true SWAGGER_API_FOLDERS: doc/openapi/v3 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-22524 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/foundry_device-onvif-camera_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c03763b95a868410e957b4793cb640e2d9fdc9e9 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.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 c03763b95a868410e957b4793cb640e2d9fdc9e9 # timeout=10 Commit message: "Merge pull request #464 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" > git rev-list --no-walk ad59c63c89e944388cd0e2a0e9e6d691b0b10b1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:01:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:01:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:01:37 ========================================================= 10:01:37 EdgeX Global Pipelines Version Info 10:01:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:01:38 ------------------- 10:01:38 stable info: 10:01:38 ------------------- 10:01:38 Commited By: Ginny Guan ginny@iotechsys.com 10:01:38 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 10:01:38 Message: update stable to v1.0.265 10:01:39 ------------------- 10:01:39 experimental info: 10:01:39 ------------------- 10:01:39 Commited By: Cherry Wang cherry@iotechsys.com 10:01:39 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 10:01:39 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c03763b95a868410e957b4793cb640e2d9fdc9e9 [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c03763b [Pipeline] echo 10:01:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:40 provisioning config files... 10:01:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2198717719822791574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:40 ---> ****-login.sh 10:01:40 nexus3.edgexfoundry.org:10001 10:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:40 Configure a credential helper to remove this warning. See 10:01:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:40 10:01:40 Login Succeeded 10:01:40 nexus3.edgexfoundry.org:10002 10:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:40 Configure a credential helper to remove this warning. See 10:01:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:40 10:01:40 Login Succeeded 10:01:40 nexus3.edgexfoundry.org:10003 10:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:40 Configure a credential helper to remove this warning. See 10:01:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:40 10:01:40 Login Succeeded 10:01:40 nexus3.edgexfoundry.org:10004 10:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:40 Configure a credential helper to remove this warning. See 10:01:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:40 10:01:40 Login Succeeded 10:01:40 ****.io 10:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:41 Configure a credential helper to remove this warning. See 10:01:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:41 10:01:41 Login Succeeded 10:01:41 ---> ****-login.sh ends [Pipeline] } 10:01:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:01:41 + git rev-list -1 --merges c03763b95a868410e957b4793cb640e2d9fdc9e9~1..c03763b95a868410e957b4793cb640e2d9fdc9e9 [Pipeline] echo 10:01:41 -----------> git rev-list -1 --merges c03763b95a868410e957b4793cb640e2d9fdc9e9~1..c03763b95a868410e957b4793cb640e2d9fdc9e9 c03763b95a868410e957b4793cb640e2d9fdc9e9 10:01:41 c03763b95a868410e957b4793cb640e2d9fdc9e9 [false] [Pipeline] sh 10:01:41 + git log --format=format:%s -1 c03763b95a868410e957b4793cb640e2d9fdc9e9 [Pipeline] echo 10:01:41 ========================================================= 10:01:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:01:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:42 + git log --format=format:%s -1 c03763b95a868410e957b4793cb640e2d9fdc9e9 [Pipeline] echo 10:01:42 [semverPrep] GIT_COMMIT: c03763b95a868410e957b4793cb640e2d9fdc9e9, Commit Message: Merge pull request #464 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45 [Pipeline] echo 10:01:42 [semverPrep] This is not a build commit. [Pipeline] sh 10:01:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:01:42 + grep -v github /etc/ssh/ssh_known_hosts 10:01:42 + [ -e /tmp/ssh_known_hosts ] 10:01:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:01:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:01:42 + sudo tee -a /etc/ssh/ssh_known_hosts 10:01:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:01:43 10:01:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:01:43 0.1.4: Pulling from edgex-devops/py-git-semver 10:01:43 b85a868b505f: Pulling fs layer 10:01:43 e2be974225ed: Pulling fs layer 10:01:43 339a4e72a1f5: Pulling fs layer 10:01:43 988bab9f4d93: Pulling fs layer 10:01:43 1469e6f7b9e6: Pulling fs layer 10:01:43 eaf3925da568: Pulling fs layer 10:01:43 bab4dde63d76: Pulling fs layer 10:01:43 bde34c3a00c8: Pulling fs layer 10:01:43 b352a97aabf1: Pulling fs layer 10:01:43 4872d77fe225: Pulling fs layer 10:01:43 5851b861e8e6: Pulling fs layer 10:01:43 988bab9f4d93: Waiting 10:01:43 1469e6f7b9e6: Waiting 10:01:43 eaf3925da568: Waiting 10:01:43 bab4dde63d76: Waiting 10:01:43 bde34c3a00c8: Waiting 10:01:43 b352a97aabf1: Waiting 10:01:43 4872d77fe225: Waiting 10:01:43 5851b861e8e6: Waiting 10:01:43 e2be974225ed: Verifying Checksum 10:01:43 e2be974225ed: Download complete 10:01:43 988bab9f4d93: Verifying Checksum 10:01:43 988bab9f4d93: Download complete 10:01:43 1469e6f7b9e6: Verifying Checksum 10:01:43 1469e6f7b9e6: Download complete 10:01:43 339a4e72a1f5: Verifying Checksum 10:01:43 339a4e72a1f5: Download complete 10:01:43 eaf3925da568: Download complete 10:01:43 bde34c3a00c8: Verifying Checksum 10:01:43 bde34c3a00c8: Download complete 10:01:43 b352a97aabf1: Download complete 10:01:43 4872d77fe225: Download complete 10:01:43 5851b861e8e6: Download complete 10:01:43 b85a868b505f: Download complete 10:01:43 bab4dde63d76: Download complete 10:01:45 b85a868b505f: Pull complete 10:01:45 e2be974225ed: Pull complete 10:01:45 339a4e72a1f5: Pull complete 10:01:45 988bab9f4d93: Pull complete 10:01:46 1469e6f7b9e6: Pull complete 10:01:46 eaf3925da568: Pull complete 10:01:47 bab4dde63d76: Pull complete 10:01:47 bde34c3a00c8: Pull complete 10:01:48 b352a97aabf1: Pull complete 10:01:48 4872d77fe225: Pull complete 10:01:48 5851b861e8e6: Pull complete 10:01:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:01:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:01:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:48 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:01:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:01:52 $ docker top 58726e0d54e8bb2e94668cbcfbf30371aa0479970dbf22706f59aac7863a4fec -eo pid,comm 10:01:52 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). 10:01:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:01:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:52 [ssh-agent] Looking for ssh-agent implementation... 10:01:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:52 $ docker exec 58726e0d54e8bb2e94668cbcfbf30371aa0479970dbf22706f59aac7863a4fec ssh-agent 10:01:52 SSH_AUTH_SOCK=/tmp/ssh-80b5UmvSZs6C/agent.33 10:01:52 SSH_AGENT_PID=39 10:01:52 Running ssh-add (command line suppressed) 10:01:53 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6623139105872827282.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6623139105872827282.key) 10:01:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:53 + git tag --points-at HEAD [Pipeline] } 10:01:53 $ docker exec --env ******** --env ******** 58726e0d54e8bb2e94668cbcfbf30371aa0479970dbf22706f59aac7863a4fec ssh-agent -k 10:01:53 unset SSH_AUTH_SOCK; 10:01:53 unset SSH_AGENT_PID; 10:01:53 echo Agent pid 39 killed; 10:01:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:01:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:01:53 [ssh-agent] Looking for ssh-agent implementation... 10:01:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:01:53 $ docker exec 58726e0d54e8bb2e94668cbcfbf30371aa0479970dbf22706f59aac7863a4fec ssh-agent 10:01:53 SSH_AUTH_SOCK=/tmp/ssh-28Nf96VVNPBE/agent.72 10:01:53 SSH_AGENT_PID=78 10:01:53 Running ssh-add (command line suppressed) 10:01:54 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5458850749745166450.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_5458850749745166450.key) 10:01:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:01:54 + git semver init 10:01:54 2024-10-11 10:01:54,615 [run_init] DEBUG init version:0.0.0 force:False 10:01:54 2024-10-11 10:01:54,616 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 10:01:54 2024-10-11 10:01:54,616 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 10:01:54 2024-10-11 10:01:54,617 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 10:01:56 2024-10-11 10:01:55,946 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 10:01:56 2024-10-11 10:01:55,947 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 10:01:56 2024-10-11 10:01:55,947 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:01:56 2024-10-11 10:01:55,947 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:01:56 3.2.0-dev.21 [Pipeline] } 10:01:56 $ docker exec --env ******** --env ******** 58726e0d54e8bb2e94668cbcfbf30371aa0479970dbf22706f59aac7863a4fec ssh-agent -k 10:01:56 unset SSH_AUTH_SOCK; 10:01:56 unset SSH_AGENT_PID; 10:01:56 echo Agent pid 78 killed; 10:01:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:01:56 + git semver [Pipeline] } 10:01:56 $ docker stop --time=1 58726e0d54e8bb2e94668cbcfbf30371aa0479970dbf22706f59aac7863a4fec 10:01:58 $ docker rm -f --volumes 58726e0d54e8bb2e94668cbcfbf30371aa0479970dbf22706f59aac7863a4fec [Pipeline] // withDockerContainer [Pipeline] sh 10:01:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:01:58 Stashed 1 file(s) [Pipeline] echo 10:01:58 [edgeXSemver]: initialized semver on version 3.2.0-dev.21 [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 10:01:58 provisioning config files... 10:01:58 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config723467754231042964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:59 ---> ****-login.sh 10:01:59 nexus3.edgexfoundry.org:10001 10:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:59 Configure a credential helper to remove this warning. See 10:01:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:59 10:01:59 Login Succeeded 10:01:59 nexus3.edgexfoundry.org:10002 10:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:59 Configure a credential helper to remove this warning. See 10:01:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:59 10:01:59 Login Succeeded 10:01:59 nexus3.edgexfoundry.org:10003 10:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:59 Configure a credential helper to remove this warning. See 10:01:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:59 10:01:59 Login Succeeded 10:01:59 nexus3.edgexfoundry.org:10004 10:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:59 Configure a credential helper to remove this warning. See 10:01:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:59 10:01:59 Login Succeeded 10:01:59 ****.io 10:01:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:01:59 Configure a credential helper to remove this warning. See 10:01:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:01:59 10:01:59 Login Succeeded 10:01:59 ---> ****-login.sh ends [Pipeline] } 10:01:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:01:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:01:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:01:59 ========================================================= 10:01:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 10:01:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:02:00 + 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 . 10:02:00 Sending build context to Docker daemon 36.73MB 10:02:00 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 10:02:00 Step 2/13 : FROM ${BASE} AS builder 10:02:00 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 10:02:00 43c4264eed91: Pulling fs layer 10:02:00 4cc291be95ef: Pulling fs layer 10:02:00 2ac1f1163629: Pulling fs layer 10:02:00 5c3c966382ef: Pulling fs layer 10:02:00 4f4fb700ef54: Pulling fs layer 10:02:00 5d5c8e513c77: Pulling fs layer 10:02:00 9f66e0745190: Pulling fs layer 10:02:00 f49a43e4bbc0: Pulling fs layer 10:02:00 561ebcabdf7f: Pulling fs layer 10:02:00 5c3c966382ef: Waiting 10:02:00 4f4fb700ef54: Waiting 10:02:00 5d5c8e513c77: Waiting 10:02:00 9f66e0745190: Waiting 10:02:00 561ebcabdf7f: Waiting 10:02:00 4cc291be95ef: Verifying Checksum 10:02:00 4cc291be95ef: Download complete 10:02:00 5c3c966382ef: Verifying Checksum 10:02:00 5c3c966382ef: Download complete 10:02:00 4f4fb700ef54: Verifying Checksum 10:02:00 4f4fb700ef54: Download complete 10:02:00 5d5c8e513c77: Verifying Checksum 10:02:00 5d5c8e513c77: Download complete 10:02:00 43c4264eed91: Verifying Checksum 10:02:00 43c4264eed91: Download complete 10:02:00 9f66e0745190: Verifying Checksum 10:02:00 9f66e0745190: Download complete 10:02:00 43c4264eed91: Pull complete 10:02:00 561ebcabdf7f: Verifying Checksum 10:02:00 561ebcabdf7f: Download complete 10:02:00 4cc291be95ef: Pull complete 10:02:00 2ac1f1163629: Verifying Checksum 10:02:00 2ac1f1163629: Download complete 10:02:01 f49a43e4bbc0: Verifying Checksum 10:02:01 f49a43e4bbc0: Download complete 10:02:05 2ac1f1163629: Pull complete 10:02:05 5c3c966382ef: Pull complete 10:02:05 4f4fb700ef54: Pull complete 10:02:05 5d5c8e513c77: Pull complete 10:02:05 9f66e0745190: Pull complete 10:02:07 f49a43e4bbc0: Pull complete 10:02:07 561ebcabdf7f: Pull complete 10:02:07 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 10:02:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 10:02:07 ---> 3a752c3f9dda 10:02:07 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:02:13 ---> Running in e502dd1e22ae 10:02:13 Removing intermediate container e502dd1e22ae 10:02:13 ---> 0ef65a3f6b2e 10:02:13 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:02:13 ---> Running in eb4b458edb30 10:02:13 Removing intermediate container eb4b458edb30 10:02:13 ---> 0711751eadd6 10:02:13 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:02:13 ---> Running in fc479bbcc89f 10:02:13 Removing intermediate container fc479bbcc89f 10:02:13 ---> a875e17a40a1 10:02:13 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:02:13 ---> Running in d8475610e4c9 10:02:13 Removing intermediate container d8475610e4c9 10:02:13 ---> b31354188187 10:02:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:02:13 ---> Running in fbc5eb6f527b 10:02:13 Removing intermediate container fbc5eb6f527b 10:02:13 ---> 372d64864911 10:02:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:02:13 ---> Running in d0fea68de832 10:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:02:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:02:13 Still waiting to schedule task 10:02:13 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22523’ 10:02:14 OK: 246 MiB in 54 packages 10:02:14 Removing intermediate container d0fea68de832 10:02:14 ---> c15bf7f434a6 10:02:14 Step 9/13 : WORKDIR /device-onvif-camera 10:02:14 ---> Running in 8adfce587ec3 10:02:14 Removing intermediate container 8adfce587ec3 10:02:14 ---> fde4a911827f 10:02:14 Step 10/13 : COPY go.mod vendor* ./ 10:02:14 ---> 044d8765ca55 10:02:14 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:02:14 ---> Running in ba2a34887369 10:03:11 Removing intermediate container ba2a34887369 10:03:11 ---> 228bf023bd6c 10:03:11 Step 12/13 : COPY . . 10:03:12 ---> 888fac6bd30a 10:03:12 Step 13/13 : RUN ${MAKE} 10:03:12 ---> Running in 198cf23eaa75 10:03:12 noop 10:03:13 Removing intermediate container 198cf23eaa75 10:03:13 ---> cd4b479285d1 10:03:13 Successfully built cd4b479285d1 10:03:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:13 + docker inspect -f . ci-base-image-x86_64 10:03:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:13 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:03:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:03:14 $ docker top fde3f970f4c9340357ea6a5a6b644cdeb4af4a42d243187852211f139b90e9ab -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:14 + go version 10:03:14 go version go1.23.2 linux/amd64 [Pipeline] } 10:03:15 $ docker stop --time=1 fde3f970f4c9340357ea6a5a6b644cdeb4af4a42d243187852211f139b90e9ab 10:03:16 $ docker rm -f --volumes fde3f970f4c9340357ea6a5a6b644cdeb4af4a42d243187852211f139b90e9ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:17 + docker inspect -f . ci-base-image-x86_64 10:03:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:17 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:03:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:03:17 $ docker top 4e67128387e5c55fe953d553bf253823ca3b127ebcff2525755ec6f2a0c7c2f2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:18 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 10:03:18 + make test 10:03:18 go test ./... -coverprofile=coverage.out ./... 10:03:20 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:03:38 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 10:03:38 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 10:03:40 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 31.4% of statements 10:03:40 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.378s coverage: 86.5% of statements 10:03:53 go vet ./... 10:03:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:03:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:03:58 ./bin/test-attribution-txt.sh [Pipeline] echo 10:03:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:03:58 $ docker stop --time=1 4e67128387e5c55fe953d553bf253823ca3b127ebcff2525755ec6f2a0c7c2f2 10:04:05 $ docker rm -f --volumes 4e67128387e5c55fe953d553bf253823ca3b127ebcff2525755ec6f2a0c7c2f2 [Pipeline] // withDockerContainer [Pipeline] sh 10:04:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:04:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:04:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:04:07 + ls -al . 10:04:07 total 328 10:04:07 drwxrwxr-x 9 jenkins jenkins 4096 Oct 11 10:03 . 10:04:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:01 .. 10:04:07 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 10:03 .git 10:04:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:01 .github 10:04:07 -rw-rw-r-- 1 jenkins jenkins 493 Oct 11 10:01 .gitignore 10:04:07 -rw-rw-r-- 1 jenkins jenkins 199 Oct 11 10:01 .golangci.yml 10:04:07 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 10:01 .semver 10:04:07 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 11 10:01 Attribution.txt 10:04:07 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 11 10:01 CHANGELOG.md 10:04:07 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 11 10:01 Dockerfile 10:04:07 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 10:01 GOVERNANCE.md 10:04:07 -rw-rw-r-- 1 jenkins jenkins 739 Oct 11 10:01 Jenkinsfile 10:04:07 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 10:01 LICENSE 10:04:07 -rw-rw-r-- 1 jenkins jenkins 2883 Oct 11 10:01 Makefile 10:04:07 -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 10:01 OWNERS.md 10:04:07 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 11 10:01 README.md 10:04:07 -rw-rw-r-- 1 jenkins jenkins 12 Oct 11 10:01 VERSION 10:04:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:01 bin 10:04:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:01 cmd 10:04:07 -rw-r--r-- 1 jenkins jenkins 92292 Oct 11 10:03 coverage.out 10:04:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:01 doc 10:04:07 -rw-rw-r-- 1 jenkins jenkins 7303 Oct 11 10:01 go.mod 10:04:07 -rw-rw-r-- 1 jenkins jenkins 100916 Oct 11 10:01 go.sum 10:04:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:01 internal 10:04:07 -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 10:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:07 + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c03763b95a868410e957b4793cb640e2d9fdc9e9 --label arch=amd64 --label version=3.2.0-dev.21 . 10:04:07 Sending build context to Docker daemon 36.82MB 10:04:07 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 10:04:07 Step 2/27 : FROM ${BASE} AS builder 10:04:07 ---> cd4b479285d1 10:04:07 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:04:08 ---> Running in dddfb6a8e56c 10:04:08 Removing intermediate container dddfb6a8e56c 10:04:08 ---> 9f0386fce675 10:04:08 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:04:09 ---> Running in 144d316261d1 10:04:09 Removing intermediate container 144d316261d1 10:04:09 ---> 9f3f94b9402c 10:04:09 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 10:04:09 ---> Running in 17459a187f34 10:04:09 Removing intermediate container 17459a187f34 10:04:09 ---> d811cc5a31a8 10:04:09 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:04:09 ---> Running in 313dad2979d9 10:04:10 Removing intermediate container 313dad2979d9 10:04:10 ---> b03d2a46be48 10:04:10 Step 7/27 : LABEL Name=edgex-device-onvif-camera 10:04:10 ---> Running in efbc40881924 10:04:10 Removing intermediate container efbc40881924 10:04:10 ---> 1423238b24bf 10:04:10 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:04:10 ---> Running in 42f1870a2906 10:04:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:04:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:04:11 OK: 246 MiB in 54 packages 10:04:11 Removing intermediate container 42f1870a2906 10:04:11 ---> e17e9f5184ea 10:04:11 Step 9/27 : WORKDIR /device-onvif-camera 10:04:11 ---> Running in 03d00f8e2f23 10:04:11 Removing intermediate container 03d00f8e2f23 10:04:11 ---> 99c856cd3e6d 10:04:11 Step 10/27 : COPY go.mod vendor* ./ 10:04:12 ---> acec6bcbe3f8 10:04:12 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:04:12 ---> Running in 8c7f89b5b0b7 10:04:14 Removing intermediate container 8c7f89b5b0b7 10:04:14 ---> 7189e64dde9e 10:04:14 Step 12/27 : COPY . . 10:04:19 ---> 63aa75d9cb18 10:04:19 Step 13/27 : RUN ${MAKE} 10:04:19 ---> Running in 967263afe781 10:04:19 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 10:04:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22528 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 10:04:52 Running in /w/workspace/device-onvif-camera/207 [Pipeline] { [Pipeline] checkout 10:04:52 The recommended git tool is: git 10:04:58 Removing intermediate container 967263afe781 10:04:58 ---> 96f201d60e2b 10:04:58 Step 14/27 : FROM alpine:3.20 10:04:58 3.20: Pulling from library/alpine 10:04:58 43c4264eed91: Already exists 10:04:58 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:04:58 Status: Downloaded newer image for alpine:3.20 10:04:58 ---> 91ef0af61f39 10:04:58 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 10:04:59 ---> Running in f6384d8af45c 10:04:59 Removing intermediate container f6384d8af45c 10:04:59 ---> bff0a56caa33 10:04:59 Step 16/27 : RUN apk add --update --no-cache dumb-init 10:04:59 ---> Running in 11e1f0a708fd 10:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:00 (1/1) Installing dumb-init (1.2.5-r3) 10:05:00 Executing busybox-1.36.1-r29.trigger 10:05:00 OK: 8 MiB in 15 packages 10:05:01 Removing intermediate container 11e1f0a708fd 10:05:01 ---> dc878d038c6a 10:05:01 Step 17/27 : RUN apk --no-cache upgrade 10:05:01 ---> Running in 68f1d8386a74 10:05:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:02 Upgrading critical system libraries and apk-tools: 10:05:02 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:05:02 Executing busybox-1.36.1-r29.trigger 10:05:02 Continuing the upgrade transaction with new apk-tools: 10:05:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 10:05:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 10:05:02 using credential edgex-jenkins-ssh 10:05:02 Cloning the remote Git repository 10:05:02 OK: 8 MiB in 15 packages 10:05:03 Removing intermediate container 68f1d8386a74 10:05:03 ---> 1619f9d4e98a 10:05:03 Step 18/27 : WORKDIR / 10:05:03 ---> Running in c04026a3cad1 10:05:03 Removing intermediate container c04026a3cad1 10:05:03 ---> 8ea016e70db4 10:05:03 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 10:05:02 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 10:05:03 > git init /w/workspace/device-onvif-camera/207 # timeout=10 10:05:03 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 10:05:03 > git --version # timeout=10 10:05:03 > git --version # 'git version 2.25.1' 10:05:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:05:04 ---> bba8c6c1a903 10:05:04 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:05:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:05 ---> b2fe9509f988 10:05:05 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:05:06 ---> 365fe4ba9433 10:05:06 Step 22/27 : EXPOSE 59984 10:05:06 ---> Running in 7167974c7661 10:05:06 Removing intermediate container 7167974c7661 10:05:06 ---> f9ccb5c0f338 10:05:06 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:05:06 ---> Running in a65480e11eb2 10:05:06 Removing intermediate container a65480e11eb2 10:05:06 ---> 853e87dbcee0 10:05:06 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:05:06 ---> Running in f0a96f7bd367 10:05:06 Removing intermediate container f0a96f7bd367 10:05:06 ---> ba2d018b1120 10:05:06 Step 25/27 : LABEL arch=amd64 10:05:06 ---> Running in 00bba168c63b 10:05:06 Removing intermediate container 00bba168c63b 10:05:06 ---> bc62b67f1361 10:05:06 Step 26/27 : LABEL git_sha=c03763b95a868410e957b4793cb640e2d9fdc9e9 10:05:06 ---> Running in fca7fbcd31c7 10:05:06 Removing intermediate container fca7fbcd31c7 10:05:06 ---> 1b3a938cc78f 10:05:06 Step 27/27 : LABEL version=3.2.0-dev.21 10:05:06 ---> Running in 39406351d3a3 10:05:06 Removing intermediate container 39406351d3a3 10:05:06 ---> 76af13adfdd2 10:05:06 [Warning] One or more build-args [ARCH] were not consumed 10:05:06 Successfully built 76af13adfdd2 10:05:06 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:06 provisioning config files... 10:05:06 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config958195729606185538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:07 ---> ****-login.sh 10:05:07 nexus3.edgexfoundry.org:10001 10:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:07 Configure a credential helper to remove this warning. See 10:05:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:07 10:05:07 Login Succeeded 10:05:07 nexus3.edgexfoundry.org:10002 10:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:07 Configure a credential helper to remove this warning. See 10:05:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:07 10:05:07 Login Succeeded 10:05:07 nexus3.edgexfoundry.org:10003 10:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:07 Configure a credential helper to remove this warning. See 10:05:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:07 10:05:07 Login Succeeded 10:05:07 nexus3.edgexfoundry.org:10004 10:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:07 Configure a credential helper to remove this warning. See 10:05:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:07 10:05:07 Login Succeeded 10:05:07 ****.io 10:05:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:07 Configure a credential helper to remove this warning. See 10:05:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:07 10:05:07 Login Succeeded 10:05:07 ---> ****-login.sh ends [Pipeline] } 10:05:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:05:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:05:07 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 10:05:07 c03763b95a868410e957b4793cb640e2d9fdc9e9 10:05:07 latest 10:05:07 3.2.0-dev.21 10:05:07 c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21 10:05:07 main 10:05:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:08 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c03763b95a868410e957b4793cb640e2d9fdc9e9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:06 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 10:05:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:05:08 Avoid second fetch 10:05:08 Checking out Revision c03763b95a868410e957b4793cb640e2d9fdc9e9 (main) 10:05:08 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c03763b95a868410e957b4793cb640e2d9fdc9e9 10:05:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:05:08 b10f600496a0: Preparing 10:05:08 c01e4ad13ab1: Preparing 10:05:08 3087e87e3b77: Preparing 10:05:08 3c2a0b478a43: Preparing 10:05:08 c00f8a9f1430: Preparing 10:05:08 63ca1fbb43ae: Preparing 10:05:08 63ca1fbb43ae: Waiting 10:05:08 c00f8a9f1430: Pushed 10:05:08 3c2a0b478a43: Pushed 10:05:08 b10f600496a0: Pushed 10:05:08 c01e4ad13ab1: Pushed 10:05:08 63ca1fbb43ae: Layer already exists 10:05:09 Commit message: "Merge pull request #464 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.45" 10:05:08 > git config core.sparsecheckout # timeout=10 10:05:08 > git checkout -f c03763b95a868410e957b4793cb640e2d9fdc9e9 # timeout=10 10:05:11 3087e87e3b77: Pushed 10:05:11 c03763b95a868410e957b4793cb640e2d9fdc9e9: digest: sha256:652a3c460432bd4a7315b982b2be559ed33939b632ddaaf4af676227aff2c848 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:11 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 10:05:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:05:12 b10f600496a0: Preparing 10:05:12 c01e4ad13ab1: Preparing 10:05:12 3087e87e3b77: Preparing 10:05:12 3c2a0b478a43: Preparing 10:05:12 c00f8a9f1430: Preparing 10:05:12 63ca1fbb43ae: Preparing 10:05:12 63ca1fbb43ae: Waiting 10:05:12 c01e4ad13ab1: Layer already exists 10:05:12 3c2a0b478a43: Layer already exists 10:05:12 b10f600496a0: Layer already exists 10:05:12 3087e87e3b77: Layer already exists 10:05:12 c00f8a9f1430: Layer already exists 10:05:12 63ca1fbb43ae: Layer already exists 10:05:12 latest: digest: sha256:652a3c460432bd4a7315b982b2be559ed33939b632ddaaf4af676227aff2c848 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:12 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:12 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.21 10:05:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:05:12 b10f600496a0: Preparing 10:05:12 c01e4ad13ab1: Preparing 10:05:12 3087e87e3b77: Preparing 10:05:12 3c2a0b478a43: Preparing 10:05:12 c00f8a9f1430: Preparing 10:05:12 63ca1fbb43ae: Preparing 10:05:12 63ca1fbb43ae: Waiting 10:05:12 c00f8a9f1430: Layer already exists 10:05:12 3087e87e3b77: Layer already exists 10:05:12 3c2a0b478a43: Layer already exists 10:05:12 c01e4ad13ab1: Layer already exists 10:05:12 b10f600496a0: Layer already exists 10:05:12 63ca1fbb43ae: Layer already exists 10:05:12 3.2.0-dev.21: digest: sha256:652a3c460432bd4a7315b982b2be559ed33939b632ddaaf4af676227aff2c848 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:13 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:13 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21 10:05:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:05:13 b10f600496a0: Preparing 10:05:13 c01e4ad13ab1: Preparing 10:05:13 3087e87e3b77: Preparing 10:05:13 3c2a0b478a43: Preparing 10:05:13 c00f8a9f1430: Preparing 10:05:13 63ca1fbb43ae: Preparing 10:05:13 63ca1fbb43ae: Waiting 10:05:13 3c2a0b478a43: Layer already exists 10:05:13 3087e87e3b77: Layer already exists 10:05:13 c00f8a9f1430: Layer already exists 10:05:13 b10f600496a0: Layer already exists 10:05:13 c01e4ad13ab1: Layer already exists 10:05:13 63ca1fbb43ae: Layer already exists 10:05:13 c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21: digest: sha256:652a3c460432bd4a7315b982b2be559ed33939b632ddaaf4af676227aff2c848 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:05:14 % Total % Received % Xferd Average Speed Time Time Time Current 10:05:14 Dload Upload Total Spent Left Speed 10:05:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 66466 0 --:--:-- --:--:-- --:--:-- 66812 10:05:14 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh 10:05:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:05:14 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 10:05:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 10:05:14 b10f600496a0: Preparing 10:05:14 c01e4ad13ab1: Preparing 10:05:14 3087e87e3b77: Preparing 10:05:14 3c2a0b478a43: Preparing 10:05:14 c00f8a9f1430: Preparing 10:05:14 63ca1fbb43ae: Preparing 10:05:14 63ca1fbb43ae: Waiting 10:05:14 b10f600496a0: Layer already exists 10:05:14 c01e4ad13ab1: Layer already exists 10:05:14 3c2a0b478a43: Layer already exists 10:05:14 3087e87e3b77: Layer already exists 10:05:14 c00f8a9f1430: Layer already exists 10:05:14 63ca1fbb43ae: Layer already exists 10:05:14 main: digest: sha256:652a3c460432bd4a7315b982b2be559ed33939b632ddaaf4af676227aff2c848 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:05:14 ===================================================== [Pipeline] echo 10:05:14 taggedImages: 10:05:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c03763b95a868410e957b4793cb640e2d9fdc9e9 10:05:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 10:05:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.2.0-dev.21 10:05:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera:c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21 10:05:14 - nexus3.edgexfoundry.org:10004/device-onvif-camera: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 10:05:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:05:14 + sudo tee /etc/docker/daemon.new 10:05:14 { 10:05:14 "registry-mirrors": [ 10:05:14 "https://nexus3.edgexfoundry.org:10001" 10:05:14 ], 10:05:14 "bip": "10.250.0.254/24", 10:05:14 "hosts": [ 10:05:14 "tcp://0.0.0.0:5555", 10:05:14 "unix:///var/run/docker.sock" 10:05:14 ], 10:05:14 "mtu": 1458, 10:05:14 "selinux-enabled": true, 10:05:14 "seccomp-profile": "/etc/docker/seccomp.json" 10:05:14 } [Pipeline] sh 10:05:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:15 10:05:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:05:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:15 latest: Pulling from edgex-lftools-log-publisher 10:05:15 5eb5b503b376: Pulling fs layer 10:05:15 5c69ac0246d0: Pulling fs layer 10:05:15 ec43610c2a17: Pulling fs layer 10:05:15 3a2ae6a8a46f: Pulling fs layer 10:05:15 33b1e0a273af: Pulling fs layer 10:05:15 5d3b04190fa2: Pulling fs layer 10:05:15 2f39f015ded8: Pulling fs layer 10:05:15 33b1e0a273af: Waiting 10:05:15 3a2ae6a8a46f: Waiting 10:05:15 5d3b04190fa2: Waiting 10:05:15 2f39f015ded8: Waiting 10:05:15 5c69ac0246d0: Verifying Checksum 10:05:15 5c69ac0246d0: Download complete 10:05:15 3a2ae6a8a46f: Verifying Checksum 10:05:15 3a2ae6a8a46f: Download complete 10:05:15 33b1e0a273af: Verifying Checksum 10:05:15 33b1e0a273af: Download complete 10:05:15 ec43610c2a17: Verifying Checksum 10:05:15 ec43610c2a17: Download complete 10:05:15 5d3b04190fa2: Verifying Checksum 10:05:15 5d3b04190fa2: Download complete 10:05:15 5eb5b503b376: Verifying Checksum 10:05:15 5eb5b503b376: Download complete 10:05:15 + sudo service docker restart 10:05:16 2f39f015ded8: Download complete 10:05:16 5eb5b503b376: Pull complete 10:05:16 5c69ac0246d0: Pull complete 10:05:17 ec43610c2a17: Pull complete 10:05:17 3a2ae6a8a46f: Pull complete 10:05:17 33b1e0a273af: Pull complete 10:05:17 5d3b04190fa2: Pull complete 10:05:21 2f39f015ded8: Pull complete 10:05:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:05:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:21 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:05:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:05:27 $ docker top cf2a05e6b38ca98a3264bbfd483145bdf9fb4e41041aee35044ec3631c98bff5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:27 ---> job-cost.sh 10:05:27 lf-activate-venv: SKIPPING 10:05:27 INFO: No Stack... 10:05:32 INFO: Retrieving Pricing Info for: v3-standard-8 10:05:32 INFO: Archiving Costs [Pipeline] sh 10:05:32 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 10:05:32 + cut -d, -f6 [Pipeline] lock 10:05:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-207-stack-cost] 10:05:32 Resource [jenkins-edgexfoundry-device-onvif-camera-main-207-stack-cost] did not exist. Created. 10:05:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-207-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:05:33 + echo total: 0.2199999988079071 [Pipeline] stash 10:05:33 Stashed 1 file(s) [Pipeline] } 10:05:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-207-stack-cost] [Pipeline] // lock [Pipeline] } 10:05:33 $ docker stop --time=1 cf2a05e6b38ca98a3264bbfd483145bdf9fb4e41041aee35044ec3631c98bff5 10:05:35 $ docker rm -f --volumes cf2a05e6b38ca98a3264bbfd483145bdf9fb4e41041aee35044ec3631c98bff5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 10:05:35 provisioning config files... [Pipeline] } [Pipeline] // withEnv 10:05:35 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/207@tmp/config8249028654460824293tmp [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:05:35 ---> ****-login.sh 10:05:35 nexus3.edgexfoundry.org:10001 10:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:36 Configure a credential helper to remove this warning. See 10:05:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:36 10:05:36 Login Succeeded 10:05:36 nexus3.edgexfoundry.org:10002 10:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:36 Configure a credential helper to remove this warning. See 10:05:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:36 10:05:36 Login Succeeded 10:05:36 nexus3.edgexfoundry.org:10003 10:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:37 Configure a credential helper to remove this warning. See 10:05:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:37 10:05:37 Login Succeeded 10:05:37 nexus3.edgexfoundry.org:10004 10:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:37 Configure a credential helper to remove this warning. See 10:05:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:37 10:05:37 Login Succeeded 10:05:37 ****.io 10:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:05:38 Configure a credential helper to remove this warning. See 10:05:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:05:38 10:05:38 Login Succeeded 10:05:38 ---> ****-login.sh ends [Pipeline] } 10:05:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:05:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:05:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:05:38 ========================================================= 10:05:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 10:05:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:39 + 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 . 10:05:39 Sending build context to Docker daemon 21.78MB 10:05:39 Step 1/13 : ARG BASE=golang:1.23-alpine3.20 10:05:39 Step 2/13 : FROM ${BASE} AS builder 10:05:40 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:05:40 cf04c63912e1: Pulling fs layer 10:05:40 55b35a11ae5e: Pulling fs layer 10:05:40 a37a00ec5f00: Pulling fs layer 10:05:40 50b3750afda1: Pulling fs layer 10:05:40 4f4fb700ef54: Pulling fs layer 10:05:40 80978eb59214: Pulling fs layer 10:05:40 c9f46d7d2bd2: Pulling fs layer 10:05:40 c5a475d317c9: Pulling fs layer 10:05:40 4f4fb700ef54: Waiting 10:05:40 80978eb59214: Waiting 10:05:40 c9f46d7d2bd2: Waiting 10:05:40 c5a475d317c9: Waiting 10:05:40 50b3750afda1: Waiting 10:05:40 55b35a11ae5e: Verifying Checksum 10:05:40 55b35a11ae5e: Download complete 10:05:40 50b3750afda1: Verifying Checksum 10:05:40 50b3750afda1: Download complete 10:05:40 4f4fb700ef54: Verifying Checksum 10:05:40 4f4fb700ef54: Download complete 10:05:40 80978eb59214: Download complete 10:05:40 cf04c63912e1: Verifying Checksum 10:05:40 cf04c63912e1: Download complete 10:05:40 c5a475d317c9: Verifying Checksum 10:05:40 c5a475d317c9: Download complete 10:05:41 cf04c63912e1: Pull complete 10:05:42 55b35a11ae5e: Pull complete 10:05:42 a37a00ec5f00: Verifying Checksum 10:05:42 a37a00ec5f00: Download complete 10:05:43 c9f46d7d2bd2: Verifying Checksum 10:05:43 c9f46d7d2bd2: Download complete 10:05:58 a37a00ec5f00: Pull complete 10:05:58 50b3750afda1: Pull complete 10:05:58 4f4fb700ef54: Pull complete 10:05:58 80978eb59214: Pull complete 10:06:06 c9f46d7d2bd2: Pull complete 10:06:10 c5a475d317c9: Pull complete 10:06:10 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 10:06:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 10:06:10 ---> be29e6b0f0d4 10:06:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:06:11 ---> Running in e942f06641c0 10:06:11 Removing intermediate container e942f06641c0 10:06:11 ---> 5d7cf4b590b5 10:06:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:06:12 ---> Running in 4f65f0105046 10:06:12 Removing intermediate container 4f65f0105046 10:06:12 ---> a455ebfa8a9b 10:06:12 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 10:06:12 ---> Running in 7dc0153ae378 10:06:12 Removing intermediate container 7dc0153ae378 10:06:12 ---> 5972aa9d9b7f 10:06:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:06:12 ---> Running in 1a8531f4d46e 10:06:13 Removing intermediate container 1a8531f4d46e 10:06:13 ---> 6236dba2bb16 10:06:13 Step 7/13 : LABEL Name=edgex-device-onvif-camera 10:06:13 ---> Running in 8f05779d739a 10:06:13 Removing intermediate container 8f05779d739a 10:06:13 ---> 01de3c1078d3 10:06:13 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:06:13 ---> Running in 85310f57b05b 10:06:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:06:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:06:16 OK: 238 MiB in 54 packages 10:06:18 Removing intermediate container 85310f57b05b 10:06:18 ---> 6c6f4e40cf23 10:06:18 Step 9/13 : WORKDIR /device-onvif-camera 10:06:18 ---> Running in f6250fe59abe 10:06:18 Removing intermediate container f6250fe59abe 10:06:18 ---> 21c95aaea138 10:06:18 Step 10/13 : COPY go.mod vendor* ./ 10:06:19 ---> d4d1d96d41e6 10:06:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:06:19 ---> Running in a10a17599b8a 10:08:25 Removing intermediate container a10a17599b8a 10:08:25 ---> a20e794028c1 10:08:25 Step 12/13 : COPY . . 10:08:25 ---> 6ab2a0c9e9ec 10:08:25 Step 13/13 : RUN ${MAKE} 10:08:25 ---> Running in 140a1f856708 10:08:25 noop 10:08:25 Removing intermediate container 140a1f856708 10:08:25 ---> 974afc67228f 10:08:25 Successfully built 974afc67228f 10:08:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:26 + docker inspect -f . ci-base-image-arm64 10:08:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:26 prd-ubuntu20.04-docker-arm64-4c-16g-22528 does not seem to be running inside a container 10:08:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/207 -v /w/workspace/device-onvif-camera/207:/w/workspace/device-onvif-camera/207:rw,z -v /w/workspace/device-onvif-camera/207@tmp:/w/workspace/device-onvif-camera/207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:08:27 $ docker top 62f2fd781b8f8f377a71fd604a327c0bff2a8cd0aafa98f81b7ec385f1cf64c2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:28 + go version 10:08:28 go version go1.23.2 linux/arm64 [Pipeline] } 10:08:28 $ docker stop --time=1 62f2fd781b8f8f377a71fd604a327c0bff2a8cd0aafa98f81b7ec385f1cf64c2 10:08:30 $ docker rm -f --volumes 62f2fd781b8f8f377a71fd604a327c0bff2a8cd0aafa98f81b7ec385f1cf64c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:31 + docker inspect -f . ci-base-image-arm64 10:08:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:08:31 prd-ubuntu20.04-docker-arm64-4c-16g-22528 does not seem to be running inside a container 10:08:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/207 -v /w/workspace/device-onvif-camera/207:/w/workspace/device-onvif-camera/207:rw,z -v /w/workspace/device-onvif-camera/207@tmp:/w/workspace/device-onvif-camera/207@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:08:33 $ docker top 3673611d6c6e71d63f4f615214cae9b39c90600d55b64965b9e7b8fa2980085a -eo pid,comm [Pipeline] { [Pipeline] sh 10:08:33 + git config --global --add safe.directory /w/workspace/device-onvif-camera/207 [Pipeline] fileExists [Pipeline] sh 10:08:34 + make test 10:08:34 go test ./... -coverprofile=coverage.out ./... 10:08:41 ? github.com/edgexfoundry/device-onvif-camera [no test files] 10:13:03 github.com/edgexfoundry/device-onvif-camera/cmd coverage: 0.0% of statements 10:13:03 github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks coverage: 0.0% of statements 10:13:03 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.191s coverage: 31.4% of statements 10:13:25 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.549s coverage: 86.5% of statements 10:13:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:13:25 go vet ./... 10:14:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:14:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:14:21 ./bin/test-attribution-txt.sh [Pipeline] echo 10:14:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:14:21 $ docker stop --time=1 3673611d6c6e71d63f4f615214cae9b39c90600d55b64965b9e7b8fa2980085a 10:14:23 $ docker rm -f --volumes 3673611d6c6e71d63f4f615214cae9b39c90600d55b64965b9e7b8fa2980085a [Pipeline] // withDockerContainer [Pipeline] sh 10:14:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:14:25 Warning: overwriting stash ‘coverage-report’ 10:14:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:27 + ls -al . 10:14:27 total 324 10:14:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 10:08 . 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:05 .. 10:14:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 11 10:05 .git 10:14:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:05 .github 10:14:27 -rw-rw-r-- 1 jenkins jenkins 493 Oct 11 10:05 .gitignore 10:14:27 -rw-rw-r-- 1 jenkins jenkins 199 Oct 11 10:05 .golangci.yml 10:14:27 -rw-rw-r-- 1 jenkins jenkins 19973 Oct 11 10:05 Attribution.txt 10:14:27 -rw-rw-r-- 1 jenkins jenkins 17665 Oct 11 10:05 CHANGELOG.md 10:14:27 -rw-rw-r-- 1 jenkins jenkins 1715 Oct 11 10:05 Dockerfile 10:14:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 11 10:05 GOVERNANCE.md 10:14:27 -rw-rw-r-- 1 jenkins jenkins 739 Oct 11 10:05 Jenkinsfile 10:14:27 -rw-rw-r-- 1 jenkins jenkins 11348 Oct 11 10:05 LICENSE 10:14:27 -rw-rw-r-- 1 jenkins jenkins 2883 Oct 11 10:05 Makefile 10:14:27 -rw-rw-r-- 1 jenkins jenkins 625 Oct 11 10:05 OWNERS.md 10:14:27 -rw-rw-r-- 1 jenkins jenkins 2620 Oct 11 10:05 README.md 10:14:27 -rw-rw-r-- 1 jenkins jenkins 12 Oct 11 10:01 VERSION 10:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 11 10:05 bin 10:14:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 11 10:05 cmd 10:14:27 -rw-r--r-- 1 jenkins jenkins 92292 Oct 11 10:13 coverage.out 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:05 doc 10:14:27 -rw-rw-r-- 1 jenkins jenkins 7303 Oct 11 10:05 go.mod 10:14:27 -rw-rw-r-- 1 jenkins jenkins 100916 Oct 11 10:05 go.sum 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 11 10:05 internal 10:14:27 -rw-rw-r-- 1 jenkins jenkins 236 Oct 11 10:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:27 + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c03763b95a868410e957b4793cb640e2d9fdc9e9 --label arch=arm64 --label version=3.2.0-dev.21 . 10:14:28 Sending build context to Docker daemon 21.87MB 10:14:28 Step 1/27 : ARG BASE=golang:1.23-alpine3.20 10:14:28 Step 2/27 : FROM ${BASE} AS builder 10:14:28 ---> 974afc67228f 10:14:28 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:14:28 ---> Running in 756ce7c706ae 10:14:28 Removing intermediate container 756ce7c706ae 10:14:28 ---> 52c8a7874c1f 10:14:28 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:14:28 ---> Running in c8e2ebc1d4c4 10:14:29 Removing intermediate container c8e2ebc1d4c4 10:14:29 ---> 239e36622299 10:14:29 Step 5/27 : ARG ALPINE_PKG_BASE="make git" 10:14:29 ---> Running in cb829b122920 10:14:29 Removing intermediate container cb829b122920 10:14:29 ---> 266da4241ad1 10:14:29 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:14:29 ---> Running in dcee26f465d0 10:14:30 Removing intermediate container dcee26f465d0 10:14:30 ---> 8dd49f8a8e3c 10:14:30 Step 7/27 : LABEL Name=edgex-device-onvif-camera 10:14:30 ---> Running in 89ce78cb5a94 10:14:30 Removing intermediate container 89ce78cb5a94 10:14:30 ---> 54e90cc32f0e 10:14:30 Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:14:30 ---> Running in 8cc555d0712a 10:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:14:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:14:33 OK: 238 MiB in 54 packages 10:14:34 Removing intermediate container 8cc555d0712a 10:14:34 ---> 44ec084a5f1e 10:14:34 Step 9/27 : WORKDIR /device-onvif-camera 10:14:34 ---> Running in 08e176f3da6d 10:14:34 Removing intermediate container 08e176f3da6d 10:14:34 ---> cf0e40c44838 10:14:34 Step 10/27 : COPY go.mod vendor* ./ 10:14:35 ---> 2ecfcfeb4644 10:14:35 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:14:35 ---> Running in 3f9581c77c26 10:14:38 Removing intermediate container 3f9581c77c26 10:14:38 ---> 5722228718e9 10:14:38 Step 12/27 : COPY . . 10:14:40 ---> 35c968c15d92 10:14:40 Step 13/27 : RUN ${MAKE} 10:14:40 ---> Running in 5f59d94039ba 10:14:41 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=3.2.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 10:18:48 Removing intermediate container 5f59d94039ba 10:18:48 ---> f71d030c1cf8 10:18:48 Step 14/27 : FROM alpine:3.20 10:18:48 3.20: Pulling from library/alpine 10:18:48 cf04c63912e1: Already exists 10:18:48 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:18:48 Status: Downloaded newer image for alpine:3.20 10:18:48 ---> c157a85ed455 10:18:48 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' 10:18:48 ---> Running in b7a8ace1c6df 10:18:48 Removing intermediate container b7a8ace1c6df 10:18:48 ---> a6264eb2fbc5 10:18:48 Step 16/27 : RUN apk add --update --no-cache dumb-init 10:18:48 ---> Running in 3307bca56d77 10:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:18:50 (1/1) Installing dumb-init (1.2.5-r3) 10:18:50 Executing busybox-1.36.1-r29.trigger 10:18:50 OK: 9 MiB in 15 packages 10:18:51 Removing intermediate container 3307bca56d77 10:18:51 ---> 09f4c6bab6f6 10:18:51 Step 17/27 : RUN apk --no-cache upgrade 10:18:51 ---> Running in f72b1e9478bd 10:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:18:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:18:54 Upgrading critical system libraries and apk-tools: 10:18:54 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:18:54 Executing busybox-1.36.1-r29.trigger 10:18:54 Continuing the upgrade transaction with new apk-tools: 10:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:18:56 OK: 9 MiB in 15 packages 10:18:57 Removing intermediate container f72b1e9478bd 10:18:57 ---> ea33a12af2ac 10:18:57 Step 18/27 : WORKDIR / 10:18:57 ---> Running in ccc048f65b85 10:18:57 Removing intermediate container ccc048f65b85 10:18:57 ---> f858f609a48e 10:18:57 Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / 10:18:58 ---> 51f0920be962 10:18:58 Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / 10:18:59 ---> 6e50e5125fee 10:18:59 Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / 10:19:00 ---> 645eb82dbffa 10:19:00 Step 22/27 : EXPOSE 59984 10:19:00 ---> Running in f0d694615c35 10:19:00 Removing intermediate container f0d694615c35 10:19:00 ---> 144795e948e9 10:19:00 Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] 10:19:00 ---> Running in 68373f419706 10:19:00 Removing intermediate container 68373f419706 10:19:00 ---> e8c76e19632f 10:19:00 Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 10:19:00 ---> Running in e2a6b9346393 10:19:01 Removing intermediate container e2a6b9346393 10:19:01 ---> 458c207428bb 10:19:01 Step 25/27 : LABEL arch=arm64 10:19:01 ---> Running in f43fa126d2bb 10:19:01 Removing intermediate container f43fa126d2bb 10:19:01 ---> 6ed70048dbc3 10:19:01 Step 26/27 : LABEL git_sha=c03763b95a868410e957b4793cb640e2d9fdc9e9 10:19:01 ---> Running in 886b418d8a52 10:19:01 Removing intermediate container 886b418d8a52 10:19:01 ---> 31128a2b044b 10:19:01 Step 27/27 : LABEL version=3.2.0-dev.21 10:19:01 ---> Running in 9ce0aa1d6ca0 10:19:02 Removing intermediate container 9ce0aa1d6ca0 10:19:02 ---> f6aca6aab0d6 10:19:02 [Warning] One or more build-args [ARCH] were not consumed 10:19:02 Successfully built f6aca6aab0d6 10:19:02 Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:19:02 provisioning config files... 10:19:02 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/207@tmp/config10499276442577952642tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:02 ---> ****-login.sh 10:19:02 nexus3.edgexfoundry.org:10001 10:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:03 Configure a credential helper to remove this warning. See 10:19:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:03 10:19:03 Login Succeeded 10:19:03 nexus3.edgexfoundry.org:10002 10:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:03 Configure a credential helper to remove this warning. See 10:19:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:03 10:19:03 Login Succeeded 10:19:03 nexus3.edgexfoundry.org:10003 10:19:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:03 Configure a credential helper to remove this warning. See 10:19:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:03 10:19:03 Login Succeeded 10:19:03 nexus3.edgexfoundry.org:10004 10:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:04 Configure a credential helper to remove this warning. See 10:19:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:04 10:19:04 Login Succeeded 10:19:04 ****.io 10:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 10:19:04 Configure a credential helper to remove this warning. See 10:19:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 10:19:04 10:19:04 Login Succeeded 10:19:04 ---> ****-login.sh ends [Pipeline] } 10:19:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:19:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 10:19:05 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 10:19:05 c03763b95a868410e957b4793cb640e2d9fdc9e9 10:19:05 latest 10:19:05 3.2.0-dev.21 10:19:05 c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21 10:19:05 main 10:19:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:05 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c03763b95a868410e957b4793cb640e2d9fdc9e9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:05 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c03763b95a868410e957b4793cb640e2d9fdc9e9 10:19:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:19:05 eea5065caf87: Preparing 10:19:05 105db7d6c717: Preparing 10:19:05 82f3b892f4c3: Preparing 10:19:05 51ea147f38ac: Preparing 10:19:05 94f658cba2fa: Preparing 10:19:05 16113d51b718: Preparing 10:19:05 16113d51b718: Waiting 10:19:06 eea5065caf87: Pushed 10:19:06 94f658cba2fa: Pushed 10:19:06 105db7d6c717: Pushed 10:19:06 16113d51b718: Layer already exists 10:19:06 51ea147f38ac: Pushed 10:19:14 82f3b892f4c3: Pushed 10:19:14 c03763b95a868410e957b4793cb640e2d9fdc9e9: digest: sha256:d8cc07637b2d1e88bf6787a46669afe8a6015977da4a7da668481ffc67d38b59 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:14 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:15 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 10:19:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:19:15 eea5065caf87: Preparing 10:19:15 105db7d6c717: Preparing 10:19:15 82f3b892f4c3: Preparing 10:19:15 51ea147f38ac: Preparing 10:19:15 94f658cba2fa: Preparing 10:19:15 16113d51b718: Preparing 10:19:15 16113d51b718: Waiting 10:19:15 82f3b892f4c3: Layer already exists 10:19:15 eea5065caf87: Layer already exists 10:19:15 105db7d6c717: Layer already exists 10:19:15 51ea147f38ac: Layer already exists 10:19:15 94f658cba2fa: Layer already exists 10:19:15 16113d51b718: Layer already exists 10:19:15 latest: digest: sha256:d8cc07637b2d1e88bf6787a46669afe8a6015977da4a7da668481ffc67d38b59 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:15 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:16 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.21 10:19:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:19:16 eea5065caf87: Preparing 10:19:16 105db7d6c717: Preparing 10:19:16 82f3b892f4c3: Preparing 10:19:16 51ea147f38ac: Preparing 10:19:16 94f658cba2fa: Preparing 10:19:16 16113d51b718: Preparing 10:19:16 16113d51b718: Waiting 10:19:16 eea5065caf87: Layer already exists 10:19:16 94f658cba2fa: Layer already exists 10:19:16 51ea147f38ac: Layer already exists 10:19:16 82f3b892f4c3: Layer already exists 10:19:16 105db7d6c717: Layer already exists 10:19:16 16113d51b718: Layer already exists 10:19:16 3.2.0-dev.21: digest: sha256:d8cc07637b2d1e88bf6787a46669afe8a6015977da4a7da668481ffc67d38b59 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:16 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:17 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21 10:19:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:19:17 eea5065caf87: Preparing 10:19:17 105db7d6c717: Preparing 10:19:17 82f3b892f4c3: Preparing 10:19:17 51ea147f38ac: Preparing 10:19:17 94f658cba2fa: Preparing 10:19:17 16113d51b718: Preparing 10:19:17 16113d51b718: Waiting 10:19:17 51ea147f38ac: Layer already exists 10:19:17 82f3b892f4c3: Layer already exists 10:19:17 eea5065caf87: Layer already exists 10:19:17 94f658cba2fa: Layer already exists 10:19:17 105db7d6c717: Layer already exists 10:19:17 16113d51b718: Layer already exists 10:19:17 c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21: digest: sha256:d8cc07637b2d1e88bf6787a46669afe8a6015977da4a7da668481ffc67d38b59 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:17 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:18 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 10:19:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 10:19:18 eea5065caf87: Preparing 10:19:18 105db7d6c717: Preparing 10:19:18 82f3b892f4c3: Preparing 10:19:18 51ea147f38ac: Preparing 10:19:18 94f658cba2fa: Preparing 10:19:18 16113d51b718: Preparing 10:19:18 16113d51b718: Waiting 10:19:18 82f3b892f4c3: Layer already exists 10:19:18 105db7d6c717: Layer already exists 10:19:18 51ea147f38ac: Layer already exists 10:19:18 eea5065caf87: Layer already exists 10:19:18 94f658cba2fa: Layer already exists 10:19:18 16113d51b718: Layer already exists 10:19:18 main: digest: sha256:d8cc07637b2d1e88bf6787a46669afe8a6015977da4a7da668481ffc67d38b59 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:19:18 ===================================================== [Pipeline] echo 10:19:18 taggedImages: 10:19:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c03763b95a868410e957b4793cb640e2d9fdc9e9 10:19:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 10:19:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.2.0-dev.21 10:19:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:c03763b95a868410e957b4793cb640e2d9fdc9e9-3.2.0-dev.21 10:19:18 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:18 10:19:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:19 arm64: Pulling from edgex-lftools-log-publisher 10:19:19 8998bd30e6a1: Pulling fs layer 10:19:19 04944245beec: Pulling fs layer 10:19:19 699f458cf7ca: Pulling fs layer 10:19:19 765212b225bb: Pulling fs layer 10:19:19 f23df028b6ca: Pulling fs layer 10:19:19 d65c8cfc05b1: Pulling fs layer 10:19:19 2437ff75d9bd: Pulling fs layer 10:19:19 765212b225bb: Waiting 10:19:19 f23df028b6ca: Waiting 10:19:19 2437ff75d9bd: Waiting 10:19:19 d65c8cfc05b1: Waiting 10:19:19 04944245beec: Verifying Checksum 10:19:19 04944245beec: Download complete 10:19:19 765212b225bb: Download complete 10:19:19 f23df028b6ca: Verifying Checksum 10:19:19 f23df028b6ca: Download complete 10:19:19 d65c8cfc05b1: Download complete 10:19:19 699f458cf7ca: Verifying Checksum 10:19:19 699f458cf7ca: Download complete 10:19:19 8998bd30e6a1: Download complete 10:19:22 2437ff75d9bd: Verifying Checksum 10:19:22 2437ff75d9bd: Download complete 10:19:25 8998bd30e6a1: Pull complete 10:19:25 04944245beec: Pull complete 10:19:27 699f458cf7ca: Pull complete 10:19:27 765212b225bb: Pull complete 10:19:27 f23df028b6ca: Pull complete 10:19:27 d65c8cfc05b1: Pull complete 10:19:46 2437ff75d9bd: Pull complete 10:19:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:19:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:19:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:19:46 prd-ubuntu20.04-docker-arm64-4c-16g-22528 does not seem to be running inside a container 10:19:46 $ 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-onvif-camera/207 -v /w/workspace/device-onvif-camera/207:/w/workspace/device-onvif-camera/207:rw,z -v /w/workspace/device-onvif-camera/207@tmp:/w/workspace/device-onvif-camera/207@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:arm64 cat 10:19:49 $ docker top 4ed2cc5685b7df7a70ca8b16fec91849d972c164d01696dc6d77d7b40d070bf2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:19:50 ---> job-cost.sh 10:19:50 lf-activate-venv: SKIPPING 10:19:50 INFO: No Stack... 10:19:50 INFO: Retrieving Pricing Info for: v3-standard-4 10:19:51 INFO: Archiving Costs [Pipeline] sh 10:19:52 + cut -d, -f6 10:19:52 + cat /w/workspace/device-onvif-camera/207/archives/cost.csv [Pipeline] lock 10:19:52 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-207-stack-cost] 10:19:52 Resource [jenkins-edgexfoundry-device-onvif-camera-main-207-stack-cost] did not exist. Created. 10:19:52 Lock acquired on [Resource: jenkins-edgexfoundry-device-onvif-camera-main-207-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:19:52 /w/workspace/device-onvif-camera/207@tmp/durable-6f24ed9b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:19:53 + echo total: 0.10999999940395355 [Pipeline] stash 10:19:53 Warning: overwriting stash ‘stack-cost’ 10:19:53 Stashed 1 file(s) [Pipeline] } 10:19:53 Lock released on resource [Resource: jenkins-edgexfoundry-device-onvif-camera-main-207-stack-cost] [Pipeline] // lock [Pipeline] } 10:19:53 $ docker stop --time=1 4ed2cc5685b7df7a70ca8b16fec91849d972c164d01696dc6d77d7b40d070bf2 10:19:55 $ docker rm -f --volumes 4ed2cc5685b7df7a70ca8b16fec91849d972c164d01696dc6d77d7b40d070bf2 [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 10:19:55 provisioning config files... 10:19:55 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2821663259716957129tmp [Pipeline] { [Pipeline] sh 10:19:56 + set +x 10:19:56 + curl -s https://codecov.io/bash 10:19:56 + bash -s -- 10:19:56 10:19:56 _____ _ 10:19:56 / ____| | | 10:19:56 | | ___ __| | ___ ___ _____ __ 10:19:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:19:56 | |___| (_) | (_| | __/ (_| (_) \ V / 10:19:56 \_____\___/ \__,_|\___|\___\___/ \_/ 10:19:56 Bash-1.0.6 10:19:56 10:19:56 10:19:56 ==> git version 2.25.1 found 10:19:56 ==> 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 10:19:56 Release-Date: 2020-01-08 10:19:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:19:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:19:56 ==> Jenkins CI detected. 10:19:56 current dir:  /w/workspace/foundry_device-onvif-camera_main 10:19:56 project root: . 10:19:56 --> token set from env 10:19:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:19:56 ==> Running gcov in . (disable via -X gcov) 10:19:56 ==> Python coveragepy not found 10:19:56 ==> Searching for coverage reports in: 10:19:56 + . 10:19:56 -> Found 1 reports 10:19:56 ==> Detecting git/mercurial file structure 10:19:56 ==> Reading reports 10:19:56 + ./coverage.out bytes=92292 10:19:56 ==> Appending adjustments 10:19:56 https://docs.codecov.io/docs/fixing-reports 10:19:56 + Found adjustments 10:19:56 ==> Gzipping contents 10:19:56 12K /tmp/codecov.IVLe7Z.gz 10:19:56 ==> Uploading reports 10:19:56 url: https://codecov.io 10:19:56 query: branch=main&commit=c03763b95a868410e957b4793cb640e2d9fdc9e9&build=207&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F207%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 10:19:56 -> Pinging Codecov 10:19:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=c03763b95a868410e957b4793cb640e2d9fdc9e9&build=207&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F207%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 10:19:56 -> Uploading to 10:19:56 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-onvif-camera/c03763b95a868410e957b4793cb640e2d9fdc9e9/fdd63098-1721-458d-b050-4fece16c83f9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241011%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241011T101956Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=544bcbf77c39f05744a20783434c1afacbadfe81c1c2a2eab1ab9a624668996f 10:19:56 % Total % Received % Xferd Average Speed Time Time Time Current 10:19:56 Dload Upload Total Spent Left Speed 10:19:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11414 0 0 100 11414 0 48364 --:--:-- --:--:-- --:--:-- 48364 10:19:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c03763b95a868410e957b4793cb640e2d9fdc9e9 [Pipeline] } 10:19:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:19:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:19:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:19:57 10:19:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:19:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:19:57 latest: Pulling from edgex-devops/edgex-snyk-go 10:19:57 43c4264eed91: Already exists 10:19:57 4cc291be95ef: Already exists 10:19:57 2ac1f1163629: Already exists 10:19:57 5c3c966382ef: Already exists 10:19:57 4f4fb700ef54: Already exists 10:19:57 d9c7d2e4e75e: Pulling fs layer 10:19:57 9c3e1370e548: Pulling fs layer 10:19:57 d9c7d2e4e75e: Verifying Checksum 10:19:57 d9c7d2e4e75e: Download complete 10:19:58 d9c7d2e4e75e: Pull complete 10:19:58 9c3e1370e548: Verifying Checksum 10:19:58 9c3e1370e548: Download complete 10:20:02 9c3e1370e548: Pull complete 10:20:02 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 10:20:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 10:20:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:02 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:20:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 10:20:04 $ docker top 63eff1d2529a5dc8fd6f01822fb506d451841dbc6cee36fb86af8293bf5b3023 -eo pid,comm [Pipeline] { [Pipeline] sh 10:20:04 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] echo 10:20:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 10:20:05 + set -o pipefail 10:20:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 10:20:11 10:20:11 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 10:20:11 10:20:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9e5df0b9-9c2f-4dae-8e10-c7dd76eb4add/history/819e6b24-9bf8-498a-88e9-02ecd35028b0 10:20:11 10:20:11 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:20:11 10:20:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:20:11 10:20:11 10:20:11 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 10:20:11 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:20:11 $ docker stop --time=1 63eff1d2529a5dc8fd6f01822fb506d451841dbc6cee36fb86af8293bf5b3023 10:20:16 $ docker rm -f --volumes 63eff1d2529a5dc8fd6f01822fb506d451841dbc6cee36fb86af8293bf5b3023 [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) [Pipeline] echo 10:20:17 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:20:17 provisioning config files... 10:20:17 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config17070056355904649380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:20:17 --> edgex-publish-swagger.sh 10:20:17 === Publish doc/openapi/v3 API === 10:20:17 [publishToSwagger] Publishing the API Docs [doc/openapi/v3] to Swagger 10:20:17 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v3/device-onvif-camera.yaml] 10:20:17 % Total % Received % Xferd Average Speed Time Time Time Current 10:20:17 Dload Upload Total Spent Left Speed 10:20:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 485k 100 156 100 485k 335 1044k --:--:-- --:--:-- --:--:-- 1042k 10:20:17 {"code":403,"message":"This API is blocked because you have exceeded your current plan's limits","messageCode":"API_BLOCKED_UPGRADE","messageProperties":{}} 10:20:17 [Pipeline] } 10:20:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:20:18 + git log --format=format:%s -1 c03763b95a868410e957b4793cb640e2d9fdc9e9 [Pipeline] sh 10:20:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:19 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:20:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:19 $ docker top 3319d3e56b4d5bfdc0f40c68acee7f28e873ba743bb4f8b4dd327da931ee333f -eo pid,comm 10:20:19 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). 10:20:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:19 [ssh-agent] Looking for ssh-agent implementation... 10:20:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:19 $ docker exec 3319d3e56b4d5bfdc0f40c68acee7f28e873ba743bb4f8b4dd327da931ee333f ssh-agent 10:20:19 SSH_AUTH_SOCK=/tmp/ssh-hxfB68YTkPk2/agent.32 10:20:19 SSH_AGENT_PID=38 10:20:19 Running ssh-add (command line suppressed) 10:20:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3176947506254511109.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_3176947506254511109.key) 10:20:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:23 + git semver tag 10:20:23 2024-10-11 10:20:20,488 [run_tag] DEBUG tag force:False 10:20:23 2024-10-11 10:20:20,488 [check_head_tag] DEBUG check head tag 10:20:23 2024-10-11 10:20:20,489 [execute] INFO git cat-file --batch-check 10:20:23 2024-10-11 10:20:20,489 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 10:20:23 2024-10-11 10:20:20,494 [execute] INFO git cat-file --batch 10:20:23 2024-10-11 10:20:20,494 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 10:20:23 2024-10-11 10:20:20,514 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:20:23 2024-10-11 10:20:20,514 [execute] INFO git tag -a v3.2.0-dev.21 -m v3.2.0-dev.21 10:20:23 2024-10-11 10:20:20,515 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.21', '-m', 'v3.2.0-dev.21'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 10:20:23 2024-10-11 10:20:20,520 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:20:23 3.2.0-dev.21 [Pipeline] } 10:20:26 $ docker exec --env ******** --env ******** 3319d3e56b4d5bfdc0f40c68acee7f28e873ba743bb4f8b4dd327da931ee333f ssh-agent -k 10:20:26 unset SSH_AUTH_SOCK; 10:20:26 unset SSH_AGENT_PID; 10:20:26 echo Agent pid 38 killed; 10:20:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:27 + git semver [Pipeline] } 10:20:27 $ docker stop --time=1 3319d3e56b4d5bfdc0f40c68acee7f28e873ba743bb4f8b4dd327da931ee333f 10:20:28 $ docker rm -f --volumes 3319d3e56b4d5bfdc0f40c68acee7f28e873ba743bb4f8b4dd327da931ee333f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:29 10:20:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:29 0.23.1-centos7: Pulling from edgex-lftools 10:20:29 ab5ef0e58194: Pulling fs layer 10:20:29 9712f1f96733: Pulling fs layer 10:20:29 63f879dbbcfc: Pulling fs layer 10:20:29 0d9ebad4ef96: Pulling fs layer 10:20:29 e9a5061849ea: Pulling fs layer 10:20:29 d747dcd14b5f: Pulling fs layer 10:20:29 2de7ff778b66: Pulling fs layer 10:20:29 0d9ebad4ef96: Waiting 10:20:29 e9a5061849ea: Waiting 10:20:29 d747dcd14b5f: Waiting 10:20:29 2de7ff778b66: Waiting 10:20:29 9712f1f96733: Verifying Checksum 10:20:29 9712f1f96733: Download complete 10:20:29 63f879dbbcfc: Verifying Checksum 10:20:29 63f879dbbcfc: Download complete 10:20:29 e9a5061849ea: Download complete 10:20:29 d747dcd14b5f: Verifying Checksum 10:20:29 0d9ebad4ef96: Verifying Checksum 10:20:29 0d9ebad4ef96: Download complete 10:20:29 ab5ef0e58194: Verifying Checksum 10:20:29 ab5ef0e58194: Download complete 10:20:29 2de7ff778b66: Verifying Checksum 10:20:29 2de7ff778b66: Download complete 10:20:32 ab5ef0e58194: Pull complete 10:20:32 9712f1f96733: Pull complete 10:20:33 63f879dbbcfc: Pull complete 10:20:36 0d9ebad4ef96: Pull complete 10:20:36 e9a5061849ea: Pull complete 10:20:36 d747dcd14b5f: Pull complete 10:20:37 2de7ff778b66: Pull complete 10:20:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:20:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:37 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:20:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:20:43 $ docker top fc1e18459dddb16f858c69310f6d8d671b2a00b124d781ddf2bd22da509855eb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:20:43 provisioning config files... 10:20:43 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16373674707211930104tmp 10:20:43 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3481814119762983822tmp 10:20:43 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config14220343734312028860tmp [Pipeline] { [Pipeline] echo 10:20:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:20:43 ---> sigul-configuration.sh 10:20:43 gpg: directory `/root/.gnupg' created 10:20:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:20:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:20:43 gpg: keyring `/root/.gnupg/secring.gpg' created 10:20:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:20:43 gpg: CAST5 encrypted data 10:20:43 gpg: encrypted with 1 passphrase 10:20:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:20:43 + mkdir /home/jenkins 10:20:43 + mkdir /home/jenkins/sigul [Pipeline] sh 10:20:44 + 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 10:20:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:20:44 ---> sigul-install.sh 10:20:44 Sigul already installed; skipping installation. [Pipeline] sh 10:20:44 + git tag --list 10:20:44 v0.0.0 10:20:44 v2.2.0 10:20:44 v2.3.0 10:20:44 v2.3.1 10:20:44 v3.0 10:20:44 v3.0.0 10:20:44 v3.1 10:20:44 v3.1.0 10:20:44 v3.1.0-dev.1 10:20:44 v3.1.0-dev.10 10:20:44 v3.1.0-dev.11 10:20:44 v3.1.0-dev.12 10:20:44 v3.1.0-dev.13 10:20:44 v3.1.0-dev.14 10:20:44 v3.1.0-dev.15 10:20:44 v3.1.0-dev.16 10:20:44 v3.1.0-dev.17 10:20:44 v3.1.0-dev.18 10:20:44 v3.1.0-dev.19 10:20:44 v3.1.0-dev.2 10:20:44 v3.1.0-dev.20 10:20:44 v3.1.0-dev.21 10:20:44 v3.1.0-dev.22 10:20:44 v3.1.0-dev.23 10:20:44 v3.1.0-dev.24 10:20:44 v3.1.0-dev.25 10:20:44 v3.1.0-dev.26 10:20:44 v3.1.0-dev.27 10:20:44 v3.1.0-dev.28 10:20:44 v3.1.0-dev.3 10:20:44 v3.1.0-dev.4 10:20:44 v3.1.0-dev.5 10:20:44 v3.1.0-dev.6 10:20:44 v3.1.0-dev.7 10:20:44 v3.1.0-dev.8 10:20:44 v3.1.0-dev.9 10:20:44 v3.1.1 10:20:44 v3.2.0-dev.1 10:20:44 v3.2.0-dev.10 10:20:44 v3.2.0-dev.11 10:20:44 v3.2.0-dev.12 10:20:44 v3.2.0-dev.13 10:20:44 v3.2.0-dev.14 10:20:44 v3.2.0-dev.15 10:20:44 v3.2.0-dev.16 10:20:44 v3.2.0-dev.17 10:20:44 v3.2.0-dev.18 10:20:44 v3.2.0-dev.19 10:20:44 v3.2.0-dev.2 10:20:44 v3.2.0-dev.20 10:20:44 v3.2.0-dev.21 10:20:44 v3.2.0-dev.3 10:20:44 v3.2.0-dev.4 10:20:44 v3.2.0-dev.5 10:20:44 v3.2.0-dev.6 10:20:44 v3.2.0-dev.7 10:20:44 v3.2.0-dev.8 10:20:44 v3.2.0-dev.9 [Pipeline] sh 10:20:45 + lftools sign git-tag v3.2.0-dev.21 10:20:45 Signing Git tag with Sigul... 10:20:45 Signing v3.2.0-dev.21 [Pipeline] echo 10:20:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:20:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:20:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:20:46 $ docker stop --time=1 fc1e18459dddb16f858c69310f6d8d671b2a00b124d781ddf2bd22da509855eb 10:20:48 $ docker rm -f --volumes fc1e18459dddb16f858c69310f6d8d671b2a00b124d781ddf2bd22da509855eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:20:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:49 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:20:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:50 $ docker top 33a1946e4ef8a937b3db183eba7367a12ba0b920b18e9a4ce0d50d59bdc28aae -eo pid,comm 10:20:50 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). 10:20:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:51 [ssh-agent] Looking for ssh-agent implementation... 10:20:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:51 $ docker exec 33a1946e4ef8a937b3db183eba7367a12ba0b920b18e9a4ce0d50d59bdc28aae ssh-agent 10:20:51 SSH_AUTH_SOCK=/tmp/ssh-c5RRkNpaZHlV/agent.14 10:20:51 SSH_AGENT_PID=38 10:20:51 Running ssh-add (command line suppressed) 10:20:51 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12666428921115666323.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_12666428921115666323.key) 10:20:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:51 + git semver bump pre 10:20:51 2024-10-11 10:20:51,855 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:20:51 2024-10-11 10:20:51,855 [bump_version] DEBUG bumping version:3.2.0-dev.21 on axis:pre with prefix:dev 10:20:51 2024-10-11 10:20:51,855 [bump_version] DEBUG bumped version:3.2.0-dev.22 10:20:51 2024-10-11 10:20:51,855 [write_version] DEBUG write version:3.2.0-dev.22 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 10:20:51 2024-10-11 10:20:51,855 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:20:51 2024-10-11 10:20:51,855 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 10:20:51 2024-10-11 10:20:51,857 [execute] INFO git cat-file --batch-check 10:20:51 2024-10-11 10:20:51,857 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 10:20:51 2024-10-11 10:20:51,860 [execute] INFO git cat-file --batch 10:20:51 2024-10-11 10:20:51,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 10:20:51 2024-10-11 10:20:51,865 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:20:51 3.2.0-dev.22 [Pipeline] } 10:20:51 $ docker exec --env ******** --env ******** 33a1946e4ef8a937b3db183eba7367a12ba0b920b18e9a4ce0d50d59bdc28aae ssh-agent -k 10:20:52 unset SSH_AUTH_SOCK; 10:20:52 unset SSH_AGENT_PID; 10:20:52 echo Agent pid 38 killed; 10:20:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:52 + git semver [Pipeline] } 10:20:52 $ docker stop --time=1 33a1946e4ef8a937b3db183eba7367a12ba0b920b18e9a4ce0d50d59bdc28aae 10:20:53 $ docker rm -f --volumes 33a1946e4ef8a937b3db183eba7367a12ba0b920b18e9a4ce0d50d59bdc28aae [Pipeline] // withDockerContainer [Pipeline] sh 10:20:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:20:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:20:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:20:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:20:54 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:20:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:20:55 $ docker top b8b84db7ffcfc16cb1bc1d28ff8c6e04d77df1e8d4de9d814292704080c04043 -eo pid,comm 10:20:55 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). 10:20:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:20:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:20:55 [ssh-agent] Looking for ssh-agent implementation... 10:20:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:20:55 $ docker exec b8b84db7ffcfc16cb1bc1d28ff8c6e04d77df1e8d4de9d814292704080c04043 ssh-agent 10:20:55 SSH_AUTH_SOCK=/tmp/ssh-aNEusdQBc6Yh/agent.32 10:20:55 SSH_AGENT_PID=38 10:20:55 Running ssh-add (command line suppressed) 10:20:55 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14373454180029212352.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_14373454180029212352.key) 10:20:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:20:55 + git semver push 10:20:55 2024-10-11 10:20:55,889 [run_push] DEBUG push 10:20:55 2024-10-11 10:20:55,890 [execute] INFO git cat-file --batch-check 10:20:55 2024-10-11 10:20:55,890 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 10:20:55 2024-10-11 10:20:55,894 [execute] INFO git rev-list 0589c5e840b8b2eddf707361bff90dc126618cf6 -- 10:20:55 2024-10-11 10:20:55,894 [execute] DEBUG Popen(['git', 'rev-list', '0589c5e840b8b2eddf707361bff90dc126618cf6', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 10:20:55 2024-10-11 10:20:55,903 [execute] INFO git fetch -v origin 10:20:55 2024-10-11 10:20:55,904 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 10:20:58 2024-10-11 10:20:57,997 [run_push] DEBUG no remote changes detected 10:20:58 2024-10-11 10:20:57,998 [execute] INFO git push origin semver 10:20:58 2024-10-11 10:20:57,998 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 10:20:58 2024-10-11 10:20:58,712 [run_push] DEBUG push all version tags 10:20:58 2024-10-11 10:20:58,712 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:20:58 2024-10-11 10:20:58,713 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 10:20:59 2024-10-11 10:20:59,336 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 10:20:59 3.2.0-dev.22 [Pipeline] } 10:20:59 $ docker exec --env ******** --env ******** b8b84db7ffcfc16cb1bc1d28ff8c6e04d77df1e8d4de9d814292704080c04043 ssh-agent -k 10:20:59 unset SSH_AUTH_SOCK; 10:20:59 unset SSH_AGENT_PID; 10:20:59 echo Agent pid 38 killed; 10:20:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:20:59 + git semver [Pipeline] } 10:21:00 $ docker stop --time=1 b8b84db7ffcfc16cb1bc1d28ff8c6e04d77df1e8d4de9d814292704080c04043 10:21:01 $ docker rm -f --volumes b8b84db7ffcfc16cb1bc1d28ff8c6e04d77df1e8d4de9d814292704080c04043 [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 10:21:02 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 10:21:02 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 10:21:02 total 16 10:21:02 drwxr-xr-x 3 root root 4096 Oct 11 10:05 . 10:21:02 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 10:20 .. 10:21:02 drwxr-xr-x 2 root root 4096 Oct 11 10:05 cost 10:21:02 -rw-r--r-- 1 root root 91 Oct 11 10:05 cost.csv 10:21:02 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 10:21:02 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 10:21:02 total 16 10:21:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 11 10:05 . 10:21:02 drwxrwxr-x 10 jenkins jenkins 4096 Oct 11 10:20 .. 10:21:02 drwxr-xr-x 2 jenkins jenkins 4096 Oct 11 10:05 cost 10:21:02 -rw-r--r-- 1 jenkins jenkins 91 Oct 11 10:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:21:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:21:03 ---> package-listing.sh 10:21:03 ++ tr '[:upper:]' '[:lower:]' 10:21:03 ++ facter osfamily 10:21:03 + OS_FAMILY=debian 10:21:03 + workspace=/w/workspace/foundry_device-onvif-camera_main 10:21:03 + START_PACKAGES=/tmp/packages_start.txt 10:21:03 + END_PACKAGES=/tmp/packages_end.txt 10:21:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:21:03 + PACKAGES=/tmp/packages_start.txt 10:21:03 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 10:21:03 + PACKAGES=/tmp/packages_end.txt 10:21:03 + case "${OS_FAMILY}" in 10:21:03 + dpkg -l 10:21:03 + grep '^ii' 10:21:03 + '[' -f /tmp/packages_start.txt ']' 10:21:03 + '[' -f /tmp/packages_end.txt ']' 10:21:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:21:03 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 10:21:03 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 10:21:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 10:21:03 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:21:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:21:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:21:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:21:04 prd-ubuntu20.04-docker-8c-8g-22524 does not seem to be running inside a container 10:21:04 $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_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 10:21:04 $ docker top 4fc1add22a5b3978f0b684d8471b7589d18c61d5a4fef42757351ed96f4a2d0c -eo pid,comm [Pipeline] { [Pipeline] sh 10:21:04 + touch /tmp/pre-build-complete [Pipeline] sh 10:21:05 + mkdir -p /var/log/sysstat [Pipeline] sh 10:21:05 + ls /var/log/sa-host 10:21:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:21:05 provisioning config files... 10:21:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config5031362284178047516tmp [Pipeline] { [Pipeline] echo 10:21:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:21:05 ---> create-netrc.sh [Pipeline] } 10:21:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:21:06 ---> python-tools-install.sh [Pipeline] echo 10:21:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:21:06 ---> sudo-logs.sh 10:21:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:21:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:21:06 ---> job-cost.sh 10:21:06 lf-activate-venv: SKIPPING 10:21:06 DEBUG: total: 0.2199999988079071 10:21:06 INFO: Retrieving Stack Cost... 10:21:07 INFO: Retrieving Pricing Info for: v3-standard-8 10:21:07 INFO: Archiving Costs [Pipeline] echo 10:21:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:21:08 ---> logs-deploy.sh 10:21:08 lf-activate-venv: SKIPPING 10:21:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/207 10:21:08 INFO: archiving workspace using pattern(s): 10:21:08 Archives upload complete. 10:21:08 INFO: archiving logs to Nexus