Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 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-ssh3997691916476477401.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh610939516028201868.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh5378098799033014325.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh16710090819881995997.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-ssh18258027293677212993.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/v2]] ========================================================= [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.20 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/v2 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-6324 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 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec (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 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#296)" > git checkout -f 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec # timeout=10 > git rev-list --no-walk 163d81e496ee931b2d3d9b2549810c1b7a8df380 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:26:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:26:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:26:30 ========================================================= 23:26:30 EdgeX Global Pipelines Version Info 23:26:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:26:30 ------------------- 23:26:30 stable info: 23:26:30 ------------------- 23:26:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:26:30 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:26:30 Message: update stable to v1.0.245 23:26:31 ------------------- 23:26:31 experimental info: 23:26:31 ------------------- 23:26:31 Commited By: **** collab-it+edgex@linuxfoundation.org 23:26:31 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:26:31 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:26:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 23:26:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 23:26:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:26:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:26:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 186be4e [Pipeline] echo 23:26:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:26:32 provisioning config files... 23:26:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config10455112802523862795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:32 ---> docker-login.sh 23:26:32 nexus3.edgexfoundry.org:10001 23:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:34 Configure a credential helper to remove this warning. See 23:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:34 23:26:34 Login Succeeded 23:26:34 nexus3.edgexfoundry.org:10002 23:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:34 Configure a credential helper to remove this warning. See 23:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:34 23:26:34 Login Succeeded 23:26:34 nexus3.edgexfoundry.org:10003 23:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:34 Configure a credential helper to remove this warning. See 23:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:34 23:26:34 Login Succeeded 23:26:34 nexus3.edgexfoundry.org:10004 23:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:34 Configure a credential helper to remove this warning. See 23:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:34 23:26:34 Login Succeeded 23:26:34 docker.io 23:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:35 Configure a credential helper to remove this warning. See 23:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:35 23:26:35 Login Succeeded 23:26:35 ---> docker-login.sh ends [Pipeline] } 23:26:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:26:35 + git rev-list -1 --merges 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec~1..186be4e7cfd84d819ae8e1b3a278a99ca1d844ec [Pipeline] echo 23:26:35 -----------> git rev-list -1 --merges 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec~1..186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec [false] [Pipeline] sh 23:26:35 + git log --format=format:%s -1 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec [Pipeline] echo 23:26:35 ========================================================= 23:26:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:26:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:36 + git log --format=format:%s -1 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec [Pipeline] echo 23:26:36 [semverPrep] GIT_COMMIT: 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#296) [Pipeline] echo 23:26:36 [semverPrep] This is not a build commit. [Pipeline] sh 23:26:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:26:36 + grep -v github /etc/ssh/ssh_known_hosts 23:26:36 + [ -e /tmp/ssh_known_hosts ] 23:26:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:26:36 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:26:36 sudo tee -a /etc/ssh/ssh_known_hosts 23:26:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:36 23:26:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:37 0.1.4: Pulling from edgex-devops/py-git-semver 23:26:37 b85a868b505f: Pulling fs layer 23:26:37 e2be974225ed: Pulling fs layer 23:26:37 339a4e72a1f5: Pulling fs layer 23:26:37 988bab9f4d93: Pulling fs layer 23:26:37 1469e6f7b9e6: Pulling fs layer 23:26:37 eaf3925da568: Pulling fs layer 23:26:37 bab4dde63d76: Pulling fs layer 23:26:37 bde34c3a00c8: Pulling fs layer 23:26:37 b352a97aabf1: Pulling fs layer 23:26:37 4872d77fe225: Pulling fs layer 23:26:37 5851b861e8e6: Pulling fs layer 23:26:37 eaf3925da568: Waiting 23:26:37 bab4dde63d76: Waiting 23:26:37 bde34c3a00c8: Waiting 23:26:37 b352a97aabf1: Waiting 23:26:37 4872d77fe225: Waiting 23:26:37 5851b861e8e6: Waiting 23:26:37 988bab9f4d93: Waiting 23:26:38 e2be974225ed: Verifying Checksum 23:26:38 e2be974225ed: Download complete 23:26:38 988bab9f4d93: Verifying Checksum 23:26:38 988bab9f4d93: Download complete 23:26:38 1469e6f7b9e6: Verifying Checksum 23:26:38 1469e6f7b9e6: Download complete 23:26:38 339a4e72a1f5: Verifying Checksum 23:26:38 339a4e72a1f5: Download complete 23:26:38 eaf3925da568: Download complete 23:26:38 bde34c3a00c8: Download complete 23:26:38 b352a97aabf1: Verifying Checksum 23:26:38 b352a97aabf1: Download complete 23:26:38 4872d77fe225: Download complete 23:26:38 5851b861e8e6: Verifying Checksum 23:26:38 5851b861e8e6: Download complete 23:26:38 b85a868b505f: Verifying Checksum 23:26:38 b85a868b505f: Download complete 23:26:38 bab4dde63d76: Verifying Checksum 23:26:38 bab4dde63d76: Download complete 23:26:39 b85a868b505f: Pull complete 23:26:40 e2be974225ed: Pull complete 23:26:40 339a4e72a1f5: Pull complete 23:26:41 988bab9f4d93: Pull complete 23:26:41 1469e6f7b9e6: Pull complete 23:26:41 eaf3925da568: Pull complete 23:26:43 bab4dde63d76: Pull complete 23:26:44 bde34c3a00c8: Pull complete 23:26:44 b352a97aabf1: Pull complete 23:26:44 4872d77fe225: Pull complete 23:26:44 5851b861e8e6: Pull complete 23:26:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:26:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:26:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:45 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:26:45 $ 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 23:26:53 $ docker top 67febaf07123d55c96a323bb0d287ace6a2344147736eaeb23ee421965340cae -eo pid,comm 23:26:53 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). 23:26:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:26:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:53 [ssh-agent] Looking for ssh-agent implementation... 23:26:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:53 $ docker exec 67febaf07123d55c96a323bb0d287ace6a2344147736eaeb23ee421965340cae ssh-agent 23:26:53 SSH_AUTH_SOCK=/tmp/ssh-ByVIRFcw9n46/agent.14 23:26:53 SSH_AGENT_PID=20 23:26:53 Running ssh-add (command line suppressed) 23:26:53 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6195696671035687068.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_6195696671035687068.key) 23:26:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:54 + git tag --points-at HEAD [Pipeline] } 23:26:54 $ docker exec --env ******** --env ******** 67febaf07123d55c96a323bb0d287ace6a2344147736eaeb23ee421965340cae ssh-agent -k 23:26:54 unset SSH_AUTH_SOCK; 23:26:54 unset SSH_AGENT_PID; 23:26:54 echo Agent pid 20 killed; 23:26:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:26:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:54 [ssh-agent] Looking for ssh-agent implementation... 23:26:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:54 $ docker exec 67febaf07123d55c96a323bb0d287ace6a2344147736eaeb23ee421965340cae ssh-agent 23:26:54 SSH_AUTH_SOCK=/tmp/ssh-TQyxbv5HBBU2/agent.72 23:26:54 SSH_AGENT_PID=78 23:26:54 Running ssh-add (command line suppressed) 23:26:54 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_766049619049714656.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_766049619049714656.key) 23:26:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:54 + git semver init 23:26:55 2023-03-29 23:26:55,173 [run_init] DEBUG init version:0.0.0 force:False 23:26:55 2023-03-29 23:26:55,174 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 23:26:55 2023-03-29 23:26:55,174 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 23:26:55 2023-03-29 23:26:55,175 [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) 23:26:56 2023-03-29 23:26:56,261 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 23:26:56 2023-03-29 23:26:56,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 23:26:56 2023-03-29 23:26:56,262 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:26:56 2023-03-29 23:26:56,262 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:26:56 3.0.0-dev.26 [Pipeline] } 23:26:56 $ docker exec --env ******** --env ******** 67febaf07123d55c96a323bb0d287ace6a2344147736eaeb23ee421965340cae ssh-agent -k 23:26:56 unset SSH_AUTH_SOCK; 23:26:56 unset SSH_AGENT_PID; 23:26:56 echo Agent pid 78 killed; 23:26:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:26:56 + git semver [Pipeline] } 23:26:57 $ docker stop --time=1 67febaf07123d55c96a323bb0d287ace6a2344147736eaeb23ee421965340cae 23:26:59 $ docker rm -f --volumes 67febaf07123d55c96a323bb0d287ace6a2344147736eaeb23ee421965340cae [Pipeline] // withDockerContainer [Pipeline] sh 23:26:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:26:59 Stashed 1 file(s) [Pipeline] echo 23:26:59 [edgeXSemver]: initialized semver on version 3.0.0-dev.26 [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 23:26:59 provisioning config files... 23:26:59 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config8377868282613469261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:00 ---> docker-login.sh 23:27:00 nexus3.edgexfoundry.org:10001 23:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:00 Configure a credential helper to remove this warning. See 23:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:00 23:27:00 Login Succeeded 23:27:00 nexus3.edgexfoundry.org:10002 23:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:00 Configure a credential helper to remove this warning. See 23:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:00 23:27:00 Login Succeeded 23:27:00 nexus3.edgexfoundry.org:10003 23:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:00 Configure a credential helper to remove this warning. See 23:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:00 23:27:00 Login Succeeded 23:27:00 nexus3.edgexfoundry.org:10004 23:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:00 Configure a credential helper to remove this warning. See 23:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:00 23:27:00 Login Succeeded 23:27:00 docker.io 23:27:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:00 Configure a credential helper to remove this warning. See 23:27:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:00 23:27:00 Login Succeeded 23:27:00 ---> docker-login.sh ends [Pipeline] } 23:27:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:27:00 ========================================================= 23:27:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:27:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:27:01 Sending build context to Docker daemon 27.02MB 23:27:01 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:27:01 Step 2/13 : FROM ${BASE} AS builder 23:27:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:27:01 63b65145d645: Pulling fs layer 23:27:01 a2d21d5440eb: Pulling fs layer 23:27:01 935e6c44a52c: Pulling fs layer 23:27:01 94cc34f8dd06: Pulling fs layer 23:27:01 30dea6a524f1: Pulling fs layer 23:27:01 a2aff8979fd8: Pulling fs layer 23:27:01 6808be2612f2: Pulling fs layer 23:27:01 f25807f1079a: Pulling fs layer 23:27:01 a2aff8979fd8: Waiting 23:27:01 6808be2612f2: Waiting 23:27:01 f25807f1079a: Waiting 23:27:01 94cc34f8dd06: Waiting 23:27:01 30dea6a524f1: Waiting 23:27:01 a2d21d5440eb: Download complete 23:27:01 94cc34f8dd06: Verifying Checksum 23:27:01 94cc34f8dd06: Download complete 23:27:01 30dea6a524f1: Verifying Checksum 23:27:01 30dea6a524f1: Download complete 23:27:01 63b65145d645: Verifying Checksum 23:27:01 63b65145d645: Download complete 23:27:01 a2aff8979fd8: Verifying Checksum 23:27:01 a2aff8979fd8: Download complete 23:27:02 63b65145d645: Pull complete 23:27:02 a2d21d5440eb: Pull complete 23:27:02 f25807f1079a: Verifying Checksum 23:27:02 f25807f1079a: Download complete 23:27:02 935e6c44a52c: Verifying Checksum 23:27:02 935e6c44a52c: Download complete 23:27:02 6808be2612f2: Verifying Checksum 23:27:02 6808be2612f2: Download complete 23:27:06 935e6c44a52c: Pull complete 23:27:07 94cc34f8dd06: Pull complete 23:27:08 30dea6a524f1: Pull complete 23:27:09 a2aff8979fd8: Pull complete 23:27:13 6808be2612f2: Pull complete 23:27:14 Still waiting to schedule task 23:27:14 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:27:15 f25807f1079a: Pull complete 23:27:15 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:27:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:27:16 ---> 3b553350e43f 23:27:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:27:28 ---> Running in cda5a247a4bb 23:27:28 Removing intermediate container cda5a247a4bb 23:27:28 ---> a244ad7ff156 23:27:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:27:28 ---> Running in 70df5c79ff02 23:27:28 Removing intermediate container 70df5c79ff02 23:27:28 ---> 32ba59384801 23:27:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:27:29 ---> Running in 2044ef40619b 23:27:29 Removing intermediate container 2044ef40619b 23:27:29 ---> 93243e7d3cb0 23:27:29 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:27:29 ---> Running in 2830cd6d8de4 23:27:29 Removing intermediate container 2830cd6d8de4 23:27:29 ---> 765078539095 23:27:29 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:27:29 ---> Running in debc21075aee 23:27:29 Removing intermediate container debc21075aee 23:27:29 ---> 8c8f9125e124 23:27:29 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:27:29 ---> Running in 1b50ca027086 23:27:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:27:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:27:29 OK: 265 MiB in 53 packages 23:27:30 Removing intermediate container 1b50ca027086 23:27:30 ---> a3bac68ee116 23:27:30 Step 9/13 : WORKDIR /device-onvif-camera 23:27:30 ---> Running in 835a84c1e888 23:27:30 Removing intermediate container 835a84c1e888 23:27:30 ---> 54fecef7fbe2 23:27:30 Step 10/13 : COPY go.mod vendor* ./ 23:27:30 ---> 805414b4769e 23:27:30 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:27:30 ---> Running in 4ccfca440de6 23:28:17 Removing intermediate container 4ccfca440de6 23:28:17 ---> 79e3a9276518 23:28:17 Step 12/13 : COPY . . 23:28:17 ---> f24a6c407adb 23:28:17 Step 13/13 : RUN ${MAKE} 23:28:17 ---> Running in 562eb7c68aea 23:28:17 noop 23:28:18 Removing intermediate container 562eb7c68aea 23:28:18 ---> e6755d4b9954 23:28:18 Successfully built e6755d4b9954 23:28:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:19 + docker inspect -f . ci-base-image-x86_64 23:28:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:19 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:28:19 $ 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 23:28:20 $ docker top 63b8ea90388a707e00aa42943cdfc35b00bb4768255e2c3cd56c44d62b0cfd7a -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:20 + go version 23:28:20 go version go1.20.2 linux/amd64 [Pipeline] } 23:28:20 $ docker stop --time=1 63b8ea90388a707e00aa42943cdfc35b00bb4768255e2c3cd56c44d62b0cfd7a 23:28:22 $ docker rm -f --volumes 63b8ea90388a707e00aa42943cdfc35b00bb4768255e2c3cd56c44d62b0cfd7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:22 + docker inspect -f . ci-base-image-x86_64 23:28:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:22 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:28:22 $ 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 23:28:23 $ docker top 04dcac0e4979797da7637152b1f283443e8885296c02d48ae93f2efbb1fc44e4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:23 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 23:28:24 + make test 23:28:24 go test ./... -coverprofile=coverage.out ./... 23:28:29 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:28:41 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:28:41 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:28:41 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.028s coverage: 31.7% of statements 23:28:41 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.169s coverage: 86.5% of statements 23:28:48 go vet ./... 23:28:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:28:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:28:52 ./bin/test-attribution-txt.sh [Pipeline] echo 23:28:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:28:52 $ docker stop --time=1 04dcac0e4979797da7637152b1f283443e8885296c02d48ae93f2efbb1fc44e4 23:28:59 $ docker rm -f --volumes 04dcac0e4979797da7637152b1f283443e8885296c02d48ae93f2efbb1fc44e4 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:28:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:29:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:29:00 + ls -al . 23:29:00 total 232 23:29:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 29 23:28 . 23:29:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:26 .. 23:29:00 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:26 .git 23:29:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:26 .github 23:29:00 -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 23:26 .gitignore 23:29:00 -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 23:26 .golangci.yml 23:29:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:26 .semver 23:29:00 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 23:26 Attribution.txt 23:29:00 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 23:26 CHANGELOG.md 23:29:00 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 23:26 Dockerfile 23:29:00 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:26 GOVERNANCE.md 23:29:00 -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 23:26 Jenkinsfile 23:29:00 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 23:26 LICENSE 23:29:00 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 23:26 Makefile 23:29:00 -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 23:26 OWNERS.md 23:29:00 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 23:26 README.md 23:29:00 -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 23:26 VERSION 23:29:00 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:26 bin 23:29:00 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:26 cmd 23:29:00 -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 23:28 coverage.out 23:29:00 drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 23:26 doc 23:29:00 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 23:26 go.mod 23:29:00 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 23:26 go.sum 23:29:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:26 internal 23:29:00 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:26 snap 23:29:00 -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 23:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:00 + 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=186be4e7cfd84d819ae8e1b3a278a99ca1d844ec --label arch=amd64 --label version=3.0.0-dev.26 . 23:29:00 Sending build context to Docker daemon 27.1MB 23:29:00 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:29:00 Step 2/26 : FROM ${BASE} AS builder 23:29:00 ---> e6755d4b9954 23:29:00 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:29:02 ---> Running in bfd2670c3838 23:29:03 Removing intermediate container bfd2670c3838 23:29:03 ---> 1b55a1f3a95d 23:29:03 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:29:03 ---> Running in 076dae8698c2 23:29:03 Removing intermediate container 076dae8698c2 23:29:03 ---> 159ec8c8126f 23:29:03 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:29:03 ---> Running in a121c94e0b18 23:29:03 Removing intermediate container a121c94e0b18 23:29:03 ---> d5b431c4e410 23:29:03 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:29:03 ---> Running in 2c7370b212d2 23:29:03 Removing intermediate container 2c7370b212d2 23:29:03 ---> 68adbc498e9f 23:29:03 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:29:03 ---> Running in 446e8bbe7618 23:29:03 Removing intermediate container 446e8bbe7618 23:29:03 ---> 09077074c54b 23:29:03 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:29:03 ---> Running in 2d15a9f12d29 23:29:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:29:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:29:04 OK: 265 MiB in 53 packages 23:29:04 Removing intermediate container 2d15a9f12d29 23:29:04 ---> ae1f608ee371 23:29:04 Step 9/26 : WORKDIR /device-onvif-camera 23:29:04 ---> Running in efebcc54e17e 23:29:04 Removing intermediate container efebcc54e17e 23:29:04 ---> d4ecee6efef7 23:29:04 Step 10/26 : COPY go.mod vendor* ./ 23:29:04 ---> d8ed91558dbe 23:29:04 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:29:04 ---> Running in eab3be9d3b1b 23:29:06 Removing intermediate container eab3be9d3b1b 23:29:06 ---> 06af93af84c4 23:29:06 Step 12/26 : COPY . . 23:29:07 ---> 550cbdba25f1 23:29:07 Step 13/26 : RUN ${MAKE} 23:29:07 ---> Running in 0d0e75e4678c 23:29:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:29:34 Removing intermediate container 0d0e75e4678c 23:29:34 ---> bbae61734006 23:29:34 Step 14/26 : FROM alpine:3.17 23:29:34 3.17: Pulling from library/alpine 23:29:34 f56be85fc22e: Pulling fs layer 23:29:34 f56be85fc22e: Verifying Checksum 23:29:34 f56be85fc22e: Download complete 23:29:34 f56be85fc22e: Pull complete 23:29:34 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:29:34 Status: Downloaded newer image for alpine:3.17 23:29:34 ---> 9ed4aefc74f6 23:29:34 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:29:34 ---> Running in 0e3f8a3766c7 23:29:34 Removing intermediate container 0e3f8a3766c7 23:29:34 ---> 66965878a666 23:29:34 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:29:34 ---> Running in 67c7de19dfa4 23:29:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:29:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:29:35 (1/1) Installing dumb-init (1.2.5-r2) 23:29:35 Executing busybox-1.35.0-r29.trigger 23:29:35 OK: 7 MiB in 16 packages 23:29:36 Removing intermediate container 67c7de19dfa4 23:29:36 ---> 54acd3a67b61 23:29:36 Step 17/26 : WORKDIR / 23:29:36 ---> Running in b8e1b9a73689 23:29:36 Removing intermediate container b8e1b9a73689 23:29:36 ---> 284daf6338b4 23:29:36 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:29:37 ---> 0a3ccc739286 23:29:37 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:29:38 ---> 03f6fd750cc0 23:29:38 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:29:38 ---> 522b474a2dbf 23:29:38 Step 21/26 : EXPOSE 59984 23:29:38 ---> Running in ca2fc4a21b72 23:29:38 Removing intermediate container ca2fc4a21b72 23:29:38 ---> d8a4f9e6fe20 23:29:38 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:29:38 ---> Running in 78b089abfe8e 23:29:39 Removing intermediate container 78b089abfe8e 23:29:39 ---> 5606d3e75501 23:29:39 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:29:39 ---> Running in 0bd352f85e2b 23:29:39 Removing intermediate container 0bd352f85e2b 23:29:39 ---> 9b8e80cccf04 23:29:39 Step 24/26 : LABEL arch=amd64 23:29:39 ---> Running in 3d1a28956e89 23:29:39 Removing intermediate container 3d1a28956e89 23:29:39 ---> c70a0c454914 23:29:39 Step 25/26 : LABEL git_sha=186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 23:29:39 ---> Running in d3f6b999ca71 23:29:39 Removing intermediate container d3f6b999ca71 23:29:39 ---> 39ee5d5b4bfa 23:29:39 Step 26/26 : LABEL version=3.0.0-dev.26 23:29:40 ---> Running in 9c6faff6167c 23:29:40 Removing intermediate container 9c6faff6167c 23:29:40 ---> abb829b5ed1e 23:29:40 [Warning] One or more build-args [ARCH] were not consumed 23:29:40 Successfully built abb829b5ed1e 23:29:40 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 23:29:40 provisioning config files... 23:29:40 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2778248394389506216tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:40 ---> docker-login.sh 23:29:40 nexus3.edgexfoundry.org:10001 23:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:40 Configure a credential helper to remove this warning. See 23:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:40 23:29:40 Login Succeeded 23:29:40 nexus3.edgexfoundry.org:10002 23:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:40 Configure a credential helper to remove this warning. See 23:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:40 23:29:40 Login Succeeded 23:29:40 nexus3.edgexfoundry.org:10003 23:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:41 Configure a credential helper to remove this warning. See 23:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:41 23:29:41 Login Succeeded 23:29:41 nexus3.edgexfoundry.org:10004 23:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:41 Configure a credential helper to remove this warning. See 23:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:41 23:29:41 Login Succeeded 23:29:41 docker.io 23:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:41 Configure a credential helper to remove this warning. See 23:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:41 23:29:41 Login Succeeded 23:29:41 ---> docker-login.sh ends [Pipeline] } 23:29:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:29:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:29:41 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 23:29:41 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 23:29:41 latest 23:29:41 3.0.0-dev.26 23:29:41 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26 23:29:41 main 23:29:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:41 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:42 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 23:29:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:29:42 a74c94253aa9: Preparing 23:29:42 00ac0818e708: Preparing 23:29:42 35820208d35c: Preparing 23:29:42 981290b07db0: Preparing 23:29:42 f1417ff83b31: Preparing 23:29:42 f1417ff83b31: Layer already exists 23:29:42 00ac0818e708: Pushed 23:29:42 981290b07db0: Pushed 23:29:42 a74c94253aa9: Pushed 23:29:44 35820208d35c: Pushed 23:29:44 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec: digest: sha256:5a7bba0ddea6d8bf03af8f0f9bbeeb3d411b6e340895a629d02913a81ba3cf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:44 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:29:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:29:45 a74c94253aa9: Preparing 23:29:45 00ac0818e708: Preparing 23:29:45 35820208d35c: Preparing 23:29:45 981290b07db0: Preparing 23:29:45 f1417ff83b31: Preparing 23:29:45 00ac0818e708: Layer already exists 23:29:45 981290b07db0: Layer already exists 23:29:45 35820208d35c: Layer already exists 23:29:45 a74c94253aa9: Layer already exists 23:29:45 f1417ff83b31: Layer already exists 23:29:45 latest: digest: sha256:5a7bba0ddea6d8bf03af8f0f9bbeeb3d411b6e340895a629d02913a81ba3cf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:45 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:45 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.26 23:29:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:29:45 a74c94253aa9: Preparing 23:29:45 00ac0818e708: Preparing 23:29:45 35820208d35c: Preparing 23:29:45 981290b07db0: Preparing 23:29:45 f1417ff83b31: Preparing 23:29:45 f1417ff83b31: Layer already exists 23:29:45 a74c94253aa9: Layer already exists 23:29:45 981290b07db0: Layer already exists 23:29:45 35820208d35c: Layer already exists 23:29:45 00ac0818e708: Layer already exists 23:29:45 3.0.0-dev.26: digest: sha256:5a7bba0ddea6d8bf03af8f0f9bbeeb3d411b6e340895a629d02913a81ba3cf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:46 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:46 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26 23:29:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:29:46 a74c94253aa9: Preparing 23:29:46 00ac0818e708: Preparing 23:29:46 35820208d35c: Preparing 23:29:46 981290b07db0: Preparing 23:29:46 f1417ff83b31: Preparing 23:29:46 00ac0818e708: Layer already exists 23:29:46 f1417ff83b31: Layer already exists 23:29:46 35820208d35c: Layer already exists 23:29:46 981290b07db0: Layer already exists 23:29:46 a74c94253aa9: Layer already exists 23:29:46 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26: digest: sha256:5a7bba0ddea6d8bf03af8f0f9bbeeb3d411b6e340895a629d02913a81ba3cf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:46 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:47 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 23:29:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 23:29:47 a74c94253aa9: Preparing 23:29:47 00ac0818e708: Preparing 23:29:47 35820208d35c: Preparing 23:29:47 981290b07db0: Preparing 23:29:47 f1417ff83b31: Preparing 23:29:47 f1417ff83b31: Layer already exists 23:29:47 35820208d35c: Layer already exists 23:29:47 981290b07db0: Layer already exists 23:29:47 a74c94253aa9: Layer already exists 23:29:47 00ac0818e708: Layer already exists 23:29:47 main: digest: sha256:5a7bba0ddea6d8bf03af8f0f9bbeeb3d411b6e340895a629d02913a81ba3cf2a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:29:47 ===================================================== [Pipeline] echo 23:29:47 taggedImages: 23:29:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 23:29:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 23:29:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.26 23:29:47 - nexus3.edgexfoundry.org:10004/device-onvif-camera:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26 23:29:47 - 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:47 23:29:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:47 latest: Pulling from edgex-lftools-log-publisher 23:29:47 5eb5b503b376: Pulling fs layer 23:29:47 5c69ac0246d0: Pulling fs layer 23:29:47 ec43610c2a17: Pulling fs layer 23:29:47 3a2ae6a8a46f: Pulling fs layer 23:29:47 33b1e0a273af: Pulling fs layer 23:29:47 5d3b04190fa2: Pulling fs layer 23:29:47 2f39f015ded8: Pulling fs layer 23:29:47 3a2ae6a8a46f: Waiting 23:29:47 2f39f015ded8: Waiting 23:29:47 33b1e0a273af: Waiting 23:29:47 5d3b04190fa2: Waiting 23:29:47 5c69ac0246d0: Verifying Checksum 23:29:47 5c69ac0246d0: Download complete 23:29:47 3a2ae6a8a46f: Verifying Checksum 23:29:47 3a2ae6a8a46f: Download complete 23:29:48 33b1e0a273af: Verifying Checksum 23:29:48 33b1e0a273af: Download complete 23:29:48 5d3b04190fa2: Verifying Checksum 23:29:48 5d3b04190fa2: Download complete 23:29:48 ec43610c2a17: Verifying Checksum 23:29:48 ec43610c2a17: Download complete 23:29:48 5eb5b503b376: Verifying Checksum 23:29:48 5eb5b503b376: Download complete 23:29:48 2f39f015ded8: Verifying Checksum 23:29:48 2f39f015ded8: Download complete 23:29:49 5eb5b503b376: Pull complete 23:29:49 5c69ac0246d0: Pull complete 23:29:50 ec43610c2a17: Pull complete 23:29:50 3a2ae6a8a46f: Pull complete 23:29:50 33b1e0a273af: Pull complete 23:29:51 5d3b04190fa2: Pull complete 23:29:55 2f39f015ded8: Pull complete 23:29:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:29:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:55 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:29:55 $ 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 23:30:05 $ docker top fca5bd86ce7e63e50d371983ff7d56a316e7133803bdbf74ca014a33e7314b5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:05 ---> job-cost.sh 23:30:05 lf-activate-venv: SKIPPING 23:30:05 INFO: No Stack... 23:30:05 INFO: Retrieving Pricing Info for: v3-standard-8 23:30:06 INFO: Archiving Costs [Pipeline] sh 23:30:06 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 23:30:06 + cut -d, -f6 [Pipeline] lock 23:30:06 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-120-stack-cost] 23:30:06 Resource [jenkins-edgexfoundry-device-onvif-camera-main-120-stack-cost] did not exist. Created. 23:30:06 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:06 + echo total: 0.2199999988079071 [Pipeline] stash 23:30:06 Stashed 1 file(s) [Pipeline] } 23:30:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-120-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:06 $ docker stop --time=1 fca5bd86ce7e63e50d371983ff7d56a316e7133803bdbf74ca014a33e7314b5b 23:30:08 $ docker rm -f --volumes fca5bd86ce7e63e50d371983ff7d56a316e7133803bdbf74ca014a33e7314b5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:30:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6333 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 23:30:35 Running in /w/workspace/device-onvif-camera/120 [Pipeline] { [Pipeline] checkout 23:30:35 The recommended git tool is: git 23:30:49 using credential edgex-jenkins-ssh 23:30:49 Cloning the remote Git repository 23:30:49 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 23:30:49 > git init /w/workspace/device-onvif-camera/120 # timeout=10 23:30:49 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 23:30:49 > git --version # timeout=10 23:30:49 > git --version # 'git version 2.25.1' 23:30:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:30:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:52 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 23:30:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:30:54 Avoid second fetch 23:30:54 Checking out Revision 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec (main) 23:30:55 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#296)" 23:30:54 > git config core.sparsecheckout # timeout=10 23:30:54 > git checkout -f 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:30:56 % Total % Received % Xferd Average Speed Time Time Time Current 23:30:56 Dload Upload Total Spent Left Speed 23:30:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 23:30:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:30:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:30:57 + sudo tee /etc/docker/daemon.new 23:30:57 { 23:30:57 "registry-mirrors": [ 23:30:57 "https://nexus3.edgexfoundry.org:10001" 23:30:57 ], 23:30:57 "bip": "10.250.0.254/24", 23:30:57 "hosts": [ 23:30:57 "tcp://0.0.0.0:5555", 23:30:57 "unix:///var/run/docker.sock" 23:30:57 ], 23:30:57 "mtu": 1458, 23:30:57 "selinux-enabled": true, 23:30:57 "seccomp-profile": "/etc/docker/seccomp.json" 23:30:57 } [Pipeline] sh 23:30:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:30:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:31:16 provisioning config files... 23:31:16 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/120@tmp/config8741996814638838381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:17 ---> docker-login.sh 23:31:17 nexus3.edgexfoundry.org:10001 23:31:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:19 Configure a credential helper to remove this warning. See 23:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:19 23:31:19 Login Succeeded 23:31:19 nexus3.edgexfoundry.org:10002 23:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:19 Configure a credential helper to remove this warning. See 23:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:19 23:31:19 Login Succeeded 23:31:19 nexus3.edgexfoundry.org:10003 23:31:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:19 Configure a credential helper to remove this warning. See 23:31:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:19 23:31:19 Login Succeeded 23:31:20 nexus3.edgexfoundry.org:10004 23:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:20 Configure a credential helper to remove this warning. See 23:31:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:20 23:31:20 Login Succeeded 23:31:20 docker.io 23:31:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:31:22 Configure a credential helper to remove this warning. See 23:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:31:22 23:31:22 Login Succeeded 23:31:22 ---> docker-login.sh ends [Pipeline] } 23:31:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:31:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:31:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:31:22 ========================================================= 23:31:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:31:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:31:23 Sending build context to Docker daemon 19.7MB 23:31:23 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 23:31:23 Step 2/13 : FROM ${BASE} AS builder 23:31:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:31:23 af6eaf76a39c: Pulling fs layer 23:31:23 55522c791124: Pulling fs layer 23:31:23 ce5c4a1c91eb: Pulling fs layer 23:31:23 169dfbe0d373: Pulling fs layer 23:31:23 e1ff8fa3b103: Pulling fs layer 23:31:23 52ebb69f0ebf: Pulling fs layer 23:31:23 5abe8eddf0d5: Pulling fs layer 23:31:23 169dfbe0d373: Waiting 23:31:23 52ebb69f0ebf: Waiting 23:31:23 5abe8eddf0d5: Waiting 23:31:23 e1ff8fa3b103: Waiting 23:31:23 55522c791124: Verifying Checksum 23:31:23 55522c791124: Download complete 23:31:23 169dfbe0d373: Download complete 23:31:23 e1ff8fa3b103: Verifying Checksum 23:31:23 e1ff8fa3b103: Download complete 23:31:23 af6eaf76a39c: Download complete 23:31:24 af6eaf76a39c: Pull complete 23:31:25 5abe8eddf0d5: Verifying Checksum 23:31:25 5abe8eddf0d5: Download complete 23:31:25 55522c791124: Pull complete 23:31:26 52ebb69f0ebf: Verifying Checksum 23:31:26 ce5c4a1c91eb: Verifying Checksum 23:31:26 ce5c4a1c91eb: Download complete 23:31:39 ce5c4a1c91eb: Pull complete 23:31:39 169dfbe0d373: Pull complete 23:31:39 e1ff8fa3b103: Pull complete 23:31:47 52ebb69f0ebf: Pull complete 23:31:49 5abe8eddf0d5: Pull complete 23:31:49 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:31:49 ---> 6cb57ee374ae 23:31:49 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:31:51 ---> Running in 5816ac3f0f79 23:31:51 Removing intermediate container 5816ac3f0f79 23:31:51 ---> dfff00cc2cea 23:31:51 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:31:51 ---> Running in 66ac85b729fe 23:31:52 Removing intermediate container 66ac85b729fe 23:31:52 ---> c59f158766ad 23:31:52 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 23:31:52 ---> Running in 0c1d67c3b539 23:31:52 Removing intermediate container 0c1d67c3b539 23:31:52 ---> 2a6a1c6c2cf9 23:31:52 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:31:52 ---> Running in da1142f8898c 23:31:53 Removing intermediate container da1142f8898c 23:31:53 ---> 0a15f283979a 23:31:53 Step 7/13 : LABEL Name=edgex-device-onvif-camera 23:31:53 ---> Running in 518a07e8a498 23:31:53 Removing intermediate container 518a07e8a498 23:31:53 ---> 6792748e67e0 23:31:53 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:31:53 ---> Running in 01af1953e2c8 23:31:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:31:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:57 OK: 263 MiB in 53 packages 23:31:58 Removing intermediate container 01af1953e2c8 23:31:58 ---> ed88edb05163 23:31:58 Step 9/13 : WORKDIR /device-onvif-camera 23:31:58 ---> Running in 6f49bd587bbf 23:32:00 Removing intermediate container 6f49bd587bbf 23:32:00 ---> eb2f98f845fa 23:32:00 Step 10/13 : COPY go.mod vendor* ./ 23:32:00 ---> 3bef19ecc50f 23:32:00 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:32:01 ---> Running in 550ec3196faf 23:33:09 Removing intermediate container 550ec3196faf 23:33:09 ---> d71bfa34b226 23:33:09 Step 12/13 : COPY . . 23:33:09 ---> a66704eed123 23:33:09 Step 13/13 : RUN ${MAKE} 23:33:09 ---> Running in f2abdba41126 23:33:11 noop 23:33:11 Removing intermediate container f2abdba41126 23:33:11 ---> f572415d1b4e 23:33:11 Successfully built f572415d1b4e 23:33:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:12 + docker inspect -f . ci-base-image-arm64 23:33:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:12 prd-ubuntu20.04-docker-arm64-4c-16g-6333 does not seem to be running inside a container 23:33:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/120 -v /w/workspace/device-onvif-camera/120:/w/workspace/device-onvif-camera/120:rw,z -v /w/workspace/device-onvif-camera/120@tmp:/w/workspace/device-onvif-camera/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:33:13 $ docker top bc0968a967418f2ab304e2680761b8810936003252e1351e970588566964e8d3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:14 + go version 23:33:14 go version go1.20.2 linux/arm64 [Pipeline] } 23:33:14 $ docker stop --time=1 bc0968a967418f2ab304e2680761b8810936003252e1351e970588566964e8d3 23:33:16 $ docker rm -f --volumes bc0968a967418f2ab304e2680761b8810936003252e1351e970588566964e8d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:17 + docker inspect -f . ci-base-image-arm64 23:33:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:17 prd-ubuntu20.04-docker-arm64-4c-16g-6333 does not seem to be running inside a container 23:33:17 $ 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/120 -v /w/workspace/device-onvif-camera/120:/w/workspace/device-onvif-camera/120:rw,z -v /w/workspace/device-onvif-camera/120@tmp:/w/workspace/device-onvif-camera/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:33:19 $ docker top 322f54718e671afef3f50fbe6aec0bd33d1743fdeb6fe57dc83a928b687bc6d8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:19 + git config --global --add safe.directory /w/workspace/device-onvif-camera/120 [Pipeline] fileExists [Pipeline] sh 23:33:20 + make test 23:33:20 go test ./... -coverprofile=coverage.out ./... 23:34:07 ? github.com/edgexfoundry/device-onvif-camera [no test files] 23:36:44 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 23:36:44 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 23:36:45 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.206s coverage: 31.7% of statements 23:37:12 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 28.400s coverage: 86.5% of statements 23:37:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:37:12 go vet ./... 23:37:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:37:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:37:51 ./bin/test-attribution-txt.sh [Pipeline] echo 23:37:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:37:51 $ docker stop --time=1 322f54718e671afef3f50fbe6aec0bd33d1743fdeb6fe57dc83a928b687bc6d8 23:37:53 $ docker rm -f --volumes 322f54718e671afef3f50fbe6aec0bd33d1743fdeb6fe57dc83a928b687bc6d8 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:37:55 Warning: overwriting stash ‘coverage-report’ 23:37:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:37:56 + ls -al . 23:37:56 total 228 23:37:56 drwxrwxr-x 9 jenkins jenkins 4096 Mar 29 23:33 . 23:37:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:30 .. 23:37:56 drwxrwxr-x 8 jenkins jenkins 4096 Mar 29 23:30 .git 23:37:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:30 .github 23:37:56 -rw-rw-r-- 1 jenkins jenkins 496 Mar 29 23:30 .gitignore 23:37:56 -rw-rw-r-- 1 jenkins jenkins 42 Mar 29 23:30 .golangci.yml 23:37:56 -rw-rw-r-- 1 jenkins jenkins 9732 Mar 29 23:30 Attribution.txt 23:37:56 -rw-rw-r-- 1 jenkins jenkins 6312 Mar 29 23:30 CHANGELOG.md 23:37:56 -rw-rw-r-- 1 jenkins jenkins 1574 Mar 29 23:30 Dockerfile 23:37:56 -rw-rw-r-- 1 jenkins jenkins 677 Mar 29 23:30 GOVERNANCE.md 23:37:56 -rw-rw-r-- 1 jenkins jenkins 734 Mar 29 23:30 Jenkinsfile 23:37:56 -rw-rw-r-- 1 jenkins jenkins 11348 Mar 29 23:30 LICENSE 23:37:56 -rw-rw-r-- 1 jenkins jenkins 2751 Mar 29 23:30 Makefile 23:37:56 -rw-rw-r-- 1 jenkins jenkins 625 Mar 29 23:30 OWNERS.md 23:37:56 -rw-rw-r-- 1 jenkins jenkins 6250 Mar 29 23:30 README.md 23:37:56 -rw-rw-r-- 1 jenkins jenkins 12 Mar 29 23:26 VERSION 23:37:56 drwxrwxr-x 2 jenkins jenkins 4096 Mar 29 23:30 bin 23:37:56 drwxrwxr-x 3 jenkins jenkins 4096 Mar 29 23:30 cmd 23:37:56 -rw-r--r-- 1 jenkins jenkins 78487 Mar 29 23:37 coverage.out 23:37:56 drwxrwxr-x 6 jenkins jenkins 4096 Mar 29 23:30 doc 23:37:56 -rw-rw-r-- 1 jenkins jenkins 3554 Mar 29 23:30 go.mod 23:37:56 -rw-rw-r-- 1 jenkins jenkins 32657 Mar 29 23:30 go.sum 23:37:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:30 internal 23:37:56 drwxrwxr-x 4 jenkins jenkins 4096 Mar 29 23:30 snap 23:37:56 -rw-rw-r-- 1 jenkins jenkins 236 Mar 29 23:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:57 + 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=186be4e7cfd84d819ae8e1b3a278a99ca1d844ec --label arch=arm64 --label version=3.0.0-dev.26 . 23:37:57 Sending build context to Docker daemon 19.78MB 23:37:57 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 23:37:57 Step 2/26 : FROM ${BASE} AS builder 23:37:57 ---> f572415d1b4e 23:37:57 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:37:58 ---> Running in de63f8a73d77 23:37:58 Removing intermediate container de63f8a73d77 23:37:58 ---> 8ed53e9e29a1 23:37:58 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:37:58 ---> Running in a71631f5c15d 23:37:59 Removing intermediate container a71631f5c15d 23:37:59 ---> c1566a3ff048 23:37:59 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 23:37:59 ---> Running in 5851b49efec7 23:37:59 Removing intermediate container 5851b49efec7 23:37:59 ---> 8527f2b7eb5d 23:37:59 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:37:59 ---> Running in 27ed62897577 23:38:00 Removing intermediate container 27ed62897577 23:38:00 ---> 0e81456b2c51 23:38:00 Step 7/26 : LABEL Name=edgex-device-onvif-camera 23:38:00 ---> Running in ce6b25d4325a 23:38:00 Removing intermediate container ce6b25d4325a 23:38:00 ---> f176ca0c3e4d 23:38:00 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:00 ---> Running in 0134181ee59c 23:38:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:38:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:38:04 OK: 263 MiB in 53 packages 23:38:05 Removing intermediate container 0134181ee59c 23:38:05 ---> 0f7810522570 23:38:05 Step 9/26 : WORKDIR /device-onvif-camera 23:38:05 ---> Running in d310c8156965 23:38:05 Removing intermediate container d310c8156965 23:38:05 ---> 71a7462b90d8 23:38:05 Step 10/26 : COPY go.mod vendor* ./ 23:38:06 ---> edc62fa7b83c 23:38:06 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:06 ---> Running in 1df4d8b3e71c 23:38:09 Removing intermediate container 1df4d8b3e71c 23:38:09 ---> 5b9a7e67266e 23:38:09 Step 12/26 : COPY . . 23:38:12 ---> 36ae1553bf99 23:38:12 Step 13/26 : RUN ${MAKE} 23:38:12 ---> Running in 5821e7965686 23:38:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.26" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 23:41:20 Removing intermediate container 5821e7965686 23:41:20 ---> 5801d9ca5f69 23:41:20 Step 14/26 : FROM alpine:3.17 23:41:20 3.17: Pulling from library/alpine 23:41:20 c41833b44d91: Pulling fs layer 23:41:20 c41833b44d91: Verifying Checksum 23:41:20 c41833b44d91: Download complete 23:41:20 c41833b44d91: Pull complete 23:41:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:41:20 Status: Downloaded newer image for alpine:3.17 23:41:20 ---> 51e60588ff2c 23:41:20 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 23:41:20 ---> Running in fa8f06c55b4d 23:41:20 Removing intermediate container fa8f06c55b4d 23:41:20 ---> d71debdb74fb 23:41:20 Step 16/26 : RUN apk add --update --no-cache dumb-init 23:41:20 ---> Running in fab815a6f1ef 23:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:41:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:41:20 (1/1) Installing dumb-init (1.2.5-r2) 23:41:20 Executing busybox-1.35.0-r29.trigger 23:41:20 OK: 8 MiB in 16 packages 23:41:20 Removing intermediate container fab815a6f1ef 23:41:20 ---> 18610665149b 23:41:20 Step 17/26 : WORKDIR / 23:41:20 ---> Running in 69908bd54587 23:41:20 Removing intermediate container 69908bd54587 23:41:20 ---> ce2437e2fd05 23:41:20 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 23:41:20 ---> e5f8ce49897d 23:41:20 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 23:41:20 ---> e8793270c97b 23:41:20 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 23:41:20 ---> 687d2b8340a0 23:41:20 Step 21/26 : EXPOSE 59984 23:41:20 ---> Running in ecd46899c01e 23:41:20 Removing intermediate container ecd46899c01e 23:41:20 ---> e997409c603b 23:41:20 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 23:41:20 ---> Running in f66bad5db6fa 23:41:20 Removing intermediate container f66bad5db6fa 23:41:20 ---> 44b0cec4229b 23:41:20 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:41:20 ---> Running in 8576c31462dd 23:41:20 Removing intermediate container 8576c31462dd 23:41:20 ---> c97e45160f60 23:41:20 Step 24/26 : LABEL arch=arm64 23:41:20 ---> Running in b570b02ff76f 23:41:20 Removing intermediate container b570b02ff76f 23:41:20 ---> db0a01f65388 23:41:20 Step 25/26 : LABEL git_sha=186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 23:41:20 ---> Running in 152d22e62201 23:41:20 Removing intermediate container 152d22e62201 23:41:20 ---> 72c632f462e1 23:41:20 Step 26/26 : LABEL version=3.0.0-dev.26 23:41:20 ---> Running in bbe45f0df014 23:41:20 Removing intermediate container bbe45f0df014 23:41:20 ---> a65f76f4c017 23:41:20 [Warning] One or more build-args [ARCH] were not consumed 23:41:20 Successfully built a65f76f4c017 23:41:20 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 23:41:20 provisioning config files... 23:41:20 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/120@tmp/config14681804334879862899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:20 ---> docker-login.sh 23:41:20 nexus3.edgexfoundry.org:10001 23:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:21 Configure a credential helper to remove this warning. See 23:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:21 23:41:21 Login Succeeded 23:41:21 nexus3.edgexfoundry.org:10002 23:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:21 Configure a credential helper to remove this warning. See 23:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:21 23:41:21 Login Succeeded 23:41:21 nexus3.edgexfoundry.org:10003 23:41:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:21 Configure a credential helper to remove this warning. See 23:41:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:21 23:41:21 Login Succeeded 23:41:21 nexus3.edgexfoundry.org:10004 23:41:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:22 Configure a credential helper to remove this warning. See 23:41:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:22 23:41:22 Login Succeeded 23:41:22 docker.io 23:41:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:22 Configure a credential helper to remove this warning. See 23:41:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:22 23:41:22 Login Succeeded 23:41:22 ---> docker-login.sh ends [Pipeline] } 23:41:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:41:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:41:22 [edgeXDocker.push] Tagging docker image device-onvif-camera-arm64 with the following tags: 23:41:22 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 23:41:22 latest 23:41:22 3.0.0-dev.26 23:41:22 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26 23:41:22 main 23:41:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:23 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:23 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 23:41:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:41:23 6d893c2cf73c: Preparing 23:41:23 3c934252657f: Preparing 23:41:23 4452ad0b9260: Preparing 23:41:23 e048109412dd: Preparing 23:41:23 26cbea5cba74: Preparing 23:41:23 26cbea5cba74: Layer already exists 23:41:23 3c934252657f: Pushed 23:41:23 6d893c2cf73c: Pushed 23:41:23 e048109412dd: Pushed 23:41:30 4452ad0b9260: Pushed 23:41:30 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec: digest: sha256:f924469835d883c00144755d12262c466d1309cd6c6d35b106306f6bf2209bc4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:31 + 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 23:41:31 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:41:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:41:31 6d893c2cf73c: Preparing 23:41:31 3c934252657f: Preparing 23:41:31 4452ad0b9260: Preparing 23:41:31 e048109412dd: Preparing 23:41:31 26cbea5cba74: Preparing 23:41:31 e048109412dd: Layer already exists 23:41:31 6d893c2cf73c: Layer already exists 23:41:31 26cbea5cba74: Layer already exists 23:41:31 3c934252657f: Layer already exists 23:41:31 4452ad0b9260: Layer already exists 23:41:31 latest: digest: sha256:f924469835d883c00144755d12262c466d1309cd6c6d35b106306f6bf2209bc4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:32 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:32 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.26 23:41:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:41:32 6d893c2cf73c: Preparing 23:41:32 3c934252657f: Preparing 23:41:32 4452ad0b9260: Preparing 23:41:32 e048109412dd: Preparing 23:41:32 26cbea5cba74: Preparing 23:41:32 6d893c2cf73c: Layer already exists 23:41:32 3c934252657f: Layer already exists 23:41:32 26cbea5cba74: Layer already exists 23:41:32 e048109412dd: Layer already exists 23:41:32 4452ad0b9260: Layer already exists 23:41:32 3.0.0-dev.26: digest: sha256:f924469835d883c00144755d12262c466d1309cd6c6d35b106306f6bf2209bc4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:33 + docker tag device-onvif-camera-arm64 nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:33 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26 23:41:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:41:33 6d893c2cf73c: Preparing 23:41:33 3c934252657f: Preparing 23:41:33 4452ad0b9260: Preparing 23:41:33 e048109412dd: Preparing 23:41:33 26cbea5cba74: Preparing 23:41:33 6d893c2cf73c: Layer already exists 23:41:33 e048109412dd: Layer already exists 23:41:33 3c934252657f: Layer already exists 23:41:33 26cbea5cba74: Layer already exists 23:41:33 4452ad0b9260: Layer already exists 23:41:33 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26: digest: sha256:f924469835d883c00144755d12262c466d1309cd6c6d35b106306f6bf2209bc4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:34 + 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 23:41:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:main 23:41:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64] 23:41:34 6d893c2cf73c: Preparing 23:41:34 3c934252657f: Preparing 23:41:34 4452ad0b9260: Preparing 23:41:34 e048109412dd: Preparing 23:41:34 26cbea5cba74: Preparing 23:41:34 26cbea5cba74: Layer already exists 23:41:34 4452ad0b9260: Layer already exists 23:41:34 3c934252657f: Layer already exists 23:41:34 6d893c2cf73c: Layer already exists 23:41:34 e048109412dd: Layer already exists 23:41:34 main: digest: sha256:f924469835d883c00144755d12262c466d1309cd6c6d35b106306f6bf2209bc4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:41:34 ===================================================== [Pipeline] echo 23:41:34 taggedImages: 23:41:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec 23:41:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:latest 23:41:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:3.0.0-dev.26 23:41:34 - nexus3.edgexfoundry.org:10004/device-onvif-camera-arm64:186be4e7cfd84d819ae8e1b3a278a99ca1d844ec-3.0.0-dev.26 23:41:34 - 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 23:41:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:41:35 23:41:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:41:35 arm64: Pulling from edgex-lftools-log-publisher 23:41:35 8998bd30e6a1: Pulling fs layer 23:41:35 04944245beec: Pulling fs layer 23:41:35 699f458cf7ca: Pulling fs layer 23:41:35 765212b225bb: Pulling fs layer 23:41:35 f23df028b6ca: Pulling fs layer 23:41:35 d65c8cfc05b1: Pulling fs layer 23:41:35 2437ff75d9bd: Pulling fs layer 23:41:35 765212b225bb: Waiting 23:41:35 d65c8cfc05b1: Waiting 23:41:35 f23df028b6ca: Waiting 23:41:35 2437ff75d9bd: Waiting 23:41:35 04944245beec: Verifying Checksum 23:41:35 04944245beec: Download complete 23:41:35 765212b225bb: Verifying Checksum 23:41:35 765212b225bb: Download complete 23:41:35 f23df028b6ca: Verifying Checksum 23:41:35 f23df028b6ca: Download complete 23:41:35 d65c8cfc05b1: Verifying Checksum 23:41:35 d65c8cfc05b1: Download complete 23:41:35 699f458cf7ca: Verifying Checksum 23:41:35 699f458cf7ca: Download complete 23:41:36 8998bd30e6a1: Verifying Checksum 23:41:36 8998bd30e6a1: Download complete 23:41:38 2437ff75d9bd: Verifying Checksum 23:41:38 2437ff75d9bd: Download complete 23:41:40 8998bd30e6a1: Pull complete 23:41:40 04944245beec: Pull complete 23:41:42 699f458cf7ca: Pull complete 23:41:42 765212b225bb: Pull complete 23:41:42 f23df028b6ca: Pull complete 23:41:43 d65c8cfc05b1: Pull complete 23:41:58 2437ff75d9bd: Pull complete 23:41:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:41:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:41:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:41:58 prd-ubuntu20.04-docker-arm64-4c-16g-6333 does not seem to be running inside a container 23:41:58 $ 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/120 -v /w/workspace/device-onvif-camera/120:/w/workspace/device-onvif-camera/120:rw,z -v /w/workspace/device-onvif-camera/120@tmp:/w/workspace/device-onvif-camera/120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:42:01 $ docker top 3c9715365bc03bd2934c4717a6fad36475f92d4b1235a4f6b56092b4ae1a7b22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:02 ---> job-cost.sh 23:42:02 lf-activate-venv: SKIPPING 23:42:02 INFO: No Stack... 23:42:02 INFO: Retrieving Pricing Info for: v3-standard-4 23:42:03 INFO: Archiving Costs [Pipeline] sh 23:42:04 + cat /w/workspace/device-onvif-camera/120/archives/cost.csv 23:42:04 + cut -d, -f6 [Pipeline] lock 23:42:04 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-120-stack-cost] 23:42:04 Resource [jenkins-edgexfoundry-device-onvif-camera-main-120-stack-cost] did not exist. Created. 23:42:04 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-120-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:42:05 /w/workspace/device-onvif-camera/120@tmp/durable-44eec812/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:42:05 + echo total: 0.10999999940395355 [Pipeline] stash 23:42:05 Warning: overwriting stash ‘stack-cost’ 23:42:06 Stashed 1 file(s) [Pipeline] } 23:42:06 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-120-stack-cost] [Pipeline] // lock [Pipeline] } 23:42:06 $ docker stop --time=1 3c9715365bc03bd2934c4717a6fad36475f92d4b1235a4f6b56092b4ae1a7b22 23:42:07 $ docker rm -f --volumes 3c9715365bc03bd2934c4717a6fad36475f92d4b1235a4f6b56092b4ae1a7b22 [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 23:42:08 provisioning config files... 23:42:08 copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config16467982464703454089tmp [Pipeline] { [Pipeline] sh 23:42:08 + set +x 23:42:08 + curl -s https://codecov.io/bash 23:42:08 + bash -s -- 23:42:08 23:42:08 _____ _ 23:42:08 / ____| | | 23:42:08 | | ___ __| | ___ ___ _____ __ 23:42:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:42:08 | |___| (_) | (_| | __/ (_| (_) \ V / 23:42:08 \_____\___/ \__,_|\___|\___\___/ \_/ 23:42:08 Bash-1.0.6 23:42:08 23:42:08 23:42:08 ==> git version 2.25.1 found 23:42:08 ==> 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 23:42:08 Release-Date: 2020-01-08 23:42:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:42:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:42:08 ==> Jenkins CI detected. 23:42:08 current dir:  /w/workspace/foundry_device-onvif-camera_main 23:42:08 project root: . 23:42:08 --> token set from env 23:42:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:42:08 ==> Running gcov in . (disable via -X gcov) 23:42:08 ==> Python coveragepy not found 23:42:08 ==> Searching for coverage reports in: 23:42:08 + . 23:42:08 -> Found 1 reports 23:42:08 ==> Detecting git/mercurial file structure 23:42:08 ==> Reading reports 23:42:08 + ./coverage.out bytes=78487 23:42:08 ==> Appending adjustments 23:42:08 https://docs.codecov.io/docs/fixing-reports 23:42:08 + Found adjustments 23:42:08 ==> Gzipping contents 23:42:08 12K /tmp/codecov.JZ2jSY.gz 23:42:08 ==> Uploading reports 23:42:08 url: https://codecov.io 23:42:08 query: branch=main&commit=186be4e7cfd84d819ae8e1b3a278a99ca1d844ec&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:42:08 -> Pinging Codecov 23:42:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=main&commit=186be4e7cfd84d819ae8e1b3a278a99ca1d844ec&build=120&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2Fmain%2F120%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=&job=&cmd_args= 23:42:08 -> Uploading to 23:42:08 https://storage.googleapis.com/codecov/v4/raw/2023-03-29/F29A59C45E3A92E06B3E522C9905F8EF/186be4e7cfd84d819ae8e1b3a278a99ca1d844ec/6db82081-62dc-4291-bd02-ad1cc8851dba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230329%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230329T234208Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e93f3f0fd1130a425419db9f8179d1130352f67c4354846fd68fcfd85cfd0ad 23:42:08 % Total % Received % Xferd Average Speed Time Time Time Current 23:42:08 Dload Upload Total Spent Left Speed 23:42:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10492 0 0 100 10492 0 34857 --:--:-- --:--:-- --:--:-- 34857 23:42:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/186be4e7cfd84d819ae8e1b3a278a99ca1d844ec [Pipeline] } 23:42:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:42:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:42:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:42:09 23:42:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:42:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:42:09 df9b9388f04a: Pulling fs layer 23:42:09 52dc419b0ee2: Pulling fs layer 23:42:09 25bc292e5bac: Pulling fs layer 23:42:09 114826534d7a: Pulling fs layer 23:42:09 4657fd5d0bcf: Pulling fs layer 23:42:09 6ad1cebc031e: Pulling fs layer 23:42:09 8a3aa393b2d8: Pulling fs layer 23:42:09 114826534d7a: Waiting 23:42:09 4657fd5d0bcf: Waiting 23:42:09 8a3aa393b2d8: Waiting 23:42:09 6ad1cebc031e: Waiting 23:42:09 25bc292e5bac: Verifying Checksum 23:42:09 25bc292e5bac: Download complete 23:42:09 52dc419b0ee2: Download complete 23:42:09 4657fd5d0bcf: Verifying Checksum 23:42:09 4657fd5d0bcf: Download complete 23:42:09 df9b9388f04a: Download complete 23:42:10 6ad1cebc031e: Verifying Checksum 23:42:10 6ad1cebc031e: Download complete 23:42:10 df9b9388f04a: Pull complete 23:42:10 52dc419b0ee2: Pull complete 23:42:10 25bc292e5bac: Pull complete 23:42:10 114826534d7a: Verifying Checksum 23:42:10 114826534d7a: Download complete 23:42:10 8a3aa393b2d8: Verifying Checksum 23:42:10 8a3aa393b2d8: Download complete 23:42:15 114826534d7a: Pull complete 23:42:15 4657fd5d0bcf: Pull complete 23:42:15 6ad1cebc031e: Pull complete 23:42:18 8a3aa393b2d8: Pull complete 23:42:18 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:42:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:42:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:18 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:42:18 $ 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:1.410.4 cat 23:42:31 $ docker top dcc3de00c414ef0d36f2423cade4b3a512b46a3d1783fd9a298679e240fb254b -eo pid,comm [Pipeline] { [Pipeline] echo 23:42:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-onvif-camera:main' [Pipeline] sh 23:42:31 + set -o pipefail 23:42:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-onvif-camera:main' 23:42:35 23:42:35 Monitoring /w/workspace/foundry_device-onvif-camera_main (github.com/edgexfoundry/device-onvif-camera)... 23:42:35 23:42:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/dcbb76ce-b746-45d8-bf62-254b322cae83/history/f71d9042-8d0c-45fe-a500-87a255822247 23:42:35 23:42:35 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 23:42:35 23:42:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:42:35 23:42:36 23:42:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:42:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:42:36 More details here: https://snyk.co/ue1NS [Pipeline] } 23:42:36 $ docker stop --time=1 dcc3de00c414ef0d36f2423cade4b3a512b46a3d1783fd9a298679e240fb254b 23:42:42 $ docker rm -f --volumes dcc3de00c414ef0d36f2423cade4b3a512b46a3d1783fd9a298679e240fb254b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 23:42:43 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:42:43 provisioning config files... 23:42:43 copy managed file [swaggerhub-api-key] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config23395475486862763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:43 --> edgex-publish-swagger.sh 23:42:43 === Publish doc/openapi/v2 API === 23:42:43 [publishToSwagger] Publishing the API Docs [doc/openapi/v2] to Swagger 23:42:43 [publishToSwagger] Publishing API Name [device-onvif-camera] [/w/workspace/foundry_device-onvif-camera_main/doc/openapi/v2/device-onvif-camera.yaml] 23:42:43 % Total % Received % Xferd Average Speed Time Time Time Current 23:42:43 Dload Upload Total Spent Left Speed 23:42:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 469k 0 0 100 469k 0 2015k --:--:-- --:--:-- --:--:-- 2006k 100 469k 0 0 100 469k 0 656k --:--:-- --:--:-- --:--:-- 655k 23:42:44 23:42:44 [Pipeline] } 23:42:44 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 23:42:44 + git log --format=format:%s -1 186be4e7cfd84d819ae8e1b3a278a99ca1d844ec [Pipeline] sh 23:42:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:42:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:45 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:42:45 $ 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 23:42:46 $ docker top a34f5de6193bd46be90255312df09cc344d26741f93039285e9ce0f9d80b6a60 -eo pid,comm 23:42:46 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). 23:42:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:42:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:42:46 [ssh-agent] Looking for ssh-agent implementation... 23:42:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:42:46 $ docker exec a34f5de6193bd46be90255312df09cc344d26741f93039285e9ce0f9d80b6a60 ssh-agent 23:42:46 SSH_AUTH_SOCK=/tmp/ssh-clxKBukyrkBD/agent.13 23:42:46 SSH_AGENT_PID=29 23:42:46 Running ssh-add (command line suppressed) 23:42:46 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7634119985254101181.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_7634119985254101181.key) 23:42:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:42:46 + git semver tag 23:42:47 2023-03-29 23:42:47,072 [run_tag] DEBUG tag force:False 23:42:47 2023-03-29 23:42:47,073 [check_head_tag] DEBUG check head tag 23:42:47 2023-03-29 23:42:47,075 [execute] INFO git cat-file --batch-check 23:42:47 2023-03-29 23:42:47,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:42:47 2023-03-29 23:42:47,078 [execute] INFO git cat-file --batch 23:42:47 2023-03-29 23:42:47,079 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=) 23:42:47 2023-03-29 23:42:47,118 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:42:47 2023-03-29 23:42:47,119 [execute] INFO git tag -a v3.0.0-dev.26 -m v3.0.0-dev.26 23:42:47 2023-03-29 23:42:47,119 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.26', '-m', 'v3.0.0-dev.26'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 23:42:47 2023-03-29 23:42:47,123 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:42:47 3.0.0-dev.26 [Pipeline] } 23:42:47 $ docker exec --env ******** --env ******** a34f5de6193bd46be90255312df09cc344d26741f93039285e9ce0f9d80b6a60 ssh-agent -k 23:42:47 unset SSH_AUTH_SOCK; 23:42:47 unset SSH_AGENT_PID; 23:42:47 echo Agent pid 29 killed; 23:42:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:42:47 + git semver [Pipeline] } 23:42:48 $ docker stop --time=1 a34f5de6193bd46be90255312df09cc344d26741f93039285e9ce0f9d80b6a60 23:42:49 $ docker rm -f --volumes a34f5de6193bd46be90255312df09cc344d26741f93039285e9ce0f9d80b6a60 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:42:50 23:42:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:42:50 0.23.1-centos7: Pulling from edgex-lftools 23:42:50 ab5ef0e58194: Pulling fs layer 23:42:50 9712f1f96733: Pulling fs layer 23:42:50 63f879dbbcfc: Pulling fs layer 23:42:50 0d9ebad4ef96: Pulling fs layer 23:42:50 e9a5061849ea: Pulling fs layer 23:42:50 d747dcd14b5f: Pulling fs layer 23:42:50 2de7ff778b66: Pulling fs layer 23:42:50 e9a5061849ea: Waiting 23:42:50 2de7ff778b66: Waiting 23:42:50 0d9ebad4ef96: Waiting 23:42:50 d747dcd14b5f: Waiting 23:42:50 9712f1f96733: Verifying Checksum 23:42:50 9712f1f96733: Download complete 23:42:50 63f879dbbcfc: Verifying Checksum 23:42:50 63f879dbbcfc: Download complete 23:42:51 e9a5061849ea: Verifying Checksum 23:42:51 e9a5061849ea: Download complete 23:42:51 d747dcd14b5f: Verifying Checksum 23:42:51 d747dcd14b5f: Download complete 23:42:51 ab5ef0e58194: Verifying Checksum 23:42:51 ab5ef0e58194: Download complete 23:42:51 0d9ebad4ef96: Verifying Checksum 23:42:51 0d9ebad4ef96: Download complete 23:42:51 2de7ff778b66: Verifying Checksum 23:42:51 2de7ff778b66: Download complete 23:42:53 ab5ef0e58194: Pull complete 23:42:54 9712f1f96733: Pull complete 23:42:55 63f879dbbcfc: Pull complete 23:42:59 0d9ebad4ef96: Pull complete 23:42:59 e9a5061849ea: Pull complete 23:42:59 d747dcd14b5f: Pull complete 23:43:00 2de7ff778b66: Pull complete 23:43:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:43:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:43:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:00 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:43:00 $ 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 23:43:12 $ docker top 5e733ea1cd0a7313727f7ab2ec343dbd3f39eb4112744c3a4d9ab2d3ffd51c33 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:43:12 provisioning config files... 23:43:12 copy managed file [sigul-config] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7279175605985823416tmp 23:43:12 copy managed file [sigul-password] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config3155567125094145426tmp 23:43:12 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11688234128988891094tmp [Pipeline] { [Pipeline] echo 23:43:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:43:13 ---> sigul-configuration.sh 23:43:13 gpg: directory `/root/.gnupg' created 23:43:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:43:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:43:13 gpg: keyring `/root/.gnupg/secring.gpg' created 23:43:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:43:13 gpg: CAST5 encrypted data 23:43:13 gpg: encrypted with 1 passphrase 23:43:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:43:13 + mkdir /home/jenkins 23:43:13 + mkdir /home/jenkins/sigul [Pipeline] sh 23:43:13 + 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 23:43:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:43:13 ---> sigul-install.sh 23:43:13 Sigul already installed; skipping installation. [Pipeline] sh 23:43:14 + git tag --list 23:43:14 v0.0.0 23:43:14 v0.0.1-dev.1 23:43:14 v0.0.1-dev.10 23:43:14 v0.0.1-dev.11 23:43:14 v0.0.1-dev.12 23:43:14 v0.0.1-dev.13 23:43:14 v0.0.1-dev.14 23:43:14 v0.0.1-dev.15 23:43:14 v0.0.1-dev.16 23:43:14 v0.0.1-dev.17 23:43:14 v0.0.1-dev.18 23:43:14 v0.0.1-dev.19 23:43:14 v0.0.1-dev.2 23:43:14 v0.0.1-dev.20 23:43:14 v0.0.1-dev.21 23:43:14 v0.0.1-dev.22 23:43:14 v0.0.1-dev.23 23:43:14 v0.0.1-dev.24 23:43:14 v0.0.1-dev.25 23:43:14 v0.0.1-dev.26 23:43:14 v0.0.1-dev.27 23:43:14 v0.0.1-dev.28 23:43:14 v0.0.1-dev.3 23:43:14 v0.0.1-dev.4 23:43:14 v0.0.1-dev.5 23:43:14 v0.0.1-dev.6 23:43:14 v0.0.1-dev.7 23:43:14 v0.0.1-dev.8 23:43:14 v0.0.1-dev.9 23:43:14 v2.2.0 23:43:14 v2.2.0-dev.29 23:43:14 v2.2.0-dev.30 23:43:14 v2.2.0-dev.31 23:43:14 v2.2.0-dev.32 23:43:14 v2.2.0-dev.33 23:43:14 v2.2.0-dev.34 23:43:14 v2.2.0-dev.35 23:43:14 v2.3.0 23:43:14 v2.3.0-dev.1 23:43:14 v2.3.0-dev.10 23:43:14 v2.3.0-dev.11 23:43:14 v2.3.0-dev.12 23:43:14 v2.3.0-dev.13 23:43:14 v2.3.0-dev.14 23:43:14 v2.3.0-dev.15 23:43:14 v2.3.0-dev.16 23:43:14 v2.3.0-dev.17 23:43:14 v2.3.0-dev.18 23:43:14 v2.3.0-dev.19 23:43:14 v2.3.0-dev.2 23:43:14 v2.3.0-dev.20 23:43:14 v2.3.0-dev.21 23:43:14 v2.3.0-dev.22 23:43:14 v2.3.0-dev.23 23:43:14 v2.3.0-dev.24 23:43:14 v2.3.0-dev.25 23:43:14 v2.3.0-dev.26 23:43:14 v2.3.0-dev.27 23:43:14 v2.3.0-dev.28 23:43:14 v2.3.0-dev.29 23:43:14 v2.3.0-dev.3 23:43:14 v2.3.0-dev.30 23:43:14 v2.3.0-dev.31 23:43:14 v2.3.0-dev.32 23:43:14 v2.3.0-dev.33 23:43:14 v2.3.0-dev.34 23:43:14 v2.3.0-dev.35 23:43:14 v2.3.0-dev.36 23:43:14 v2.3.0-dev.37 23:43:14 v2.3.0-dev.38 23:43:14 v2.3.0-dev.39 23:43:14 v2.3.0-dev.4 23:43:14 v2.3.0-dev.40 23:43:14 v2.3.0-dev.41 23:43:14 v2.3.0-dev.42 23:43:14 v2.3.0-dev.43 23:43:14 v2.3.0-dev.44 23:43:14 v2.3.0-dev.45 23:43:14 v2.3.0-dev.5 23:43:14 v2.3.0-dev.6 23:43:14 v2.3.0-dev.7 23:43:14 v2.3.0-dev.8 23:43:14 v2.3.0-dev.9 23:43:14 v2.3.1 23:43:14 v2.3.1-dev.1 23:43:14 v2.3.1-dev.4 23:43:14 v2.3.1-dev.5 23:43:14 v3.0.0-dev.1 23:43:14 v3.0.0-dev.10 23:43:14 v3.0.0-dev.11 23:43:14 v3.0.0-dev.12 23:43:14 v3.0.0-dev.13 23:43:14 v3.0.0-dev.14 23:43:14 v3.0.0-dev.15 23:43:14 v3.0.0-dev.16 23:43:14 v3.0.0-dev.17 23:43:14 v3.0.0-dev.18 23:43:14 v3.0.0-dev.19 23:43:14 v3.0.0-dev.2 23:43:14 v3.0.0-dev.20 23:43:14 v3.0.0-dev.21 23:43:14 v3.0.0-dev.22 23:43:14 v3.0.0-dev.23 23:43:14 v3.0.0-dev.24 23:43:14 v3.0.0-dev.25 23:43:14 v3.0.0-dev.26 23:43:14 v3.0.0-dev.3 23:43:14 v3.0.0-dev.4 23:43:14 v3.0.0-dev.5 23:43:14 v3.0.0-dev.6 23:43:14 v3.0.0-dev.7 23:43:14 v3.0.0-dev.8 23:43:14 v3.0.0-dev.9 [Pipeline] sh 23:43:14 + lftools sign git-tag v3.0.0-dev.26 23:43:15 Signing Git tag with Sigul... 23:43:15 Signing v3.0.0-dev.26 [Pipeline] echo 23:43:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:43:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:43:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:43:15 $ docker stop --time=1 5e733ea1cd0a7313727f7ab2ec343dbd3f39eb4112744c3a4d9ab2d3ffd51c33 23:43:17 $ docker rm -f --volumes 5e733ea1cd0a7313727f7ab2ec343dbd3f39eb4112744c3a4d9ab2d3ffd51c33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:43:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:43:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:43:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:18 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:43:18 $ 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 23:43:19 $ docker top 07a2955f7d2d0da1a2ab4df4349dad5d13735fcda342acf4ec800ac719bd04d6 -eo pid,comm 23:43: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). 23:43:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:43:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:43:19 [ssh-agent] Looking for ssh-agent implementation... 23:43:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:43:19 $ docker exec 07a2955f7d2d0da1a2ab4df4349dad5d13735fcda342acf4ec800ac719bd04d6 ssh-agent 23:43:19 SSH_AUTH_SOCK=/tmp/ssh-z1k0fy12ovMl/agent.31 23:43:19 SSH_AGENT_PID=37 23:43:19 Running ssh-add (command line suppressed) 23:43:19 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10534227195931024196.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_10534227195931024196.key) 23:43:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:43:19 + git semver bump pre 23:43:20 2023-03-29 23:43:19,968 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:43:20 2023-03-29 23:43:19,968 [bump_version] DEBUG bumping version:3.0.0-dev.26 on axis:pre with prefix:dev 23:43:20 2023-03-29 23:43:19,968 [bump_version] DEBUG bumped version:3.0.0-dev.27 23:43:20 2023-03-29 23:43:19,968 [write_version] DEBUG write version:3.0.0-dev.27 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:True 23:43:20 2023-03-29 23:43:19,969 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:43:20 2023-03-29 23:43:19,969 [write_file] DEBUG write to file:/w/workspace/foundry_device-onvif-camera_main/.semver/main 23:43:20 2023-03-29 23:43:19,971 [execute] INFO git cat-file --batch-check 23:43:20 2023-03-29 23:43:19,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:43:20 2023-03-29 23:43:19,976 [execute] INFO git cat-file --batch 23:43:20 2023-03-29 23:43:19,977 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:43:20 2023-03-29 23:43:19,982 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:43:20 3.0.0-dev.27 [Pipeline] } 23:43:20 $ docker exec --env ******** --env ******** 07a2955f7d2d0da1a2ab4df4349dad5d13735fcda342acf4ec800ac719bd04d6 ssh-agent -k 23:43:20 unset SSH_AUTH_SOCK; 23:43:20 unset SSH_AGENT_PID; 23:43:20 echo Agent pid 37 killed; 23:43:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:43:20 + git semver [Pipeline] } 23:43:20 $ docker stop --time=1 07a2955f7d2d0da1a2ab4df4349dad5d13735fcda342acf4ec800ac719bd04d6 23:43:22 $ docker rm -f --volumes 07a2955f7d2d0da1a2ab4df4349dad5d13735fcda342acf4ec800ac719bd04d6 [Pipeline] // withDockerContainer [Pipeline] sh 23:43:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:43:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:43:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:22 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:43:23 $ 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 23:43:24 $ docker top f69167b6592d43b1476d8deff74313a3a9f759a0c8f364bdaa22938e332762d7 -eo pid,comm 23:43:24 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). 23:43:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:43:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:43:24 [ssh-agent] Looking for ssh-agent implementation... 23:43:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:43:24 $ docker exec f69167b6592d43b1476d8deff74313a3a9f759a0c8f364bdaa22938e332762d7 ssh-agent 23:43:24 SSH_AUTH_SOCK=/tmp/ssh-y1rSCU1hGzgr/agent.14 23:43:24 SSH_AGENT_PID=26 23:43:24 Running ssh-add (command line suppressed) 23:43:24 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18121922423564598127.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_18121922423564598127.key) 23:43:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:43:24 + git semver push 23:43:25 2023-03-29 23:43:25,024 [run_push] DEBUG push 23:43:25 2023-03-29 23:43:25,026 [execute] INFO git cat-file --batch-check 23:43:25 2023-03-29 23:43:25,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=) 23:43:25 2023-03-29 23:43:25,031 [execute] INFO git rev-list c492df62de9402f23aeacb6a8ddbf3a7b70c3b2c -- 23:43:25 2023-03-29 23:43:25,031 [execute] DEBUG Popen(['git', 'rev-list', 'c492df62de9402f23aeacb6a8ddbf3a7b70c3b2c', '--'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:43:25 2023-03-29 23:43:25,036 [execute] INFO git fetch -v origin 23:43:25 2023-03-29 23:43:25,036 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=True, shell=None, istream=None) 23:43:25 2023-03-29 23:43:25,529 [run_push] DEBUG no remote changes detected 23:43:25 2023-03-29 23:43:25,529 [execute] INFO git push origin semver 23:43:25 2023-03-29 23:43:25,530 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-onvif-camera_main/.semver, universal_newlines=False, shell=None, istream=None) 23:43:26 2023-03-29 23:43:26,289 [run_push] DEBUG push all version tags 23:43:26 2023-03-29 23:43:26,289 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:43:26 2023-03-29 23:43:26,290 [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) 23:43:27 2023-03-29 23:43:27,032 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 23:43:27 3.0.0-dev.27 [Pipeline] } 23:43:27 $ docker exec --env ******** --env ******** f69167b6592d43b1476d8deff74313a3a9f759a0c8f364bdaa22938e332762d7 ssh-agent -k 23:43:27 unset SSH_AUTH_SOCK; 23:43:27 unset SSH_AGENT_PID; 23:43:27 echo Agent pid 26 killed; 23:43:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:43:27 + git semver [Pipeline] } 23:43:28 $ docker stop --time=1 f69167b6592d43b1476d8deff74313a3a9f759a0c8f364bdaa22938e332762d7 23:43:29 $ docker rm -f --volumes f69167b6592d43b1476d8deff74313a3a9f759a0c8f364bdaa22938e332762d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:43:30 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 23:43:30 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:43:30 total 16 23:43:30 drwxr-xr-x 3 root root 4096 Mar 29 23:30 . 23:43:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 23:43 .. 23:43:30 drwxr-xr-x 2 root root 4096 Mar 29 23:30 cost 23:43:30 -rw-r--r-- 1 root root 91 Mar 29 23:30 cost.csv 23:43:30 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 23:43:30 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 23:43:30 total 16 23:43:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 29 23:30 . 23:43:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 29 23:43 .. 23:43:30 drwxr-xr-x 2 jenkins jenkins 4096 Mar 29 23:30 cost 23:43:30 -rw-r--r-- 1 jenkins jenkins 91 Mar 29 23:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:43:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:43:31 ---> package-listing.sh 23:43:31 ++ facter osfamily 23:43:31 ++ tr '[:upper:]' '[:lower:]' 23:43:31 + OS_FAMILY=debian 23:43:31 + workspace=/w/workspace/foundry_device-onvif-camera_main 23:43:31 + START_PACKAGES=/tmp/packages_start.txt 23:43:31 + END_PACKAGES=/tmp/packages_end.txt 23:43:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:43:31 + PACKAGES=/tmp/packages_start.txt 23:43:31 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:43:31 + PACKAGES=/tmp/packages_end.txt 23:43:31 + case "${OS_FAMILY}" in 23:43:31 + dpkg -l 23:43:31 + grep '^ii' 23:43:31 + '[' -f /tmp/packages_start.txt ']' 23:43:31 + '[' -f /tmp/packages_end.txt ']' 23:43:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:43:31 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 23:43:31 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 23:43:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 23:43:31 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 23:43:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:32 prd-ubuntu20.04-docker-8c-8g-6324 does not seem to be running inside a container 23:43:32 $ 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 23:43:33 $ docker top 3ace37473c2cecc951ff7e4530c8f9192e7cda5162c209e854f56a0026031097 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:33 + touch /tmp/pre-build-complete [Pipeline] sh 23:43:33 + mkdir -p /var/log/sysstat [Pipeline] sh 23:43:33 + ls /var/log/sa-host 23:43:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:34 provisioning config files... 23:43:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config15850645285756801875tmp [Pipeline] { [Pipeline] echo 23:43:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:43:34 ---> create-netrc.sh [Pipeline] } 23:43:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:43:34 ---> python-tools-install.sh [Pipeline] echo 23:43:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:43:34 ---> sudo-logs.sh 23:43:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:43:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:43:35 ---> job-cost.sh 23:43:35 lf-activate-venv: SKIPPING 23:43:35 DEBUG: total: 0.2199999988079071 23:43:35 INFO: Retrieving Stack Cost... 23:43:35 INFO: Retrieving Pricing Info for: v3-standard-8 23:43:36 INFO: Archiving Costs [Pipeline] echo 23:43:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:43:36 ---> logs-deploy.sh 23:43:36 lf-activate-venv: SKIPPING 23:43:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/120 23:43:36 INFO: archiving workspace using pattern(s): 23:43:37 Archives upload complete. 23:43:37 INFO: archiving logs to Nexus